From 43f2819702bcad418a41246c5dc117de426e30d5 Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Sat, 1 Sep 2018 03:06:15 +0100 Subject: [PATCH] switch to travis' example --- .../definitions/event-schemas/m.direct_to_device.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/api/server-server/definitions/event-schemas/m.direct_to_device.yaml b/api/server-server/definitions/event-schemas/m.direct_to_device.yaml index 58143a37d..9d5a7468c 100644 --- a/api/server-server/definitions/event-schemas/m.direct_to_device.yaml +++ b/api/server-server/definitions/event-schemas/m.direct_to_device.yaml @@ -52,9 +52,12 @@ allOf: a map of user IDs to a map of device IDs to message bodies. The device ID may also be ``*``, meaning all known devices for the user. additionalProperties: - type: string + type: object + title: User Devices additionalProperties: - type: string + type: object + title: Device Message Contents + properties: {} example: { "alice@example.org": { "IWHQUZUIAH": {