Skip to main content

Interface: StandardCitationLink

Defined in: web/lib/atproto/record-creator.ts:2212

A typed citation written into a standard.site document's links union.

Remarks​

site.standard.document.links is declared as a union with no members — reserved, and left open for extensions. pub.chive.site.citationLink is Chive's proposal for what belongs there: a document-to-work link with a CiTO-style relation, so a consumer that knows the Citation Typing Ontology can read a Chive citation without knowing anything about Chive.

Shipping it in Chive's emissions is the proposal. It is staged behind CreateStandardDocumentInput.citations rather than emitted for every document, because writing an unratified extension into other people's records by default would be presumptuous.

Properties​

$type​

$type: "pub.chive.site.citationLink"

Defined in: web/lib/atproto/record-creator.ts:2213


context?​

optional context: string

Defined in: web/lib/atproto/record-creator.ts:2218

Where in the document the citation occurs, or the citing sentence


relation​

relation: string

Defined in: web/lib/atproto/record-creator.ts:2215

CiTO-style relation; cites when nothing more specific is known


target​

target: StandardCitationTarget

Defined in: web/lib/atproto/record-creator.ts:2216