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.
29 lines
917 B
Plaintext
29 lines
917 B
Plaintext
9 years ago
|
{
|
||
|
"type": "object",
|
||
|
"title": "Informs the room as to which alias is the canonical one.",
|
||
|
"description": "This event is used to inform the room about which alias should be considered the canonical one. This could be for display purposes or as suggestion to users which alias to use to advertise the room.",
|
||
|
"allOf": [{
|
||
9 years ago
|
"$ref": "core-event-schema/state_event.json"
|
||
9 years ago
|
}],
|
||
|
"properties": {
|
||
|
"content": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"alias": {
|
||
9 years ago
|
"type": "string",
|
||
9 years ago
|
"description": "The canonical alias."
|
||
9 years ago
|
}
|
||
9 years ago
|
}
|
||
9 years ago
|
},
|
||
|
"state_key": {
|
||
|
"type": "string",
|
||
|
"description": "A zero-length string.",
|
||
|
"pattern": "^$"
|
||
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.room.canonical_alias"]
|
||
|
}
|
||
|
}
|
||
|
}
|