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.
30 lines
989 B
Plaintext
30 lines
989 B
Plaintext
10 years ago
|
{
|
||
|
"type": "object",
|
||
10 years ago
|
"title": "Topic",
|
||
10 years ago
|
"description": "A topic is a short message detailing what is currently being discussed in the room. It can also be used as a way to display extra information about the room, which may not be suitable for the room name. The room topic can also be set when creating a room using ``/createRoom`` with the ``topic`` key.",
|
||
10 years ago
|
"allOf": [{
|
||
9 years ago
|
"$ref": "core-event-schema/state_event.json"
|
||
10 years ago
|
}],
|
||
|
"properties": {
|
||
|
"content": {
|
||
|
"type": "object",
|
||
|
"properties": {
|
||
|
"topic": {
|
||
10 years ago
|
"type": "string",
|
||
|
"description": "The topic text."
|
||
10 years ago
|
}
|
||
|
},
|
||
|
"required": ["topic"]
|
||
|
},
|
||
|
"state_key": {
|
||
|
"type": "string",
|
||
10 years ago
|
"description": "A zero-length string.",
|
||
10 years ago
|
"pattern": "^$"
|
||
|
},
|
||
|
"type": {
|
||
|
"type": "string",
|
||
|
"enum": ["m.room.topic"]
|
||
|
}
|
||
|
}
|
||
|
}
|