{
	"$ref": "#/definitions/SeedMenu",
	"$schema": "http://json-schema.org/draft-07/schema#",
	"definitions": {
		"SeedMenu": {
			"additionalProperties": false,
			"description": "Menu definition in seed",
			"properties": {
				"id": {
					"description": "Optional seed-local id, e.g. \"menu:primary:en\".",
					"type": "string"
				},
				"items": {
					"items": {
						"$ref": "#/definitions/SeedMenuItem"
					},
					"type": "array"
				},
				"label": {
					"type": "string"
				},
				"locale": {
					"type": "string"
				},
				"name": {
					"type": "string"
				},
				"translationOf": {
					"type": "string"
				}
			},
			"required": [
				"name",
				"label",
				"items"
			],
			"type": "object"
		},
		"SeedMenuItem": {
			"additionalProperties": false,
			"description": "Menu item in seed",
			"properties": {
				"children": {
					"items": {
						"$ref": "#/definitions/SeedMenuItem"
					},
					"type": "array"
				},
				"collection": {
					"type": "string"
				},
				"cssClasses": {
					"type": "string"
				},
				"id": {
					"description": "Optional seed-local id, e.g. \"item:primary:home:en\".",
					"type": "string"
				},
				"label": {
					"type": "string"
				},
				"locale": {
					"type": "string"
				},
				"ref": {
					"type": "string"
				},
				"target": {
					"enum": [
						"_blank",
						"_self"
					],
					"type": "string"
				},
				"titleAttr": {
					"type": "string"
				},
				"translationOf": {
					"type": "string"
				},
				"type": {
					"type": "string"
				},
				"url": {
					"type": "string"
				}
			},
			"required": [
				"type"
			],
			"type": "object"
		}
	},
	"$id": "https://premium-cms.com/schemas/seed/menu.schema.json",
	"title": "SeedMenu"
}
