matrix-spec/data/event-schemas/schema/m.room.redaction.yaml
V02460 6e16a19ac9
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
[schema] Application Service Registration meta schema (#2132)
2025-08-27 07:39:05 +01:00

26 lines
1,010 B
YAML

---
$schema: https://json-schema.org/draft/2020-12/schema
allOf:
- $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.'
properties:
content:
properties:
redacts:
description: The event ID that was redacted. Required for, and present starting in, room version 11.
type: string
reason:
description: 'The reason for the redaction, if any.'
type: string
type: object
redacts:
description: Required for, and only present in, room versions 1 - 10. The event ID that was redacted.
type: string
type:
enum:
- m.room.redaction
type: string
title: Redaction
type: object