{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "legendarygroups.json",
	"version": "1.2.4",
	"type": "object",
	"$defs": {
		"legendaryGroupData": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string"
				},
				"source": {
					"$ref": "../util.json#/$defs/source"
				},
				"page": {
					"$ref": "../util.json#/$defs/page"
				},
				"additionalSources": {
					"$ref": "../util.json#/$defs/additionalSources"
				},
				"lairActions": {
					"type": "array",
					"items": {
						"$ref": "../entry.json"
					},
					"minItems": 1,
					"uniqueItems": true
				},
				"regionalEffects": {
					"type": "array",
					"items": {
						"$ref": "../entry.json"
					},
					"minItems": 1,
					"uniqueItems": true
				},
				"mythicEncounter": {
					"type": "array",
					"items": {
						"$ref": "../entry.json"
					},
					"minItems": 1,
					"uniqueItems": true
				},
				"_versions": {
					"$ref": "../util-copy.json#/$defs/versionsArray"
				}
			},
			"additionalProperties": false
		},
		"legendaryGroup": {
			"anyOf": [
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						},
						"page": {
							"$ref": "../util.json#/$defs/page"
						},
						"additionalSources": {
							"$ref": "../util.json#/$defs/additionalSources"
						},
						"lairActions": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"minItems": 1,
							"uniqueItems": true
						},
						"regionalEffects": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"minItems": 1,
							"uniqueItems": true
						},
						"mythicEncounter": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"minItems": 1,
							"uniqueItems": true
						},
						"_versions": {
							"$ref": "../util-copy.json#/$defs/versionsArray"
						}
					},
					"additionalProperties": false,
					"required": [
						"name",
						"source"
					]
				},
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						},
						"page": {
							"$ref": "../util.json#/$defs/page"
						},
						"additionalSources": {
							"$ref": "../util.json#/$defs/additionalSources"
						},
						"lairActions": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"minItems": 1,
							"uniqueItems": true
						},
						"regionalEffects": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"minItems": 1,
							"uniqueItems": true
						},
						"mythicEncounter": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"minItems": 1,
							"uniqueItems": true
						},
						"_versions": {
							"$ref": "../util-copy.json#/$defs/versionsArray"
						},
						"_copy": {
							"$ref": "../util-copy.json#/$defs/copyBlock_copy_generic"
						}
					},
					"additionalProperties": false,
					"required": [
						"_copy"
					]
				}
			]
		}
	},
	"properties": {
		"_meta": {
			"$ref": "../util.json#/$defs/metaBlock"
		},
		"legendaryGroup": {
			"type": "array",
			"minItems": 1,
			"uniqueItems": true,
			"items": {
				"$ref": "#/$defs/legendaryGroup"
			}
		}
	},
	"required": [
		"legendaryGroup"
	],
	"additionalProperties": false
}