···1717type Document struct {
1818 // Site points to a [Publication] record `at://` or a [Publication.URL] `https://` for loose documents.
1919 // Avoid trailing slashes.
2020- Site string `json:"site"`
2020+ Site *URL `json:"site" map:"string"`
2121 // Title of the [Document].
2222 // Max length: 5000.
2323 // Max graphemes: 500.
···111111 fmt.Sprintf(`<link rel="%s" href="%s">`, CollectionDocument, createAtURI(repo, CollectionDocument, rkey)),
112112 )
113113}
114114+115115+// getPublicationVerification returns the string used during the verification of the [Publication].
116116+func getDocumentVerification(repo syntax.AtIdentifier, rkey syntax.RecordKey) string {
117117+ return createAtURI(repo, CollectionDocument, rkey)
118118+}