{
"id": "world.ptah.action",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"actorDID",
"worldReference",
"createdAt"
],
"properties": {
"content": {
"type": "string",
"maxLength": 30720,
"description": "The content of the action — what happened",
"maxGraphemes": 3000
},
"actorDID": {
"type": "string",
"format": "did",
"description": "The permanent identity of the person who took this action"
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp when this action was taken"
},
"actionType": {
"type": "string",
"description": "The type of action",
"knownValues": [
"narrative",
"dialogue",
"witness",
"competitive",
"administrative"
]
},
"visibility": {
"type": "string",
"description": "The visibility tier of this action",
"knownValues": [
"canon",
"community",
"experimental"
]
},
"parentAction": {
"type": "string",
"format": "at-uri",
"description": "Reference to the action this is responding to (for threading)"
},
"eventReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the event this action is part of"
},
"worldReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the world this action occurred in"
},
"narrativeWeight": {
"type": "integer",
"description": "Optional importance scoring hook (null default, non-breaking)"
},
"locationReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the location where this action occurred"
},
"characterReference": {
"type": "string",
"format": "at-uri",
"description": "Reference to the character who took this action"
}
}
},
"description": "The heartbeat of a world. Something happened. Attributed to a character, timestamped, permanent."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}