diff mod_rest/res/schema-xmpp.json @ 4720:71bec9c21dcd

mod_rest: Add XEP-0100 gateway to mapping schema
author Kim Alvefur <zash@zash.se>
date Sat, 23 Oct 2021 14:20:16 +0200
parents 63c91f2a86e5
children 611bc06c4160
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json	Wed Oct 20 22:16:14 2021 +0200
+++ b/mod_rest/res/schema-xmpp.json	Sat Oct 23 14:20:16 2021 +0200
@@ -62,6 +62,25 @@
    "properties" : {
       "iq" : {
          "properties" : {
+            "gateway" : {
+               "properties" : {
+                  "desc" : {
+                     "type" : "text"
+                  },
+                  "jid" : {
+                     "type" : "string"
+                  },
+                  "prompt" : {
+                     "type" : "string"
+                  }
+               },
+               "title" : "XEP-0100: Gateway Interaction",
+               "type" : "object",
+               "xml" : {
+                  "name" : "query",
+                  "namespace" : "jabber:iq:gateway"
+               }
+            },
             "lastactivity" : {
                "properties" : {
                   "seconds" : {