{
"id": "pub.chive.defs",
"defs": {
"affiliation": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 300,
"description": "Organization or unit name"
},
"rorId": {
"type": "string",
"maxLength": 100,
"description": "ROR identifier URL"
},
"children": {
"type": "array",
"items": {
"ref": "#affiliation",
"type": "ref"
},
"maxLength": 10,
"description": "Sub-units (schools, departments, labs, etc.)"
},
"institutionUri": {
"type": "string",
"format": "at-uri",
"description": "AT-URI to institution or unit node in knowledge graph"
}
},
"description": "Institutional affiliation with optional sub-unit hierarchy"
},
"documentFormat": {
"type": "string",
"description": "Document format slug",
"knownValues": [
"pdf",
"docx",
"html",
"markdown",
"latex",
"jupyter",
"odt",
"rtf",
"epub",
"txt"
]
},
"publicationStatus": {
"type": "string",
"description": "Publication status slug",
"knownValues": [
"eprint",
"preprint",
"under_review",
"revision_requested",
"accepted",
"in_press",
"published",
"retracted",
"withdrawn"
]
},
"supplementaryCategory": {
"type": "string",
"description": "Supplementary material category slug",
"knownValues": [
"appendix",
"figure",
"table",
"dataset",
"code",
"notebook",
"video",
"audio",
"presentation",
"protocol",
"questionnaire",
"other"
]
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"revision": 2,
"description": "Shared type definitions for reusable enum-like values"
}