{
	"$ref": "#/definitions/SeedTaxonomy",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"definitions": {
		"SeedTaxonomy": {
			"additionalProperties": false,
			"description": "Taxonomy definition in seed. For multi-locale exports each locale variant is its own entry, linked via `translationOf` (referencing another entry's `id`).",
			"properties": {
				"collections": {
					"items": {
						"type": "string"
					},
					"type": "array"
				},
				"hierarchical": {
					"type": "boolean"
				},
				"id": {
					"description": "Optional seed-local id, e.g. \"tax:category:en\". Target of `translationOf`.",
					"type": "string"
				},
				"label": {
					"type": "string"
				},
				"labelSingular": {
					"type": "string"
				},
				"locale": {
					"type": "string"
				},
				"name": {
					"type": "string"
				},
				"terms": {
					"items": {
						"$ref": "#/definitions/SeedTaxonomyTerm"
					},
					"type": "array"
				},
				"translationOf": {
					"type": "string"
				}
			},
			"required": [
				"name",
				"label",
				"hierarchical",
				"collections"
			],
			"type": "object"
		},
		"SeedTaxonomyTerm": {
			"additionalProperties": false,
			"description": "Taxonomy term in seed",
			"properties": {
				"description": {
					"type": "string"
				},
				"id": {
					"description": "Optional seed-local id, e.g. \"term:category:news:en\".",
					"type": "string"
				},
				"label": {
					"type": "string"
				},
				"locale": {
					"type": "string"
				},
				"parent": {
					"type": "string"
				},
				"slug": {
					"type": "string"
				},
				"translationOf": {
					"type": "string"
				}
			},
			"required": [
				"slug",
				"label"
			],
			"type": "object"
		}
	},
	"$id": "https://premium-cms.com/schemas/seed/taxonomy.schema.json",
	"title": "SeedTaxonomy"
}
