Convert m.key_backup.yaml to yaml

This commit is contained in:
Andy Balaam 2026-04-15 16:17:34 +01:00
parent 3b297cf7da
commit 0c557fe49c

View file

@ -1,25 +1,24 @@
{ ---
"$schema": "https://json-schema.org/draft/2020-12/schema", $schema: https://json-schema.org/draft/2020-12/schema
"type": "object",
"title": "Key Backup Event", allOf:
"description": "Allows clients to track user preferences about key backup.", - $ref: core-event-schema/event.yaml
"allOf": [{ description: |-
"$ref": "core-event-schema/event.yaml" Allows clients to track user preferences about key backup.
}], properties:
"properties": { content:
"type": { type: object
"type": "string", properties:
"enum": ["m.key_backup"] enabled:
}, type: boolean
"content": { description: |-
"type": "object", True if the user chose to enable key backup. False if the user chose
"properties": { to disable key backup.
"enabled": { required:
"description": "True if the user chose to enable key backup. False if the user chose to disable key backup.", - enabled
"type": "boolean", type:
} type: string
}, enum:
"required": ["enabled"] - m.key_backup
} title: Key Backup Event
}, type: object
}