{
"id": "world.ptah.version",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"creatorDID",
"worldReference",
"createdAt",
"workReference"
],
"properties": {
"status": {
"type": "string",
"description": "The status of this version",
"knownValues": [
"active",
"superseded",
"retracted",
"archived"
]
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this version was created"
},
"isCurrent": {
"type": "boolean",
"description": "Whether this is the current/active version"
},
"creatorDID": {
"type": "string",
"format": "did",
"description": "The permanent identity of the version's creator"
},
"versionLabel": {
"type": "string",
"maxLength": 640,
"description": "Label describing this version stage",
"knownValues": [
"draft",
"published",
"revised",
"corrected",
"final"
],
"maxGraphemes": 64
},
"workReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the work this is a version of"
},
"worldReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the world this version belongs to"
},
"previousVersion": {
"type": "string",
"format": "at-uri",
"description": "Reference to the version this replaced (empty = first version)"
},
"changeDescription": {
"type": "string",
"maxLength": 10240,
"description": "What changed in this version",
"maxGraphemes": 1024
}
}
},
"description": "Edit history within a work. Tracks the evolution from draft to published to revised — every version, every change."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}