From 489fc5ec9ee417544f002921183410d817fac8b9 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Thu, 17 Feb 2022 18:57:59 -0800 Subject: [PATCH] #176 - fieldGroups setting added to schema --- package.json | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b283746f..cecd46cf 100644 --- a/package.json +++ b/package.json @@ -706,7 +706,7 @@ "string", "array" ], - "default": "", + "default": [], "description": "The ID(s) of your data type(s) defined in the `frontMatter.data.types` setting", "items": { "type": "string" @@ -858,6 +858,28 @@ ], "scope": "Taxonomy" }, + "frontMatter.taxonomy.fieldGroups": { + "type": "array", + "markdownDescription": "Define the field groups you want to use for your block fields.", + "default": [], + "items": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The name of the field group" + }, + "fields": { + "$ref": "#contenttypefield" + } + }, + "additionalProperties": false, + "required": [ + "name", + "fields" + ] + } + }, "frontMatter.taxonomy.customTaxonomy": { "type": "array", "markdownDescription": "Specify the custom taxonomy field data. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.tags)",