Use strict types for the presence EDUs
This commit is contained in:
parent
549a25cad9
commit
766402a702
4 changed files with 8 additions and 4 deletions
|
@ -22,7 +22,8 @@ allOf:
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
edu_type:
|
edu_type:
|
||||||
type: string
|
type: enum
|
||||||
|
enum: ['m.presence_accept']
|
||||||
description: The string ``m.presence_accept``
|
description: The string ``m.presence_accept``
|
||||||
example: "m.presence_accept"
|
example: "m.presence_accept"
|
||||||
content:
|
content:
|
||||||
|
|
|
@ -31,7 +31,8 @@ allOf:
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
edu_type:
|
edu_type:
|
||||||
type: string
|
type: enum
|
||||||
|
enum: ['m.presence_deny']
|
||||||
description: The string ``m.presence_deny``
|
description: The string ``m.presence_deny``
|
||||||
example: "m.presence_deny"
|
example: "m.presence_deny"
|
||||||
content:
|
content:
|
||||||
|
|
|
@ -21,7 +21,8 @@ allOf:
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
edu_type:
|
edu_type:
|
||||||
type: string
|
type: enum
|
||||||
|
enum: ['m.presence_invite']
|
||||||
description: The string ``m.presence_invite``
|
description: The string ``m.presence_invite``
|
||||||
example: "m.presence_invite"
|
example: "m.presence_invite"
|
||||||
content:
|
content:
|
||||||
|
|
|
@ -21,7 +21,8 @@ allOf:
|
||||||
- type: object
|
- type: object
|
||||||
properties:
|
properties:
|
||||||
edu_type:
|
edu_type:
|
||||||
type: string
|
type: enum
|
||||||
|
enum: ['m.presence']
|
||||||
description: The string ``m.presence``
|
description: The string ``m.presence``
|
||||||
example: "m.presence"
|
example: "m.presence"
|
||||||
content:
|
content:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue