{
"id": "world.ptah.event",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"name",
"creatorDID",
"worldReference",
"createdAt"
],
"properties": {
"name": {
"type": "string",
"maxLength": 640,
"description": "The name of the event",
"maxGraphemes": 64
},
"result": {
"type": "string",
"maxLength": 10240,
"description": "The outcome of the event",
"maxGraphemes": 1024
},
"stakes": {
"type": "string",
"maxLength": 10240,
"description": "What is at stake in this event",
"maxGraphemes": 1024
},
"status": {
"type": "string",
"description": "The current status of the event",
"knownValues": [
"scheduled",
"active",
"completed",
"cancelled"
]
},
"endTime": {
"type": "string",
"format": "datetime",
"description": "When the event ends"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this event was created"
},
"eventType": {
"type": "string",
"description": "The type of event",
"knownValues": [
"competition",
"gathering",
"milestone",
"ceremony",
"conflict"
]
},
"startTime": {
"type": "string",
"format": "datetime",
"description": "When the event begins"
},
"witnesses": {
"type": "array",
"items": {
"type": "string",
"format": "at-uri"
},
"description": "References to witness action records — verifiable attendance"
},
"creatorDID": {
"type": "string",
"format": "did",
"description": "The permanent identity of the event's creator"
},
"description": {
"type": "string",
"maxLength": 10240,
"description": "What this event is about",
"maxGraphemes": 1024
},
"participants": {
"type": "array",
"items": {
"type": "string",
"format": "at-uri"
},
"description": "References to character records participating in this event"
},
"worldReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the world this event occurs in"
},
"canonicalStatus": {
"type": "string",
"description": "The canonical standing of this event",
"knownValues": [
"world.ptah.defs#canonicalStatusOfficial",
"world.ptah.defs#canonicalStatusCommunity",
"world.ptah.defs#canonicalStatusApocryphal"
]
},
"locationReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the location where this event takes place"
}
}
},
"description": "Where competition becomes history. A structured occurrence with participants, stakes, results, and witnesses."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}