matrix-spec/data/event-schemas/schema/m.typing.yaml
Kévin Commaille 1449321ea1
Improve "Typing Notifications" section of the CS API (#2375)
* Convert m.typing JSON schema to YAML

For consistency with other schemas.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Clarify string formats in Typing Notifications section of the CS API

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

* Add changelog

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>

---------

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
2026-05-12 16:38:35 +01:00

28 lines
563 B
YAML

$schema: https://json-schema.org/draft/2020-12/schema
type: object
title: Typing Event
description: Informs the client of the list of users currently typing.
allOf:
- $ref: core-event-schema/event.yaml
properties:
content:
type: object
properties:
user_ids:
type: array
items:
type: string
format: mx-user-id
pattern: "^@"
description: The list of user IDs typing in this room, if any.
required:
- user_ids
type:
type: string
enum:
- m.typing
required:
- type
- content