A typed citation from the containing document to another work.
Properties
context
string
Optional
Where in the document the citation occurs, or a short quotation of the citing sentence.
maxLength: 2000 bytesrelation
string
Required
How the document relates to the cited work. Open by design: `knownValues` names the relations Chive emits, and a consumer meeting an unfamiliar one should treat it as a plain citation rather than discard the link.
maxLength: 128 bytescites, extends, disputes, replicates, usesDataFrom, usesMethodIn, reviewstarget
ref
#target
Required
The work being cited.
View raw schema
{
"description": "A typed citation from the containing document to another work.",
"properties": {
"context": {
"description": "Where in the document the citation occurs, or a short quotation of the citing sentence.",
"maxLength": 2000,
"type": "string"
},
"relation": {
"description": "How the document relates to the cited work. Open by design: `knownValues` names the relations Chive emits, and a consumer meeting an unfamiliar one should treat it as a plain citation rather than discard the link.",
"knownValues": [
"cites",
"extends",
"disputes",
"replicates",
"usesDataFrom",
"usesMethodIn",
"reviews"
],
"maxLength": 128,
"type": "string"
},
"target": {
"description": "The work being cited.",
"ref": "#target",
"type": "ref"
}
},
"required": [
"relation",
"target"
],
"type": "object"
}