mod_rest/res/schema-xmpp.json
changeset 4537 578375759510
parent 4535 60fe204b980f
child 4538 9837c73826d2
--- a/mod_rest/res/schema-xmpp.json	Tue Mar 23 23:41:10 2021 +0100
+++ b/mod_rest/res/schema-xmpp.json	Tue Mar 23 23:53:04 2021 +0100
@@ -315,19 +315,12 @@
                }
             },
             "occupant_id" : {
-               "properties" : {
-                  "id" : {
-                     "type" : "string",
-                     "xml" : {
-                        "attribute" : true
-                     }
-                  }
-               },
                "title" : "XEP-0421: Anonymous unique occupant identifiers for MUCs",
-               "type" : "object",
+               "type" : "string",
                "xml" : {
                   "name" : "occupant-id",
-                  "namespace" : "urn:xmpp:occupant-id:0"
+                  "namespace" : "urn:xmpp:occupant-id:0",
+                  "x_single_attribute" : "id"
                }
             },
             "oob" : {