{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "util.json",
	"title": "Util",
	"description": "Utility definitions to be used in other schemas.",
	"version": "1.19.11",
	"$defs": {
		"metaDependenciesArray": {
			"type": "array",
			"items": {
				"type": "string"
			},
			"minItems": 1,
			"uniqueItems": true
		},
		"metaBlock": {
			"type": "object",
			"properties": {
				"dependencies": {
					"$ref": "util-meta.json#/$defs/dependencies"
				},
				"internalCopies": {
					"$ref": "util-meta.json#/$defs/internalCopies"
				},
				"otherSources": {
					"type": "object",
					"properties": {
						"monster": {
							"description": "Keys are other sources to be loaded; values are `otherSources` sources from that source to search for.",
							"type": "object",
							"markdownDescription": "Keys are other sources to be loaded; values are otherSources sources from that source to search for."
						}
					}
				}
			},
			"additionalProperties": false,
			"minProperties": 1
		},
		"url": {
			"type": "string",
			"description": "\"uri-reference\" is unsuitable for brew, as it requires URL-encoding \"'\" (see: https://www.ietf.org/rfc/rfc3986.txt)",
			"markdownDescription": "&quot;uri-reference&quot; is unsuitable for brew, as it requires URL-encoding &quot;&apos;&quot; (see: https://www.ietf.org/rfc/rfc3986.txt)"
		},
		"_sourceString": {
			"type": "string",
			"description": "An identifying string, as seen in the JSON in \"source\" fields.",
			"pattern": "^([-a-zA-Z0-9&+!]{1,2}|[-a-zA-Z0-9&+!][-a-zA-Z0-9&+! ]+[-a-zA-Z0-9&+!])$",
			"markdownDescription": "An identifying string, as seen in the JSON in &quot;source&quot; fields."
		},
		"source": {
			"anyOf": [
				{
					"$ref": "#/$defs/_sourceString"
				}
			]
		},
		"corpusId": {
			"description": "An ID that will be used to refer to this corpus (adventure/book) in tags.",
			"anyOf": [
				{
					"$ref": "#/$defs/_sourceString"
				}
			],
			"markdownDescription": "An ID that will be used to refer to this corpus (adventure/book) in tags."
		},
		"sourceJson": {
			"anyOf": [
				{
					"type": "string",
					"description": "An identifying string, as seen in the JSON in \"source\" fields.",
					"pattern": "^([-a-zA-Z0-9&+!]{1,2}|[-a-zA-Z0-9&+!][-a-zA-Z0-9&+! ]+[-a-zA-Z0-9&+!])$",
					"markdownDescription": "An identifying string, as seen in the JSON in &quot;source&quot; fields.",
					"minLength": 6,
					"not": {
						"anyOf": [
							{
								"type": "string",
								"pattern": "^(?!UA|XUA)"
							},
							{
								"$ref": "sources-5etools.json#/$defs/sources"
							}
						]
					}
				},
				{
					"$ref": "sources-homebrew-legacy.json#/$defs/sourcesShort"
				},
				{
					"$ref": "sources-homebrew-legacy.json#/$defs/sourcesColon"
				}
			]
		},
		"page": {
			"oneOf": [
				{
					"description": "(Roman numerals)",
					"type": "string",
					"pattern": "^[ivx]+$",
					"markdownDescription": "(Roman numerals)"
				},
				{
					"type": "integer"
				}
			]
		},
		"otherSources": {
			"description": "Other sources in which this entity is defined.",
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"source": {
						"$ref": "util.json#/$defs/source"
					},
					"page": {
						"$ref": "#/$defs/page"
					}
				},
				"required": [
					"source"
				],
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1,
			"markdownDescription": "Other sources in which this entity is defined."
		},
		"referenceSources": {
			"description": "Sources which reference this entity (e.g. in bold text).",
			"type": "array",
			"items": {
				"$ref": "util.json#/$defs/source"
			},
			"uniqueItems": true,
			"minItems": 1,
			"markdownDescription": "Sources which reference this entity (e.g. in bold text)."
		},
		"additionalSources": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"source": {
						"$ref": "util.json#/$defs/source"
					},
					"page": {
						"$ref": "#/$defs/page"
					}
				},
				"required": [
					"source"
				],
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"alias": {
			"type": "array",
			"items": {
				"type": "string"
			}
		},
		"group": {
			"description": "A group name, indexed by page search. E.g. searching \"Lycanthrope\" would otherwise fail to find anything.\n\nOnly works on a given page, and not in Omnisearch.",
			"type": [
				"null",
				"array"
			],
			"items": {
				"type": "string"
			},
			"markdownDescription": "A group name, indexed by page search. E.g. searching &quot;Lycanthrope&quot; would otherwise fail to find anything.\n\nOnly works on a given page, and not in Omnisearch."
		},
		"reprintedAs": {
			"type": "array",
			"items": {
				"oneOf": [
					{
						"description": "A UID, e.g. \"longsword|phb\"",
						"type": "string",
						"markdownDescription": "A UID, e.g. &quot;longsword|phb&quot;"
					},
					{
						"type": "object",
						"properties": {
							"uid": {
								"description": "A UID, e.g. \"longsword|phb\"",
								"type": "string",
								"markdownDescription": "A UID, e.g. &quot;longsword|phb&quot;"
							},
							"tag": {
								"description": "A tag used in the renderer, e.g. \"creature\"",
								"type": "string",
								"markdownDescription": "A tag used in the renderer, e.g. &quot;creature&quot;"
							},
							"edition": {
								"$ref": "util-edition.json#/$defs/edition"
							}
						},
						"additionalProperties": false,
						"required": [
							"uid"
						],
						"minProperties": 2
					}
				]
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"isReprinted": {
			"description": "Prefer \"reprintedAs\", where available.",
			"const": true,
			"markdownDescription": "Prefer &quot;reprintedAs&quot;, where available."
		},
		"tagNameStats": {
			"type": "string",
			"enum": [
				"action",
				"background",
				"boon",
				"charoption",
				"class",
				"classFeature",
				"condition",
				"creature",
				"crochet",
				"cult",
				"deck",
				"disease",
				"facility",
				"feat",
				"hazard",
				"item",
				"itemMastery",
				"language",
				"legroup",
				"object",
				"optfeature",
				"psionic",
				"race",
				"recipe",
				"reward",
				"sense",
				"skill",
				"spell",
				"status",
				"subclassFeature",
				"table",
				"trap",
				"variantrule",
				"vehicle",
				"vehupgrade"
			]
		},
		"tagNameStatsAbbreviation": {
			"type": "string",
			"enum": [
				"itemProperty"
			]
		},
		"propNameStats": {
			"type": "string",
			"enum": [
				"backgroundFluff",
				"classFluff",
				"crochetPatternFluff",
				"itemFluff",
				"monsterFluff",
				"raceFluff",
				"recipeFluff",
				"spellFluff"
			]
		},
		"abilityScoreAbbreviation": {
			"type": "string",
			"enum": [
				"str",
				"dex",
				"con",
				"int",
				"wis",
				"cha"
			]
		},
		"languageNameLower": {
			"oneOf": [
				{
					"type": "string",
					"enum": [
						"abyssal",
						"aquan",
						"auran",
						"celestial",
						"common",
						"common sign language",
						"deep speech",
						"draconic",
						"druidic",
						"dwarvish",
						"elvish",
						"giant",
						"gith",
						"gnomish",
						"goblin",
						"halfling",
						"ignan",
						"infernal",
						"orc",
						"other",
						"primordial",
						"sylvan",
						"terran",
						"thieves' cant",
						"undercommon"
					]
				}
			]
		},
		"languageProficiencies": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"any": {
						"type": "integer"
					},
					"anyStandard": {
						"type": "integer"
					},
					"anyExotic": {
						"type": "integer"
					},
					"anyRare": {
						"type": "integer"
					},
					"abyssal": {
						"const": true
					},
					"celestial": {
						"const": true
					},
					"common": {
						"const": true
					},
					"common sign language": {
						"const": true
					},
					"deep speech": {
						"const": true
					},
					"draconic": {
						"const": true
					},
					"infernal": {
						"const": true
					},
					"gith": {
						"const": true
					},
					"gnomish": {
						"const": true
					},
					"goblin": {
						"const": true
					},
					"halfling": {
						"const": true
					},
					"orc": {
						"const": true
					},
					"primordial": {
						"const": true
					},
					"aquan": {
						"const": true
					},
					"auran": {
						"const": true
					},
					"ignan": {
						"const": true
					},
					"terran": {
						"const": true
					},
					"sylvan": {
						"const": true
					},
					"undercommon": {
						"const": true
					},
					"dwarvish": {
						"const": true
					},
					"elvish": {
						"const": true
					},
					"giant": {
						"const": true
					},
					"other": {
						"const": true
					},
					"druidic": {
						"const": true
					},
					"thieves' cant": {
						"const": true
					},
					"choose": {
						"type": "object",
						"properties": {
							"from": {
								"type": "array",
								"items": {
									"$ref": "#/$defs/languageNameLower"
								},
								"uniqueItems": true,
								"minItems": 2
							},
							"count": {
								"type": "integer"
							}
						},
						"required": [
							"from"
						],
						"additionalProperties": false
					}
				},
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"toolNameLower": {
			"anyOf": [
				{
					"type": "string",
					"enum": [
						"artisan's tools",
						"alchemist's supplies",
						"brewer's supplies",
						"calligrapher's supplies",
						"carpenter's tools",
						"cartographer's tools",
						"cobbler's tools",
						"cook's utensils",
						"glassblower's tools",
						"jeweler's tools",
						"leatherworker's tools",
						"mason's tools",
						"painter's supplies",
						"potter's tools",
						"smith's tools",
						"tinker's tools",
						"weaver's tools",
						"woodcarver's tools",
						"disguise kit",
						"forgery kit",
						"gaming set",
						"dragonchess set",
						"dice set",
						"three-dragon ante set",
						"playing card set",
						"herbalism kit",
						"musical instrument",
						"bagpipes",
						"drum",
						"dulcimer",
						"flute",
						"horn",
						"lute",
						"lyre",
						"pan flute",
						"shawm",
						"viol",
						"navigator's tools",
						"thieves' tools",
						"poisoner's kit",
						"vehicles",
						"vehicles (air)",
						"vehicles (land)",
						"vehicles (water)",
						"vehicles (space)"
					]
				}
			]
		},
		"toolProficiencies": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"any": {
						"type": "integer"
					},
					"anyArtisansTool": {
						"type": "integer"
					},
					"artisan's tools": {
						"const": true
					},
					"alchemist's supplies": {
						"const": true
					},
					"brewer's supplies": {
						"const": true
					},
					"calligrapher's supplies": {
						"const": true
					},
					"carpenter's tools": {
						"const": true
					},
					"cartographer's tools": {
						"const": true
					},
					"cobbler's tools": {
						"const": true
					},
					"cook's utensils": {
						"const": true
					},
					"glassblower's tools": {
						"const": true
					},
					"jeweler's tools": {
						"const": true
					},
					"leatherworker's tools": {
						"const": true
					},
					"mason's tools": {
						"const": true
					},
					"painter's supplies": {
						"const": true
					},
					"potter's tools": {
						"const": true
					},
					"smith's tools": {
						"const": true
					},
					"tinker's tools": {
						"const": true
					},
					"weaver's tools": {
						"const": true
					},
					"woodcarver's tools": {
						"const": true
					},
					"disguise kit": {
						"const": true
					},
					"forgery kit": {
						"const": true
					},
					"anyGamingSet": {
						"type": "integer"
					},
					"gaming set": {
						"const": true
					},
					"dragonchess set": {
						"const": true
					},
					"dice set": {
						"const": true
					},
					"three-dragon ante set": {
						"const": true
					},
					"playing card set": {
						"const": true
					},
					"herbalism kit": {
						"const": true
					},
					"anyMusicalInstrument": {
						"type": "integer"
					},
					"musical instrument": {
						"const": true
					},
					"bagpipes": {
						"const": true
					},
					"drum": {
						"const": true
					},
					"dulcimer": {
						"const": true
					},
					"flute": {
						"const": true
					},
					"horn": {
						"const": true
					},
					"lute": {
						"const": true
					},
					"lyre": {
						"const": true
					},
					"pan flute": {
						"const": true
					},
					"shawm": {
						"const": true
					},
					"viol": {
						"const": true
					},
					"navigator's tools": {
						"const": true
					},
					"thieves' tools": {
						"const": true
					},
					"poisoner's kit": {
						"const": true
					},
					"vehicles": {
						"const": true
					},
					"vehicles (air)": {
						"const": true
					},
					"vehicles (land)": {
						"const": true
					},
					"vehicles (water)": {
						"const": true
					},
					"vehicles (space)": {
						"const": true
					},
					"choose": {
						"type": "object",
						"properties": {
							"from": {
								"type": "array",
								"items": {
									"anyOf": [
										{
											"$ref": "#/$defs/toolNameLower"
										},
										{
											"type": "string",
											"enum": [
												"anyArtisansTool",
												"anyMusicalInstrument"
											]
										}
									]
								},
								"uniqueItems": true,
								"minItems": 2
							},
							"count": {
								"type": "integer"
							}
						},
						"required": [
							"from"
						],
						"additionalProperties": false
					}
				},
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"skillNameLower": {
			"anyOf": [
				{
					"type": "string",
					"enum": [
						"athletics",
						"acrobatics",
						"sleight of hand",
						"stealth",
						"arcana",
						"history",
						"investigation",
						"nature",
						"religion",
						"animal handling",
						"insight",
						"medicine",
						"perception",
						"survival",
						"deception",
						"intimidation",
						"performance",
						"persuasion"
					]
				}
			]
		},
		"skillProficiencies": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"any": {
						"type": "integer"
					},
					"athletics": {
						"const": true
					},
					"acrobatics": {
						"const": true
					},
					"sleight of hand": {
						"const": true
					},
					"stealth": {
						"const": true
					},
					"arcana": {
						"const": true
					},
					"history": {
						"const": true
					},
					"investigation": {
						"const": true
					},
					"nature": {
						"const": true
					},
					"religion": {
						"const": true
					},
					"animal handling": {
						"const": true
					},
					"insight": {
						"const": true
					},
					"medicine": {
						"const": true
					},
					"perception": {
						"const": true
					},
					"survival": {
						"const": true
					},
					"deception": {
						"const": true
					},
					"intimidation": {
						"const": true
					},
					"performance": {
						"const": true
					},
					"persuasion": {
						"const": true
					},
					"choose": {
						"type": "object",
						"properties": {
							"from": {
								"type": "array",
								"items": {
									"$ref": "#/$defs/skillNameLower"
								},
								"uniqueItems": true,
								"minItems": 2
							},
							"count": {
								"type": "integer"
							}
						},
						"required": [
							"from"
						],
						"additionalProperties": false
					}
				},
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"skillToolLanguageProficiencies": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"anyLanguage": {
						"type": "integer"
					},
					"anyStandardLanguage": {
						"type": "integer"
					},
					"anyExoticLanguage": {
						"type": "integer"
					},
					"anyRareLanguage": {
						"type": "integer"
					},
					"abyssal": {
						"const": true
					},
					"celestial": {
						"const": true
					},
					"common": {
						"const": true
					},
					"common sign language": {
						"const": true
					},
					"deep speech": {
						"const": true
					},
					"draconic": {
						"const": true
					},
					"infernal": {
						"const": true
					},
					"gith": {
						"const": true
					},
					"gnomish": {
						"const": true
					},
					"goblin": {
						"const": true
					},
					"halfling": {
						"const": true
					},
					"orc": {
						"const": true
					},
					"primordial": {
						"const": true
					},
					"aquan": {
						"const": true
					},
					"auran": {
						"const": true
					},
					"ignan": {
						"const": true
					},
					"terran": {
						"const": true
					},
					"sylvan": {
						"const": true
					},
					"undercommon": {
						"const": true
					},
					"dwarvish": {
						"const": true
					},
					"elvish": {
						"const": true
					},
					"giant": {
						"const": true
					},
					"other": {
						"const": true
					},
					"druidic": {
						"const": true
					},
					"thieves' cant": {
						"const": true
					},
					"otherLanguage": {
						"const": true
					},
					"anyTool": {
						"type": "integer"
					},
					"anyArtisansTool": {
						"type": "integer"
					},
					"artisan's tools": {
						"const": true
					},
					"alchemist's supplies": {
						"const": true
					},
					"brewer's supplies": {
						"const": true
					},
					"calligrapher's supplies": {
						"const": true
					},
					"carpenter's tools": {
						"const": true
					},
					"cartographer's tools": {
						"const": true
					},
					"cobbler's tools": {
						"const": true
					},
					"cook's utensils": {
						"const": true
					},
					"glassblower's tools": {
						"const": true
					},
					"jeweler's tools": {
						"const": true
					},
					"leatherworker's tools": {
						"const": true
					},
					"mason's tools": {
						"const": true
					},
					"painter's supplies": {
						"const": true
					},
					"potter's tools": {
						"const": true
					},
					"smith's tools": {
						"const": true
					},
					"tinker's tools": {
						"const": true
					},
					"weaver's tools": {
						"const": true
					},
					"woodcarver's tools": {
						"const": true
					},
					"disguise kit": {
						"const": true
					},
					"forgery kit": {
						"const": true
					},
					"anyGamingSet": {
						"type": "integer"
					},
					"gaming set": {
						"const": true
					},
					"dragonchess set": {
						"const": true
					},
					"dice set": {
						"const": true
					},
					"three-dragon ante set": {
						"const": true
					},
					"playing card set": {
						"const": true
					},
					"herbalism kit": {
						"const": true
					},
					"anyMusicalInstrument": {
						"type": "integer"
					},
					"musical instrument": {
						"const": true
					},
					"bagpipes": {
						"const": true
					},
					"drum": {
						"const": true
					},
					"dulcimer": {
						"const": true
					},
					"flute": {
						"const": true
					},
					"horn": {
						"const": true
					},
					"lute": {
						"const": true
					},
					"lyre": {
						"const": true
					},
					"pan flute": {
						"const": true
					},
					"shawm": {
						"const": true
					},
					"viol": {
						"const": true
					},
					"navigator's tools": {
						"const": true
					},
					"thieves' tools": {
						"const": true
					},
					"poisoner's kit": {
						"const": true
					},
					"vehicles": {
						"const": true
					},
					"vehicles (air)": {
						"const": true
					},
					"vehicles (land)": {
						"const": true
					},
					"vehicles (water)": {
						"const": true
					},
					"vehicles (space)": {
						"const": true
					},
					"anySkill": {
						"type": "integer"
					},
					"athletics": {
						"const": true
					},
					"acrobatics": {
						"const": true
					},
					"sleight of hand": {
						"const": true
					},
					"stealth": {
						"const": true
					},
					"arcana": {
						"const": true
					},
					"history": {
						"const": true
					},
					"investigation": {
						"const": true
					},
					"nature": {
						"const": true
					},
					"religion": {
						"const": true
					},
					"animal handling": {
						"const": true
					},
					"insight": {
						"const": true
					},
					"medicine": {
						"const": true
					},
					"perception": {
						"const": true
					},
					"survival": {
						"const": true
					},
					"deception": {
						"const": true
					},
					"intimidation": {
						"const": true
					},
					"performance": {
						"const": true
					},
					"persuasion": {
						"const": true
					},
					"choose": {
						"type": "array",
						"items": {
							"oneOf": [
								{
									"type": "object",
									"properties": {
										"from": {
											"type": "array",
											"items": {
												"anyOf": [
													{
														"$ref": "#/$defs/languageNameLower"
													},
													{
														"$ref": "#/$defs/toolNameLower"
													},
													{
														"$ref": "#/$defs/skillNameLower"
													},
													{
														"type": "string",
														"enum": [
															"anySkill",
															"anyTool",
															"anyArtisansTool",
															"anyMusicalInstrument",
															"anyLanguage",
															"anyStandardLanguage",
															"anyExoticLanguage",
															"anyRareLanguage"
														]
													}
												]
											},
											"minItems": 2
										},
										"count": {
											"type": "integer"
										}
									},
									"required": [
										"from"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"fromFilter": {
											"type": "string"
										},
										"count": {
											"type": "integer"
										},
										"type": {
											"type": "string",
											"enum": [
												"weapon",
												"armor",
												"skill",
												"tool",
												"language",
												"savingThrow"
											]
										}
									},
									"required": [
										"fromFilter",
										"type"
									],
									"additionalProperties": false
								}
							]
						},
						"uniqueItems": true,
						"minItems": 1
					}
				},
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"weaponProficiencies": {
			"$ref": "#/$defs/_weaponProficiencies"
		},
		"_weaponProficiencies": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"simple": {
						"const": true
					},
					"martial": {
						"const": true
					},
					"firearms": {
						"const": true
					},
					"improvised": {
						"const": true
					},
					"choose": {
						"type": "object",
						"properties": {
							"fromFilter": {
								"description": "A filter string, e.g. \"type=martial weapon|miscellaneous=mundane\"",
								"type": "string",
								"markdownDescription": "A filter string, e.g. &quot;type=martial weapon|miscellaneous=mundane&quot;"
							},
							"count": {
								"type": "integer"
							}
						},
						"required": [
							"fromFilter"
						],
						"additionalProperties": false
					},
					"all": {
						"type": "object",
						"properties": {
							"fromFilter": {
								"description": "A filter string, e.g. \"type=martial weapon|miscellaneous=mundane\"",
								"type": "string",
								"markdownDescription": "A filter string, e.g. &quot;type=martial weapon|miscellaneous=mundane&quot;"
							}
						},
						"required": [
							"fromFilter"
						],
						"additionalProperties": false
					}
				},
				"patternProperties": {
					"^[^|]+\\|.+$": {
						"const": true
					}
				},
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"itemMasteries": {
			"description": "Use \"true\" to match \"weaponProficiencies\".",
			"anyOf": [
				{
					"$ref": "#/$defs/_weaponProficiencies"
				},
				{
					"const": true
				}
			],
			"markdownDescription": "Use &quot;true&quot; to match &quot;weaponProficiencies&quot;."
		},
		"itemMasteriesProgression": {
			"type": "object",
			"properties": {
				"*": {
					"type": "integer"
				}
			},
			"patternProperties": {
				"^\\d+$": {
					"type": "integer"
				}
			},
			"additionalProperties": false
		},
		"armorProficiencies": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"light": {
						"const": true
					},
					"medium": {
						"const": true
					},
					"heavy": {
						"const": true
					},
					"shield": {
						"const": true
					}
				},
				"patternProperties": {
					"^[^|]+\\|.+$": {
						"const": true
					}
				},
				"minProperties": 1,
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"savingThrowProficiencies": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"str": {
						"const": true
					},
					"dex": {
						"const": true
					},
					"con": {
						"const": true
					},
					"int": {
						"const": true
					},
					"wis": {
						"const": true
					},
					"cha": {
						"const": true
					},
					"choose": {
						"type": "object",
						"properties": {
							"from": {
								"type": "array",
								"items": {
									"enum": [
										"str",
										"dex",
										"con",
										"int",
										"wis",
										"cha"
									]
								},
								"uniqueItems": true,
								"minItems": 2
							},
							"count": {
								"type": "integer"
							}
						},
						"required": [
							"from"
						],
						"additionalProperties": false
					}
				},
				"minProperties": 1,
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"expertise": {
			"type": "array",
			"items": {
				"type": "object",
				"properties": {
					"anyProficientSkill": {
						"type": "number"
					},
					"athletics": {
						"const": true
					},
					"acrobatics": {
						"const": true
					},
					"sleight of hand": {
						"const": true
					},
					"stealth": {
						"const": true
					},
					"arcana": {
						"const": true
					},
					"history": {
						"const": true
					},
					"investigation": {
						"const": true
					},
					"nature": {
						"const": true
					},
					"religion": {
						"const": true
					},
					"animal handling": {
						"const": true
					},
					"insight": {
						"const": true
					},
					"medicine": {
						"const": true
					},
					"perception": {
						"const": true
					},
					"survival": {
						"const": true
					},
					"deception": {
						"const": true
					},
					"intimidation": {
						"const": true
					},
					"performance": {
						"const": true
					},
					"persuasion": {
						"const": true
					},
					"anyProficientTool": {
						"type": "number"
					},
					"artisan's tools": {
						"const": true
					},
					"alchemist's supplies": {
						"const": true
					},
					"brewer's supplies": {
						"const": true
					},
					"calligrapher's supplies": {
						"const": true
					},
					"carpenter's tools": {
						"const": true
					},
					"cartographer's tools": {
						"const": true
					},
					"cobbler's tools": {
						"const": true
					},
					"cook's utensils": {
						"const": true
					},
					"glassblower's tools": {
						"const": true
					},
					"jeweler's tools": {
						"const": true
					},
					"leatherworker's tools": {
						"const": true
					},
					"mason's tools": {
						"const": true
					},
					"painter's supplies": {
						"const": true
					},
					"potter's tools": {
						"const": true
					},
					"smith's tools": {
						"const": true
					},
					"tinker's tools": {
						"const": true
					},
					"weaver's tools": {
						"const": true
					},
					"woodcarver's tools": {
						"const": true
					},
					"disguise kit": {
						"const": true
					},
					"forgery kit": {
						"const": true
					},
					"gaming set": {
						"const": true
					},
					"dragonchess set": {
						"const": true
					},
					"dice set": {
						"const": true
					},
					"three-dragon ante set": {
						"const": true
					},
					"playing card set": {
						"const": true
					},
					"herbalism kit": {
						"const": true
					},
					"musical instrument": {
						"const": true
					},
					"bagpipes": {
						"const": true
					},
					"drum": {
						"const": true
					},
					"dulcimer": {
						"const": true
					},
					"flute": {
						"const": true
					},
					"horn": {
						"const": true
					},
					"lute": {
						"const": true
					},
					"lyre": {
						"const": true
					},
					"pan flute": {
						"const": true
					},
					"shawm": {
						"const": true
					},
					"viol": {
						"const": true
					},
					"navigator's tools": {
						"const": true
					},
					"thieves' tools": {
						"const": true
					},
					"vehicles": {
						"const": true
					},
					"vehicles (air)": {
						"const": true
					},
					"vehicles (land)": {
						"const": true
					},
					"vehicles (water)": {
						"const": true
					},
					"vehicles (space)": {
						"const": true
					},
					"poisoner's kit": {
						"const": true
					}
				},
				"additionalProperties": false
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"abilityScores": {
			"type": "array",
			"minItems": 1,
			"items": {
				"type": "object",
				"properties": {
					"str": {
						"type": "integer"
					},
					"dex": {
						"type": "integer"
					},
					"con": {
						"type": "integer"
					},
					"int": {
						"type": "integer"
					},
					"wis": {
						"type": "integer"
					},
					"cha": {
						"type": "integer"
					},
					"choose": {
						"oneOf": [
							{
								"type": "object",
								"properties": {
									"from": {
										"type": "array",
										"items": {
											"$ref": "#/$defs/abilityScoreAbbreviation"
										},
										"uniqueItems": true,
										"minItems": 1
									},
									"count": {
										"type": "integer"
									},
									"amount": {
										"type": "integer"
									},
									"entry": {
										"$ref": "entry.json"
									}
								},
								"required": [
									"from"
								],
								"additionalProperties": false
							},
							{
								"type": "object",
								"properties": {
									"weighted": {
										"type": "object",
										"properties": {
											"from": {
												"type": "array",
												"items": {
													"$ref": "#/$defs/abilityScoreAbbreviation"
												},
												"uniqueItems": true,
												"minItems": 1
											},
											"weights": {
												"type": "array",
												"items": {
													"type": "integer"
												},
												"minItems": 1
											}
										}
									},
									"entry": {
										"$ref": "entry.json"
									}
								},
								"required": [
									"weighted"
								],
								"additionalProperties": false
							}
						]
					},
					"hidden": {
						"type": "boolean"
					},
					"max": {
						"description": "The max ability score this ASI allows (otherwise assumed to be 20).",
						"type": "integer",
						"markdownDescription": "The max ability score this ASI allows (otherwise assumed to be 20)."
					}
				},
				"additionalProperties": false
			}
		},
		"additionalFeatsArray": {
			"type": "array",
			"items": {
				"anyOf": [
					{
						"type": "object",
						"properties": {
							"any": {
								"type": "integer"
							},
							"anyFromCategory": {
								"type": "object",
								"properties": {
									"category": {
										"type": "array",
										"items": {
											"$ref": "#/$defs/dataFeatCategory"
										},
										"uniqueItems": true,
										"minItems": 1
									},
									"count": {
										"type": "integer"
									}
								},
								"required": [
									"category"
								],
								"additionalProperties": false
							}
						},
						"patternProperties": {
							"^[^|]+\\|.+$": {
								"const": true
							}
						},
						"additionalProperties": false
					}
				]
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"proficiencyTag": {
			"type": "string",
			"enum": [
				"Skill Proficiency",
				"Armor Proficiency",
				"Weapon Proficiency",
				"Tool Proficiency",
				"Language Proficiency"
			]
		},
		"traitTagCharacter": {
			"oneOf": [
				{
					"$ref": "util.json#/$defs/proficiencyTag"
				},
				{
					"type": "string",
					"enum": [
						"Amphibious",
						"Improved Resting",
						"Magic Resistance",
						"Natural Armor",
						"Natural Weapon",
						"Powerful Build",
						"Skill Bonus Dice",
						"Sunlight Sensitivity",
						"Speed",
						"Tool Bonus Dice",
						"Damage Resistance",
						"Damage Immunity",
						"Condition Immunity"
					]
				}
			]
		},
		"_speedVal": {
			"oneOf": [
				{
					"type": "object",
					"properties": {
						"number": {
							"type": "integer"
						},
						"condition": {
							"type": "string"
						}
					},
					"required": [
						"number",
						"condition"
					],
					"additionalProperties": false
				},
				{
					"type": "integer"
				},
				{
					"const": true
				}
			]
		},
		"_speedMode": {
			"type": "string",
			"enum": [
				"walk",
				"burrow",
				"climb",
				"fly",
				"swim"
			]
		},
		"speed": {
			"oneOf": [
				{
					"type": "object",
					"properties": {
						"walk": {
							"$ref": "#/$defs/_speedVal"
						},
						"burrow": {
							"$ref": "#/$defs/_speedVal"
						},
						"climb": {
							"$ref": "#/$defs/_speedVal"
						},
						"fly": {
							"$ref": "#/$defs/_speedVal"
						},
						"canHover": {
							"const": true
						},
						"swim": {
							"$ref": "#/$defs/_speedVal"
						},
						"choose": {
							"type": "object",
							"properties": {
								"from": {
									"type": "array",
									"items": {
										"$ref": "#/$defs/_speedMode"
									},
									"uniqueItems": true,
									"minItems": 2
								},
								"amount": {
									"type": "integer"
								},
								"note": {
									"type": "string"
								}
							},
							"required": [
								"amount",
								"from"
							],
							"additionalProperties": false
						},
						"alternate": {
							"type": "object",
							"properties": {
								"walk": {
									"type": "array",
									"items": {
										"$ref": "#/$defs/_speedVal"
									},
									"uniqueItems": true
								},
								"burrow": {
									"type": "array",
									"items": {
										"$ref": "#/$defs/_speedVal"
									},
									"uniqueItems": true
								},
								"climb": {
									"type": "array",
									"items": {
										"$ref": "#/$defs/_speedVal"
									},
									"uniqueItems": true
								},
								"fly": {
									"type": "array",
									"items": {
										"$ref": "#/$defs/_speedVal"
									},
									"uniqueItems": true
								},
								"swim": {
									"type": "array",
									"items": {
										"$ref": "#/$defs/_speedVal"
									},
									"uniqueItems": true
								}
							}
						},
						"hidden": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/_speedMode"
							},
							"uniqueItems": true,
							"minItems": 1
						}
					},
					"additionalProperties": false
				},
				{
					"type": "integer"
				},
				{
					"const": "Varies"
				}
			]
		},
		"rarity": {
			"type": "string",
			"enum": [
				"rare",
				"uncommon",
				"very rare",
				"legendary",
				"artifact",
				"common"
			]
		},
		"prerequisite": {
			"type": "array",
			"minItems": 1,
			"items": {
				"type": "object",
				"properties": {
					"level": {
						"oneOf": [
							{
								"type": "object",
								"properties": {
									"level": {
										"type": "integer"
									},
									"class": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"source": {
												"$ref": "util.json#/$defs/source"
											},
											"visible": {
												"description": "Governs whether or not the class name is visible in the list display/prerequisite line. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations. This functions as a combination of \"visibleStats\" and \"visibleList\".",
												"const": true,
												"markdownDescription": "Governs whether or not the class name is visible in the list display/prerequisite line. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations. This functions as a combination of &quot;visibleStats&quot; and &quot;visibleList&quot;."
											},
											"visibleStats": {
												"description": "Governs whether or not the class name is visible in the prerequisite line.",
												"const": true,
												"markdownDescription": "Governs whether or not the class name is visible in the prerequisite line."
											},
											"visibleList": {
												"description": "Governs whether or not the class name is visible in the list display. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations.",
												"const": true,
												"markdownDescription": "Governs whether or not the class name is visible in the list display. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations."
											}
										},
										"required": [
											"name"
										],
										"additionalProperties": false
									},
									"subclass": {
										"type": "object",
										"properties": {
											"name": {
												"type": "string"
											},
											"source": {
												"$ref": "util.json#/$defs/source"
											},
											"visible": {
												"description": "Governs whether or not the class name is visible in the list display/prerequisite line. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations. This functions as a combination of \"visibleStats\" and \"visibleList\".",
												"const": true,
												"markdownDescription": "Governs whether or not the class name is visible in the list display/prerequisite line. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations. This functions as a combination of &quot;visibleStats&quot; and &quot;visibleList&quot;."
											},
											"visibleStats": {
												"description": "Governs whether or not the class name is visible in the prerequisite line.",
												"const": true,
												"markdownDescription": "Governs whether or not the class name is visible in the prerequisite line."
											},
											"visibleList": {
												"description": "Governs whether or not the class name is visible in the list display. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations.",
												"const": true,
												"markdownDescription": "Governs whether or not the class name is visible in the list display. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations."
											}
										},
										"required": [
											"name"
										],
										"additionalProperties": false
									}
								},
								"required": [
									"level"
								],
								"additionalProperties": false
							},
							{
								"type": "integer",
								"minimum": 1
							}
						]
					},
					"pact": {
						"type": "string",
						"enum": [
							"Chain",
							"Tome",
							"Blade",
							"Talisman"
						]
					},
					"patron": {
						"type": "string",
						"enum": [
							"The Archfey",
							"The Fiend",
							"The Great Old One",
							"The Hexblade",
							"The Raven Queen",
							"The Seeker"
						]
					},
					"spell": {
						"type": "array",
						"items": {
							"oneOf": [
								{
									"type": "string"
								},
								{
									"type": "object",
									"properties": {
										"choose": {
											"type": "string",
											"description": "A range prerequisite spells, formatted similarly to the options in a {@filter ...} tag.\n\nFor example: \"level=0|class=Wizard\"",
											"markdownDescription": "A range prerequisite spells, formatted similarly to the options in a {@filter ...} tag.\n\nFor example: &quot;level=0|class=Wizard&quot;"
										},
										"entry": {
											"type": "string"
										},
										"entrySummary": {
											"description": "Used in short/list displays",
											"type": "string",
											"markdownDescription": "Used in short/list displays"
										}
									},
									"required": [
										"choose",
										"entry"
									],
									"additionalProperties": false
								}
							]
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"feat": {
						"type": "array",
						"items": {
							"type": "string"
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"featCategory": {
						"type": "array",
						"items": {
							"oneOf": [
								{
									"$ref": "#/$defs/dataFeatCategory"
								},
								{
									"type": "object",
									"properties": {
										"category": {
											"$ref": "#/$defs/dataFeatCategory"
										},
										"count": {
											"type": "integer",
											"minimum": 2
										}
									},
									"required": [
										"category",
										"count"
									],
									"additionalProperties": false
								}
							]
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"exclusiveFeatCategory": {
						"type": "array",
						"items": {
							"$ref": "#/$defs/dataFeatCategory"
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"optionalfeature": {
						"type": "array",
						"items": {
							"type": "string"
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"feature": {
						"type": "array",
						"items": {
							"type": "string"
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"item": {
						"type": "array",
						"items": {
							"type": "string"
						}
					},
					"itemType": {
						"type": "array",
						"items": {
							"$ref": "items-shared.json#/$defs/itemType"
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"itemProperty": {
						"oneOf": [
							{
								"$ref": "items-shared.json#/$defs/itemPropertyArray"
							},
							{
								"type": "null"
							}
						]
					},
					"other": {
						"description": "A free text prerequisite",
						"type": "string",
						"markdownDescription": "A free text prerequisite"
					},
					"otherSummary": {
						"description": "A free text prerequisite, with a shortened form for list display.",
						"type": "object",
						"properties": {
							"entry": {
								"type": "string"
							},
							"entrySummary": {
								"description": "Used in short/list displays",
								"type": "string",
								"markdownDescription": "Used in short/list displays"
							}
						},
						"required": [
							"entry",
							"entrySummary"
						],
						"markdownDescription": "A free text prerequisite, with a shortened form for list display."
					},
					"race": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"displayEntry": {
									"description": "Optional long-form name to be used in the rendered entity.",
									"type": "string",
									"markdownDescription": "Optional long-form name to be used in the rendered entity."
								},
								"subrace": {
									"type": "string"
								}
							},
							"required": [
								"name"
							],
							"additionalProperties": false
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"background": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"name": {
									"type": "string"
								},
								"displayEntry": {
									"description": "Optional long-form name to be used in the rendered entity.",
									"type": "string",
									"markdownDescription": "Optional long-form name to be used in the rendered entity."
								}
							},
							"required": [
								"name"
							],
							"additionalProperties": false
						}
					},
					"ability": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"str": {
									"type": "integer"
								},
								"dex": {
									"type": "integer"
								},
								"con": {
									"type": "integer"
								},
								"int": {
									"type": "integer"
								},
								"wis": {
									"type": "integer"
								},
								"cha": {
									"type": "integer"
								}
							},
							"additionalProperties": false
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"spellcasting": {
						"const": true
					},
					"spellcasting2020": {
						"description": "Renders with the updated text found in UA2020: Feats",
						"const": true,
						"markdownDescription": "Renders with the updated text found in UA2020: Feats"
					},
					"spellcastingFeature": {
						"description": "A more restrictive spellcasting variant; specifically \"Spellcasting Feature\"",
						"const": true,
						"markdownDescription": "A more restrictive spellcasting variant; specifically &quot;Spellcasting Feature&quot;"
					},
					"spellcastingPrepared": {
						"description": "A more restrictive spellcasting variant; specifically \"Spellcasting feature from a class that prepares spells\"",
						"const": true,
						"markdownDescription": "A more restrictive spellcasting variant; specifically &quot;Spellcasting feature from a class that prepares spells&quot;"
					},
					"psionics": {
						"const": true
					},
					"spellcastingFocus": {
						"oneOf": [
							{
								"const": true
							},
							{
								"type": "array",
								"items": {
									"type": "string",
									"enum": [
										"arcane",
										"druid",
										"holy",
										"tool",
										"artisansTool"
									]
								},
								"minItems": 1,
								"uniqueItems": true
							}
						]
					},
					"proficiency": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"armor": {
									"type": "string",
									"enum": [
										"light",
										"medium",
										"heavy",
										"shield"
									]
								},
								"weapon": {
									"description": "Any <simple|martial> weapon.",
									"type": "string",
									"enum": [
										"simple",
										"martial"
									],
									"markdownDescription": "Any &lt;simple|martial&gt; weapon."
								},
								"weaponGroup": {
									"description": "All <simple|martial> weapons.",
									"type": "string",
									"enum": [
										"simple",
										"martial"
									],
									"markdownDescription": "All &lt;simple|martial&gt; weapons."
								},
								"skill": {
									"oneOf": [
										{
											"const": true
										},
										{
											"type": "array",
											"items": {
												"$ref": "#/$defs/skillNameLower"
											},
											"minItems": 1,
											"uniqueItems": true
										}
									]
								},
								"tool": {
									"oneOf": [
										{
											"const": true
										},
										{
											"type": "array",
											"items": {
												"$ref": "#/$defs/toolNameLower"
											},
											"minItems": 1,
											"uniqueItems": true
										}
									]
								}
							},
							"additionalProperties": false
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"expertise": {
						"type": "array",
						"items": {
							"type": "object",
							"properties": {
								"skill": {
									"oneOf": [
										{
											"const": true
										}
									]
								}
							},
							"additionalProperties": false
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"alignment": {
						"type": "array",
						"items": {
							"$ref": "util.json#/$defs/alignment"
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"campaign": {
						"type": "array",
						"items": {
							"type": "string",
							"enum": [
								"Dragonlance",
								"Planescape",
								"Eberron",
								"Ravenloft",
								"World of Warcraft"
							]
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"culture": {
						"type": "array",
						"items": {
							"type": "string",
							"examples": [
								"Elven"
							]
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"membership": {
						"type": "array",
						"items": {
							"type": "string",
							"enum": [
								"Bejeweled Conclave",
								"Bringers of Cosmic Dawn",
								"Covenant of the Grave",
								"Crucible Keepers",
								"Cult of the Dragon",
								"Emerald Enclave",
								"Harpers",
								"Horizon Weavers",
								"Lords' Alliance",
								"Ninth Quill",
								"Order of the Gauntlet",
								"Phantasmic Circus",
								"Purple Dragon Knights",
								"Red Wizards",
								"Seers of Sea and Sky",
								"Sheltering Hands",
								"Zhentarim"
							]
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"group": {
						"type": "array",
						"items": {
							"type": "string",
							"enum": [
								"expert",
								"mage",
								"priest",
								"warrior"
							]
						},
						"uniqueItems": true,
						"minItems": 1
					},
					"note": {
						"description": "An additional note that accompanies the proficiencies, but is not part of them.",
						"type": "string",
						"markdownDescription": "An additional note that accompanies the proficiencies, but is not part of them."
					}
				},
				"additionalProperties": false
			}
		},
		"creatureType": {
			"type": "string",
			"$comment": "\"vehicle\" added via _Explorer's Guide to Wildemount_, p325",
			"examples": [
				"aberration",
				"beast",
				"celestial",
				"construct",
				"dragon",
				"elemental",
				"fey",
				"fiend",
				"giant",
				"humanoid",
				"monstrosity",
				"ooze",
				"plant",
				"undead",
				"vehicle",
				"special"
			]
		},
		"alignment": {
			"type": "string",
			"description": "- L: Lawful\n- N: Neutral\n- NX: Neutral (law/chaos axis)\n- NY: Neutral (good/evil axis)\n- C: Chaotic\n- G: Good\n- E: Evil\n- U: Unaligned\n- A: Any",
			"enum": [
				"L",
				"N",
				"NX",
				"NY",
				"C",
				"G",
				"E",
				"U",
				"A"
			],
			"markdownDescription": "- L: Lawful\n- N: Neutral\n- NX: Neutral (law/chaos axis)\n- NY: Neutral (good/evil axis)\n- C: Chaotic\n- G: Good\n- E: Evil\n- U: Unaligned\n- A: Any"
		},
		"size": {
			"type": "string",
			"description": "- F: Fine\n- D: Diminutive\n- T: Tiny\n- S: Small\n- M: Medium\n- L: Large\n- H: Huge\n- G: Gargantuan\n- C: Colossal\n- V: Varies.",
			"markdownDescription": "- F: Fine\n- D: Diminutive\n- T: Tiny\n- S: Small\n- M: Medium\n- L: Large\n- H: Huge\n- G: Gargantuan\n- C: Colossal\n- V: Varies.",
			"enum": [
				"T",
				"S",
				"M",
				"L",
				"H",
				"G",
				"V"
			]
		},
		"dataCondition": {
			"type": "string",
			"enum": [
				"blinded",
				"charmed",
				"deafened",
				"exhaustion",
				"frightened",
				"grappled",
				"incapacitated",
				"invisible",
				"paralyzed",
				"petrified",
				"poisoned",
				"prone",
				"restrained",
				"stunned",
				"unconscious",
				"disease"
			]
		},
		"dataDamageType": {
			"type": "string",
			"enum": [
				"acid",
				"bludgeoning",
				"cold",
				"fire",
				"force",
				"lightning",
				"necrotic",
				"piercing",
				"poison",
				"psychic",
				"radiant",
				"slashing",
				"thunder"
			]
		},
		"dataOptionalfeatureType": {
			"type": "string",
			"description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
			"markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler&apos;s Trick",
			"examples": [
				"ED",
				"EI",
				"MM",
				"MV",
				"MV:B",
				"OTH",
				"FS:F",
				"FS:B",
				"FS:R",
				"FS:P",
				"MV:C2-UA",
				"AS:V1-UA",
				"AS:V2-UA",
				"AS",
				"PB",
				"AI",
				"OR",
				"RN",
				"AF",
				"TT",
				"RP"
			]
		},
		"dataVehicleUpgradeType": {
			"type": "string",
			"description": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
			"markdownDescription": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
			"examples": [
				"SHP:H",
				"SHP:M",
				"SHP:W",
				"SHP:F",
				"SHP:O",
				"IWM:W",
				"IWM:A",
				"IWM:G"
			]
		},
		"dataFeatCategory": {
			"type": "string",
			"description": "- D: Dragonmark\n- DG: Dark Gift\n- G: General\n- O: Origin\n- FS: Fighting Style\n- FS:P: Fighting Style (Paladin)\n- FS:R: Fighting Style (Ranger)\n- EB: Epic Boon",
			"markdownDescription": "- D: Dragonmark\n- DG: Dark Gift\n- G: General\n- O: Origin\n- FS: Fighting Style\n- FS:P: Fighting Style (Paladin)\n- FS:R: Fighting Style (Ranger)\n- EB: Epic Boon",
			"examples": [
				"D",
				"DG",
				"G",
				"O",
				"FS",
				"FS:P",
				"FS:R",
				"EB"
			]
		},
		"damageImmunityArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {
						"oneOf": [
							{
								"$ref": "#/$defs/dataDamageType"
							},
							{
								"type": "object",
								"properties": {
									"special": {
										"type": "string"
									}
								},
								"additionalProperties": false,
								"required": [
									"special"
								]
							},
							{
								"type": "object",
								"properties": {
									"preNote": {
										"type": "string"
									},
									"immune": {
										"$ref": "#/$defs/damageImmunityArray"
									},
									"note": {
										"type": "string"
									},
									"cond": {
										"const": true
									}
								},
								"additionalProperties": false,
								"required": [
									"immune"
								]
							}
						]
					},
					"uniqueItems": true,
					"minItems": 1
				},
				{
					"type": "null"
				}
			]
		},
		"damageImmunityArrayPlayer": {
			"type": "array",
			"items": {
				"oneOf": [
					{
						"$ref": "#/$defs/dataDamageType"
					},
					{
						"type": "object",
						"properties": {
							"choose": {
								"type": "object",
								"properties": {
									"from": {
										"$ref": "#/$defs/damageImmunityArrayPlayer"
									},
									"count": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"required": [
									"from"
								]
							}
						},
						"additionalProperties": false
					}
				]
			},
			"uniqueItems": true
		},
		"damageResistArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {
						"oneOf": [
							{
								"$ref": "#/$defs/dataDamageType"
							},
							{
								"type": "object",
								"properties": {
									"special": {
										"type": "string"
									}
								},
								"additionalProperties": false,
								"required": [
									"special"
								]
							},
							{
								"type": "object",
								"properties": {
									"preNote": {
										"type": "string"
									},
									"resist": {
										"$ref": "#/$defs/damageResistArray"
									},
									"note": {
										"type": "string"
									},
									"cond": {
										"const": true
									}
								},
								"additionalProperties": false,
								"required": [
									"resist"
								]
							}
						]
					},
					"uniqueItems": true,
					"minItems": 1
				},
				{
					"type": "null"
				}
			]
		},
		"damageResistArrayPlayer": {
			"type": "array",
			"items": {
				"oneOf": [
					{
						"$ref": "#/$defs/dataDamageType"
					},
					{
						"type": "object",
						"properties": {
							"choose": {
								"type": "object",
								"properties": {
									"from": {
										"$ref": "#/$defs/damageResistArrayPlayer"
									},
									"count": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"required": [
									"from"
								]
							}
						},
						"additionalProperties": false
					}
				]
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"damageVulnerabilityArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {
						"oneOf": [
							{
								"$ref": "#/$defs/dataDamageType"
							},
							{
								"type": "object",
								"properties": {
									"special": {
										"type": "string"
									}
								},
								"additionalProperties": false,
								"required": [
									"special"
								]
							},
							{
								"type": "object",
								"properties": {
									"preNote": {
										"type": "string"
									},
									"vulnerable": {
										"$ref": "#/$defs/damageVulnerabilityArray"
									},
									"note": {
										"type": "string"
									},
									"cond": {
										"const": true
									}
								},
								"additionalProperties": false,
								"required": [
									"vulnerable"
								]
							}
						]
					},
					"uniqueItems": true
				},
				{
					"type": "null"
				}
			]
		},
		"damageVulnerabilityArrayPlayer": {
			"type": "array",
			"items": {
				"oneOf": [
					{
						"$ref": "#/$defs/dataDamageType"
					},
					{
						"type": "object",
						"properties": {
							"choose": {
								"type": "object",
								"properties": {
									"from": {
										"$ref": "#/$defs/damageVulnerabilityArrayPlayer"
									},
									"count": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"required": [
									"from"
								]
							}
						},
						"additionalProperties": false
					}
				]
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"conditionImmunityArray": {
			"oneOf": [
				{
					"type": "array",
					"items": {
						"oneOf": [
							{
								"$ref": "#/$defs/dataCondition"
							},
							{
								"type": "object",
								"properties": {
									"special": {
										"type": "string"
									}
								},
								"additionalProperties": false,
								"required": [
									"special"
								]
							},
							{
								"type": "object",
								"properties": {
									"preNote": {
										"type": "string"
									},
									"conditionImmune": {
										"$ref": "#/$defs/conditionImmunityArray"
									},
									"note": {
										"type": "string"
									},
									"cond": {
										"const": true
									}
								},
								"additionalProperties": false,
								"required": [
									"conditionImmune"
								]
							}
						]
					},
					"uniqueItems": true,
					"minItems": 1
				},
				{
					"type": "null"
				}
			]
		},
		"conditionImmunityArrayPlayer": {
			"type": "array",
			"items": {
				"oneOf": [
					{
						"$ref": "#/$defs/dataCondition"
					},
					{
						"type": "object",
						"properties": {
							"choose": {
								"type": "object",
								"properties": {
									"from": {
										"$ref": "#/$defs/conditionImmunityArrayPlayer"
									},
									"count": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"required": [
									"from"
								]
							}
						},
						"additionalProperties": false
					}
				]
			},
			"uniqueItems": true,
			"minItems": 1
		},
		"_resourcesItemBase": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string"
				},
				"recharge": {
					"type": "string",
					"enum": [
						"restShort",
						"restLong",
						"dawn",
						"dusk",
						"midnight"
					]
				}
			},
			"required": [
				"name"
			],
			"additionalProperties": false
		},
		"resourcesArray": {
			"type": "array",
			"items": {
				"anyOf": [
					{
						"type": "object",
						"properties": {
							"name": {
								"type": "string"
							},
							"recharge": {
								"type": "string",
								"enum": [
									"restShort",
									"restLong",
									"dawn",
									"dusk",
									"midnight"
								]
							},
							"type": {
								"const": "dicePool"
							},
							"count": {
								"type": [
									"integer",
									"string"
								]
							},
							"number": {
								"type": [
									"integer",
									"string"
								]
							},
							"faces": {
								"type": [
									"integer",
									"string"
								]
							}
						},
						"required": [
							"name",
							"type",
							"count",
							"number",
							"faces"
						],
						"additionalProperties": false
					},
					{
						"type": "object",
						"properties": {
							"name": {
								"type": "string"
							},
							"recharge": {
								"type": "string",
								"enum": [
									"restShort",
									"restLong",
									"dawn",
									"dusk",
									"midnight"
								]
							},
							"type": {
								"const": "pointPool"
							},
							"count": {
								"type": [
									"integer",
									"string"
								]
							}
						},
						"required": [
							"name",
							"type",
							"count"
						],
						"additionalProperties": false
					}
				]
			},
			"uniqueItems": true
		},
		"sensesArray": {
			"type": "array",
			"items": {
				"type": "object",
				"propertyNames": {
					"enum": [
						"blindsight",
						"darkvision",
						"tremorsense",
						"truesight"
					]
				},
				"additionalProperties": {
					"type": "integer"
				},
				"minProperties": 1
			},
			"uniqueItems": true
		},
		"consumesName": {
			"type": "string",
			"enum": [
				"Bardic Inspiration",
				"Superiority Die",
				"Ki",
				"Channel Divinity",
				"Psionic Energy Die",
				"Wild Shape",
				"Sorcery Point",
				"Arcane Shot",
				"Focus Point",
				"Rage",
				"Soul Fragment"
			]
		},
		"_consumesObjectBase": {
			"type": "object",
			"properties": {
				"name": {
					"$ref": "#/$defs/consumesName"
				}
			},
			"additionalProperties": false
		},
		"consumesObject": {
			"oneOf": [
				{
					"type": "object",
					"properties": {
						"name": {
							"$ref": "#/$defs/consumesName"
						},
						"amount": {
							"type": "integer"
						}
					},
					"additionalProperties": false,
					"required": [
						"name"
					]
				},
				{
					"type": "object",
					"properties": {
						"name": {
							"$ref": "#/$defs/consumesName"
						},
						"amountMin": {
							"type": "integer"
						},
						"amountMax": {
							"type": "integer"
						}
					},
					"additionalProperties": false,
					"required": [
						"name",
						"amountMin",
						"amountMax"
					]
				}
			]
		},
		"dataDamageTags": {
			"type": "string",
			"description": "- A: Acid\n- B: Bludgeoning\n- C: Cold\n- F: Fire\n- O: Force\n- L: Lightning\n- N: Necrotic\n- P: Piercing\n- I: Poison\n- Y: Psychic\n- R: Radiant\n- S: Slashing\n- T: Thunder",
			"enum": [
				"A",
				"B",
				"C",
				"F",
				"O",
				"L",
				"N",
				"P",
				"I",
				"Y",
				"R",
				"S",
				"T"
			],
			"markdownDescription": "- A: Acid\n- B: Bludgeoning\n- C: Cold\n- F: Fire\n- O: Force\n- L: Lightning\n- N: Necrotic\n- P: Piercing\n- I: Poison\n- Y: Psychic\n- R: Radiant\n- S: Slashing\n- T: Thunder"
		},
		"spellSchool": {
			"type": "string",
			"description": "- A: Abjuration\n- C: Conjuration\n- D: Divination\n- E: Enchantment\n- V: Evocation\n- I: Illusion\n- N: Necromancy\n- T: Transmutation\n- P: Psychic",
			"not": {
				"enum": [
					"Abjuration",
					"Conjuration",
					"Divination",
					"Enchantment",
					"Evocation",
					"Illusion",
					"Necromancy",
					"Transmutation",
					"Psychic"
				]
			},
			"markdownDescription": "- A: Abjuration\n- C: Conjuration\n- D: Divination\n- E: Enchantment\n- V: Evocation\n- I: Illusion\n- N: Necromancy\n- T: Transmutation\n- P: Psychic",
			"enum": [
				"A",
				"C",
				"D",
				"E",
				"V",
				"I",
				"N",
				"T",
				"P"
			]
		},
		"genericFluffArrayItemData": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string"
				},
				"preserveName": {
					"const": true
				},
				"source": {
					"$ref": "util.json#/$defs/source"
				},
				"images": {
					"oneOf": [
						{
							"type": "array",
							"items": {
								"$ref": "entry.json#/$defs/entryImage"
							},
							"minItems": 1,
							"uniqueItems": true
						},
						{
							"type": "null"
						}
					]
				},
				"entries": {
					"type": "array",
					"items": {
						"$ref": "entry.json"
					}
				}
			},
			"additionalProperties": false
		},
		"genericFluffArray": {
			"type": "array",
			"minItems": 1,
			"uniqueItems": true,
			"items": {
				"anyOf": [
					{
						"type": "object",
						"properties": {
							"name": {
								"type": "string"
							},
							"preserveName": {
								"const": true
							},
							"source": {
								"$ref": "util.json#/$defs/source"
							},
							"images": {
								"oneOf": [
									{
										"type": "array",
										"items": {
											"$ref": "entry.json#/$defs/entryImage"
										},
										"minItems": 1,
										"uniqueItems": true
									},
									{
										"type": "null"
									}
								]
							},
							"entries": {
								"type": "array",
								"items": {
									"$ref": "entry.json"
								}
							}
						},
						"additionalProperties": false,
						"required": [
							"name",
							"source"
						]
					},
					{
						"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"
							},
							"preserveName": {
								"const": true
							},
							"source": {
								"$ref": "util.json#/$defs/source"
							},
							"images": {
								"oneOf": [
									{
										"type": "array",
										"items": {
											"$ref": "entry.json#/$defs/entryImage"
										},
										"minItems": 1,
										"uniqueItems": true
									},
									{
										"type": "null"
									}
								]
							},
							"entries": {
								"type": "array",
								"items": {
									"$ref": "entry.json"
								}
							},
							"_copy": {
								"$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
							}
						},
						"additionalProperties": false,
						"required": [
							"_copy"
						]
					}
				]
			}
		},
		"tagsConditions": {
			"type": "array",
			"uniqueItems": true,
			"items": {
				"type": "string",
				"enum": [
					"blinded",
					"charmed",
					"deafened",
					"exhaustion",
					"frightened",
					"grappled",
					"incapacitated",
					"invisible",
					"paralyzed",
					"petrified",
					"poisoned",
					"prone",
					"restrained",
					"stunned",
					"unconscious"
				]
			}
		},
		"tagsSavingThrow": {
			"type": "array",
			"minItems": 1,
			"uniqueItems": true,
			"items": {
				"type": "string",
				"enum": [
					"strength",
					"constitution",
					"dexterity",
					"intelligence",
					"wisdom",
					"charisma"
				]
			}
		},
		"srd": {
			"type": [
				"boolean",
				"string"
			]
		},
		"basicRules": {
			"const": true
		},
		"legacy": {
			"const": true
		},
		"fluffObject": {
			"type": "object",
			"properties": {
				"entries": {
					"type": "array",
					"items": {
						"$ref": "entry.json"
					}
				},
				"images": {
					"type": "array",
					"items": {
						"$ref": "entry.json#/$defs/entryImage"
					}
				}
			}
		},
		"_startingEquipment_equipmentType": {
			"type": "string",
			"enum": [
				"weapon",
				"weaponSimple",
				"weaponSimpleMelee",
				"weaponSimpleRanged",
				"weaponMartial",
				"weaponMartialMelee",
				"weaponMartialRanged",
				"instrumentMusical",
				"armorLight",
				"armorMedium",
				"armorHeavy",
				"weaponMelee",
				"weaponRanged",
				"focusSpellcastingArcane",
				"focusSpellcastingDruidic",
				"focusSpellcastingHoly",
				"setGaming",
				"toolArtisan"
			]
		},
		"startingEquipment": {
			"description": "Optional well-structured data version of the \"default\" property, for use in applications that require it.",
			"type": "array",
			"items": {
				"type": "object",
				"patternProperties": {
					".*": {
						"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": {
											"description": "The display name this item should be given",
											"type": "string",
											"markdownDescription": "The display name this item should be given"
										},
										"containsValue": {
											"description": "The value (in copper pieces) that this piece of equipment contains in coins.",
											"type": "integer",
											"markdownDescription": "The value (in copper pieces) that this piece of equipment contains in coins."
										}
									},
									"required": [
										"item"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"equipmentType": {
											"$ref": "#/$defs/_startingEquipment_equipmentType"
										},
										"quantity": {
											"type": "integer"
										},
										"displayName": {
											"type": "string"
										}
									},
									"required": [
										"equipmentType"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"equipmentTypes": {
											"type": "array",
											"items": {
												"$ref": "#/$defs/_startingEquipment_equipmentType"
											}
										},
										"quantity": {
											"type": "integer"
										},
										"displayName": {
											"type": "string"
										}
									},
									"required": [
										"equipmentTypes"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"value": {
											"description": "A value in copper pieces",
											"type": "integer",
											"markdownDescription": "A value in copper pieces"
										}
									},
									"required": [
										"value"
									],
									"additionalProperties": false
								},
								{
									"type": "object",
									"properties": {
										"special": {
											"description": "The name of a non-statted item, such as \"wooden stake\"",
											"type": "string",
											"markdownDescription": "The name of a non-statted item, such as &quot;wooden stake&quot;"
										},
										"quantity": {
											"type": "integer"
										},
										"worthValue": {
											"description": "The worth (in copper pieces) of this piece of equipment.",
											"type": "integer",
											"markdownDescription": "The worth (in copper pieces) of this piece of equipment."
										},
										"containsValue": {
											"description": "The value (in copper pieces) that this piece of equipment contains in coins.",
											"type": "integer",
											"markdownDescription": "The value (in copper pieces) that this piece of equipment contains in coins."
										}
									},
									"required": [
										"special"
									],
									"additionalProperties": false
								}
							]
						}
					}
				}
			},
			"markdownDescription": "Optional well-structured data version of the &quot;default&quot; property, for use in applications that require it."
		},
		"reqAttuneTags": {
			"type": "array",
			"minItems": 1,
			"items": {
				"type": "object",
				"properties": {
					"background": {
						"type": "string"
					},
					"race": {
						"type": "string"
					},
					"creatureType": {
						"$ref": "#/$defs/creatureType"
					},
					"size": {
						"$ref": "#/$defs/size"
					},
					"class": {
						"type": "string"
					},
					"languageProficiency": {
						"$ref": "#/$defs/languageNameLower"
					},
					"skillProficiency": {
						"$ref": "#/$defs/skillNameLower"
					},
					"alignment": {
						"type": "array",
						"items": {
							"$ref": "#/$defs/alignment"
						}
					},
					"str": {
						"type": "integer"
					},
					"dex": {
						"type": "integer"
					},
					"con": {
						"type": "integer"
					},
					"int": {
						"type": "integer"
					},
					"wis": {
						"type": "integer"
					},
					"cha": {
						"type": "integer"
					},
					"spellcasting": {
						"const": true
					},
					"psionics": {
						"const": true
					}
				}
			},
			"uniqueItems": true
		},
		"adventureBookData": {
			"type": "array",
			"items": {
				"$ref": "entry.json"
			},
			"minItems": 1
		},
		"optionalfeatureProgression": {
			"type": "array",
			"minItems": 1,
			"items": {
				"type": "object",
				"properties": {
					"name": {
						"type": "string"
					},
					"featureType": {
						"type": "array",
						"items": {
							"$ref": "#/$defs/dataOptionalfeatureType"
						},
						"uniqueItems": true
					},
					"progression": {
						"oneOf": [
							{
								"type": "array",
								"description": "Features gained when the total count of features increases according to level.",
								"items": {
									"type": "integer"
								},
								"minItems": 20,
								"maxItems": 20,
								"markdownDescription": "Features gained when the total count of features increases according to level."
							},
							{
								"type": "object",
								"description": "Features gained at the exact levels specified.",
								"patternProperties": {
									"^\\d+$": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"markdownDescription": "Features gained at the exact levels specified."
							},
							{
								"type": "object",
								"description": "Features gained at the level this feature is gained.",
								"properties": {
									"*": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"markdownDescription": "Features gained at the level this feature is gained."
							}
						]
					},
					"required": {
						"oneOf": [
							{
								"type": "array",
								"items": {
									"type": "array",
									"items": {
										"type": "string"
									}
								},
								"minItems": 20,
								"maxItems": 20
							},
							{
								"type": "object",
								"patternProperties": {
									"^\\d+$": {
										"type": "array",
										"items": {
											"type": "string"
										}
									}
								},
								"additionalProperties": false
							}
						]
					}
				},
				"required": [
					"name",
					"featureType",
					"progression"
				]
			}
		},
		"featProgression": {
			"type": "array",
			"minItems": 1,
			"items": {
				"type": "object",
				"properties": {
					"name": {
						"type": "string"
					},
					"category": {
						"type": "array",
						"items": {
							"$ref": "#/$defs/dataFeatCategory"
						},
						"uniqueItems": true
					},
					"progression": {
						"oneOf": [
							{
								"type": "array",
								"description": "Feats gained when the total count of feats increases according to level.",
								"items": {
									"type": "integer"
								},
								"minItems": 20,
								"maxItems": 20,
								"markdownDescription": "Feats gained when the total count of feats increases according to level."
							},
							{
								"type": "object",
								"description": "Feats gained at the exact levels specified.",
								"patternProperties": {
									"^\\d+$": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"markdownDescription": "Feats gained at the exact levels specified."
							},
							{
								"type": "object",
								"description": "Feats gained at the level this feat is gained.",
								"properties": {
									"*": {
										"type": "integer"
									}
								},
								"additionalProperties": false,
								"markdownDescription": "Feats gained at the level this feat is gained."
							}
						]
					},
					"required": {
						"oneOf": [
							{
								"type": "array",
								"items": {
									"type": "array",
									"items": {
										"type": "string"
									}
								},
								"minItems": 20,
								"maxItems": 20
							},
							{
								"type": "object",
								"patternProperties": {
									"^\\d+$": {
										"type": "array",
										"items": {
											"type": "string"
										}
									}
								},
								"additionalProperties": false
							}
						]
					}
				},
				"required": [
					"name",
					"category",
					"progression"
				]
			}
		},
		"spellListSpellRef": {
			"description": "A reference to a spell or an existing spell list, linked by name and source. Assumes PHB as the source, if none is provided.",
			"oneOf": [
				{
					"description": "A group spell list",
					"type": "object",
					"properties": {
						"groupName": {
							"type": "string"
						},
						"groupSource": {
							"$ref": "util.json#/$defs/source"
						},
						"spellSchools": {
							"type": "array",
							"items": {
								"$ref": "#/$defs/spellSchool"
							},
							"minItems": 1,
							"uniqueItems": true
						}
					},
					"required": [
						"groupName",
						"groupSource"
					],
					"additionalProperties": false,
					"markdownDescription": "A group spell list"
				},
				{
					"description": "Another class's spell list",
					"type": "object",
					"properties": {
						"className": {
							"type": "string"
						},
						"classSource": {
							"$ref": "util.json#/$defs/source"
						}
					},
					"required": [
						"className",
						"classSource"
					],
					"additionalProperties": false,
					"markdownDescription": "Another class&apos;s spell list"
				},
				{
					"description": "Another subclass's spell list",
					"type": "object",
					"properties": {
						"className": {
							"type": "string"
						},
						"classSource": {
							"$ref": "util.json#/$defs/source"
						},
						"subclassName": {
							"type": "string"
						},
						"subclassShortName": {
							"type": "string"
						},
						"subclassSource": {
							"$ref": "util.json#/$defs/source"
						}
					},
					"required": [
						"className",
						"classSource",
						"subclassName",
						"subclassShortName",
						"subclassSource"
					],
					"additionalProperties": false,
					"markdownDescription": "Another subclass&apos;s spell list"
				},
				{
					"description": "Another sub-subclass's spell list",
					"type": "object",
					"properties": {
						"className": {
							"type": "string"
						},
						"classSource": {
							"$ref": "util.json#/$defs/source"
						},
						"subclassName": {
							"type": "string"
						},
						"subclassShortName": {
							"type": "string"
						},
						"subclassSource": {
							"$ref": "util.json#/$defs/source"
						},
						"subSubclassName": {
							"type": "string"
						},
						"subSubclassSource": {
							"type": "string"
						}
					},
					"required": [
						"className",
						"classSource",
						"subclassName",
						"subclassShortName",
						"subclassSource",
						"subSubclassName",
						"subSubclassSource"
					],
					"additionalProperties": false,
					"markdownDescription": "Another sub-subclass&apos;s spell list"
				},
				{
					"description": "A spell UID of the form \"fireball\" (PHB source assumed by default) or \"shape water|xge\"",
					"type": "string",
					"markdownDescription": "A spell UID of the form &quot;fireball&quot; (PHB source assumed by default) or &quot;shape water|xge&quot;"
				}
			],
			"markdownDescription": "A reference to a spell or an existing spell list, linked by name and source. Assumes PHB as the source, if none is provided."
		},
		"proficiencyLevel": {
			"description": "- 1: Proficient\n- 2: Expertise",
			"type": "integer",
			"enum": [
				1,
				2
			],
			"markdownDescription": "- 1: Proficient\n- 2: Expertise"
		}
	},
	"markdownDescription": "Utility definitions to be used in other schemas."
}