Changeset

4475:017ad6ed96ae

mod_muc_http_defaults: Schema corrections
author Kim Alvefur <zash@zash.se>
date Sat, 27 Feb 2021 02:37:01 +0100 (2021-02-27)
parents 4474:949db0714b5f
children 4476:125279f4a5b8
files mod_muc_http_defaults/README.markdown
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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