[schema] Application Service Registration meta schema (#2132)

pull/2206/head
V02460 3 months ago committed by GitHub
parent 4d4069166d
commit 6e16a19ac9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1 @@
Declare the Application Service Registration schema to follow JSON Schema spec 2020-12.

@ -0,0 +1 @@
Declare the event schemas to follow JSON Schema spec 2020-12.

@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
$schema: https://json-schema.org/draft/2020-12/schema
type: array type: array
items: items:

@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
title: Registration title: Registration

@ -11,6 +11,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
$schema: https://json-schema.org/draft/2020-12/schema
properties: properties:
entity: entity:
description: |- description: |-

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
x-addedInMatrixVersion: "1.10" x-addedInMatrixVersion: "1.10"
description: |- description: |-

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
description: "The content of all call events shares a set of common fields: those description: "The content of all call events shares a set of common fields: those
of room events and some additional VoIP specific fields." of room events and some additional VoIP specific fields."
properties: properties:

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
description: The basic set of fields all events must have. description: The basic set of fields all events must have.
properties: properties:
content: content:

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
description: Metadata about an avatar image. description: Metadata about an avatar image.
properties: properties:
h: h:

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
description: Metadata about an image. description: Metadata about an image.
properties: properties:
h: h:

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
description: Metadata about a thumbnail image. description: Metadata about a thumbnail image.
properties: properties:
h: h:

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
title: RoomEvent title: RoomEvent
description: Room Events have the following fields. description: Room Events have the following fields.
allOf: allOf:

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: room_event.yaml - $ref: room_event.yaml
- $ref: sync_state_event.yaml - $ref: sync_state_event.yaml

@ -18,6 +18,8 @@
# difficult because the schema would be at two different locations, with # difficult because the schema would be at two different locations, with
# different relative pathing. # different relative pathing.
$schema: https://json-schema.org/draft/2020-12/schema
title: StrippedStateEvent title: StrippedStateEvent
type: object type: object
description: |- description: |-

@ -17,6 +17,8 @@
# be on events, so we give it a whole event structure as a base for room_event. # be on events, so we give it a whole event structure as a base for room_event.
# This base doesn't declare a room_id, which instead appears in the room_event. # This base doesn't declare a room_id, which instead appears in the room_event.
$schema: https://json-schema.org/draft/2020-12/schema
title: SyncRoomEvent title: SyncRoomEvent
description: In addition to the Event fields, Room Events have the following additional description: In addition to the Event fields, Room Events have the following additional
fields. fields.

@ -14,6 +14,8 @@
# See sync_room_event.yaml for why this file is here. # See sync_room_event.yaml for why this file is here.
$schema: https://json-schema.org/draft/2020-12/schema
title: SyncStateEvent title: SyncStateEvent
description: In addition to the Room Event fields, State Events have the following description: In addition to the Room Event fields, State Events have the following
additional fields. additional fields.

@ -11,6 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
$schema: https://json-schema.org/draft/2020-12/schema
title: UnsignedData title: UnsignedData
type: object type: object

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml
description: |- description: |-

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"description": "This event is sent by the callee when they wish to answer the call.", "description": "This event is sent by the callee when they wish to answer the call.",
"x-weight": 40, "x-weight": 40,

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
description: |- description: |-
This event is sent by callers after sending an invite and by the callee after This event is sent by callers after sending an invite and by the callee after

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
description: | description: |
Sent by either party to signal their termination of the call. This can Sent by either party to signal their termination of the call. This can

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"description": "This event is sent by the caller when they wish to establish a call.", "description": "This event is sent by the caller when they wish to establish a call.",
"x-weight": 10, "x-weight": 10,

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
description: | description: |
Provides SDP negotiation semantics for media pause, hold/resume, ICE restarts Provides SDP negotiation semantics for media pause, hold/resume, ICE restarts

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
description: | description: |
If the `m.call.invite` event has `version` `"1"`, a client wishing to If the `m.call.invite` event has `version` `"1"`, a client wishing to

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
x-addedInMatrixVersion: "1.11" x-addedInMatrixVersion: "1.11"
x-weight: 70 x-weight: 70

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"description": "This event is sent by the caller's client once it has decided which other client to talk to, by selecting one of multiple possible incoming `m.call.answer` events. Its `selected_party_id` field indicates the answer it's chosen. The `call_id` and `party_id` of the caller is also included. If the callee's client sees a `select_answer` for an answer with party ID other than the one it sent, it ends the call and informs the user the call was answered elsewhere. It does not send any events. Media can start flowing before this event is seen or even sent. Clients that implement previous versions of this specification will ignore this event and behave as they did before.", "description": "This event is sent by the caller's client once it has decided which other client to talk to, by selecting one of multiple possible incoming `m.call.answer` events. Its `selected_party_id` field indicates the answer it's chosen. The `call_id` and `party_id` of the caller is also included. If the callee's client sees a `select_answer` for an answer with party ID other than the one it sent, it ends the call and informs the user the call was answered elsewhere. It does not send any events. Media can start flowing before this event is seen or even sent. Clients that implement previous versions of this specification will ignore this event and behave as they did before.",
"x-addedInMatrixVersion": "1.7", "x-addedInMatrixVersion": "1.7",

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"title": "Read Marker Location Event", "title": "Read Marker Location Event",
"description": "The current location of the user's read marker in a room. This event appears in the user's room account data for the room the marker is applicable for.", "description": "The current location of the user's read marker in a room. This event appears in the user's room account data for the room the marker is applicable for.",

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
description: |- description: |-
Required when sent as an in-room message. Indicates the Required when sent as an in-room message. Indicates the
`m.key.verification.request` that this message is related to. Note that for `m.key.verification.request` that this message is related to. Note that for

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"title": "Unread Marker Event", "title": "Unread Marker Event",
"description": "The current state of the user's unread marker in a room. This event appears in the user's room account data for the room the marker is applicable for.", "description": "The current state of the user's unread marker in a room. This event appears in the user's room account data for the room the marker is applicable for.",

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: A moderation policy rule which affects room IDs and room aliases. description: A moderation policy rule which affects room IDs and room aliases.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: A moderation policy rule which affects servers. description: A moderation policy rule which affects servers.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: A moderation policy rule which affects users. description: A moderation policy rule which affects users.

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"title": "Presence Event", "title": "Presence Event",
"description": "Informs the client of a user's presence state change.", "description": "Informs the client of a user's presence state change.",

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml
description: Describes all push rules for this user. description: Describes all push rules for this user.

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: |- description: |-

@ -1,3 +1,5 @@
$schema: https://json-schema.org/draft/2020-12/schema
type: object type: object
title: Receipt Event title: Receipt Event
description: Informs the client of new receipts. description: Informs the client of new receipts.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: A picture that is associated with the room. This can be displayed alongside the room information. description: A picture that is associated with the room. This can be displayed alongside the room information.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: This is the first event in a room and cannot be changed. It acts as the root of all other events. description: This is the first event in a room and cannot be changed. It acts as the root of all other events.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: Defines how messages sent in this room should be encrypted. description: Defines how messages sent in this room should be encrypted.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: 'This event controls whether guest users are allowed to join rooms. If this event is absent, servers should act as if it is present and has the guest_access value "forbidden".' description: 'This event controls whether guest users are allowed to join rooms. If this event is absent, servers should act as if it is present and has the guest_access value "forbidden".'

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: This event controls whether a user can see the events that happened in a room from before they joined. description: This event controls whether a user can see the events that happened in a room from before they joined.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: | description: |

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: This message represents a single audio clip. description: This message represents a single audio clip.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: "This message is similar to `m.text` except that the sender is 'performing' the action contained in the `body` key, similar to `/me` in IRC. This message should be prefixed by the name of the sender. This message could also be represented in a different colour to distinguish it from regular `m.text` messages." description: "This message is similar to `m.text` except that the sender is 'performing' the action contained in the `body` key, similar to `/me` in IRC. This message should be prefixed by the name of the sender. This message could also be represented in a different colour to distinguish it from regular `m.text` messages."

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: This message represents a generic file. description: This message represents a generic file.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: This message represents a single image and an optional thumbnail. description: This message represents a single image and an optional thumbnail.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: description:

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: This message represents a real-world location. description: This message represents a real-world location.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: 'The `m.notice` type is primarily intended for responses from automated clients. An `m.notice` message must be treated the same way as a regular `m.text` message with two exceptions. Firstly, clients should present `m.notice` messages to users in a distinct manner, and secondly, `m.notice` messages must never be automatically responded to. This helps to prevent infinite-loop situations where two automated clients continuously exchange messages.' description: 'The `m.notice` type is primarily intended for responses from automated clients. An `m.notice` message must be treated the same way as a regular `m.text` message with two exceptions. Firstly, clients should present `m.notice` messages to users in a distinct manner, and secondly, `m.notice` messages must never be automatically responded to. This helps to prevent infinite-loop situations where two automated clients continuously exchange messages.'

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: Represents a server notice for a user. description: Represents a server notice for a user.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: This message is the most basic message and is used to represent text. description: This message is the most basic message and is used to represent text.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: This message represents a single video clip. description: This message represents a single video clip.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: 'This event is used when sending messages in a room. Messages are not limited to be text. The `msgtype` key outlines the type of message, e.g. text, audio, image, video, etc. The `body` key is text and MUST be used with every kind of `msgtype` as a fallback mechanism for when a client cannot render a message. This allows clients to display *something* even if it is just plain text.' description: 'This event is used when sending messages in a room. Messages are not limited to be text. The `msgtype` key outlines the type of message, e.g. text, audio, image, video, etc. The `body` key is text and MUST be used with every kind of `msgtype` as a fallback mechanism for when a client cannot render a message. This allows clients to display *something* even if it is just plain text.'

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: This event is used to "pin" particular events in a room for other participants to review later. The order of the pinned events is guaranteed and based upon the order supplied in the event. Clients should be aware that the current user may not be able to see some of the events pinned due to visibility settings in the room. Clients are responsible for determining if a particular event in the pinned list is displayable, and have the option to not display it if it cannot be pinned in the client. description: This event is used to "pin" particular events in a room for other participants to review later. The order of the pinned events is guaranteed and based upon the order supplied in the event. Clients should be aware that the current user may not be able to see some of the events pinned due to visibility settings in the room. Clients are responsible for determining if a particular event in the pinned list is displayable, and have the option to not display it if it cannot be pinned in the client.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: 'This event is created by the server to describe which event has been redacted, by whom, and optionally why. The event that has been redacted is specified in the `redacts` event level key. Redacting an event means that all keys not required by the protocol are stripped off, allowing messages to be hidden or allowing admins to remove offensive or illegal content.' description: 'This event is created by the server to describe which event has been redacted, by whom, and optionally why. The event that has been redacted is specified in the `redacts` event level key. Redacting an event means that all keys not required by the protocol are stripped off, allowing messages to be hidden or allowing admins to remove offensive or illegal content.'

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
title: Server ACL title: Server ACL
description: |- description: |-
An event to indicate which servers are permitted to participate in the An event to indicate which servers are permitted to participate in the

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: 'A state event signifying that a room has been upgraded to a different room version, and that clients should go there.' description: 'A state event signifying that a room has been upgraded to a different room version, and that clients should go there.'

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/event.yaml - $ref: core-event-schema/event.yaml
description: |- description: |-

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: Defines the relationship of a child room to a space-room. Has no effect in rooms which are not [spaces](/client-server-api/#spaces). description: Defines the relationship of a child room to a space-room. Has no effect in rooms which are not [spaces](/client-server-api/#spaces).

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/state_event.yaml - $ref: core-event-schema/state_event.yaml
description: Defines the relationship of a room to a parent space-room. description: Defines the relationship of a room to a parent space-room.

@ -1,4 +1,6 @@
--- ---
$schema: https://json-schema.org/draft/2020-12/schema
allOf: allOf:
- $ref: core-event-schema/room_event.yaml - $ref: core-event-schema/room_event.yaml
description: This message represents a single sticker image. description: This message represents a single sticker image.

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"title": "Tag Event", "title": "Tag Event",
"description": "Informs the client of tags on a room.", "description": "Informs the client of tags on a room.",

@ -1,4 +1,5 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object", "type": "object",
"title": "Typing Event", "title": "Typing Event",
"description": "Informs the client of the list of users currently typing.", "description": "Informs the client of the list of users currently typing.",

Loading…
Cancel
Save