Updated package sorting

This commit is contained in:
Elio Struyf
2021-11-22 17:12:29 +01:00
parent 62ff3419c1
commit 145441d55e
+40 -32
View File
@@ -479,22 +479,30 @@
"allOf": [
{
"if": {
"properties": {
"type": { "const": "taxonomy" }
"properties": {
"type": {
"const": "taxonomy"
}
}
},
"then": {
"required": ["taxonomyId"]
"required": [
"taxonomyId"
]
}
},
{
"if": {
"properties": {
"type": { "const": "choice" }
"properties": {
"type": {
"const": "choice"
}
}
},
"then": {
"required": ["choices"]
"required": [
"choices"
]
}
}
]
@@ -565,6 +573,32 @@
],
"scope": "Taxonomy"
},
"frontMatter.taxonomy.customTaxonomy": {
"type": "array",
"markdownDescription": "Specify the custom taxonomy field data. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.tags)",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID for your taxonomy field"
},
"options": {
"type": "array",
"description": "Options from which you can pick",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"id",
"options"
]
},
"scope": "Taxonomy"
},
"frontMatter.taxonomy.dateField": {
"type": "string",
"default": "date",
@@ -658,32 +692,6 @@
},
"scope": "Taxonomy"
},
"frontMatter.taxonomy.customTaxonomy": {
"type": "array",
"markdownDescription": "Specify the custom taxonomy field values. [Check in the docs](https://frontmatter.codes/docs/settings#frontmatter.taxonomy.tags)",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ID for your taxonomy field"
},
"options": {
"type": "array",
"description": "Options from which you can pick",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"required": [
"id",
"options"
]
},
"scope": "Taxonomy"
},
"frontMatter.templates.folder": {
"type": "string",
"default": ".frontmatter/templates",