{
	"$schema": "https://json-schema.org/draft/2020-12/schema",
	"$id": "cultsboons.json",
	"version": "1.4.0",
	"type": "object",
	"$defs": {
		"cultData": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string"
				},
				"source": {
					"$ref": "util.json#/$defs/source"
				},
				"page": {
					"$ref": "util.json#/$defs/page"
				},
				"otherSources": {
					"$ref": "util.json#/$defs/otherSources"
				},
				"referenceSources": {
					"$ref": "util.json#/$defs/referenceSources"
				},
				"reprintedAs": {
					"$ref": "util.json#/$defs/reprintedAs"
				},
				"legacy": {
					"$ref": "util.json#/$defs/legacy"
				},
				"type": {
					"type": "string",
					"examples": [
						"Demonic",
						"Diabolical",
						"Elder Evil",
						"Elemental"
					]
				},
				"goal": {
					"type": "object",
					"properties": {
						"entry": {
							"type": "string"
						}
					},
					"required": [
						"entry"
					],
					"additionalProperties": false
				},
				"cultists": {
					"type": "object",
					"properties": {
						"entry": {
							"type": "string"
						}
					},
					"required": [
						"entry"
					],
					"additionalProperties": false
				},
				"signatureSpells": {
					"type": "object",
					"properties": {
						"entry": {
							"type": "string"
						}
					},
					"required": [
						"entry"
					],
					"additionalProperties": false
				},
				"entries": {
					"type": "array",
					"items": {
						"$ref": "entry.json"
					}
				},
				"foundrySystem": {
					"$ref": "util-foundry.json#/$defs/foundrySystemObject"
				},
				"foundryActivities": {
					"$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
				},
				"foundryFlags": {
					"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
				},
				"foundryEffects": {
					"$ref": "util-foundry.json#/$defs/foundryEffectsArray"
				},
				"foundryImg": {
					"$ref": "util-foundry.json#/$defs/foundryImg"
				},
				"foundryAdvice": {
					"$ref": "entry.json"
				},
				"_foundryMerge": {
					"$ref": "util-foundry.json#/$defs/foundryMergeObject"
				}
			},
			"additionalProperties": false
		},
		"cult": {
			"anyOf": [
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "util.json#/$defs/source"
						},
						"page": {
							"$ref": "util.json#/$defs/page"
						},
						"otherSources": {
							"$ref": "util.json#/$defs/otherSources"
						},
						"referenceSources": {
							"$ref": "util.json#/$defs/referenceSources"
						},
						"reprintedAs": {
							"$ref": "util.json#/$defs/reprintedAs"
						},
						"legacy": {
							"$ref": "util.json#/$defs/legacy"
						},
						"type": {
							"type": "string",
							"examples": [
								"Demonic",
								"Diabolical",
								"Elder Evil",
								"Elemental"
							]
						},
						"goal": {
							"type": "object",
							"properties": {
								"entry": {
									"type": "string"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"cultists": {
							"type": "object",
							"properties": {
								"entry": {
									"type": "string"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"signatureSpells": {
							"type": "object",
							"properties": {
								"entry": {
									"type": "string"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"entries": {
							"type": "array",
							"items": {
								"$ref": "entry.json"
							}
						},
						"foundrySystem": {
							"$ref": "util-foundry.json#/$defs/foundrySystemObject"
						},
						"foundryActivities": {
							"$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
						},
						"foundryFlags": {
							"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
						},
						"foundryEffects": {
							"$ref": "util-foundry.json#/$defs/foundryEffectsArray"
						},
						"foundryImg": {
							"$ref": "util-foundry.json#/$defs/foundryImg"
						},
						"foundryAdvice": {
							"$ref": "entry.json"
						},
						"_foundryMerge": {
							"$ref": "util-foundry.json#/$defs/foundryMergeObject"
						}
					},
					"additionalProperties": false,
					"required": [
						"name",
						"source",
						"entries"
					]
				},
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "util.json#/$defs/source"
						},
						"page": {
							"$ref": "util.json#/$defs/page"
						},
						"otherSources": {
							"$ref": "util.json#/$defs/otherSources"
						},
						"referenceSources": {
							"$ref": "util.json#/$defs/referenceSources"
						},
						"reprintedAs": {
							"$ref": "util.json#/$defs/reprintedAs"
						},
						"legacy": {
							"$ref": "util.json#/$defs/legacy"
						},
						"type": {
							"type": "string",
							"examples": [
								"Demonic",
								"Diabolical",
								"Elder Evil",
								"Elemental"
							]
						},
						"goal": {
							"type": "object",
							"properties": {
								"entry": {
									"type": "string"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"cultists": {
							"type": "object",
							"properties": {
								"entry": {
									"type": "string"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"signatureSpells": {
							"type": "object",
							"properties": {
								"entry": {
									"type": "string"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"entries": {
							"type": "array",
							"items": {
								"$ref": "entry.json"
							}
						},
						"foundrySystem": {
							"$ref": "util-foundry.json#/$defs/foundrySystemObject"
						},
						"foundryActivities": {
							"$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
						},
						"foundryFlags": {
							"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
						},
						"foundryEffects": {
							"$ref": "util-foundry.json#/$defs/foundryEffectsArray"
						},
						"foundryImg": {
							"$ref": "util-foundry.json#/$defs/foundryImg"
						},
						"foundryAdvice": {
							"$ref": "entry.json"
						},
						"_foundryMerge": {
							"$ref": "util-foundry.json#/$defs/foundryMergeObject"
						},
						"_copy": {
							"$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
						}
					},
					"additionalProperties": false,
					"required": [
						"_copy"
					]
				}
			]
		},
		"boonData": {
			"type": "object",
			"properties": {
				"name": {
					"type": "string"
				},
				"source": {
					"$ref": "util.json#/$defs/source"
				},
				"page": {
					"$ref": "util.json#/$defs/page"
				},
				"otherSources": {
					"$ref": "util.json#/$defs/otherSources"
				},
				"referenceSources": {
					"$ref": "util.json#/$defs/referenceSources"
				},
				"reprintedAs": {
					"$ref": "util.json#/$defs/reprintedAs"
				},
				"type": {
					"type": "string",
					"examples": [
						"Demonic"
					]
				},
				"abilityEntry": {
					"$ref": "entry.json"
				},
				"signatureSpells": {
					"type": "object",
					"properties": {
						"entry": {
							"$ref": "entry.json"
						}
					},
					"required": [
						"entry"
					],
					"additionalProperties": false
				},
				"entries": {
					"type": "array",
					"uniqueItems": true,
					"items": {
						"$ref": "entry.json"
					}
				},
				"foundrySystem": {
					"$ref": "util-foundry.json#/$defs/foundrySystemObject"
				},
				"foundryActivities": {
					"$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
				},
				"foundryFlags": {
					"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
				},
				"foundryEffects": {
					"$ref": "util-foundry.json#/$defs/foundryEffectsArray"
				},
				"foundryImg": {
					"$ref": "util-foundry.json#/$defs/foundryImg"
				},
				"foundryAdvice": {
					"$ref": "entry.json"
				},
				"_foundryMerge": {
					"$ref": "util-foundry.json#/$defs/foundryMergeObject"
				}
			},
			"additionalProperties": false
		},
		"boon": {
			"anyOf": [
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "util.json#/$defs/source"
						},
						"page": {
							"$ref": "util.json#/$defs/page"
						},
						"otherSources": {
							"$ref": "util.json#/$defs/otherSources"
						},
						"referenceSources": {
							"$ref": "util.json#/$defs/referenceSources"
						},
						"reprintedAs": {
							"$ref": "util.json#/$defs/reprintedAs"
						},
						"type": {
							"type": "string",
							"examples": [
								"Demonic"
							]
						},
						"abilityEntry": {
							"$ref": "entry.json"
						},
						"signatureSpells": {
							"type": "object",
							"properties": {
								"entry": {
									"$ref": "entry.json"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"entries": {
							"type": "array",
							"uniqueItems": true,
							"items": {
								"$ref": "entry.json"
							}
						},
						"foundrySystem": {
							"$ref": "util-foundry.json#/$defs/foundrySystemObject"
						},
						"foundryActivities": {
							"$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
						},
						"foundryFlags": {
							"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
						},
						"foundryEffects": {
							"$ref": "util-foundry.json#/$defs/foundryEffectsArray"
						},
						"foundryImg": {
							"$ref": "util-foundry.json#/$defs/foundryImg"
						},
						"foundryAdvice": {
							"$ref": "entry.json"
						},
						"_foundryMerge": {
							"$ref": "util-foundry.json#/$defs/foundryMergeObject"
						}
					},
					"additionalProperties": false,
					"required": [
						"name",
						"source",
						"type",
						"entries"
					]
				},
				{
					"type": "object",
					"properties": {
						"name": {
							"type": "string"
						},
						"source": {
							"$ref": "util.json#/$defs/source"
						},
						"page": {
							"$ref": "util.json#/$defs/page"
						},
						"otherSources": {
							"$ref": "util.json#/$defs/otherSources"
						},
						"referenceSources": {
							"$ref": "util.json#/$defs/referenceSources"
						},
						"reprintedAs": {
							"$ref": "util.json#/$defs/reprintedAs"
						},
						"type": {
							"type": "string",
							"examples": [
								"Demonic"
							]
						},
						"abilityEntry": {
							"$ref": "entry.json"
						},
						"signatureSpells": {
							"type": "object",
							"properties": {
								"entry": {
									"$ref": "entry.json"
								}
							},
							"required": [
								"entry"
							],
							"additionalProperties": false
						},
						"entries": {
							"type": "array",
							"uniqueItems": true,
							"items": {
								"$ref": "entry.json"
							}
						},
						"foundrySystem": {
							"$ref": "util-foundry.json#/$defs/foundrySystemObject"
						},
						"foundryActivities": {
							"$ref": "util-foundry.json#/$defs/foundryActivitiesArray"
						},
						"foundryFlags": {
							"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
						},
						"foundryEffects": {
							"$ref": "util-foundry.json#/$defs/foundryEffectsArray"
						},
						"foundryImg": {
							"$ref": "util-foundry.json#/$defs/foundryImg"
						},
						"foundryAdvice": {
							"$ref": "entry.json"
						},
						"_foundryMerge": {
							"$ref": "util-foundry.json#/$defs/foundryMergeObject"
						},
						"_copy": {
							"$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
						}
					},
					"additionalProperties": false,
					"required": [
						"_copy"
					]
				}
			]
		}
	},
	"properties": {
		"_meta": {
			"$ref": "util.json#/$defs/metaBlock"
		},
		"cult": {
			"type": "array",
			"minItems": 1,
			"uniqueItems": true,
			"items": {
				"$ref": "#/$defs/cult"
			}
		},
		"boon": {
			"type": "array",
			"minItems": 1,
			"uniqueItems": true,
			"items": {
				"$ref": "#/$defs/boon"
			}
		}
	},
	"required": [
		"cult",
		"boon"
	],
	"additionalProperties": false
}