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.
matrix-spec/data/event-schemas/schema/m.tag.yaml

28 lines
612 B
YAML

{
"type": "object",
"title": "Tag Event",
"description": "Informs the client of tags on a room.",
"allOf": [{
"$ref": "core-event-schema/event.yaml"
}],
"properties": {
"type": {
"type": "string",
"enum": ["m.tag"]
},
"content": {
"type": "object",
"properties": {
"tags": {
"type": "object",
"description": "The tags on the room and their contents.",
"additionalProperties": {
"$ref": "../../api/client-server/definitions/tag.yaml"
}
}
}
}
},
"required": ["type", "content"]
}