Merge pull request #370 from Ralith/origin_server_ts

Specify requirement of origin_server_ts
pull/977/head
Richard van der Hoff 8 years ago committed by GitHub
commit 4ace92bca3

@ -1,6 +1,6 @@
allOf:
- $ref: event.yaml
description: In addition to the Event fields, Room Events may have the following additional
description: In addition to the Event fields, Room Events have the following additional
fields.
properties:
event_id:
@ -13,6 +13,10 @@ properties:
description: Required. Contains the fully-qualified ID of the user who *sent*
this event.
type: string
origin_server_ts:
description: Required. Timestamp in milliseconds on originating homeserver
when this event was sent.
type: number
unsigned:
description: Contains optional extra information about the event.
properties:
@ -33,5 +37,6 @@ required:
- event_id
- room_id
- sender
- origin_server_ts
title: Room Event
type: object

Loading…
Cancel
Save