mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-02-12 17:13:43 +01:00
Some checks failed
Spec / 🔎 Validate OpenAPI specifications (push) Has been cancelled
Spec / 🔎 Check Event schema examples (push) Has been cancelled
Spec / 🔎 Check OpenAPI definitions examples (push) Has been cancelled
Spec / 🔎 Check JSON Schemas inline examples (push) Has been cancelled
Spec / ⚙️ Calculate baseURL for later jobs (push) Has been cancelled
Spec / 📢 Run towncrier for changelog (push) Has been cancelled
Spell Check / Spell Check with Typos (push) Has been cancelled
Spec / 🐍 Build OpenAPI definitions (push) Has been cancelled
Spec / 📖 Build the spec (push) Has been cancelled
Spec / 🔎 Validate generated HTML (push) Has been cancelled
Spec / 📖 Build the historical backup spec (push) Has been cancelled
Spec / Create release (push) Has been cancelled
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
30 lines
802 B
YAML
30 lines
802 B
YAML
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"type": "object",
|
|
"title": "Recent Emoji Event",
|
|
"description": "Lets clients maintain a list of recently used emoji.",
|
|
"allOf": [{
|
|
"$ref": "core-event-schema/event.yaml"
|
|
}],
|
|
"properties": {
|
|
"type": {
|
|
"type": "string",
|
|
"enum": ["m.recent_emoji"]
|
|
},
|
|
"content": {
|
|
"type": "object",
|
|
"properties": {
|
|
"recent_emoji": {
|
|
"description": "The list of recently used emoji. Elements in the list are ordered descendingly by last usage time.",
|
|
"type": "array",
|
|
"items": {
|
|
"$ref": "../../api/client-server/definitions/recent_emoji.yaml"
|
|
},
|
|
}
|
|
},
|
|
"required": ["recent_emoji"]
|
|
}
|
|
},
|
|
"required": ["type", "content"]
|
|
}
|