Diff

mod_rest/res/schema-xmpp.json @ 4549:cce0e1ec8a74

mod_rest: Add XEP-0249: Direct MUC Invitations to schemas
author Kim Alvefur <zash@zash.se>
date Sun, 25 Apr 2021 16:53:08 +0200
parent 4547:a9e997d5eb94
child 4633:63c91f2a86e5
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json	Sun Apr 25 16:45:06 2021 +0200
+++ b/mod_rest/res/schema-xmpp.json	Sun Apr 25 16:53:08 2021 +0200
@@ -306,6 +306,50 @@
                   "namespace" : "urn:xmpp:forward:0"
                }
             },
+            "invite" : {
+               "properties" : {
+                  "continue" : {
+                     "type" : "boolean",
+                     "xml" : {
+                        "attribute" : true
+                     }
+                  },
+                  "jid" : {
+                     "format" : "xmpp-jid",
+                     "type" : "string",
+                     "xml" : {
+                        "attribute" : true
+                     }
+                  },
+                  "password" : {
+                     "type" : "string",
+                     "xml" : {
+                        "attribute" : true
+                     }
+                  },
+                  "reason" : {
+                     "type" : "string",
+                     "xml" : {
+                        "attribute" : true
+                     }
+                  },
+                  "thread" : {
+                     "type" : "string",
+                     "xml" : {
+                        "attribute" : true
+                     }
+                  }
+               },
+               "required" : [
+                  "jid"
+               ],
+               "titel" : "XEP-0249: Direct MUC Invitations",
+               "type" : "object",
+               "xml" : {
+                  "name" : "x",
+                  "namespace" : "jabber:x:conference"
+               }
+            },
             "markable" : {
                "title" : "XEP-0333: Chat Markers",
                "type" : "boolean",