mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-07-02 12:17:47 +02:00
Add more string formats
This commit is contained in:
parent
141cc8e11c
commit
adde146d48
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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: |-
|
||||
|
|
|
|||
Loading…
Reference in a new issue