Add strict typing to the m.receipt EDU; Fix description of event_ids
This commit is contained in:
parent
44d1f8dbe5
commit
c492fe43b5
1 changed files with 3 additions and 3 deletions
|
@ -24,7 +24,8 @@ allOf:
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
edu_type:
|
edu_type:
|
||||||
type: string
|
type: enum
|
||||||
|
enum: ['m.receipt']
|
||||||
description: The string ``m.receipt``
|
description: The string ``m.receipt``
|
||||||
example: "m.receipt"
|
example: "m.receipt"
|
||||||
content:
|
content:
|
||||||
|
@ -46,8 +47,7 @@ allOf:
|
||||||
event_ids:
|
event_ids:
|
||||||
type: array
|
type: array
|
||||||
description: |-
|
description: |-
|
||||||
The event ID that the user has read up to. Must be exactly
|
The extremity event IDs that the user has read up to.
|
||||||
one element in length.
|
|
||||||
minItems: 1
|
minItems: 1
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
items:
|
items:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue