{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"version": "1.21.68",
	"title": "Bestiary Schema",
	"$id": "bestiary.json",
	"type": "object",
	"$defs": {
		"align": {
			"oneOf": [
				{
					"$ref": "../util.json#/$defs/alignment"
				},
				{
					"type": "object",
					"properties": {
						"alignment": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/alignment"
							}
						},
						"chance": {
							"type": "integer"
						},
						"note": {
							"type": "string"
						}
					},
					"additionalProperties": false,
					"required": [
						"alignment"
					]
				},
				{
					"type": "object",
					"properties": {
						"special": {
							"type": "string"
						}
					},
					"additionalProperties": false,
					"required": [
						"special"
					]
				}
			]
		},
		"acItem": {
			"oneOf": [
				{
					"type": "object",
					"properties": {
						"ac": {
							"type": "integer"
						},
						"from": {
							"type": "array",
							"items": {
								"type": "string"
							}
						},
						"condition": {
							"type": "string"
						},
						"braces": {
							"const": true
						}
					},
					"required": [
						"ac"
					],
					"additionalProperties": false
				},
				{
					"type": "object",
					"properties": {
						"special": {
							"type": "string"
						}
					},
					"required": [
						"special"
					],
					"additionalProperties": false
				},
				{
					"type": "integer"
				}
			]
		},
		"abilityScore": {
			"oneOf": [
				{
					"type": [
						"integer",
						"null"
					]
				},
				{
					"type": "object",
					"properties": {
						"special": {
							"type": "string"
						}
					},
					"required": [
						"special"
					],
					"additionalProperties": false
				}
			]
		},
		"_legendaryActions": {
			"type": "integer",
			"minimum": 1
		},
		"creatureData": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string"
				},
				"shortName": {
					"description": "Used anywhere a shortened form of the creatures name is required (e.g. in legendary action headers).\n\nIf not supplied, a shortened name will be automatically generated from the creature's full name.\n\nAlternatively use \"true\" if the \"shortName\" should be an exact copy of the creature's \"name\".",
					"type": [
						"string",
						"boolean"
					],
					"markdownDescription": "Used anywhere a shortened form of the creatures name is required (e.g. in legendary action headers).\n\nIf not supplied, a shortened name will be automatically generated from the creature&apos;s full name.\n\nAlternatively use &quot;true&quot; if the &quot;shortName&quot; should be an exact copy of the creature&apos;s &quot;name&quot;."
				},
				"alias": {
					"$ref": "../util.json#/$defs/alias"
				},
				"group": {
					"$ref": "../util.json#/$defs/group"
				},
				"level": {
					"description": "Used in sidekicks, which can have levels (and generally do not have alignment)",
					"type": "integer",
					"markdownDescription": "Used in sidekicks, which can have levels (and generally do not have alignment)"
				},
				"size": {
					"type": "array",
					"items": {
						"$ref": "../util.json#/$defs/size"
					},
					"uniqueItems": true
				},
				"sizeNote": {
					"type": "string"
				},
				"type": {
					"oneOf": [
						{
							"type": "object",
							"properties": {
								"type": {
									"oneOf": [
										{
											"$ref": "../util.json#/$defs/creatureType"
										},
										{
											"type": "object",
											"properties": {
												"choose": {
													"type": "array",
													"items": {
														"$ref": "../util.json#/$defs/creatureType"
													}
												}
											},
											"additionalProperties": false,
											"required": [
												"choose"
											]
										}
									]
								},
								"typeHidden": {
									"const": true
								},
								"swarmSize": {
									"$ref": "../util.json#/$defs/size",
									"description": "Size of the individual creatures that make up the swarm.",
									"markdownDescription": "Size of the individual creatures that make up the swarm."
								},
								"tags": {
									"type": "array",
									"uniqueItems": true,
									"items": {
										"oneOf": [
											{
												"type": "string"
											},
											{
												"type": "object",
												"properties": {
													"tag": {
														"type": "string"
													},
													"prefix": {
														"type": "string"
													},
													"prefixHidden": {
														"const": true
													}
												},
												"required": [
													"tag",
													"prefix"
												],
												"additionalProperties": false
											}
										]
									}
								},
								"sidekickType": {
									"type": "string",
									"examples": [
										"expert",
										"spellcaster",
										"warrior"
									]
								},
								"sidekickTags": {
									"type": "array",
									"uniqueItems": true,
									"items": {
										"oneOf": [
											{
												"type": "string"
											},
											{
												"type": "object",
												"properties": {
													"tag": {
														"type": "string"
													},
													"prefix": {
														"type": "string"
													},
													"prefixHidden": {
														"const": true
													}
												},
												"required": [
													"tag",
													"prefix"
												],
												"additionalProperties": false
											}
										]
									}
								},
								"sidekickHidden": {
									"const": true
								},
								"note": {
									"type": "string"
								}
							},
							"required": [
								"type"
							],
							"additionalProperties": false
						},
						{
							"$ref": "../util.json#/$defs/creatureType"
						}
					]
				},
				"typeNote": {
					"type": "string"
				},
				"source": {
					"$ref": "../util.json#/$defs/source"
				},
				"sourceSub": {
					"type": "string",
					"description": "Sub-source text that is shown when hovered.",
					"markdownDescription": "Sub-source text that is shown when hovered."
				},
				"otherSources": {
					"$ref": "../util.json#/$defs/otherSources"
				},
				"referenceSources": {
					"$ref": "../util.json#/$defs/referenceSources"
				},
				"reprintedAs": {
					"$ref": "../util.json#/$defs/reprintedAs"
				},
				"isReprinted": {
					"$ref": "../util.json#/$defs/isReprinted"
				},
				"alignment": {
					"type": "array",
					"items": {
						"$ref": "#/$defs/align"
					}
				},
				"alignmentPrefix": {
					"type": "string"
				},
				"ac": {
					"type": "array",
					"items": {
						"$ref": "#/$defs/acItem"
					}
				},
				"hp": {
					"oneOf": [
						{
							"type": "object",
							"properties": {
								"average": {
									"type": "integer"
								},
								"formula": {
									"type": "string"
								},
								"isTemporary": {
									"const": true
								}
							},
							"required": [
								"average",
								"formula"
							],
							"additionalProperties": false
						},
						{
							"type": "object",
							"properties": {
								"special": {
									"type": "string"
								},
								"isTemporary": {
									"const": true
								}
							},
							"required": [
								"special"
							],
							"additionalProperties": false
						}
					]
				},
				"speed": {
					"$ref": "../util.json#/$defs/speed"
				},
				"initiative": {
					"oneOf": [
						{
							"type": "object",
							"properties": {
								"initiative": {
									"type": "number"
								},
								"proficiency": {
									"$ref": "../util.json#/$defs/proficiencyLevel"
								},
								"advantageMode": {
									"type": "string",
									"enum": [
										"adv",
										"dis"
									]
								}
							},
							"minProperties": 1,
							"additionalProperties": false
						},
						{
							"type": "number"
						}
					]
				},
				"str": {
					"$ref": "#/$defs/abilityScore"
				},
				"dex": {
					"$ref": "#/$defs/abilityScore"
				},
				"con": {
					"$ref": "#/$defs/abilityScore"
				},
				"int": {
					"$ref": "#/$defs/abilityScore"
				},
				"wis": {
					"$ref": "#/$defs/abilityScore"
				},
				"cha": {
					"$ref": "#/$defs/abilityScore"
				},
				"save": {
					"type": "object",
					"properties": {
						"str": {
							"type": "string"
						},
						"dex": {
							"type": "string"
						},
						"con": {
							"type": "string"
						},
						"int": {
							"type": "string"
						},
						"wis": {
							"type": "string"
						},
						"cha": {
							"type": "string"
						},
						"special": {
							"description": "For use in homebrew.",
							"$ref": "../entry.json",
							"markdownDescription": "For use in homebrew."
						}
					},
					"additionalProperties": false,
					"minProperties": 1
				},
				"skill": {
					"type": "object",
					"properties": {
						"acrobatics": {
							"type": "string"
						},
						"animal handling": {
							"type": "string"
						},
						"arcana": {
							"type": "string"
						},
						"athletics": {
							"type": "string"
						},
						"deception": {
							"type": "string"
						},
						"history": {
							"type": "string"
						},
						"insight": {
							"type": "string"
						},
						"intimidation": {
							"type": "string"
						},
						"investigation": {
							"type": "string"
						},
						"medicine": {
							"type": "string"
						},
						"nature": {
							"type": "string"
						},
						"perception": {
							"type": "string"
						},
						"performance": {
							"type": "string"
						},
						"persuasion": {
							"type": "string"
						},
						"religion": {
							"type": "string"
						},
						"sleight of hand": {
							"type": "string"
						},
						"stealth": {
							"type": "string"
						},
						"survival": {
							"type": "string"
						},
						"other": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"oneOf": {
										"type": "object",
										"properties": {
											"acrobatics": {
												"type": "string"
											},
											"animal handling": {
												"type": "string"
											},
											"arcana": {
												"type": "string"
											},
											"athletics": {
												"type": "string"
											},
											"deception": {
												"type": "string"
											},
											"history": {
												"type": "string"
											},
											"insight": {
												"type": "string"
											},
											"intimidation": {
												"type": "string"
											},
											"investigation": {
												"type": "string"
											},
											"medicine": {
												"type": "string"
											},
											"nature": {
												"type": "string"
											},
											"perception": {
												"type": "string"
											},
											"performance": {
												"type": "string"
											},
											"persuasion": {
												"type": "string"
											},
											"religion": {
												"type": "string"
											},
											"sleight of hand": {
												"type": "string"
											},
											"stealth": {
												"type": "string"
											},
											"survival": {
												"type": "string"
											}
										}
									}
								}
							}
						},
						"special": {
							"$ref": "../entry.json"
						}
					},
					"additionalProperties": false,
					"minProperties": 1,
					"patternProperties": {
						"^[^|]+\\|.+$": {
							"type": "string"
						}
					}
				},
				"tool": {
					"type": "object",
					"minProperties": 1,
					"patternProperties": {
						".*": {
							"type": "string"
						}
					}
				},
				"gear": {
					"type": "array",
					"items": {
						"oneOf": [
							{
								"description": "An item UID, e.g. \"longsword|phb\"",
								"type": "string",
								"markdownDescription": "An item UID, e.g. &quot;longsword|phb&quot;"
							},
							{
								"type": "object",
								"properties": {
									"item": {
										"description": "An item UID, e.g. \"longsword|phb\"",
										"type": "string",
										"markdownDescription": "An item UID, e.g. &quot;longsword|phb&quot;"
									},
									"quantity": {
										"type": "integer"
									},
									"displayName": {
										"type": "string"
									}
								},
								"required": [
									"item"
								],
								"minProperties": 2,
								"additionalProperties": false
							}
						]
					}
				},
				"senses": {
					"oneOf": [
						{
							"type": "array",
							"items": {
								"type": "string"
							},
							"minItems": 1
						},
						{
							"type": "null"
						}
					]
				},
				"passive": {
					"type": [
						"integer",
						"string",
						"null"
					]
				},
				"languages": {
					"oneOf": [
						{
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "string"
							}
						},
						{
							"type": "null"
						}
					]
				},
				"pbNote": {
					"type": "string"
				},
				"cr": {
					"oneOf": [
						{
							"type": "string"
						},
						{
							"type": "object",
							"properties": {
								"cr": {
									"type": "string"
								},
								"lair": {
									"type": "string"
								},
								"coven": {
									"type": "string"
								},
								"xp": {
									"type": "integer"
								},
								"xpLair": {
									"type": "integer"
								}
							},
							"additionalProperties": false,
							"required": [
								"cr"
							]
						}
					]
				},
				"vulnerable": {
					"$ref": "../util.json#/$defs/damageVulnerabilityArray"
				},
				"resist": {
					"$ref": "../util.json#/$defs/damageResistArray"
				},
				"immune": {
					"$ref": "../util.json#/$defs/damageImmunityArray"
				},
				"conditionImmune": {
					"$ref": "../util.json#/$defs/conditionImmunityArray"
				},
				"spellcasting": {
					"oneOf": [
						{
							"type": "array",
							"items": {
								"$ref": "../entry.json#/$defs/entrySpellcasting"
							}
						},
						{
							"type": "null"
						}
					]
				},
				"trait": {
					"oneOf": [
						{
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"entries": {
										"type": "array",
										"items": {
											"$ref": "../entry.json"
										}
									},
									"type": {
										"type": "string",
										"enum": [
											"entries",
											"inset"
										]
									},
									"sort": {
										"description": "Forces a sort order. Traits with sort orders will always be arranged before those without.",
										"type": "integer",
										"markdownDescription": "Forces a sort order. Traits with sort orders will always be arranged before those without."
									}
								},
								"required": [
									"name",
									"entries"
								],
								"additionalProperties": false
							}
						},
						{
							"type": "null"
						}
					]
				},
				"actionNote": {
					"type": "string"
				},
				"actionHeader": {
					"type": "array",
					"minItems": 1,
					"items": {
						"$ref": "../entry.json"
					}
				},
				"action": {
					"oneOf": [
						{
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"entries": {
										"type": "array",
										"items": {
											"$ref": "../entry.json"
										}
									}
								},
								"required": [
									"name",
									"entries"
								],
								"additionalProperties": false
							}
						},
						{
							"type": "null"
						}
					]
				},
				"bonusNote": {
					"type": "string"
				},
				"bonusHeader": {
					"type": "array",
					"minItems": 1,
					"items": {
						"$ref": "../entry.json"
					}
				},
				"bonus": {
					"oneOf": [
						{
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"entries": {
										"type": "array",
										"items": {
											"$ref": "../entry.json"
										}
									}
								},
								"required": [
									"name",
									"entries"
								],
								"additionalProperties": false
							}
						},
						{
							"type": "null"
						}
					]
				},
				"reactionNote": {
					"type": "string"
				},
				"reactionHeader": {
					"type": "array",
					"minItems": 1,
					"items": {
						"$ref": "../entry.json"
					}
				},
				"reaction": {
					"oneOf": [
						{
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"entries": {
										"type": "array",
										"items": {
											"$ref": "../entry.json"
										}
									}
								},
								"required": [
									"name",
									"entries"
								],
								"additionalProperties": false
							}
						},
						{
							"type": "null"
						}
					]
				},
				"legendaryGroup": {
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						}
					},
					"additionalProperties": false,
					"required": [
						"name",
						"source"
					]
				},
				"legendaryActions": {
					"$ref": "#/$defs/_legendaryActions"
				},
				"legendaryActionsLair": {
					"$ref": "#/$defs/_legendaryActions"
				},
				"legendaryActionsLairCondition": {
					"type": "string"
				},
				"legendaryHeader": {
					"type": "array",
					"minItems": 1,
					"items": {
						"$ref": "../entry.json"
					}
				},
				"legendary": {
					"oneOf": [
						{
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"entries": {
										"type": "array",
										"items": {
											"$ref": "../entry.json"
										}
									}
								},
								"required": [
									"entries"
								],
								"additionalProperties": false
							}
						},
						{
							"type": "null"
						}
					]
				},
				"mythicHeader": {
					"type": "array",
					"minItems": 1,
					"items": {
						"$ref": "../entry.json"
					}
				},
				"mythic": {
					"oneOf": [
						{
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"entries": {
										"type": "array",
										"items": {
											"$ref": "../entry.json"
										}
									}
								},
								"required": [
									"entries"
								],
								"additionalProperties": false
							}
						},
						{
							"type": "null"
						}
					]
				},
				"variant": {
					"oneOf": [
						{
							"type": "array",
							"items": {
								"$ref": "#/$defs/entryVariantBestiary"
							}
						},
						{
							"type": "null"
						}
					]
				},
				"page": {
					"$ref": "../util.json#/$defs/page"
				},
				"familiar": {
					"enum": [
						true,
						null
					]
				},
				"additionalSources": {
					"$ref": "../util.json#/$defs/additionalSources"
				},
				"hasToken": {
					"const": true
				},
				"tokenCredit": {
					"type": "string"
				},
				"tokenCustom": {
					"const": true
				},
				"foundryTokenScale": {
					"$ref": "../util-foundry.json#/$defs/foundryTokenScale"
				},
				"altArt": {
					"$ref": "../util-token.json#/$defs/altArt"
				},
				"token": {
					"$ref": "../util-token.json#/$defs/token"
				},
				"isNamedCreature": {
					"enum": [
						true,
						null
					]
				},
				"isNpc": {
					"description": "Used to flag adventure NPCs",
					"enum": [
						true,
						null
					],
					"markdownDescription": "Used to flag adventure NPCs"
				},
				"environment": {
					"type": "array",
					"minItems": 1,
					"items": {
						"type": "string",
						"examples": [
							"any",
							"underwater",
							"coastal",
							"mountain",
							"grassland",
							"hill",
							"arctic",
							"urban",
							"forest",
							"swamp",
							"underdark",
							"desert",
							"badlands",
							"farmland",
							"planar",
							"planar, transitive",
							"planar, elemental",
							"planar, inner",
							"planar, upper",
							"planar, lower",
							"planar, feywild",
							"planar, shadowfell",
							"planar, water",
							"planar, earth",
							"planar, fire",
							"planar, air",
							"planar, ooze",
							"planar, magma",
							"planar, ash",
							"planar, ice",
							"planar, elemental chaos",
							"planar, ethereal",
							"planar, astral",
							"planar, arborea",
							"planar, arcadia",
							"planar, beastlands",
							"planar, bytopia",
							"planar, elysium",
							"planar, mount celestia",
							"planar, ysgard",
							"planar, abyss",
							"planar, acheron",
							"planar, carceri",
							"planar, gehenna",
							"planar, hades",
							"planar, nine hells",
							"planar, pandemonium",
							"planar, limbo",
							"planar, mechanus",
							"planar, outlands",
							"planar, emerald dream",
							"planar, twisting nether"
						]
					}
				},
				"treasure": {
					"type": "array",
					"minItems": 1,
					"items": {
						"type": "string",
						"examples": [
							"any",
							"individual",
							"arcana",
							"armaments",
							"implements",
							"relics"
						]
					}
				},
				"soundClip": {
					"$ref": "../entry.json#/$defs/mediaHref"
				},
				"dragonCastingColor": {
					"type": "string",
					"examples": [
						"black",
						"blue",
						"green",
						"red",
						"white",
						"brass",
						"bronze",
						"copper",
						"gold",
						"silver",
						"deep",
						"spirit"
					]
				},
				"dragonAge": {
					"type": "string",
					"examples": [
						"young",
						"adult",
						"wyrmling",
						"greatwyrm",
						"ancient",
						"aspect"
					]
				},
				"traitTags": {
					"type": "array",
					"items": {
						"type": "string",
						"enum": [
							"Aggressive",
							"Ambusher",
							"Amorphous",
							"Amphibious",
							"Antimagic Susceptibility",
							"Beast of Burden",
							"Brute",
							"Camouflage",
							"Charge",
							"Damage Absorption",
							"Death Burst",
							"Devil's Sight",
							"Ethereal Sight",
							"False Appearance",
							"Fey Ancestry",
							"Flyby",
							"Hold Breath",
							"Illumination",
							"Immutable Form",
							"Incorporeal Movement",
							"Keen Senses",
							"Legendary Resistances",
							"Light Sensitivity",
							"Magic Resistance",
							"Magic Weapons",
							"Mimicry",
							"Pack Tactics",
							"Pounce",
							"Rampage",
							"Reckless",
							"Regeneration",
							"Rejuvenation",
							"Shapechanger",
							"Siege Monster",
							"Sneak Attack",
							"Spell Immunity",
							"Spider Climb",
							"Sunlight Sensitivity",
							"Sure-Footed",
							"Tree Stride",
							"Tunneler",
							"Turn Immunity",
							"Turn Resistance",
							"Undead Fortitude",
							"Unusual Nature",
							"Water Breathing",
							"Web Sense",
							"Web Walker"
						]
					}
				},
				"actionTags": {
					"type": "array",
					"items": {
						"type": "string",
						"enum": [
							"Breath Weapon",
							"Frightful Presence",
							"Multiattack",
							"Parry",
							"Shapechanger",
							"Swallow",
							"Teleport",
							"Tentacles"
						]
					}
				},
				"languageTags": {
					"type": "array",
					"items": {
						"type": "string",
						"description": "- X: Any (Choose)\n- XX: All\n- CS: Can't Speak Known Languages\n- LF: Languages Known in Life\n- TP: Telepathy\n- OTH: Other\n- -\n- AB: Abyssal\n- AQ: Aquan\n- AU: Auran\n- C: Common\n- CE: Celestial\n- CSL: Common Sign Language\n- D: Dwarvish\n- DR: Draconic\n- DS: Deep Speech\n- DU: Druidic\n- E: Elvish\n- G: Gnomish\n- GI: Giant\n- GO: Goblin\n- GTH: Gith\n- H: Halfling\n- I: Infernal\n- IG: Ignan\n- O: Orc\n- P: Primordial\n- S: Sylvan\n- T: Terran\n- TC: Thieves' cant\n- U: Undercommon",
						"enum": [
							"X",
							"XX",
							"CS",
							"LF",
							"TP",
							"OTH",
							"AB",
							"AQ",
							"AU",
							"C",
							"CE",
							"CSL",
							"D",
							"DR",
							"DS",
							"DU",
							"E",
							"G",
							"GI",
							"GO",
							"GTH",
							"H",
							"I",
							"IG",
							"O",
							"P",
							"S",
							"T",
							"TC",
							"U"
						],
						"markdownDescription": "- X: Any (Choose)\n- XX: All\n- CS: Can&apos;t Speak Known Languages\n- LF: Languages Known in Life\n- TP: Telepathy\n- OTH: Other\n- -\n- AB: Abyssal\n- AQ: Aquan\n- AU: Auran\n- C: Common\n- CE: Celestial\n- CSL: Common Sign Language\n- D: Dwarvish\n- DR: Draconic\n- DS: Deep Speech\n- DU: Druidic\n- E: Elvish\n- G: Gnomish\n- GI: Giant\n- GO: Goblin\n- GTH: Gith\n- H: Halfling\n- I: Infernal\n- IG: Ignan\n- O: Orc\n- P: Primordial\n- S: Sylvan\n- T: Terran\n- TC: Thieves&apos; cant\n- U: Undercommon"
					}
				},
				"senseTags": {
					"type": "array",
					"items": {
						"type": "string",
						"description": "- B: Blindsight\n- D: Darkvision\n- SD: Superior Darkvision\n- T: Tremorsense\n- U: Truesight",
						"enum": [
							"B",
							"D",
							"SD",
							"T",
							"U"
						],
						"markdownDescription": "- B: Blindsight\n- D: Darkvision\n- SD: Superior Darkvision\n- T: Tremorsense\n- U: Truesight"
					}
				},
				"spellcastingTags": {
					"type": "array",
					"items": {
						"type": "string",
						"description": "- P: Psionics\n- I: Innate\n- F: Form Only\n- S: Shared\n- O: Other\n- CA: Class, Artificer\n- CB: Class, Bard\n- CC: Class, Cleric\n- CD: Class, Druid\n- CP: Class, Paladin\n- CR: Class, Ranger\n- CS: Class, Sorcerer\n- CL: Class, Warlock\n- CW: Class, Wizard",
						"enum": [
							"P",
							"I",
							"F",
							"S",
							"O",
							"CA",
							"CB",
							"CC",
							"CD",
							"CP",
							"CR",
							"CS",
							"CL",
							"CW"
						],
						"markdownDescription": "- P: Psionics\n- I: Innate\n- F: Form Only\n- S: Shared\n- O: Other\n- CA: Class, Artificer\n- CB: Class, Bard\n- CC: Class, Cleric\n- CD: Class, Druid\n- CP: Class, Paladin\n- CR: Class, Ranger\n- CS: Class, Sorcerer\n- CL: Class, Warlock\n- CW: Class, Wizard"
					}
				},
				"damageTags": {
					"type": "array",
					"items": {
						"$ref": "../util.json#/$defs/dataDamageTags"
					}
				},
				"damageTagsSpell": {
					"type": "array",
					"items": {
						"$ref": "../util.json#/$defs/dataDamageTags"
					}
				},
				"damageTagsLegendary": {
					"type": "array",
					"items": {
						"$ref": "../util.json#/$defs/dataDamageTags"
					}
				},
				"miscTags": {
					"type": "array",
					"items": {
						"description": "- AOE: Has Areas of Effect\n- CUR: Inflicts Curse\n- DIS: Inflicts Disease\n- HPR: Has HP Reduction\n- MW: Has Weapon Attacks, Melee\n- RW: Has Weapon Attacks, Ranged\n- MA: Has Attacks, Melee\n- RA: Has Attacks, Ranged\n- RCH: Has Reach Attacks\n- MLW: Has Melee Weapons\n- RNG: Has Ranged Weapons\n- THW: Has Thrown Weapons",
						"enum": [
							"AOE",
							"CUR",
							"DIS",
							"HPR",
							"MW",
							"RW",
							"MA",
							"RA",
							"RCH",
							"MLW",
							"RNG",
							"THW"
						],
						"markdownDescription": "- AOE: Has Areas of Effect\n- CUR: Inflicts Curse\n- DIS: Inflicts Disease\n- HPR: Has HP Reduction\n- MW: Has Weapon Attacks, Melee\n- RW: Has Weapon Attacks, Ranged\n- MA: Has Attacks, Melee\n- RA: Has Attacks, Ranged\n- RCH: Has Reach Attacks\n- MLW: Has Melee Weapons\n- RNG: Has Ranged Weapons\n- THW: Has Thrown Weapons"
					}
				},
				"attachedItems": {
					"type": "array",
					"minItems": 1,
					"uniqueItems": true,
					"items": {
						"description": "A UID, e.g. \"longsword|phb\"",
						"type": "string",
						"markdownDescription": "A UID, e.g. &quot;longsword|phb&quot;"
					}
				},
				"conditionInflict": {
					"$ref": "../util.json#/$defs/tagsConditions"
				},
				"conditionInflictLegendary": {
					"$ref": "../util.json#/$defs/tagsConditions"
				},
				"conditionInflictSpell": {
					"$ref": "../util.json#/$defs/tagsConditions"
				},
				"savingThrowForced": {
					"$ref": "../util.json#/$defs/tagsSavingThrow"
				},
				"savingThrowForcedLegendary": {
					"$ref": "../util.json#/$defs/tagsSavingThrow"
				},
				"savingThrowForcedSpell": {
					"$ref": "../util.json#/$defs/tagsSavingThrow"
				},
				"footer": {
					"description": "Intended for homebrew use only.",
					"type": "array",
					"items": {
						"$ref": "../entry.json"
					},
					"markdownDescription": "Intended for homebrew use only."
				},
				"legacy": {
					"$ref": "../util.json#/$defs/legacy"
				},
				"summonedBySpell": {
					"description": "The spell used to summon this creature; specifically for TCE-esque summon spells.",
					"type": "string",
					"markdownDescription": "The spell used to summon this creature; specifically for TCE-esque summon spells."
				},
				"summonedBySpellLevel": {
					"description": "The level of the spell used to summon this creature; specifically for TCE-esque summon spells.",
					"type": "integer",
					"markdownDescription": "The level of the spell used to summon this creature; specifically for TCE-esque summon spells."
				},
				"summonedByClass": {
					"description": "The class which can summon this creature; e.g. for those granted by some TCE class features.",
					"type": "string",
					"markdownDescription": "The class which can summon this creature; e.g. for those granted by some TCE class features."
				},
				"summonedScaleByPlayerLevel": {
					"description": "If this creature should be scalable by summoning/owning player level.",
					"const": true,
					"markdownDescription": "If this creature should be scalable by summoning/owning player level."
				},
				"_isCopy": {
					"description": "An internal flag indicating this creature is a copy of another, and is a temporary/placeholder entry which will be factored out using the \"_copy\" format at a later date.",
					"type": "boolean",
					"markdownDescription": "An internal flag indicating this creature is a copy of another, and is a temporary/placeholder entry which will be factored out using the &quot;_copy&quot; format at a later date."
				},
				"_versions": {
					"type": "array",
					"items": {
						"$ref": "#/$defs/creatureVersion"
					}
				},
				"hasFluff": {
					"const": true
				},
				"hasFluffImages": {
					"const": true
				},
				"externalSources": {
					"description": "For homebrew use only.",
					"type": "array",
					"items": {
						"type": "object",
						"properties": {
							"entry": {
								"$ref": "../entry.json"
							}
						},
						"required": [
							"entry"
						],
						"additionalProperties": false
					},
					"markdownDescription": "For homebrew use only."
				},
				"resource": {
					"type": "array",
					"items": {
						"type": "object",
						"properties": {
							"name": {
								"type": "string"
							},
							"value": {
								"type": "integer"
							},
							"formula": {
								"type": "string"
							}
						},
						"required": [
							"value"
						],
						"additionalProperties": false
					},
					"uniqueItems": true,
					"minItems": 1
				},
				"fluff": {
					"description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
					"anyOf": [
						{
							"$ref": "../util.json#/$defs/fluffObject"
						},
						{
							"description": "Reference \"monsterFluff\" array items",
							"type": "object",
							"properties": {
								"_monsterFluff": {
									"type": "object",
									"properties": {
										"name": {
											"type": "string"
										},
										"source": {
											"$ref": "../util.json#/$defs/source"
										}
									}
								},
								"_appendMonsterFluff": {
									"type": "object",
									"properties": {
										"name": {
											"type": "string"
										},
										"source": {
											"$ref": "../util.json#/$defs/source"
										}
									}
								}
							},
							"additionalProperties": false,
							"minProperties": 1,
							"markdownDescription": "Reference &quot;monsterFluff&quot; array items"
						}
					],
					"markdownDescription": "This is intended to be used for Homebrew only - site data should include a fluff file per source"
				},
				"foundryImg": {
					"$ref": "../util-foundry.json#/$defs/foundryImg"
				},
				"foundryAdvice": {
					"$ref": "../entry.json"
				},
				"foundryPrototypeToken": {
					"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
				},
				"tokenUrl": {
					"$ref": "../util-token.json#/$defs/tokenUrl"
				},
				"tokenHref": {
					"$ref": "../util-token.json#/$defs/tokenHref"
				},
				"tokenHref3d": {
					"$ref": "../util-token.json#/$defs/tokenHref"
				},
				"foundryTokenSubjectHref": {
					"$ref": "../util-token.json#/$defs/tokenHref"
				},
				"foundryTokenSubjectScale": {
					"$ref": "../util-foundry.json#/$defs/foundryTokenSubjectScale"
				}
			},
			"additionalProperties": false
		},
		"creature": {
			"anyOf": [
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"shortName": {
							"description": "Used anywhere a shortened form of the creatures name is required (e.g. in legendary action headers).\n\nIf not supplied, a shortened name will be automatically generated from the creature's full name.\n\nAlternatively use \"true\" if the \"shortName\" should be an exact copy of the creature's \"name\".",
							"type": [
								"string",
								"boolean"
							],
							"markdownDescription": "Used anywhere a shortened form of the creatures name is required (e.g. in legendary action headers).\n\nIf not supplied, a shortened name will be automatically generated from the creature&apos;s full name.\n\nAlternatively use &quot;true&quot; if the &quot;shortName&quot; should be an exact copy of the creature&apos;s &quot;name&quot;."
						},
						"alias": {
							"$ref": "../util.json#/$defs/alias"
						},
						"group": {
							"$ref": "../util.json#/$defs/group"
						},
						"level": {
							"description": "Used in sidekicks, which can have levels (and generally do not have alignment)",
							"type": "integer",
							"markdownDescription": "Used in sidekicks, which can have levels (and generally do not have alignment)"
						},
						"size": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/size"
							},
							"uniqueItems": true
						},
						"sizeNote": {
							"type": "string"
						},
						"type": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"type": {
											"oneOf": [
												{
													"$ref": "../util.json#/$defs/creatureType"
												},
												{
													"type": "object",
													"properties": {
														"choose": {
															"type": "array",
															"items": {
																"$ref": "../util.json#/$defs/creatureType"
															}
														}
													},
													"additionalProperties": false,
													"required": [
														"choose"
													]
												}
											]
										},
										"typeHidden": {
											"const": true
										},
										"swarmSize": {
											"$ref": "../util.json#/$defs/size",
											"description": "Size of the individual creatures that make up the swarm.",
											"markdownDescription": "Size of the individual creatures that make up the swarm."
										},
										"tags": {
											"type": "array",
											"uniqueItems": true,
											"items": {
												"oneOf": [
													{
														"type": "string"
													},
													{
														"type": "object",
														"properties": {
															"tag": {
																"type": "string"
															},
															"prefix": {
																"type": "string"
															},
															"prefixHidden": {
																"const": true
															}
														},
														"required": [
															"tag",
															"prefix"
														],
														"additionalProperties": false
													}
												]
											}
										},
										"sidekickType": {
											"type": "string",
											"examples": [
												"expert",
												"spellcaster",
												"warrior"
											]
										},
										"sidekickTags": {
											"type": "array",
											"uniqueItems": true,
											"items": {
												"oneOf": [
													{
														"type": "string"
													},
													{
														"type": "object",
														"properties": {
															"tag": {
																"type": "string"
															},
															"prefix": {
																"type": "string"
															},
															"prefixHidden": {
																"const": true
															}
														},
														"required": [
															"tag",
															"prefix"
														],
														"additionalProperties": false
													}
												]
											}
										},
										"sidekickHidden": {
											"const": true
										},
										"note": {
											"type": "string"
										}
									},
									"required": [
										"type"
									],
									"additionalProperties": false
								},
								{
									"$ref": "../util.json#/$defs/creatureType"
								}
							]
						},
						"typeNote": {
							"type": "string"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						},
						"sourceSub": {
							"type": "string",
							"description": "Sub-source text that is shown when hovered.",
							"markdownDescription": "Sub-source text that is shown when hovered."
						},
						"otherSources": {
							"$ref": "../util.json#/$defs/otherSources"
						},
						"referenceSources": {
							"$ref": "../util.json#/$defs/referenceSources"
						},
						"reprintedAs": {
							"$ref": "../util.json#/$defs/reprintedAs"
						},
						"isReprinted": {
							"$ref": "../util.json#/$defs/isReprinted"
						},
						"alignment": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/align"
							}
						},
						"alignmentPrefix": {
							"type": "string"
						},
						"ac": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/acItem"
							}
						},
						"hp": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"average": {
											"type": "integer"
										},
										"formula": {
											"type": "string"
										},
										"isTemporary": {
											"const": true
										}
									},
									"required": [
										"average",
										"formula"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"special": {
											"type": "string"
										},
										"isTemporary": {
											"const": true
										}
									},
									"required": [
										"special"
									],
									"additionalProperties": false
								}
							]
						},
						"speed": {
							"$ref": "../util.json#/$defs/speed"
						},
						"initiative": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"initiative": {
											"type": "number"
										},
										"proficiency": {
											"$ref": "../util.json#/$defs/proficiencyLevel"
										},
										"advantageMode": {
											"type": "string",
											"enum": [
												"adv",
												"dis"
											]
										}
									},
									"minProperties": 1,
									"additionalProperties": false
								},
								{
									"type": "number"
								}
							]
						},
						"str": {
							"$ref": "#/$defs/abilityScore"
						},
						"dex": {
							"$ref": "#/$defs/abilityScore"
						},
						"con": {
							"$ref": "#/$defs/abilityScore"
						},
						"int": {
							"$ref": "#/$defs/abilityScore"
						},
						"wis": {
							"$ref": "#/$defs/abilityScore"
						},
						"cha": {
							"$ref": "#/$defs/abilityScore"
						},
						"save": {
							"type": "object",
							"properties": {
								"str": {
									"type": "string"
								},
								"dex": {
									"type": "string"
								},
								"con": {
									"type": "string"
								},
								"int": {
									"type": "string"
								},
								"wis": {
									"type": "string"
								},
								"cha": {
									"type": "string"
								},
								"special": {
									"description": "For use in homebrew.",
									"$ref": "../entry.json",
									"markdownDescription": "For use in homebrew."
								}
							},
							"additionalProperties": false,
							"minProperties": 1
						},
						"skill": {
							"type": "object",
							"properties": {
								"acrobatics": {
									"type": "string"
								},
								"animal handling": {
									"type": "string"
								},
								"arcana": {
									"type": "string"
								},
								"athletics": {
									"type": "string"
								},
								"deception": {
									"type": "string"
								},
								"history": {
									"type": "string"
								},
								"insight": {
									"type": "string"
								},
								"intimidation": {
									"type": "string"
								},
								"investigation": {
									"type": "string"
								},
								"medicine": {
									"type": "string"
								},
								"nature": {
									"type": "string"
								},
								"perception": {
									"type": "string"
								},
								"performance": {
									"type": "string"
								},
								"persuasion": {
									"type": "string"
								},
								"religion": {
									"type": "string"
								},
								"sleight of hand": {
									"type": "string"
								},
								"stealth": {
									"type": "string"
								},
								"survival": {
									"type": "string"
								},
								"other": {
									"type": "array",
									"items": {
										"type": "object",
										"properties": {
											"oneOf": {
												"type": "object",
												"properties": {
													"acrobatics": {
														"type": "string"
													},
													"animal handling": {
														"type": "string"
													},
													"arcana": {
														"type": "string"
													},
													"athletics": {
														"type": "string"
													},
													"deception": {
														"type": "string"
													},
													"history": {
														"type": "string"
													},
													"insight": {
														"type": "string"
													},
													"intimidation": {
														"type": "string"
													},
													"investigation": {
														"type": "string"
													},
													"medicine": {
														"type": "string"
													},
													"nature": {
														"type": "string"
													},
													"perception": {
														"type": "string"
													},
													"performance": {
														"type": "string"
													},
													"persuasion": {
														"type": "string"
													},
													"religion": {
														"type": "string"
													},
													"sleight of hand": {
														"type": "string"
													},
													"stealth": {
														"type": "string"
													},
													"survival": {
														"type": "string"
													}
												}
											}
										}
									}
								},
								"special": {
									"$ref": "../entry.json"
								}
							},
							"additionalProperties": false,
							"minProperties": 1,
							"patternProperties": {
								"^[^|]+\\|.+$": {
									"type": "string"
								}
							}
						},
						"tool": {
							"type": "object",
							"minProperties": 1,
							"patternProperties": {
								".*": {
									"type": "string"
								}
							}
						},
						"gear": {
							"type": "array",
							"items": {
								"oneOf": [
									{
										"description": "An item UID, e.g. \"longsword|phb\"",
										"type": "string",
										"markdownDescription": "An item UID, e.g. &quot;longsword|phb&quot;"
									},
									{
										"type": "object",
										"properties": {
											"item": {
												"description": "An item UID, e.g. \"longsword|phb\"",
												"type": "string",
												"markdownDescription": "An item UID, e.g. &quot;longsword|phb&quot;"
											},
											"quantity": {
												"type": "integer"
											},
											"displayName": {
												"type": "string"
											}
										},
										"required": [
											"item"
										],
										"minProperties": 2,
										"additionalProperties": false
									}
								]
							}
						},
						"senses": {
							"oneOf": [
								{
									"type": "array",
									"items": {
										"type": "string"
									},
									"minItems": 1
								},
								{
									"type": "null"
								}
							]
						},
						"passive": {
							"type": [
								"integer",
								"string",
								"null"
							]
						},
						"languages": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "string"
									}
								},
								{
									"type": "null"
								}
							]
						},
						"pbNote": {
							"type": "string"
						},
						"cr": {
							"oneOf": [
								{
									"type": "string"
								},
								{
									"type": "object",
									"properties": {
										"cr": {
											"type": "string"
										},
										"lair": {
											"type": "string"
										},
										"coven": {
											"type": "string"
										},
										"xp": {
											"type": "integer"
										},
										"xpLair": {
											"type": "integer"
										}
									},
									"additionalProperties": false,
									"required": [
										"cr"
									]
								}
							]
						},
						"vulnerable": {
							"$ref": "../util.json#/$defs/damageVulnerabilityArray"
						},
						"resist": {
							"$ref": "../util.json#/$defs/damageResistArray"
						},
						"immune": {
							"$ref": "../util.json#/$defs/damageImmunityArray"
						},
						"conditionImmune": {
							"$ref": "../util.json#/$defs/conditionImmunityArray"
						},
						"spellcasting": {
							"oneOf": [
								{
									"type": "array",
									"items": {
										"$ref": "../entry.json#/$defs/entrySpellcasting"
									}
								},
								{
									"type": "null"
								}
							]
						},
						"trait": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											},
											"type": {
												"type": "string",
												"enum": [
													"entries",
													"inset"
												]
											},
											"sort": {
												"description": "Forces a sort order. Traits with sort orders will always be arranged before those without.",
												"type": "integer",
												"markdownDescription": "Forces a sort order. Traits with sort orders will always be arranged before those without."
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"actionNote": {
							"type": "string"
						},
						"actionHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"action": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"bonusNote": {
							"type": "string"
						},
						"bonusHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"bonus": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"reactionNote": {
							"type": "string"
						},
						"reactionHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"reaction": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"legendaryGroup": {
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"source": {
									"$ref": "../util.json#/$defs/source"
								}
							},
							"additionalProperties": false,
							"required": [
								"name",
								"source"
							]
						},
						"legendaryActions": {
							"$ref": "#/$defs/_legendaryActions"
						},
						"legendaryActionsLair": {
							"$ref": "#/$defs/_legendaryActions"
						},
						"legendaryActionsLairCondition": {
							"type": "string"
						},
						"legendaryHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"legendary": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"mythicHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"mythic": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"variant": {
							"oneOf": [
								{
									"type": "array",
									"items": {
										"$ref": "#/$defs/entryVariantBestiary"
									}
								},
								{
									"type": "null"
								}
							]
						},
						"page": {
							"$ref": "../util.json#/$defs/page"
						},
						"familiar": {
							"enum": [
								true,
								null
							]
						},
						"additionalSources": {
							"$ref": "../util.json#/$defs/additionalSources"
						},
						"hasToken": {
							"const": true
						},
						"tokenCredit": {
							"type": "string"
						},
						"tokenCustom": {
							"const": true
						},
						"foundryTokenScale": {
							"$ref": "../util-foundry.json#/$defs/foundryTokenScale"
						},
						"altArt": {
							"$ref": "../util-token.json#/$defs/altArt"
						},
						"token": {
							"$ref": "../util-token.json#/$defs/token"
						},
						"isNamedCreature": {
							"enum": [
								true,
								null
							]
						},
						"isNpc": {
							"description": "Used to flag adventure NPCs",
							"enum": [
								true,
								null
							],
							"markdownDescription": "Used to flag adventure NPCs"
						},
						"environment": {
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "string",
								"examples": [
									"any",
									"underwater",
									"coastal",
									"mountain",
									"grassland",
									"hill",
									"arctic",
									"urban",
									"forest",
									"swamp",
									"underdark",
									"desert",
									"badlands",
									"farmland",
									"planar",
									"planar, transitive",
									"planar, elemental",
									"planar, inner",
									"planar, upper",
									"planar, lower",
									"planar, feywild",
									"planar, shadowfell",
									"planar, water",
									"planar, earth",
									"planar, fire",
									"planar, air",
									"planar, ooze",
									"planar, magma",
									"planar, ash",
									"planar, ice",
									"planar, elemental chaos",
									"planar, ethereal",
									"planar, astral",
									"planar, arborea",
									"planar, arcadia",
									"planar, beastlands",
									"planar, bytopia",
									"planar, elysium",
									"planar, mount celestia",
									"planar, ysgard",
									"planar, abyss",
									"planar, acheron",
									"planar, carceri",
									"planar, gehenna",
									"planar, hades",
									"planar, nine hells",
									"planar, pandemonium",
									"planar, limbo",
									"planar, mechanus",
									"planar, outlands",
									"planar, emerald dream",
									"planar, twisting nether"
								]
							}
						},
						"treasure": {
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "string",
								"examples": [
									"any",
									"individual",
									"arcana",
									"armaments",
									"implements",
									"relics"
								]
							}
						},
						"soundClip": {
							"$ref": "../entry.json#/$defs/mediaHref"
						},
						"dragonCastingColor": {
							"type": "string",
							"examples": [
								"black",
								"blue",
								"green",
								"red",
								"white",
								"brass",
								"bronze",
								"copper",
								"gold",
								"silver",
								"deep",
								"spirit"
							]
						},
						"dragonAge": {
							"type": "string",
							"examples": [
								"young",
								"adult",
								"wyrmling",
								"greatwyrm",
								"ancient",
								"aspect"
							]
						},
						"traitTags": {
							"type": "array",
							"items": {
								"type": "string",
								"enum": [
									"Aggressive",
									"Ambusher",
									"Amorphous",
									"Amphibious",
									"Antimagic Susceptibility",
									"Beast of Burden",
									"Brute",
									"Camouflage",
									"Charge",
									"Damage Absorption",
									"Death Burst",
									"Devil's Sight",
									"Ethereal Sight",
									"False Appearance",
									"Fey Ancestry",
									"Flyby",
									"Hold Breath",
									"Illumination",
									"Immutable Form",
									"Incorporeal Movement",
									"Keen Senses",
									"Legendary Resistances",
									"Light Sensitivity",
									"Magic Resistance",
									"Magic Weapons",
									"Mimicry",
									"Pack Tactics",
									"Pounce",
									"Rampage",
									"Reckless",
									"Regeneration",
									"Rejuvenation",
									"Shapechanger",
									"Siege Monster",
									"Sneak Attack",
									"Spell Immunity",
									"Spider Climb",
									"Sunlight Sensitivity",
									"Sure-Footed",
									"Tree Stride",
									"Tunneler",
									"Turn Immunity",
									"Turn Resistance",
									"Undead Fortitude",
									"Unusual Nature",
									"Water Breathing",
									"Web Sense",
									"Web Walker"
								]
							}
						},
						"actionTags": {
							"type": "array",
							"items": {
								"type": "string",
								"enum": [
									"Breath Weapon",
									"Frightful Presence",
									"Multiattack",
									"Parry",
									"Shapechanger",
									"Swallow",
									"Teleport",
									"Tentacles"
								]
							}
						},
						"languageTags": {
							"type": "array",
							"items": {
								"type": "string",
								"description": "- X: Any (Choose)\n- XX: All\n- CS: Can't Speak Known Languages\n- LF: Languages Known in Life\n- TP: Telepathy\n- OTH: Other\n- -\n- AB: Abyssal\n- AQ: Aquan\n- AU: Auran\n- C: Common\n- CE: Celestial\n- CSL: Common Sign Language\n- D: Dwarvish\n- DR: Draconic\n- DS: Deep Speech\n- DU: Druidic\n- E: Elvish\n- G: Gnomish\n- GI: Giant\n- GO: Goblin\n- GTH: Gith\n- H: Halfling\n- I: Infernal\n- IG: Ignan\n- O: Orc\n- P: Primordial\n- S: Sylvan\n- T: Terran\n- TC: Thieves' cant\n- U: Undercommon",
								"enum": [
									"X",
									"XX",
									"CS",
									"LF",
									"TP",
									"OTH",
									"AB",
									"AQ",
									"AU",
									"C",
									"CE",
									"CSL",
									"D",
									"DR",
									"DS",
									"DU",
									"E",
									"G",
									"GI",
									"GO",
									"GTH",
									"H",
									"I",
									"IG",
									"O",
									"P",
									"S",
									"T",
									"TC",
									"U"
								],
								"markdownDescription": "- X: Any (Choose)\n- XX: All\n- CS: Can&apos;t Speak Known Languages\n- LF: Languages Known in Life\n- TP: Telepathy\n- OTH: Other\n- -\n- AB: Abyssal\n- AQ: Aquan\n- AU: Auran\n- C: Common\n- CE: Celestial\n- CSL: Common Sign Language\n- D: Dwarvish\n- DR: Draconic\n- DS: Deep Speech\n- DU: Druidic\n- E: Elvish\n- G: Gnomish\n- GI: Giant\n- GO: Goblin\n- GTH: Gith\n- H: Halfling\n- I: Infernal\n- IG: Ignan\n- O: Orc\n- P: Primordial\n- S: Sylvan\n- T: Terran\n- TC: Thieves&apos; cant\n- U: Undercommon"
							}
						},
						"senseTags": {
							"type": "array",
							"items": {
								"type": "string",
								"description": "- B: Blindsight\n- D: Darkvision\n- SD: Superior Darkvision\n- T: Tremorsense\n- U: Truesight",
								"enum": [
									"B",
									"D",
									"SD",
									"T",
									"U"
								],
								"markdownDescription": "- B: Blindsight\n- D: Darkvision\n- SD: Superior Darkvision\n- T: Tremorsense\n- U: Truesight"
							}
						},
						"spellcastingTags": {
							"type": "array",
							"items": {
								"type": "string",
								"description": "- P: Psionics\n- I: Innate\n- F: Form Only\n- S: Shared\n- O: Other\n- CA: Class, Artificer\n- CB: Class, Bard\n- CC: Class, Cleric\n- CD: Class, Druid\n- CP: Class, Paladin\n- CR: Class, Ranger\n- CS: Class, Sorcerer\n- CL: Class, Warlock\n- CW: Class, Wizard",
								"enum": [
									"P",
									"I",
									"F",
									"S",
									"O",
									"CA",
									"CB",
									"CC",
									"CD",
									"CP",
									"CR",
									"CS",
									"CL",
									"CW"
								],
								"markdownDescription": "- P: Psionics\n- I: Innate\n- F: Form Only\n- S: Shared\n- O: Other\n- CA: Class, Artificer\n- CB: Class, Bard\n- CC: Class, Cleric\n- CD: Class, Druid\n- CP: Class, Paladin\n- CR: Class, Ranger\n- CS: Class, Sorcerer\n- CL: Class, Warlock\n- CW: Class, Wizard"
							}
						},
						"damageTags": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/dataDamageTags"
							}
						},
						"damageTagsSpell": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/dataDamageTags"
							}
						},
						"damageTagsLegendary": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/dataDamageTags"
							}
						},
						"miscTags": {
							"type": "array",
							"items": {
								"description": "- AOE: Has Areas of Effect\n- CUR: Inflicts Curse\n- DIS: Inflicts Disease\n- HPR: Has HP Reduction\n- MW: Has Weapon Attacks, Melee\n- RW: Has Weapon Attacks, Ranged\n- MA: Has Attacks, Melee\n- RA: Has Attacks, Ranged\n- RCH: Has Reach Attacks\n- MLW: Has Melee Weapons\n- RNG: Has Ranged Weapons\n- THW: Has Thrown Weapons",
								"enum": [
									"AOE",
									"CUR",
									"DIS",
									"HPR",
									"MW",
									"RW",
									"MA",
									"RA",
									"RCH",
									"MLW",
									"RNG",
									"THW"
								],
								"markdownDescription": "- AOE: Has Areas of Effect\n- CUR: Inflicts Curse\n- DIS: Inflicts Disease\n- HPR: Has HP Reduction\n- MW: Has Weapon Attacks, Melee\n- RW: Has Weapon Attacks, Ranged\n- MA: Has Attacks, Melee\n- RA: Has Attacks, Ranged\n- RCH: Has Reach Attacks\n- MLW: Has Melee Weapons\n- RNG: Has Ranged Weapons\n- THW: Has Thrown Weapons"
							}
						},
						"attachedItems": {
							"type": "array",
							"minItems": 1,
							"uniqueItems": true,
							"items": {
								"description": "A UID, e.g. \"longsword|phb\"",
								"type": "string",
								"markdownDescription": "A UID, e.g. &quot;longsword|phb&quot;"
							}
						},
						"conditionInflict": {
							"$ref": "../util.json#/$defs/tagsConditions"
						},
						"conditionInflictLegendary": {
							"$ref": "../util.json#/$defs/tagsConditions"
						},
						"conditionInflictSpell": {
							"$ref": "../util.json#/$defs/tagsConditions"
						},
						"savingThrowForced": {
							"$ref": "../util.json#/$defs/tagsSavingThrow"
						},
						"savingThrowForcedLegendary": {
							"$ref": "../util.json#/$defs/tagsSavingThrow"
						},
						"savingThrowForcedSpell": {
							"$ref": "../util.json#/$defs/tagsSavingThrow"
						},
						"footer": {
							"description": "Intended for homebrew use only.",
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"markdownDescription": "Intended for homebrew use only."
						},
						"legacy": {
							"$ref": "../util.json#/$defs/legacy"
						},
						"summonedBySpell": {
							"description": "The spell used to summon this creature; specifically for TCE-esque summon spells.",
							"type": "string",
							"markdownDescription": "The spell used to summon this creature; specifically for TCE-esque summon spells."
						},
						"summonedBySpellLevel": {
							"description": "The level of the spell used to summon this creature; specifically for TCE-esque summon spells.",
							"type": "integer",
							"markdownDescription": "The level of the spell used to summon this creature; specifically for TCE-esque summon spells."
						},
						"summonedByClass": {
							"description": "The class which can summon this creature; e.g. for those granted by some TCE class features.",
							"type": "string",
							"markdownDescription": "The class which can summon this creature; e.g. for those granted by some TCE class features."
						},
						"summonedScaleByPlayerLevel": {
							"description": "If this creature should be scalable by summoning/owning player level.",
							"const": true,
							"markdownDescription": "If this creature should be scalable by summoning/owning player level."
						},
						"_isCopy": {
							"description": "An internal flag indicating this creature is a copy of another, and is a temporary/placeholder entry which will be factored out using the \"_copy\" format at a later date.",
							"type": "boolean",
							"markdownDescription": "An internal flag indicating this creature is a copy of another, and is a temporary/placeholder entry which will be factored out using the &quot;_copy&quot; format at a later date."
						},
						"_versions": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/creatureVersion"
							}
						},
						"hasFluff": {
							"const": true
						},
						"hasFluffImages": {
							"const": true
						},
						"externalSources": {
							"description": "For homebrew use only.",
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"entry": {
										"$ref": "../entry.json"
									}
								},
								"required": [
									"entry"
								],
								"additionalProperties": false
							},
							"markdownDescription": "For homebrew use only."
						},
						"resource": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"value": {
										"type": "integer"
									},
									"formula": {
										"type": "string"
									}
								},
								"required": [
									"value"
								],
								"additionalProperties": false
							},
							"uniqueItems": true,
							"minItems": 1
						},
						"fluff": {
							"description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
							"anyOf": [
								{
									"$ref": "../util.json#/$defs/fluffObject"
								},
								{
									"description": "Reference \"monsterFluff\" array items",
									"type": "object",
									"properties": {
										"_monsterFluff": {
											"type": "object",
											"properties": {
												"name": {
													"type": "string"
												},
												"source": {
													"$ref": "../util.json#/$defs/source"
												}
											}
										},
										"_appendMonsterFluff": {
											"type": "object",
											"properties": {
												"name": {
													"type": "string"
												},
												"source": {
													"$ref": "../util.json#/$defs/source"
												}
											}
										}
									},
									"additionalProperties": false,
									"minProperties": 1,
									"markdownDescription": "Reference &quot;monsterFluff&quot; array items"
								}
							],
							"markdownDescription": "This is intended to be used for Homebrew only - site data should include a fluff file per source"
						},
						"foundryImg": {
							"$ref": "../util-foundry.json#/$defs/foundryImg"
						},
						"foundryAdvice": {
							"$ref": "../entry.json"
						},
						"foundryPrototypeToken": {
							"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
						},
						"tokenUrl": {
							"$ref": "../util-token.json#/$defs/tokenUrl"
						},
						"tokenHref": {
							"$ref": "../util-token.json#/$defs/tokenHref"
						},
						"tokenHref3d": {
							"$ref": "../util-token.json#/$defs/tokenHref"
						},
						"foundryTokenSubjectHref": {
							"$ref": "../util-token.json#/$defs/tokenHref"
						},
						"foundryTokenSubjectScale": {
							"$ref": "../util-foundry.json#/$defs/foundryTokenSubjectScale"
						}
					},
					"additionalProperties": false,
					"required": [
						"name",
						"source",
						"size",
						"type"
					]
				},
				{
					"type": "object",
					"$comment": "This is a custom pre-processor tag, which merges together the array of objects into one. This allows proper inheritance, which JSON schema don't really do.",
					"properties": {
						"name": {
							"type": "string"
						},
						"shortName": {
							"description": "Used anywhere a shortened form of the creatures name is required (e.g. in legendary action headers).\n\nIf not supplied, a shortened name will be automatically generated from the creature's full name.\n\nAlternatively use \"true\" if the \"shortName\" should be an exact copy of the creature's \"name\".",
							"type": [
								"string",
								"boolean"
							],
							"markdownDescription": "Used anywhere a shortened form of the creatures name is required (e.g. in legendary action headers).\n\nIf not supplied, a shortened name will be automatically generated from the creature&apos;s full name.\n\nAlternatively use &quot;true&quot; if the &quot;shortName&quot; should be an exact copy of the creature&apos;s &quot;name&quot;."
						},
						"alias": {
							"$ref": "../util.json#/$defs/alias"
						},
						"group": {
							"$ref": "../util.json#/$defs/group"
						},
						"level": {
							"description": "Used in sidekicks, which can have levels (and generally do not have alignment)",
							"type": "integer",
							"markdownDescription": "Used in sidekicks, which can have levels (and generally do not have alignment)"
						},
						"size": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/size"
							},
							"uniqueItems": true
						},
						"sizeNote": {
							"type": "string"
						},
						"type": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"type": {
											"oneOf": [
												{
													"$ref": "../util.json#/$defs/creatureType"
												},
												{
													"type": "object",
													"properties": {
														"choose": {
															"type": "array",
															"items": {
																"$ref": "../util.json#/$defs/creatureType"
															}
														}
													},
													"additionalProperties": false,
													"required": [
														"choose"
													]
												}
											]
										},
										"typeHidden": {
											"const": true
										},
										"swarmSize": {
											"$ref": "../util.json#/$defs/size",
											"description": "Size of the individual creatures that make up the swarm.",
											"markdownDescription": "Size of the individual creatures that make up the swarm."
										},
										"tags": {
											"type": "array",
											"uniqueItems": true,
											"items": {
												"oneOf": [
													{
														"type": "string"
													},
													{
														"type": "object",
														"properties": {
															"tag": {
																"type": "string"
															},
															"prefix": {
																"type": "string"
															},
															"prefixHidden": {
																"const": true
															}
														},
														"required": [
															"tag",
															"prefix"
														],
														"additionalProperties": false
													}
												]
											}
										},
										"sidekickType": {
											"type": "string",
											"examples": [
												"expert",
												"spellcaster",
												"warrior"
											]
										},
										"sidekickTags": {
											"type": "array",
											"uniqueItems": true,
											"items": {
												"oneOf": [
													{
														"type": "string"
													},
													{
														"type": "object",
														"properties": {
															"tag": {
																"type": "string"
															},
															"prefix": {
																"type": "string"
															},
															"prefixHidden": {
																"const": true
															}
														},
														"required": [
															"tag",
															"prefix"
														],
														"additionalProperties": false
													}
												]
											}
										},
										"sidekickHidden": {
											"const": true
										},
										"note": {
											"type": "string"
										}
									},
									"required": [
										"type"
									],
									"additionalProperties": false
								},
								{
									"$ref": "../util.json#/$defs/creatureType"
								}
							]
						},
						"typeNote": {
							"type": "string"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						},
						"sourceSub": {
							"type": "string",
							"description": "Sub-source text that is shown when hovered.",
							"markdownDescription": "Sub-source text that is shown when hovered."
						},
						"otherSources": {
							"$ref": "../util.json#/$defs/otherSources"
						},
						"referenceSources": {
							"$ref": "../util.json#/$defs/referenceSources"
						},
						"reprintedAs": {
							"$ref": "../util.json#/$defs/reprintedAs"
						},
						"isReprinted": {
							"$ref": "../util.json#/$defs/isReprinted"
						},
						"alignment": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/align"
							}
						},
						"alignmentPrefix": {
							"type": "string"
						},
						"ac": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/acItem"
							}
						},
						"hp": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"average": {
											"type": "integer"
										},
										"formula": {
											"type": "string"
										},
										"isTemporary": {
											"const": true
										}
									},
									"required": [
										"average",
										"formula"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"special": {
											"type": "string"
										},
										"isTemporary": {
											"const": true
										}
									},
									"required": [
										"special"
									],
									"additionalProperties": false
								}
							]
						},
						"speed": {
							"$ref": "../util.json#/$defs/speed"
						},
						"initiative": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"initiative": {
											"type": "number"
										},
										"proficiency": {
											"$ref": "../util.json#/$defs/proficiencyLevel"
										},
										"advantageMode": {
											"type": "string",
											"enum": [
												"adv",
												"dis"
											]
										}
									},
									"minProperties": 1,
									"additionalProperties": false
								},
								{
									"type": "number"
								}
							]
						},
						"str": {
							"$ref": "#/$defs/abilityScore"
						},
						"dex": {
							"$ref": "#/$defs/abilityScore"
						},
						"con": {
							"$ref": "#/$defs/abilityScore"
						},
						"int": {
							"$ref": "#/$defs/abilityScore"
						},
						"wis": {
							"$ref": "#/$defs/abilityScore"
						},
						"cha": {
							"$ref": "#/$defs/abilityScore"
						},
						"save": {
							"type": "object",
							"properties": {
								"str": {
									"type": "string"
								},
								"dex": {
									"type": "string"
								},
								"con": {
									"type": "string"
								},
								"int": {
									"type": "string"
								},
								"wis": {
									"type": "string"
								},
								"cha": {
									"type": "string"
								},
								"special": {
									"description": "For use in homebrew.",
									"$ref": "../entry.json",
									"markdownDescription": "For use in homebrew."
								}
							},
							"additionalProperties": false,
							"minProperties": 1
						},
						"skill": {
							"type": "object",
							"properties": {
								"acrobatics": {
									"type": "string"
								},
								"animal handling": {
									"type": "string"
								},
								"arcana": {
									"type": "string"
								},
								"athletics": {
									"type": "string"
								},
								"deception": {
									"type": "string"
								},
								"history": {
									"type": "string"
								},
								"insight": {
									"type": "string"
								},
								"intimidation": {
									"type": "string"
								},
								"investigation": {
									"type": "string"
								},
								"medicine": {
									"type": "string"
								},
								"nature": {
									"type": "string"
								},
								"perception": {
									"type": "string"
								},
								"performance": {
									"type": "string"
								},
								"persuasion": {
									"type": "string"
								},
								"religion": {
									"type": "string"
								},
								"sleight of hand": {
									"type": "string"
								},
								"stealth": {
									"type": "string"
								},
								"survival": {
									"type": "string"
								},
								"other": {
									"type": "array",
									"items": {
										"type": "object",
										"properties": {
											"oneOf": {
												"type": "object",
												"properties": {
													"acrobatics": {
														"type": "string"
													},
													"animal handling": {
														"type": "string"
													},
													"arcana": {
														"type": "string"
													},
													"athletics": {
														"type": "string"
													},
													"deception": {
														"type": "string"
													},
													"history": {
														"type": "string"
													},
													"insight": {
														"type": "string"
													},
													"intimidation": {
														"type": "string"
													},
													"investigation": {
														"type": "string"
													},
													"medicine": {
														"type": "string"
													},
													"nature": {
														"type": "string"
													},
													"perception": {
														"type": "string"
													},
													"performance": {
														"type": "string"
													},
													"persuasion": {
														"type": "string"
													},
													"religion": {
														"type": "string"
													},
													"sleight of hand": {
														"type": "string"
													},
													"stealth": {
														"type": "string"
													},
													"survival": {
														"type": "string"
													}
												}
											}
										}
									}
								},
								"special": {
									"$ref": "../entry.json"
								}
							},
							"additionalProperties": false,
							"minProperties": 1,
							"patternProperties": {
								"^[^|]+\\|.+$": {
									"type": "string"
								}
							}
						},
						"tool": {
							"type": "object",
							"minProperties": 1,
							"patternProperties": {
								".*": {
									"type": "string"
								}
							}
						},
						"gear": {
							"type": "array",
							"items": {
								"oneOf": [
									{
										"description": "An item UID, e.g. \"longsword|phb\"",
										"type": "string",
										"markdownDescription": "An item UID, e.g. &quot;longsword|phb&quot;"
									},
									{
										"type": "object",
										"properties": {
											"item": {
												"description": "An item UID, e.g. \"longsword|phb\"",
												"type": "string",
												"markdownDescription": "An item UID, e.g. &quot;longsword|phb&quot;"
											},
											"quantity": {
												"type": "integer"
											},
											"displayName": {
												"type": "string"
											}
										},
										"required": [
											"item"
										],
										"minProperties": 2,
										"additionalProperties": false
									}
								]
							}
						},
						"senses": {
							"oneOf": [
								{
									"type": "array",
									"items": {
										"type": "string"
									},
									"minItems": 1
								},
								{
									"type": "null"
								}
							]
						},
						"passive": {
							"type": [
								"integer",
								"string",
								"null"
							]
						},
						"languages": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "string"
									}
								},
								{
									"type": "null"
								}
							]
						},
						"pbNote": {
							"type": "string"
						},
						"cr": {
							"oneOf": [
								{
									"type": "string"
								},
								{
									"type": "object",
									"properties": {
										"cr": {
											"type": "string"
										},
										"lair": {
											"type": "string"
										},
										"coven": {
											"type": "string"
										},
										"xp": {
											"type": "integer"
										},
										"xpLair": {
											"type": "integer"
										}
									},
									"additionalProperties": false,
									"required": [
										"cr"
									]
								}
							]
						},
						"vulnerable": {
							"$ref": "../util.json#/$defs/damageVulnerabilityArray"
						},
						"resist": {
							"$ref": "../util.json#/$defs/damageResistArray"
						},
						"immune": {
							"$ref": "../util.json#/$defs/damageImmunityArray"
						},
						"conditionImmune": {
							"$ref": "../util.json#/$defs/conditionImmunityArray"
						},
						"spellcasting": {
							"oneOf": [
								{
									"type": "array",
									"items": {
										"$ref": "../entry.json#/$defs/entrySpellcasting"
									}
								},
								{
									"type": "null"
								}
							]
						},
						"trait": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											},
											"type": {
												"type": "string",
												"enum": [
													"entries",
													"inset"
												]
											},
											"sort": {
												"description": "Forces a sort order. Traits with sort orders will always be arranged before those without.",
												"type": "integer",
												"markdownDescription": "Forces a sort order. Traits with sort orders will always be arranged before those without."
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"actionNote": {
							"type": "string"
						},
						"actionHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"action": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"bonusNote": {
							"type": "string"
						},
						"bonusHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"bonus": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"reactionNote": {
							"type": "string"
						},
						"reactionHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"reaction": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"name",
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"legendaryGroup": {
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"source": {
									"$ref": "../util.json#/$defs/source"
								}
							},
							"additionalProperties": false,
							"required": [
								"name",
								"source"
							]
						},
						"legendaryActions": {
							"$ref": "#/$defs/_legendaryActions"
						},
						"legendaryActionsLair": {
							"$ref": "#/$defs/_legendaryActions"
						},
						"legendaryActionsLairCondition": {
							"type": "string"
						},
						"legendaryHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"legendary": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"mythicHeader": {
							"type": "array",
							"minItems": 1,
							"items": {
								"$ref": "../entry.json"
							}
						},
						"mythic": {
							"oneOf": [
								{
									"type": "array",
									"minItems": 1,
									"items": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"entries": {
												"type": "array",
												"items": {
													"$ref": "../entry.json"
												}
											}
										},
										"required": [
											"entries"
										],
										"additionalProperties": false
									}
								},
								{
									"type": "null"
								}
							]
						},
						"variant": {
							"oneOf": [
								{
									"type": "array",
									"items": {
										"$ref": "#/$defs/entryVariantBestiary"
									}
								},
								{
									"type": "null"
								}
							]
						},
						"page": {
							"$ref": "../util.json#/$defs/page"
						},
						"familiar": {
							"enum": [
								true,
								null
							]
						},
						"additionalSources": {
							"$ref": "../util.json#/$defs/additionalSources"
						},
						"hasToken": {
							"const": true
						},
						"tokenCredit": {
							"type": "string"
						},
						"tokenCustom": {
							"const": true
						},
						"foundryTokenScale": {
							"$ref": "../util-foundry.json#/$defs/foundryTokenScale"
						},
						"altArt": {
							"$ref": "../util-token.json#/$defs/altArt"
						},
						"token": {
							"$ref": "../util-token.json#/$defs/token"
						},
						"isNamedCreature": {
							"enum": [
								true,
								null
							]
						},
						"isNpc": {
							"description": "Used to flag adventure NPCs",
							"enum": [
								true,
								null
							],
							"markdownDescription": "Used to flag adventure NPCs"
						},
						"environment": {
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "string",
								"examples": [
									"any",
									"underwater",
									"coastal",
									"mountain",
									"grassland",
									"hill",
									"arctic",
									"urban",
									"forest",
									"swamp",
									"underdark",
									"desert",
									"badlands",
									"farmland",
									"planar",
									"planar, transitive",
									"planar, elemental",
									"planar, inner",
									"planar, upper",
									"planar, lower",
									"planar, feywild",
									"planar, shadowfell",
									"planar, water",
									"planar, earth",
									"planar, fire",
									"planar, air",
									"planar, ooze",
									"planar, magma",
									"planar, ash",
									"planar, ice",
									"planar, elemental chaos",
									"planar, ethereal",
									"planar, astral",
									"planar, arborea",
									"planar, arcadia",
									"planar, beastlands",
									"planar, bytopia",
									"planar, elysium",
									"planar, mount celestia",
									"planar, ysgard",
									"planar, abyss",
									"planar, acheron",
									"planar, carceri",
									"planar, gehenna",
									"planar, hades",
									"planar, nine hells",
									"planar, pandemonium",
									"planar, limbo",
									"planar, mechanus",
									"planar, outlands",
									"planar, emerald dream",
									"planar, twisting nether"
								]
							}
						},
						"treasure": {
							"type": "array",
							"minItems": 1,
							"items": {
								"type": "string",
								"examples": [
									"any",
									"individual",
									"arcana",
									"armaments",
									"implements",
									"relics"
								]
							}
						},
						"soundClip": {
							"$ref": "../entry.json#/$defs/mediaHref"
						},
						"dragonCastingColor": {
							"type": "string",
							"examples": [
								"black",
								"blue",
								"green",
								"red",
								"white",
								"brass",
								"bronze",
								"copper",
								"gold",
								"silver",
								"deep",
								"spirit"
							]
						},
						"dragonAge": {
							"type": "string",
							"examples": [
								"young",
								"adult",
								"wyrmling",
								"greatwyrm",
								"ancient",
								"aspect"
							]
						},
						"traitTags": {
							"type": "array",
							"items": {
								"type": "string",
								"enum": [
									"Aggressive",
									"Ambusher",
									"Amorphous",
									"Amphibious",
									"Antimagic Susceptibility",
									"Beast of Burden",
									"Brute",
									"Camouflage",
									"Charge",
									"Damage Absorption",
									"Death Burst",
									"Devil's Sight",
									"Ethereal Sight",
									"False Appearance",
									"Fey Ancestry",
									"Flyby",
									"Hold Breath",
									"Illumination",
									"Immutable Form",
									"Incorporeal Movement",
									"Keen Senses",
									"Legendary Resistances",
									"Light Sensitivity",
									"Magic Resistance",
									"Magic Weapons",
									"Mimicry",
									"Pack Tactics",
									"Pounce",
									"Rampage",
									"Reckless",
									"Regeneration",
									"Rejuvenation",
									"Shapechanger",
									"Siege Monster",
									"Sneak Attack",
									"Spell Immunity",
									"Spider Climb",
									"Sunlight Sensitivity",
									"Sure-Footed",
									"Tree Stride",
									"Tunneler",
									"Turn Immunity",
									"Turn Resistance",
									"Undead Fortitude",
									"Unusual Nature",
									"Water Breathing",
									"Web Sense",
									"Web Walker"
								]
							}
						},
						"actionTags": {
							"type": "array",
							"items": {
								"type": "string",
								"enum": [
									"Breath Weapon",
									"Frightful Presence",
									"Multiattack",
									"Parry",
									"Shapechanger",
									"Swallow",
									"Teleport",
									"Tentacles"
								]
							}
						},
						"languageTags": {
							"type": "array",
							"items": {
								"type": "string",
								"description": "- X: Any (Choose)\n- XX: All\n- CS: Can't Speak Known Languages\n- LF: Languages Known in Life\n- TP: Telepathy\n- OTH: Other\n- -\n- AB: Abyssal\n- AQ: Aquan\n- AU: Auran\n- C: Common\n- CE: Celestial\n- CSL: Common Sign Language\n- D: Dwarvish\n- DR: Draconic\n- DS: Deep Speech\n- DU: Druidic\n- E: Elvish\n- G: Gnomish\n- GI: Giant\n- GO: Goblin\n- GTH: Gith\n- H: Halfling\n- I: Infernal\n- IG: Ignan\n- O: Orc\n- P: Primordial\n- S: Sylvan\n- T: Terran\n- TC: Thieves' cant\n- U: Undercommon",
								"enum": [
									"X",
									"XX",
									"CS",
									"LF",
									"TP",
									"OTH",
									"AB",
									"AQ",
									"AU",
									"C",
									"CE",
									"CSL",
									"D",
									"DR",
									"DS",
									"DU",
									"E",
									"G",
									"GI",
									"GO",
									"GTH",
									"H",
									"I",
									"IG",
									"O",
									"P",
									"S",
									"T",
									"TC",
									"U"
								],
								"markdownDescription": "- X: Any (Choose)\n- XX: All\n- CS: Can&apos;t Speak Known Languages\n- LF: Languages Known in Life\n- TP: Telepathy\n- OTH: Other\n- -\n- AB: Abyssal\n- AQ: Aquan\n- AU: Auran\n- C: Common\n- CE: Celestial\n- CSL: Common Sign Language\n- D: Dwarvish\n- DR: Draconic\n- DS: Deep Speech\n- DU: Druidic\n- E: Elvish\n- G: Gnomish\n- GI: Giant\n- GO: Goblin\n- GTH: Gith\n- H: Halfling\n- I: Infernal\n- IG: Ignan\n- O: Orc\n- P: Primordial\n- S: Sylvan\n- T: Terran\n- TC: Thieves&apos; cant\n- U: Undercommon"
							}
						},
						"senseTags": {
							"type": "array",
							"items": {
								"type": "string",
								"description": "- B: Blindsight\n- D: Darkvision\n- SD: Superior Darkvision\n- T: Tremorsense\n- U: Truesight",
								"enum": [
									"B",
									"D",
									"SD",
									"T",
									"U"
								],
								"markdownDescription": "- B: Blindsight\n- D: Darkvision\n- SD: Superior Darkvision\n- T: Tremorsense\n- U: Truesight"
							}
						},
						"spellcastingTags": {
							"type": "array",
							"items": {
								"type": "string",
								"description": "- P: Psionics\n- I: Innate\n- F: Form Only\n- S: Shared\n- O: Other\n- CA: Class, Artificer\n- CB: Class, Bard\n- CC: Class, Cleric\n- CD: Class, Druid\n- CP: Class, Paladin\n- CR: Class, Ranger\n- CS: Class, Sorcerer\n- CL: Class, Warlock\n- CW: Class, Wizard",
								"enum": [
									"P",
									"I",
									"F",
									"S",
									"O",
									"CA",
									"CB",
									"CC",
									"CD",
									"CP",
									"CR",
									"CS",
									"CL",
									"CW"
								],
								"markdownDescription": "- P: Psionics\n- I: Innate\n- F: Form Only\n- S: Shared\n- O: Other\n- CA: Class, Artificer\n- CB: Class, Bard\n- CC: Class, Cleric\n- CD: Class, Druid\n- CP: Class, Paladin\n- CR: Class, Ranger\n- CS: Class, Sorcerer\n- CL: Class, Warlock\n- CW: Class, Wizard"
							}
						},
						"damageTags": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/dataDamageTags"
							}
						},
						"damageTagsSpell": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/dataDamageTags"
							}
						},
						"damageTagsLegendary": {
							"type": "array",
							"items": {
								"$ref": "../util.json#/$defs/dataDamageTags"
							}
						},
						"miscTags": {
							"type": "array",
							"items": {
								"description": "- AOE: Has Areas of Effect\n- CUR: Inflicts Curse\n- DIS: Inflicts Disease\n- HPR: Has HP Reduction\n- MW: Has Weapon Attacks, Melee\n- RW: Has Weapon Attacks, Ranged\n- MA: Has Attacks, Melee\n- RA: Has Attacks, Ranged\n- RCH: Has Reach Attacks\n- MLW: Has Melee Weapons\n- RNG: Has Ranged Weapons\n- THW: Has Thrown Weapons",
								"enum": [
									"AOE",
									"CUR",
									"DIS",
									"HPR",
									"MW",
									"RW",
									"MA",
									"RA",
									"RCH",
									"MLW",
									"RNG",
									"THW"
								],
								"markdownDescription": "- AOE: Has Areas of Effect\n- CUR: Inflicts Curse\n- DIS: Inflicts Disease\n- HPR: Has HP Reduction\n- MW: Has Weapon Attacks, Melee\n- RW: Has Weapon Attacks, Ranged\n- MA: Has Attacks, Melee\n- RA: Has Attacks, Ranged\n- RCH: Has Reach Attacks\n- MLW: Has Melee Weapons\n- RNG: Has Ranged Weapons\n- THW: Has Thrown Weapons"
							}
						},
						"attachedItems": {
							"type": "array",
							"minItems": 1,
							"uniqueItems": true,
							"items": {
								"description": "A UID, e.g. \"longsword|phb\"",
								"type": "string",
								"markdownDescription": "A UID, e.g. &quot;longsword|phb&quot;"
							}
						},
						"conditionInflict": {
							"$ref": "../util.json#/$defs/tagsConditions"
						},
						"conditionInflictLegendary": {
							"$ref": "../util.json#/$defs/tagsConditions"
						},
						"conditionInflictSpell": {
							"$ref": "../util.json#/$defs/tagsConditions"
						},
						"savingThrowForced": {
							"$ref": "../util.json#/$defs/tagsSavingThrow"
						},
						"savingThrowForcedLegendary": {
							"$ref": "../util.json#/$defs/tagsSavingThrow"
						},
						"savingThrowForcedSpell": {
							"$ref": "../util.json#/$defs/tagsSavingThrow"
						},
						"footer": {
							"description": "Intended for homebrew use only.",
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							},
							"markdownDescription": "Intended for homebrew use only."
						},
						"legacy": {
							"$ref": "../util.json#/$defs/legacy"
						},
						"summonedBySpell": {
							"description": "The spell used to summon this creature; specifically for TCE-esque summon spells.",
							"type": "string",
							"markdownDescription": "The spell used to summon this creature; specifically for TCE-esque summon spells."
						},
						"summonedBySpellLevel": {
							"description": "The level of the spell used to summon this creature; specifically for TCE-esque summon spells.",
							"type": "integer",
							"markdownDescription": "The level of the spell used to summon this creature; specifically for TCE-esque summon spells."
						},
						"summonedByClass": {
							"description": "The class which can summon this creature; e.g. for those granted by some TCE class features.",
							"type": "string",
							"markdownDescription": "The class which can summon this creature; e.g. for those granted by some TCE class features."
						},
						"summonedScaleByPlayerLevel": {
							"description": "If this creature should be scalable by summoning/owning player level.",
							"const": true,
							"markdownDescription": "If this creature should be scalable by summoning/owning player level."
						},
						"_isCopy": {
							"description": "An internal flag indicating this creature is a copy of another, and is a temporary/placeholder entry which will be factored out using the \"_copy\" format at a later date.",
							"type": "boolean",
							"markdownDescription": "An internal flag indicating this creature is a copy of another, and is a temporary/placeholder entry which will be factored out using the &quot;_copy&quot; format at a later date."
						},
						"_versions": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/creatureVersion"
							}
						},
						"hasFluff": {
							"const": true
						},
						"hasFluffImages": {
							"const": true
						},
						"externalSources": {
							"description": "For homebrew use only.",
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"entry": {
										"$ref": "../entry.json"
									}
								},
								"required": [
									"entry"
								],
								"additionalProperties": false
							},
							"markdownDescription": "For homebrew use only."
						},
						"resource": {
							"type": "array",
							"items": {
								"type": "object",
								"properties": {
									"name": {
										"type": "string"
									},
									"value": {
										"type": "integer"
									},
									"formula": {
										"type": "string"
									}
								},
								"required": [
									"value"
								],
								"additionalProperties": false
							},
							"uniqueItems": true,
							"minItems": 1
						},
						"fluff": {
							"description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
							"anyOf": [
								{
									"$ref": "../util.json#/$defs/fluffObject"
								},
								{
									"description": "Reference \"monsterFluff\" array items",
									"type": "object",
									"properties": {
										"_monsterFluff": {
											"type": "object",
											"properties": {
												"name": {
													"type": "string"
												},
												"source": {
													"$ref": "../util.json#/$defs/source"
												}
											}
										},
										"_appendMonsterFluff": {
											"type": "object",
											"properties": {
												"name": {
													"type": "string"
												},
												"source": {
													"$ref": "../util.json#/$defs/source"
												}
											}
										}
									},
									"additionalProperties": false,
									"minProperties": 1,
									"markdownDescription": "Reference &quot;monsterFluff&quot; array items"
								}
							],
							"markdownDescription": "This is intended to be used for Homebrew only - site data should include a fluff file per source"
						},
						"foundryImg": {
							"$ref": "../util-foundry.json#/$defs/foundryImg"
						},
						"foundryAdvice": {
							"$ref": "../entry.json"
						},
						"foundryPrototypeToken": {
							"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
						},
						"tokenUrl": {
							"$ref": "../util-token.json#/$defs/tokenUrl"
						},
						"tokenHref": {
							"$ref": "../util-token.json#/$defs/tokenHref"
						},
						"tokenHref3d": {
							"$ref": "../util-token.json#/$defs/tokenHref"
						},
						"foundryTokenSubjectHref": {
							"$ref": "../util-token.json#/$defs/tokenHref"
						},
						"foundryTokenSubjectScale": {
							"$ref": "../util-foundry.json#/$defs/foundryTokenSubjectScale"
						},
						"_copy": {
							"$ref": "../util-copy.json#/$defs/copyBlock_copy_generic"
						}
					},
					"additionalProperties": false,
					"required": [
						"_copy"
					]
				}
			]
		},
		"variantVersion": {
			"type": "object",
			"properties": {
				"_version": {
					"oneOf": [
						{
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"source": {
									"$ref": "../util.json#/$defs/source"
								},
								"addAs": {
									"type": "string"
								}
							},
							"required": [
								"addAs"
							],
							"additionalProperties": false
						},
						{
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"source": {
									"$ref": "../util.json#/$defs/source"
								},
								"addHeadersAs": {
									"type": "string"
								}
							},
							"required": [
								"addHeadersAs"
							],
							"additionalProperties": false
						}
					]
				}
			}
		},
		"variantToken": {
			"type": "object",
			"properties": {
				"token": {
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						},
						"page": {
							"$ref": "../util.json#/$defs/page"
						}
					},
					"required": [
						"name",
						"source"
					]
				}
			}
		},
		"entryVariantBestiary": {
			"anyOf": [
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"type": {
							"type": "string",
							"const": "variant"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						},
						"page": {
							"$ref": "../util.json#/$defs/page"
						},
						"data": {
							"$ref": "../entry.json#/$defs/_entryDataData"
						},
						"id": {
							"type": "string"
						},
						"entries": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							}
						},
						"token": {
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"source": {
									"$ref": "../util.json#/$defs/source"
								},
								"page": {
									"$ref": "../util.json#/$defs/page"
								}
							},
							"required": [
								"name",
								"source"
							]
						},
						"_version": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"name": {
											"type": "string"
										},
										"source": {
											"$ref": "../util.json#/$defs/source"
										},
										"addAs": {
											"type": "string"
										}
									},
									"required": [
										"addAs"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"name": {
											"type": "string"
										},
										"source": {
											"$ref": "../util.json#/$defs/source"
										},
										"addHeadersAs": {
											"type": "string"
										}
									},
									"required": [
										"addHeadersAs"
									],
									"additionalProperties": false
								}
							]
						}
					},
					"required": [
						"type",
						"name",
						"entries"
					],
					"additionalProperties": false
				},
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"type": {
							"type": "string",
							"const": "inset"
						},
						"source": {
							"$ref": "../util.json#/$defs/source"
						},
						"page": {
							"$ref": "../util.json#/$defs/page"
						},
						"data": {
							"$ref": "../entry.json#/$defs/_entryDataData"
						},
						"id": {
							"type": "string"
						},
						"entries": {
							"type": "array",
							"items": {
								"$ref": "../entry.json"
							}
						},
						"style": {
							"type": "string"
						},
						"token": {
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"source": {
									"$ref": "../util.json#/$defs/source"
								},
								"page": {
									"$ref": "../util.json#/$defs/page"
								}
							},
							"required": [
								"name",
								"source"
							]
						},
						"_version": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"name": {
											"type": "string"
										},
										"source": {
											"$ref": "../util.json#/$defs/source"
										},
										"addAs": {
											"type": "string"
										}
									},
									"required": [
										"addAs"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"name": {
											"type": "string"
										},
										"source": {
											"$ref": "../util.json#/$defs/source"
										},
										"addHeadersAs": {
											"type": "string"
										}
									},
									"required": [
										"addHeadersAs"
									],
									"additionalProperties": false
								}
							]
						}
					},
					"required": [
						"type",
						"entries"
					],
					"additionalProperties": false
				}
			]
		},
		"creatureVersion": {
			"anyOf": [
				{
					"$ref": "../util-copy.json#/$defs/version"
				},
				{
					"$ref": "#/$defs/creatureData"
				}
			]
		}
	},
	"properties": {
		"monster": {
			"type": "array",
			"items": {
				"$ref": "#/$defs/creature"
			},
			"$comment": "This is necessary as some site bestiary files assert only otherSources and do not contain any true data.",
			"uniqueItems": true,
			"minItems": 1
		},
		"_meta": {
			"$ref": "../util.json#/$defs/metaBlock"
		}
	},
	"additionalProperties": false
}