matrix-spec/data/event-schemas/schema/m.fully_read.yaml

27 lines
860 B
YAML
Raw Normal View History

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"title": "Read Marker Location Event",
"description": "The current location of the user's read marker in a room. This event appears in the user's room account data for the room the marker is applicable for.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": {
"content": {
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The event the user's read marker is located at in the room."
}
},
"required": ["event_id"]
},
"type": {
"type": "string",
"enum": ["m.fully_read"]
}
},
"required": ["type", "content"]
}