diff mod_muc_http_defaults/README.markdown @ 4475:017ad6ed96ae

mod_muc_http_defaults: Schema corrections
author Kim Alvefur <zash@zash.se>
date Sat, 27 Feb 2021 02:37:01 +0100
parents 89e54247ade6
children e11abf578df5
line wrap: on
line diff
--- a/mod_muc_http_defaults/README.markdown	Sat Feb 27 02:05:06 2021 +0100
+++ b/mod_muc_http_defaults/README.markdown	Sat Feb 27 02:37:01 2021 +0100
@@ -110,11 +110,11 @@
             type: string
             pattern: ^[^@/]+@[^/]+$
           affiliation:
-            ref: '#/definitions/affiliation'
+            $ref: '#/definitions/affiliation'
           nick: string
     - type: object
-      patternProperties:
-        ^[^@/]+@[^/]+$: '#/definitions/affiliation'
+      additionalProperties:
+        $ref: '#/definitions/affiliation'
 definitions:
   affiliation:
     type: string