Make event's title fields UpperCamelCase and distinguish /sync ones

pull/2647/head
Jonas Platte 4 years ago
parent 5cb4b086c7
commit 763e5654cc
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
type: object
title: Invite Event
title: InviteEvent
description: |-
An invite event. Note that events have a different format depending on the
room version - check the `room version specification`_ for precise event formats.

@ -0,0 +1 @@
Improve consistency and clarity of event schema ``title``s.

@ -9,5 +9,5 @@ properties:
type: string
required:
- room_id
title: Room Event
title: RoomEvent
type: object

@ -2,5 +2,5 @@ allOf:
- $ref: room_event.yaml
- $ref: sync_state_event.yaml
description: State Events have the following fields.
title: State Event
title: StateEvent
type: object

@ -39,5 +39,5 @@ required:
- event_id
- sender
- origin_server_ts
title: Room Event
title: SyncRoomEvent
type: object

@ -35,5 +35,5 @@ properties:
type: string
required:
- state_key
title: State Event
title: SyncStateEvent
type: object

Loading…
Cancel
Save