mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-04 10:44:10 +01:00
Some checks are pending
Spec / 🔎 Validate OpenAPI specifications (push) Waiting to run
Spec / 🔎 Check Event schema examples (push) Waiting to run
Spec / 🔎 Check OpenAPI definitions examples (push) Waiting to run
Spec / 🔎 Check JSON Schemas inline examples (push) Waiting to run
Spec / ⚙️ Calculate baseURL for later jobs (push) Waiting to run
Spec / 🐍 Build OpenAPI definitions (push) Blocked by required conditions
Spec / 📢 Run towncrier for changelog (push) Waiting to run
Spec / 📖 Build the spec (push) Blocked by required conditions
Spec / 🔎 Validate generated HTML (push) Blocked by required conditions
Spec / 📖 Build the historical backup spec (push) Blocked by required conditions
Spec / Create release (push) Blocked by required conditions
Spell Check / Spell Check with Typos (push) Waiting to run
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
17 lines
510 B
YAML
17 lines
510 B
YAML
$schema: https://json-schema.org/draft/2020-12/schema
|
|
|
|
description: The basic set of fields all events must have.
|
|
properties:
|
|
content:
|
|
description: The fields in this object will vary depending on the type of event.
|
|
When interacting with the REST API, this is the HTTP body.
|
|
type: object
|
|
type:
|
|
description: The type of event, as defined by [the event type specification](/client-server-api/#types-of-room-events).
|
|
type: string
|
|
required:
|
|
- type
|
|
- content
|
|
title: Event
|
|
type: object
|