changeset 4505:e11abf578df5

mod_muc_http_defaults/README: Fix schema I had apparently invented a more compact and convenient schema format, but why would you have nice things?
author Kim Alvefur <zash@zash.se>
date Tue, 09 Mar 2021 12:55:42 +0100
parents 0136c98f574c
children 508cb880b163
files mod_muc_http_defaults/README.markdown
diffstat 1 files changed, 28 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_http_defaults/README.markdown	Mon Mar 08 13:25:40 2021 +0100
+++ b/mod_muc_http_defaults/README.markdown	Tue Mar 09 12:55:42 2021 +0100
@@ -84,19 +84,32 @@
   config:
     type: object
     properties:
-      name: string
-      description: string
-      language: string
-      persistent: boolean
-      public: boolean
-      members_only: boolean
-      allow_member_invites: boolean
-      public_jids: boolean
-      subject: string
-      changesubject: boolean
-      historylength: integer
-      moderated: boolean
-      archiving: boolean
+      name:
+        type: string
+      description:
+        type: string
+      language:
+        type: string
+      persistent:
+        type: boolean
+      public:
+        type: boolean
+      members_only:
+        type: boolean
+      allow_member_invites:
+        type: boolean
+      public_jids:
+        type: boolean
+      subject:
+        type: string
+      changesubject:
+        type: boolean
+      historylength:
+        type: integer
+      moderated:
+        type: boolean
+      archiving:
+        type: boolean
   affiliations:
     oneOf:
     - type: array
@@ -111,7 +124,8 @@
             pattern: ^[^@/]+@[^/]+$
           affiliation:
             $ref: '#/definitions/affiliation'
-          nick: string
+          nick:
+            type: string
     - type: object
       additionalProperties:
         $ref: '#/definitions/affiliation'