mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-20 16:38:37 +01:00
List the allowed values for the 'event_format' as an enum
This commit is contained in:
parent
9dd3b07394
commit
6ad6c40147
|
|
@ -34,7 +34,8 @@
|
|||
"event_format": {
|
||||
"description":
|
||||
"The format to use for events. 'client' will return the events in a format suitable for clients. 'federation' will return the raw event as receieved over federation. The default is 'client'.",
|
||||
"type": "string"
|
||||
"type": "string",
|
||||
"enum": ["client", "federation"]
|
||||
},
|
||||
"event_fields": {
|
||||
"type": "array",
|
||||
|
|
|
|||
Loading…
Reference in a new issue