mod_rest/res/schema-xmpp.json
changeset 4804 1e2f53fb2099
parent 4752 a6b94f4fb065
child 4844 e9b7c8db3ebd
--- a/mod_rest/res/schema-xmpp.json	Sun Nov 28 20:10:07 2021 +0100
+++ b/mod_rest/res/schema-xmpp.json	Sun Nov 28 21:26:52 2021 +0100
@@ -234,7 +234,6 @@
                               }
                            },
                            "host" : {
-                              "required" : true,
                               "type" : "string",
                               "xml" : {
                                  "attribute" : true
@@ -271,7 +270,6 @@
                               }
                            },
                            "type" : {
-                              "required" : true,
                               "type" : "string",
                               "xml" : {
                                  "attribute" : true
@@ -284,6 +282,10 @@
                               }
                            }
                         },
+                        "required" : [
+                           "type",
+                           "host"
+                        ],
                         "type" : "object",
                         "xml" : {
                            "name" : "service"