Merge pull request #2647 from jplatte/event-titles

Make event's title fields UpperCamelCase and distinguish /sync ones
pull/977/head
Travis Ralston 5 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
# 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