mirror of
https://github.com/matrix-org/matrix-spec
synced 2025-12-21 00:48:38 +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": {
|
"event_format": {
|
||||||
"description":
|
"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'.",
|
"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": {
|
"event_fields": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue