2015-09-17 11:09:37 +02:00
{
2015-09-17 14:09:35 +02:00
"type" : "object" ,
"title" : "State Event" ,
"description" : "In addition to the Room Event fields, State Events have the following additional fields." ,
"allOf" : [ {
2015-11-30 12:22:57 +01:00
"$ref" : "room_event.json"
2015-09-17 14:09:35 +02:00
} ] ,
"properties" : {
"state_key" : {
"type" : "string" ,
2015-10-14 17:15:55 +02:00
"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. The key MUST NOT start with '_'."
2015-09-17 14:09:35 +02:00
} ,
"prev_content" : {
2015-11-03 20:35:44 +01:00
"title" : "EventContent" ,
2015-09-17 14:09:35 +02:00
"type" : "object" ,
"description" : "Optional. The previous ``content`` for this event. If there is no previous content, this key will be missing."
}
} ,
"required" : [ "state_key" ]
2015-09-17 11:09:37 +02:00
}