Add more string formats

This commit is contained in:
Richard van der Hoff 2026-06-23 15:35:57 +01:00
parent 141cc8e11c
commit adde146d48
2 changed files with 5 additions and 0 deletions

View file

@ -7,6 +7,8 @@ properties:
The encryption algorithm for the key that this event is about.
room_id:
type: string
format: mx-room-id
pattern: "^!"
description: |-
Required if `code` is not `m.no_olm`. The room for the key that
this event is about.
@ -17,6 +19,7 @@ properties:
that this event is about.
sender_key:
type: string
format: mx-unpadded-base64
description: |-
The unpadded base64-encoded device curve25519 key of the event\'s
sender.

View file

@ -21,6 +21,8 @@ properties:
properties:
room_id:
type: string
format: mx-room-id
pattern: "^!"
description: The room to which the keys in the key bundle relate.
file:
description: |-