mod_rest/res/schema-xmpp.json
changeset 4920 3dc8e329d233
parent 4893 52522c71ad1a
child 4939 a85efae90e21
--- a/mod_rest/res/schema-xmpp.json	Thu Apr 07 15:39:11 2022 +0200
+++ b/mod_rest/res/schema-xmpp.json	Thu Apr 07 15:39:57 2022 +0200
@@ -149,6 +149,28 @@
             "namespace" : "http://jabber.org/protocol/nick"
          }
       },
+      "payload" : {
+         "properties" : {
+            "data" : {
+               "format" : "json",
+               "type" : "string",
+               "xml" : {
+                  "text" : true
+               }
+            },
+            "datatype" : {
+               "type" : "string",
+               "xml" : {
+                  "attribute" : true
+               }
+            }
+         },
+         "title" : "XEP-0432: Simple JSON Messaging",
+         "type" : "object",
+         "xml" : {
+            "namespace" : "urn:xmpp:json-msg:0"
+         }
+      },
       "rsm" : {
          "properties" : {
             "after" : {