Use strict types for the presence EDUs

pull/977/head
Travis Ralston 6 years ago
parent 549a25cad9
commit 766402a702

@ -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…
Cancel
Save