|
|
@ -40,6 +40,7 @@ properties:
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
unsigned:
|
|
|
|
unsigned:
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
|
|
|
|
|
|
|
|
|
required:
|
|
|
|
required:
|
|
|
|
- auth_events
|
|
|
|
- auth_events
|
|
|
|
- content
|
|
|
|
- content
|
|
|
@ -52,13 +53,13 @@ required:
|
|
|
|
- room_id
|
|
|
|
- room_id
|
|
|
|
- sender
|
|
|
|
- sender
|
|
|
|
- type
|
|
|
|
- type
|
|
|
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
dependencies:
|
|
|
|
state_key:
|
|
|
|
state_key:
|
|
|
|
- prev_state
|
|
|
|
- prev_state
|
|
|
|
prev_state:
|
|
|
|
prev_state:
|
|
|
|
- state_key
|
|
|
|
- state_key
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
definitions:
|
|
|
|
definitions:
|
|
|
|
server_id:
|
|
|
|
server_id:
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
@ -107,12 +108,14 @@ definitions:
|
|
|
|
$ref: "#/definitions/base64"
|
|
|
|
$ref: "#/definitions/base64"
|
|
|
|
event_reference:
|
|
|
|
event_reference:
|
|
|
|
type: array
|
|
|
|
type: array
|
|
|
|
|
|
|
|
minItems: 2
|
|
|
|
|
|
|
|
maxItems: 2
|
|
|
|
items:
|
|
|
|
items:
|
|
|
|
- type: string
|
|
|
|
- type: string
|
|
|
|
description: Event id of the referenced event.
|
|
|
|
description: Event id of the referenced event.
|
|
|
|
$ref: "#/definitions/event_id"
|
|
|
|
$ref: "#/definitions/event_id"
|
|
|
|
- type: object
|
|
|
|
- type: object
|
|
|
|
description: Reference hashes of the reference event.
|
|
|
|
description: Reference hashes of the referenced event.
|
|
|
|
$ref: "#/definitions/hashes"
|
|
|
|
$ref: "#/definitions/hashes"
|
|
|
|
event_reference_list:
|
|
|
|
event_reference_list:
|
|
|
|
type: array
|
|
|
|
type: array
|
|
|
|