diff --git a/schemas/config/collection-meta.schema.json b/schemas/config/collection-meta.schema.json index 165af80..eb986d4 100644 --- a/schemas/config/collection-meta.schema.json +++ b/schemas/config/collection-meta.schema.json @@ -438,6 +438,30 @@ ] } }, + "sections": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "properties": { + "group": { + "type": "string" + }, + "label": { + "$ref": "defs.schema.json#/definitions/i18nText" + }, + "collapsible": { + "type": "boolean" + }, + "collapsed": { + "type": "boolean" + } + }, + "required": [ + "group" + ] + } + }, "openapi": { "$ref": "openapi.schema.json" } diff --git a/schemas/config/field-meta.schema.json b/schemas/config/field-meta.schema.json index c54db19..5704600 100644 --- a/schemas/config/field-meta.schema.json +++ b/schemas/config/field-meta.schema.json @@ -58,7 +58,7 @@ }, "position": { "type": "string", - "pattern": "^(main|sidebar|sidebar:.+)$" + "pattern": "^(main|sidebar|section|sidebar:.+|section:.+)$" }, "section": { "$ref": "defs.schema.json#/definitions/i18nText"