{
"id": "pub.chive.eprint.citation",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"eprintUri",
"citedWork",
"createdAt"
],
"properties": {
"context": {
"type": "string",
"maxLength": 1000,
"description": "Contextual note explaining the citation"
},
"citedWork": {
"ref": "#citedWork",
"type": "ref"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"eprintUri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the eprint that cites this work"
},
"citationType": {
"type": "string",
"description": "Semantic type of the citation relationship",
"knownValues": [
"cites",
"extends",
"refutes",
"reviews",
"uses-data",
"uses-method"
]
},
"schemaRevision": {
"type": "integer",
"minimum": 1,
"description": "Schema revision this record was created with. Absent means revision 1."
}
}
},
"description": "User-curated citation linking an eprint to a cited work"
},
"citedWork": {
"type": "object",
"required": [
"title"
],
"properties": {
"doi": {
"type": "string",
"maxLength": 200,
"description": "DOI of the cited work"
},
"url": {
"type": "string",
"format": "uri",
"maxLength": 1000,
"description": "URL of the cited work"
},
"year": {
"type": "integer",
"description": "Publication year of the cited work"
},
"title": {
"type": "string",
"maxLength": 1000,
"description": "Title of the cited work"
},
"venue": {
"type": "string",
"maxLength": 500,
"description": "Publication venue (journal or conference)"
},
"arxivId": {
"type": "string",
"maxLength": 50,
"description": "arXiv identifier of the cited work"
},
"authors": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxLength": 50,
"description": "Author names of the cited work"
},
"chiveUri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the cited work if it exists in Chive"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 1
}