Merge pull request #2647 from jplatte/event-titles

Make event's title fields UpperCamelCase and distinguish /sync ones
pull/2653/head
Travis Ralston 4 years ago committed by GitHub
commit 465ed38416
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

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

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

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

Loading…
Cancel
Save