You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
717 B
JSON
20 lines
717 B
JSON
9 years ago
|
{
|
||
9 years ago
|
"type": "object",
|
||
|
"title": "State Event",
|
||
|
"description": "In addition to the Room Event fields, State Events have the following additional fields.",
|
||
|
"allOf":[{
|
||
9 years ago
|
"$ref": "core-event-schema/room_event.json"
|
||
9 years ago
|
}],
|
||
|
"properties": {
|
||
|
"state_key": {
|
||
|
"type": "string",
|
||
|
"description": "A unique key which defines the overwriting semantics for this piece of room state. This value is often a zero-length string. The presence of this key makes this event a State Event."
|
||
|
},
|
||
|
"prev_content": {
|
||
|
"type": "object",
|
||
|
"description": "Optional. The previous ``content`` for this event. If there is no previous content, this key will be missing."
|
||
|
}
|
||
|
},
|
||
|
"required": ["state_key"]
|
||
9 years ago
|
}
|