Specify requirement of origin_server_ts
Signed-off-by: Benjamin Saunders <ben.e.saunders@gmail.com>
This commit is contained in:
parent
fee90f135b
commit
1c02ff5249
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: event.yaml
|
- $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.
|
fields.
|
||||||
properties:
|
properties:
|
||||||
event_id:
|
event_id:
|
||||||
|
@ -13,6 +13,10 @@ properties:
|
||||||
description: Required. Contains the fully-qualified ID of the user who *sent*
|
description: Required. Contains the fully-qualified ID of the user who *sent*
|
||||||
this event.
|
this event.
|
||||||
type: string
|
type: string
|
||||||
|
origin_server_ts:
|
||||||
|
description: Required. Timestamp in milliseconds on originating homeserver
|
||||||
|
when this event was sent.
|
||||||
|
type: number
|
||||||
unsigned:
|
unsigned:
|
||||||
description: Contains optional extra information about the event.
|
description: Contains optional extra information about the event.
|
||||||
properties:
|
properties:
|
||||||
|
@ -33,5 +37,6 @@ required:
|
||||||
- event_id
|
- event_id
|
||||||
- room_id
|
- room_id
|
||||||
- sender
|
- sender
|
||||||
|
- origin_server_ts
|
||||||
title: Room Event
|
title: Room Event
|
||||||
type: object
|
type: object
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue