# HG changeset patch # User Kim Alvefur # Date 1615290942 -3600 # Node ID e11abf578df55830ef57957968978d128c5c35ce # Parent 0136c98f574cf19491898595d407990369835d61 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? diff -r 0136c98f574c -r e11abf578df5 mod_muc_http_defaults/README.markdown --- 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'