optolith-database-schema 0.39.0 → 0.41.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/CHANGELOG.md +52 -0
  2. package/README.md +1 -1
  3. package/gen/types.d.ts +1712 -1606
  4. package/lib/types/DerivedCharacteristic.d.ts +23 -14
  5. package/lib/types/DerivedCharacteristic.js +58 -21
  6. package/lib/types/Disease.d.ts +2 -0
  7. package/lib/types/Disease.js +8 -0
  8. package/lib/types/Locale.d.ts +7 -0
  9. package/lib/types/Locale.js +7 -0
  10. package/lib/types/Profession.d.ts +31 -14
  11. package/lib/types/Profession.js +12 -2
  12. package/lib/types/Race.d.ts +22 -15
  13. package/lib/types/Race.js +26 -20
  14. package/lib/types/Talisman.d.ts +32 -6
  15. package/lib/types/Talisman.js +51 -11
  16. package/lib/types/_Identifier.d.ts +1 -0
  17. package/lib/types/_Identifier.js +2 -0
  18. package/lib/types/_IdentifierGroup.d.ts +58 -0
  19. package/lib/types/_IdentifierGroup.js +15 -1
  20. package/lib/types/equipment/item/BandageOrRemedy.d.ts +5 -2
  21. package/lib/types/equipment/item/CeremonialItem.d.ts +6 -3
  22. package/lib/types/equipment/item/CeremonialItem.js +1 -1
  23. package/lib/types/equipment/item/Clothes.d.ts +5 -2
  24. package/lib/types/equipment/item/Container.d.ts +5 -2
  25. package/lib/types/equipment/item/Elixir.d.ts +16 -1
  26. package/lib/types/equipment/item/Elixir.js +35 -5
  27. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +5 -2
  28. package/lib/types/equipment/item/IlluminationLightSource.d.ts +5 -2
  29. package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +5 -2
  30. package/lib/types/equipment/item/Liebesspielzeug.d.ts +5 -2
  31. package/lib/types/equipment/item/LuxuryGood.d.ts +5 -2
  32. package/lib/types/equipment/item/MagicalArtifact.d.ts +5 -2
  33. package/lib/types/equipment/item/MusicalInstrument.d.ts +5 -2
  34. package/lib/types/equipment/item/OrienteeringAid.d.ts +5 -2
  35. package/lib/types/equipment/item/Poison.d.ts +64 -91
  36. package/lib/types/equipment/item/Poison.js +5 -34
  37. package/lib/types/equipment/item/RopeOrChain.d.ts +5 -2
  38. package/lib/types/equipment/item/Stationery.d.ts +5 -2
  39. package/lib/types/equipment/item/ThievesTool.d.ts +5 -2
  40. package/lib/types/equipment/item/TravelGearOrTool.d.ts +5 -2
  41. package/lib/types/equipment/item/Weapon.d.ts +10 -4
  42. package/lib/types/equipment/item/WeaponAccessory.d.ts +5 -2
  43. package/lib/types/equipment/item/_Herbary.d.ts +31 -0
  44. package/lib/types/equipment/item/_Herbary.js +9 -0
  45. package/lib/types/equipment/item/_Item.d.ts +10 -4
  46. package/lib/types/equipment/item/_MeleeWeapon.d.ts +2 -2
  47. package/lib/types/equipment/item/_MeleeWeapon.js +1 -1
  48. package/lib/types/equipment/item/_RangedWeapon.d.ts +8 -2
  49. package/lib/types/equipment/item/_RangedWeapon.js +2 -2
  50. package/lib/types/equipment/item/sub/Reach.d.ts +1 -0
  51. package/lib/types/equipment/item/sub/Reach.js +7 -0
  52. package/lib/types/magicalActions/MagicalMelody.d.ts +15 -0
  53. package/lib/types/magicalActions/MagicalMelody.js +5 -0
  54. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +132 -0
  55. package/lib/types/prerequisites/PrerequisiteGroups.js +1 -0
  56. package/package.json +7 -7
  57. package/schema/Advantage.schema.json +0 -108
  58. package/schema/AnimalDisease.schema.json +0 -74
  59. package/schema/AnimalType.schema.json +0 -47
  60. package/schema/ArcaneBardTradition.schema.json +0 -11
  61. package/schema/ArcaneDancerTradition.schema.json +0 -11
  62. package/schema/Aspect.schema.json +0 -51
  63. package/schema/Attribute.schema.json +0 -57
  64. package/schema/Blessing.schema.json +0 -265
  65. package/schema/Cantrip.schema.json +0 -443
  66. package/schema/Ceremony.schema.json +0 -122
  67. package/schema/CombatTechnique_Close.schema.json +0 -116
  68. package/schema/CombatTechnique_Ranged.schema.json +0 -99
  69. package/schema/Condition.schema.json +0 -68
  70. package/schema/Continent.schema.json +0 -49
  71. package/schema/Culture.schema.json +0 -781
  72. package/schema/DerivedCharacteristic.schema.json +0 -90
  73. package/schema/Disadvantage.schema.json +0 -97
  74. package/schema/Disease.schema.json +0 -58
  75. package/schema/Element.schema.json +0 -48
  76. package/schema/ExperienceLevel.schema.json +0 -84
  77. package/schema/EyeColor.schema.json +0 -47
  78. package/schema/FamiliarsTrick.schema.json +0 -576
  79. package/schema/HairColor.schema.json +0 -47
  80. package/schema/Kirchenpraegung.schema.json +0 -11
  81. package/schema/Lessons_Curriculum.schema.json +0 -499
  82. package/schema/Lessons_Guideline.schema.json +0 -53
  83. package/schema/LiturgicalChant.schema.json +0 -122
  84. package/schema/Locale.schema.json +0 -38
  85. package/schema/MetaCondition.schema.json +0 -69
  86. package/schema/PactCategory.schema.json +0 -150
  87. package/schema/Patron.schema.json +0 -352
  88. package/schema/PatronCategory.schema.json +0 -57
  89. package/schema/PersonalityTrait.schema.json +0 -100
  90. package/schema/Profession.schema.json +0 -1424
  91. package/schema/Property.schema.json +0 -51
  92. package/schema/Race.schema.json +0 -534
  93. package/schema/Region.schema.json +0 -47
  94. package/schema/Ritual.schema.json +0 -120
  95. package/schema/Service.schema.json +0 -79
  96. package/schema/SexPractice.schema.json +0 -70
  97. package/schema/Skill.schema.json +0 -223
  98. package/schema/SkillGroup.schema.json +0 -57
  99. package/schema/SkillModificationLevel.schema.json +0 -153
  100. package/schema/SocialStatus.schema.json +0 -47
  101. package/schema/Spell.schema.json +0 -119
  102. package/schema/State.schema.json +0 -59
  103. package/schema/Talisman.schema.json +0 -120
  104. package/schema/TargetCategory.schema.json +0 -65
  105. package/schema/UI.schema.json +0 -4441
  106. package/schema/_Activatable.schema.json +0 -2755
  107. package/schema/_ActivatableSelectOptionCategory.schema.json +0 -1313
  108. package/schema/_ActivatableSkill.schema.json +0 -188
  109. package/schema/_ActivatableSkillCastingTime.schema.json +0 -181
  110. package/schema/_ActivatableSkillCheckResultBased.schema.json +0 -65
  111. package/schema/_ActivatableSkillCost.schema.json +0 -513
  112. package/schema/_ActivatableSkillDuration.schema.json +0 -353
  113. package/schema/_ActivatableSkillEffect.schema.json +0 -122
  114. package/schema/_ActivatableSkillRange.schema.json +0 -264
  115. package/schema/_ActivatableSkillTargetCategory.schema.json +0 -145
  116. package/schema/_AlternativeNames.schema.json +0 -23
  117. package/schema/_ArcaneTradition.schema.json +0 -51
  118. package/schema/_Blessed.schema.json +0 -64
  119. package/schema/_Dice.schema.json +0 -40
  120. package/schema/_DiseasePoison.schema.json +0 -152
  121. package/schema/_Enhancements.schema.json +0 -85
  122. package/schema/_I18n.schema.json +0 -55
  123. package/schema/_Identifier.schema.json +0 -2577
  124. package/schema/_IdentifierGroup.schema.json +0 -753
  125. package/schema/_ImprovementCost.schema.json +0 -23
  126. package/schema/_Influence.schema.json +0 -84
  127. package/schema/_NonEmptyString.schema.json +0 -14
  128. package/schema/_Prerequisite.schema.json +0 -1518
  129. package/schema/_ResponsiveText.schema.json +0 -66
  130. package/schema/_Sex.schema.json +0 -18
  131. package/schema/_SimpleReferences.schema.json +0 -522
  132. package/schema/_SkillCheck.schema.json +0 -38
  133. package/schema/_Spellwork.schema.json +0 -54
  134. package/schema/equipment/EquipmentPackage.schema.json +0 -79
  135. package/schema/equipment/item/Ammunition.schema.json +0 -56
  136. package/schema/equipment/item/Animal.schema.json +0 -36
  137. package/schema/equipment/item/AnimalCare.schema.json +0 -124
  138. package/schema/equipment/item/Armor.schema.json +0 -309
  139. package/schema/equipment/item/BandageOrRemedy.schema.json +0 -53
  140. package/schema/equipment/item/Book.schema.json +0 -89
  141. package/schema/equipment/item/CeremonialItem.schema.json +0 -59
  142. package/schema/equipment/item/Clothes.schema.json +0 -10
  143. package/schema/equipment/item/Container.schema.json +0 -10
  144. package/schema/equipment/item/Elixir.schema.json +0 -103
  145. package/schema/equipment/item/EquipmentOfBlessedOnes.schema.json +0 -49
  146. package/schema/equipment/item/GemOrPreciousStone.schema.json +0 -69
  147. package/schema/equipment/item/IlluminationLightSource.schema.json +0 -120
  148. package/schema/equipment/item/IlluminationRefillsOrSupplies.schema.json +0 -10
  149. package/schema/equipment/item/Jewelry.schema.json +0 -113
  150. package/schema/equipment/item/Liebesspielzeug.schema.json +0 -10
  151. package/schema/equipment/item/LuxuryGood.schema.json +0 -53
  152. package/schema/equipment/item/MagicalArtifact.schema.json +0 -64
  153. package/schema/equipment/item/MusicalInstrument.schema.json +0 -49
  154. package/schema/equipment/item/OrienteeringAid.schema.json +0 -10
  155. package/schema/equipment/item/Poison.schema.json +0 -835
  156. package/schema/equipment/item/RopeOrChain.schema.json +0 -10
  157. package/schema/equipment/item/Stationary.schema.json +0 -10
  158. package/schema/equipment/item/ThievesTool.schema.json +0 -10
  159. package/schema/equipment/item/ToolOfTheTrade.schema.json +0 -93
  160. package/schema/equipment/item/TravelGearOrTool.schema.json +0 -10
  161. package/schema/equipment/item/Vehicle.schema.json +0 -36
  162. package/schema/equipment/item/Weapon.schema.json +0 -285
  163. package/schema/equipment/item/WeaponAccessory.schema.json +0 -10
  164. package/schema/equipment/item/_Herbary.schema.json +0 -62
  165. package/schema/equipment/item/_Item.schema.json +0 -384
  166. package/schema/equipment/item/_MeleeWeapon.schema.json +0 -164
  167. package/schema/equipment/item/_RangedWeapon.schema.json +0 -185
  168. package/schema/equipment/item/_Weapon.schema.json +0 -99
  169. package/schema/equipment/item/sub/ArmorType.schema.json +0 -52
  170. package/schema/equipment/item/sub/Reach.schema.json +0 -47
  171. package/schema/magicalActions/AnimistPower.schema.json +0 -488
  172. package/schema/magicalActions/AnimistPower_Tribe.schema.json +0 -47
  173. package/schema/magicalActions/Curse.schema.json +0 -332
  174. package/schema/magicalActions/DominationRitual.schema.json +0 -275
  175. package/schema/magicalActions/ElvenMagicalSong.schema.json +0 -196
  176. package/schema/magicalActions/GeodeRitual.schema.json +0 -327
  177. package/schema/magicalActions/JesterTrick.schema.json +0 -311
  178. package/schema/magicalActions/MagicalDance.schema.json +0 -198
  179. package/schema/magicalActions/MagicalMelody.schema.json +0 -193
  180. package/schema/magicalActions/MagicalRune.schema.json +0 -578
  181. package/schema/magicalActions/ZibiljaRitual.schema.json +0 -165
  182. package/schema/magicalActions/_MusicTradition.schema.json +0 -82
  183. package/schema/magicalActions/_SkillReference.schema.json +0 -20
  184. package/schema/prerequisites/ConditionalPrerequisites.schema.json +0 -15
  185. package/schema/prerequisites/DisplayOption.schema.json +0 -70
  186. package/schema/prerequisites/PrerequisiteGroups.schema.json +0 -1029
  187. package/schema/prerequisites/single/ActivatablePrerequisite.schema.json +0 -45
  188. package/schema/prerequisites/single/AncestorBloodPrerequisite.schema.json +0 -14
  189. package/schema/prerequisites/single/AnimistPowerPrerequisite.schema.json +0 -36
  190. package/schema/prerequisites/single/CulturePrerequisite.schema.json +0 -24
  191. package/schema/prerequisites/single/EnhancementPrerequisite.schema.json +0 -61
  192. package/schema/prerequisites/single/InfluencePrerequisite.schema.json +0 -28
  193. package/schema/prerequisites/single/PactPrerequisite.schema.json +0 -36
  194. package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +0 -39
  195. package/schema/prerequisites/single/PublicationPrerequisite.schema.json +0 -22
  196. package/schema/prerequisites/single/RacePrerequisite.schema.json +0 -28
  197. package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +0 -172
  198. package/schema/prerequisites/single/RatedPrerequisite.schema.json +0 -29
  199. package/schema/prerequisites/single/RatedSumPrerequisite.schema.json +0 -33
  200. package/schema/prerequisites/single/RulePrerequisite.schema.json +0 -22
  201. package/schema/prerequisites/single/SexPrerequisite.schema.json +0 -23
  202. package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +0 -30
  203. package/schema/prerequisites/single/SocialStatusPrerequisite.schema.json +0 -24
  204. package/schema/prerequisites/single/StatePrerequisite.schema.json +0 -23
  205. package/schema/prerequisites/single/TextPrerequisite.schema.json +0 -64
  206. package/schema/prerequisites/single/TraditionPrerequisite.schema.json +0 -58
  207. package/schema/rule/CoreRule.schema.json +0 -1403
  208. package/schema/rule/FocusRule.schema.json +0 -76
  209. package/schema/rule/FocusRule_Subject.schema.json +0 -48
  210. package/schema/rule/OptionalRule.schema.json +0 -64
  211. package/schema/source/Publication.schema.json +0 -103
  212. package/schema/source/_Erratum.schema.json +0 -36
  213. package/schema/source/_PublicationRef.schema.json +0 -285
  214. package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +0 -102
  215. package/schema/specialAbility/AdvancedKarmaSpecialAbility.schema.json +0 -80
  216. package/schema/specialAbility/AdvancedMagicalSpecialAbility.schema.json +0 -80
  217. package/schema/specialAbility/AdvancedSkillSpecialAbility.schema.json +0 -80
  218. package/schema/specialAbility/AncestorGlyph.schema.json +0 -80
  219. package/schema/specialAbility/BlessedTradition.schema.json +0 -354
  220. package/schema/specialAbility/BrawlingSpecialAbility.schema.json +0 -82
  221. package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +0 -87
  222. package/schema/specialAbility/CombatSpecialAbility.schema.json +0 -98
  223. package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +0 -273
  224. package/schema/specialAbility/CommandSpecialAbility.schema.json +0 -82
  225. package/schema/specialAbility/FamiliarSpecialAbility.schema.json +0 -74
  226. package/schema/specialAbility/FatePointSexSpecialAbility.schema.json +0 -74
  227. package/schema/specialAbility/FatePointSpecialAbility.schema.json +0 -84
  228. package/schema/specialAbility/GeneralSpecialAbility.schema.json +0 -88
  229. package/schema/specialAbility/KarmaSpecialAbility.schema.json +0 -78
  230. package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +0 -260
  231. package/schema/specialAbility/LycantropicGift.schema.json +0 -74
  232. package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +0 -260
  233. package/schema/specialAbility/MagicalSign.schema.json +0 -72
  234. package/schema/specialAbility/MagicalSpecialAbility.schema.json +0 -88
  235. package/schema/specialAbility/MagicalTradition.schema.json +0 -163
  236. package/schema/specialAbility/PactGift.schema.json +0 -254
  237. package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +0 -86
  238. package/schema/specialAbility/Sermon.schema.json +0 -74
  239. package/schema/specialAbility/SexSpecialAbility.schema.json +0 -80
  240. package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +0 -78
  241. package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +0 -254
  242. package/schema/specialAbility/VampiricGift.schema.json +0 -78
  243. package/schema/specialAbility/Vision.schema.json +0 -74
  244. package/schema/specialAbility/_Tradition.schema.json +0 -23
  245. package/schema/specialAbility/sub/Language.schema.json +0 -222
  246. package/schema/specialAbility/sub/Script.schema.json +0 -90
  247. package/schema/specialAbility/sub/TradeSecret.schema.json +0 -72
  248. package/schema/specialAbility/sub/_LanguageScript.schema.json +0 -24
  249. package/schema/traditionArtifacts/ArcaneOrbEnchantment.schema.json +0 -95
  250. package/schema/traditionArtifacts/AttireEnchantment.schema.json +0 -95
  251. package/schema/traditionArtifacts/BowlEnchantment.schema.json +0 -95
  252. package/schema/traditionArtifacts/CauldronEnchantment.schema.json +0 -115
  253. package/schema/traditionArtifacts/ChronicleEnchantment.schema.json +0 -95
  254. package/schema/traditionArtifacts/DaggerRitual.schema.json +0 -176
  255. package/schema/traditionArtifacts/FoolsHatEnchantment.schema.json +0 -95
  256. package/schema/traditionArtifacts/InstrumentEnchantment.schema.json +0 -95
  257. package/schema/traditionArtifacts/Krallenkettenzauber.schema.json +0 -95
  258. package/schema/traditionArtifacts/OrbEnchantment.schema.json +0 -95
  259. package/schema/traditionArtifacts/RingEnchantment.schema.json +0 -95
  260. package/schema/traditionArtifacts/SickleRitual.schema.json +0 -95
  261. package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +0 -99
  262. package/schema/traditionArtifacts/StaffEnchantment.schema.json +0 -103
  263. package/schema/traditionArtifacts/ToyEnchantment.schema.json +0 -95
  264. package/schema/traditionArtifacts/Trinkhornzauber.schema.json +0 -95
  265. package/schema/traditionArtifacts/WandEnchantment.schema.json +0 -87
  266. package/schema/traditionArtifacts/WeaponEnchantment.schema.json +0 -95
  267. package/schema/traditionArtifacts/sub/AnimalShape.schema.json +0 -85
  268. package/schema/traditionArtifacts/sub/AnimalShapePath.schema.json +0 -47
  269. package/schema/traditionArtifacts/sub/AnimalShapeSize.schema.json +0 -59
  270. package/schema/traditionArtifacts/sub/Brew.schema.json +0 -47
@@ -1,38 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/Locale.schema.json",
4
- "$ref": "#/$defs/Locale",
5
- "$defs": {
6
- "Locale": {
7
- "title": "Supported locale",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The locale's identifier. An IETF language tag (BCP47).",
12
- "type": "string",
13
- "pattern": "^[a-z]{2}-[A-Z]{2}$"
14
- },
15
- "name": {
16
- "description": "Name of the language in it's language.",
17
- "type": "string",
18
- "minLength": 1
19
- },
20
- "region": {
21
- "description": "Region in which the language is spoken in it's language.",
22
- "type": "string",
23
- "minLength": 1
24
- },
25
- "is_missing_implementation": {
26
- "description": "The language is not (fully) implemented and thus needs to be excluded from stable releases.",
27
- "const": true
28
- }
29
- },
30
- "required": [
31
- "id",
32
- "name",
33
- "region"
34
- ],
35
- "additionalProperties": false
36
- }
37
- }
38
- }
@@ -1,69 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/MetaCondition.schema.json",
4
- "$ref": "#/$defs/MetaCondition",
5
- "$defs": {
6
- "MetaCondition": {
7
- "title": "Meta Condition",
8
- "description": "Meta Conditions are rule elements that work like conditions in the sense that they have four levels with different effects, but which are not explicitly listed as conditions.",
9
- "type": "object",
10
- "properties": {
11
- "id": {
12
- "description": "The meta condition's identifier. An unique, increasing integer.",
13
- "type": "integer",
14
- "minimum": 1
15
- },
16
- "src": {
17
- "$ref": "./source/_PublicationRef.schema.json#/$defs/PublicationRefs"
18
- },
19
- "translations": {
20
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
21
- "type": "object",
22
- "patternProperties": {
23
- "^[a-z]{2}-[A-Z]{2}$": {
24
- "$ref": "#/$defs/MetaConditionTranslation"
25
- }
26
- },
27
- "minProperties": 1,
28
- "additionalProperties": false
29
- }
30
- },
31
- "required": [
32
- "id",
33
- "src",
34
- "translations"
35
- ],
36
- "additionalProperties": false
37
- },
38
- "MetaConditionTranslation": {
39
- "type": "object",
40
- "properties": {
41
- "name": {
42
- "description": "The meta condition's name.",
43
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
44
- },
45
- "rules": {
46
- "description": "Additional rules for the meta condition, if applicable.",
47
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
48
- },
49
- "effects": {
50
- "description": "The effects for level 1 to 4.",
51
- "type": "array",
52
- "items": {
53
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
54
- },
55
- "minItems": 4,
56
- "maxItems": 4
57
- },
58
- "errata": {
59
- "$ref": "./source/_Erratum.schema.json#/$defs/Errata"
60
- }
61
- },
62
- "required": [
63
- "name",
64
- "effects"
65
- ],
66
- "additionalProperties": false
67
- }
68
- }
69
- }
@@ -1,150 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/PactCategory.schema.json",
4
- "$ref": "#/$defs/PactCategory",
5
- "$defs": {
6
- "PactCategory": {
7
- "title": "Pact Category",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The pact category's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
14
- },
15
- "types": {
16
- "description": "Types of creatures in this category.",
17
- "type": "array",
18
- "items": {
19
- "$ref": "#/$defs/PactType"
20
- },
21
- "minItems": 1
22
- },
23
- "domains": {
24
- "description": "Domains in this category.",
25
- "type": "array",
26
- "items": {
27
- "$ref": "#/$defs/PactDomain"
28
- },
29
- "minItems": 1
30
- },
31
- "src": {
32
- "$ref": "./source/_PublicationRef.schema.json#/$defs/PublicationRefs"
33
- },
34
- "translations": {
35
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
36
- "type": "object",
37
- "patternProperties": {
38
- "^[a-z]{2}-[A-Z]{2}$": {
39
- "$ref": "#/$defs/PactCategoryTranslation"
40
- }
41
- },
42
- "minProperties": 1,
43
- "additionalProperties": false
44
- }
45
- },
46
- "required": [
47
- "id",
48
- "types",
49
- "domains",
50
- "src",
51
- "translations"
52
- ],
53
- "additionalProperties": false
54
- },
55
- "PactCategoryTranslation": {
56
- "type": "object",
57
- "properties": {
58
- "name": {
59
- "description": "The name of the pact category.",
60
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
61
- },
62
- "errata": {
63
- "$ref": "./source/_Erratum.schema.json#/$defs/Errata"
64
- }
65
- },
66
- "required": [
67
- "name"
68
- ],
69
- "additionalProperties": false
70
- },
71
- "PactType": {
72
- "type": "object",
73
- "properties": {
74
- "id": {
75
- "description": "The type's identifier. An unique, increasing integer.",
76
- "type": "integer",
77
- "minimum": 1
78
- },
79
- "translations": {
80
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
81
- "type": "object",
82
- "patternProperties": {
83
- "^[a-z]{2}-[A-Z]{2}$": {
84
- "$ref": "#/$defs/PactTypeTranslation"
85
- }
86
- },
87
- "minProperties": 1,
88
- "additionalProperties": false
89
- }
90
- },
91
- "required": [
92
- "id",
93
- "translations"
94
- ],
95
- "additionalProperties": false
96
- },
97
- "PactTypeTranslation": {
98
- "type": "object",
99
- "properties": {
100
- "name": {
101
- "description": "The name of the type.",
102
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
103
- }
104
- },
105
- "required": [
106
- "name"
107
- ],
108
- "additionalProperties": false
109
- },
110
- "PactDomain": {
111
- "type": "object",
112
- "properties": {
113
- "id": {
114
- "description": "The domain's identifier. An unique, increasing integer.",
115
- "type": "integer",
116
- "minimum": 1
117
- },
118
- "translations": {
119
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
120
- "type": "object",
121
- "patternProperties": {
122
- "^[a-z]{2}-[A-Z]{2}$": {
123
- "$ref": "#/$defs/PactDomainTranslation"
124
- }
125
- },
126
- "minProperties": 1,
127
- "additionalProperties": false
128
- }
129
- },
130
- "required": [
131
- "id",
132
- "translations"
133
- ],
134
- "additionalProperties": false
135
- },
136
- "PactDomainTranslation": {
137
- "type": "object",
138
- "properties": {
139
- "name": {
140
- "description": "The name of the domain.",
141
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
142
- }
143
- },
144
- "required": [
145
- "name"
146
- ],
147
- "additionalProperties": false
148
- }
149
- }
150
- }
@@ -1,352 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/Patron.schema.json",
4
- "$ref": "#/$defs/Patron",
5
- "$defs": {
6
- "Patron": {
7
- "title": "Patron",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The patron's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
14
- },
15
- "category": {
16
- "description": "The patron's category.",
17
- "$ref": "./_SimpleReferences.schema.json#/$defs/PatronCategoryReference"
18
- },
19
- "skills": {
20
- "description": "The patron-specific skills.",
21
- "type": "array",
22
- "items": {
23
- "$ref": "./_SimpleReferences.schema.json#/$defs/SkillReference"
24
- },
25
- "minItems": 3,
26
- "maxItems": 3
27
- },
28
- "culture": {
29
- "description": "The patron is only available to a certain set of cultures. It may be available to all, it may be available to only specific ones (intersection) and it may be available to all except specific ones to the listed cultures\n(difference).",
30
- "$ref": "#/$defs/PatronCulture"
31
- },
32
- "primary_patron_cultures": {
33
- "description": "The list of cultures where patrons from this category can be the primary patron of.",
34
- "type": "array",
35
- "items": {
36
- "$ref": "./_SimpleReferences.schema.json#/$defs/CultureReference"
37
- },
38
- "uniqueItems": true
39
- },
40
- "powers": {
41
- "description": "The patron-specific powers. Used by animist power Animal Powers I–III and should only be present on animal patrons.",
42
- "$ref": "#/$defs/AnimalPowers"
43
- },
44
- "ae_cost": {
45
- "description": "The patron-specific AE cost. Used by several animist forces for animal patrons.",
46
- "type": "integer",
47
- "minimum": 2,
48
- "multipleOf": 2
49
- },
50
- "improvement_cost": {
51
- "description": "The patron-specific improvement cost. Used by several animist forces for animal patrons.",
52
- "$ref": "./_ImprovementCost.schema.json#/$defs/ImprovementCost"
53
- },
54
- "common_advantages": {
55
- "description": "The patron may grant common advantages that are taken into account during character creation.\n\n*Source:* Geisterwald & Knochenklippen, p. 6-7",
56
- "type": "array",
57
- "items": {
58
- "$ref": "./_SimpleReferences.schema.json#/$defs/AdvantageReference"
59
- }
60
- },
61
- "common_disadvantages": {
62
- "description": "The patron may grant common disadvantages that are taken into account during character creation.\n\n*Source:* Geisterwald & Knochenklippen, p. 6-7",
63
- "type": "array",
64
- "items": {
65
- "$ref": "./_SimpleReferences.schema.json#/$defs/DisadvantageReference"
66
- }
67
- },
68
- "common_spellworks": {
69
- "description": "The animist may learn spellworks common for this patron.\n\n*Source:* Geisterwald & Knochenklippen, p. 6-7",
70
- "type": "array",
71
- "items": {
72
- "$ref": "./_SimpleReferences.schema.json#/$defs/SpellworkReference"
73
- }
74
- },
75
- "translations": {
76
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
77
- "type": "object",
78
- "patternProperties": {
79
- "^[a-z]{2}-[A-Z]{2}$": {
80
- "$ref": "#/$defs/PatronTranslation"
81
- }
82
- },
83
- "minProperties": 1,
84
- "additionalProperties": false
85
- }
86
- },
87
- "required": [
88
- "id",
89
- "category",
90
- "skills",
91
- "culture",
92
- "translations"
93
- ],
94
- "additionalProperties": false
95
- },
96
- "PatronTranslation": {
97
- "type": "object",
98
- "properties": {
99
- "name": {
100
- "description": "The name of the patron.",
101
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
102
- }
103
- },
104
- "required": [
105
- "name"
106
- ],
107
- "additionalProperties": false
108
- },
109
- "PatronCulture": {
110
- "description": "The patron cultures the patron is or is not part of. If the patron is part of all patron cultures, the set should be empty and the operation should be difference.",
111
- "type": "object",
112
- "properties": {
113
- "set": {
114
- "type": "array",
115
- "items": {
116
- "$ref": "./_SimpleReferences.schema.json#/$defs/CultureReference"
117
- }
118
- },
119
- "operation": {
120
- "$ref": "#/$defs/PatronCultureOperation"
121
- }
122
- },
123
- "required": [
124
- "set",
125
- "operation"
126
- ],
127
- "additionalProperties": false
128
- },
129
- "PatronCultureOperation": {
130
- "description": "The set operation to combine the set of all patron cultures with the specified set of patron cultures: If they should intersect, the patron is only part of the given cultures. If they should differ, the patron is only part of the cultures that are not given.",
131
- "oneOf": [
132
- {
133
- "const": "Intersection"
134
- },
135
- {
136
- "const": "Difference"
137
- }
138
- ]
139
- },
140
- "AnimalPowers": {
141
- "type": "object",
142
- "properties": {
143
- "level1": {
144
- "$ref": "#/$defs/AnimalPowersLevel1"
145
- },
146
- "level2": {
147
- "$ref": "#/$defs/AnimalPowersLevel2"
148
- },
149
- "level3": {
150
- "$ref": "#/$defs/AnimalPowersLevel3"
151
- }
152
- },
153
- "required": [
154
- "level1",
155
- "level2",
156
- "level3"
157
- ],
158
- "additionalProperties": false
159
- },
160
- "AdvantageAnimalPower": {
161
- "type": "object",
162
- "properties": {
163
- "id": {
164
- "description": "The advantage's identifier.",
165
- "$ref": "./_Identifier.schema.json#/$defs/AdvantageIdentifier"
166
- },
167
- "level": {
168
- "description": "It grants a higher level of the advantage.",
169
- "type": "integer",
170
- "minimum": 2
171
- },
172
- "option": {
173
- "description": "It grants a specific general option of the advantage.",
174
- "type": "integer",
175
- "minimum": 1
176
- }
177
- },
178
- "required": [
179
- "id"
180
- ],
181
- "additionalProperties": false
182
- },
183
- "SkillAnimalPower": {
184
- "type": "object",
185
- "properties": {
186
- "id": {
187
- "description": "The skill's identifier.",
188
- "$ref": "./_Identifier.schema.json#/$defs/SkillIdentifier"
189
- },
190
- "points": {
191
- "description": "The points that gets added to the skill's rating.",
192
- "type": "integer",
193
- "minimum": 1
194
- }
195
- },
196
- "required": [
197
- "id",
198
- "points"
199
- ],
200
- "additionalProperties": false
201
- },
202
- "AnimalPowerLevel1": {
203
- "oneOf": [
204
- {
205
- "type": "object",
206
- "properties": {
207
- "tag": {
208
- "const": "Advantage"
209
- },
210
- "advantage": {
211
- "$ref": "#/$defs/AdvantageAnimalPower"
212
- }
213
- },
214
- "required": [
215
- "tag",
216
- "advantage"
217
- ],
218
- "additionalProperties": false
219
- },
220
- {
221
- "type": "object",
222
- "properties": {
223
- "tag": {
224
- "const": "Skill"
225
- },
226
- "skill": {
227
- "$ref": "#/$defs/SkillAnimalPower"
228
- }
229
- },
230
- "required": [
231
- "tag",
232
- "skill"
233
- ],
234
- "additionalProperties": false
235
- }
236
- ]
237
- },
238
- "AnimalPowersLevel1": {
239
- "type": "array",
240
- "items": {
241
- "$ref": "#/$defs/AnimalPowerLevel1"
242
- },
243
- "minItems": 1
244
- },
245
- "CombatAnimalPower": {
246
- "type": "object",
247
- "properties": {
248
- "id": {
249
- "description": "The combat value.",
250
- "$ref": "#/$defs/CombatAnimalPowerType"
251
- },
252
- "value": {
253
- "description": "The value that gets added to the combat value.",
254
- "type": "integer",
255
- "minimum": 1
256
- }
257
- },
258
- "required": [
259
- "id",
260
- "value"
261
- ],
262
- "additionalProperties": false
263
- },
264
- "CombatAnimalPowerType": {
265
- "oneOf": [
266
- {
267
- "const": "Attack"
268
- },
269
- {
270
- "const": "Parry"
271
- },
272
- {
273
- "const": "RangedCombat"
274
- },
275
- {
276
- "const": "Dodge"
277
- },
278
- {
279
- "const": "DamagePoints"
280
- },
281
- {
282
- "const": "Protection"
283
- }
284
- ]
285
- },
286
- "AnimalPowerLevel2": {
287
- "type": "object",
288
- "properties": {
289
- "tag": {
290
- "const": "Combat"
291
- },
292
- "combat": {
293
- "$ref": "#/$defs/CombatAnimalPower"
294
- }
295
- },
296
- "required": [
297
- "tag",
298
- "combat"
299
- ],
300
- "additionalProperties": false
301
- },
302
- "AnimalPowersLevel2": {
303
- "type": "array",
304
- "items": {
305
- "$ref": "#/$defs/AnimalPowerLevel2"
306
- },
307
- "minItems": 1
308
- },
309
- "AttributeAnimalPower": {
310
- "type": "object",
311
- "properties": {
312
- "id": {
313
- "description": "The attribute's identifier.",
314
- "$ref": "./_Identifier.schema.json#/$defs/AttributeIdentifier"
315
- },
316
- "value": {
317
- "description": "The value that gets added to the attribute.",
318
- "type": "integer",
319
- "minimum": 1
320
- }
321
- },
322
- "required": [
323
- "id",
324
- "value"
325
- ],
326
- "additionalProperties": false
327
- },
328
- "AnimalPowerLevel3": {
329
- "type": "object",
330
- "properties": {
331
- "tag": {
332
- "const": "Attribute"
333
- },
334
- "attribute": {
335
- "$ref": "#/$defs/AttributeAnimalPower"
336
- }
337
- },
338
- "required": [
339
- "tag",
340
- "attribute"
341
- ],
342
- "additionalProperties": false
343
- },
344
- "AnimalPowersLevel3": {
345
- "type": "array",
346
- "items": {
347
- "$ref": "#/$defs/AnimalPowerLevel3"
348
- },
349
- "minItems": 1
350
- }
351
- }
352
- }
@@ -1,57 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/PatronCategory.schema.json",
4
- "$ref": "#/$defs/PatronCategory",
5
- "$defs": {
6
- "PatronCategory": {
7
- "title": "Patron Category",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The patron category's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
14
- },
15
- "primary_patron_cultures": {
16
- "description": "The list of cultures where patrons from this category can be the primary patron of.",
17
- "type": "array",
18
- "items": {
19
- "$ref": "./_SimpleReferences.schema.json#/$defs/CultureReference"
20
- },
21
- "minItems": 1,
22
- "uniqueItems": true
23
- },
24
- "translations": {
25
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
26
- "type": "object",
27
- "patternProperties": {
28
- "^[a-z]{2}-[A-Z]{2}$": {
29
- "$ref": "#/$defs/PatronCategoryTranslation"
30
- }
31
- },
32
- "minProperties": 1,
33
- "additionalProperties": false
34
- }
35
- },
36
- "required": [
37
- "id",
38
- "primary_patron_cultures",
39
- "translations"
40
- ],
41
- "additionalProperties": false
42
- },
43
- "PatronCategoryTranslation": {
44
- "type": "object",
45
- "properties": {
46
- "name": {
47
- "description": "The name of the patron category.",
48
- "$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
49
- }
50
- },
51
- "required": [
52
- "name"
53
- ],
54
- "additionalProperties": false
55
- }
56
- }
57
- }