optolith-database-schema 0.9.0 → 0.10.1

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 (257) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/config.d.ts +1 -1
  3. package/lib/main.d.ts +3 -3
  4. package/lib/main.js +8 -3
  5. package/lib/types/Advantage.d.ts +15 -4
  6. package/lib/types/AnimalDisease.d.ts +1 -1
  7. package/lib/types/AnimalType.d.ts +2 -2
  8. package/lib/types/ArcaneBardTradition.d.ts +1 -1
  9. package/lib/types/ArcaneDancerTradition.d.ts +1 -1
  10. package/lib/types/Aspect.d.ts +2 -2
  11. package/lib/types/Attribute.d.ts +2 -2
  12. package/lib/types/Blessing.d.ts +8 -8
  13. package/lib/types/Cantrip.d.ts +14 -14
  14. package/lib/types/Ceremony.d.ts +2 -2
  15. package/lib/types/CombatTechnique_Close.d.ts +3 -3
  16. package/lib/types/CombatTechnique_Ranged.d.ts +3 -3
  17. package/lib/types/Condition.d.ts +2 -2
  18. package/lib/types/Continent.d.ts +2 -2
  19. package/lib/types/Culture.d.ts +21 -21
  20. package/lib/types/DerivedCharacteristic.d.ts +3 -3
  21. package/lib/types/Disadvantage.d.ts +14 -4
  22. package/lib/types/Disease.d.ts +1 -1
  23. package/lib/types/Element.d.ts +2 -2
  24. package/lib/types/ExperienceLevel.d.ts +2 -2
  25. package/lib/types/EyeColor.d.ts +2 -2
  26. package/lib/types/FamiliarsTrick.d.ts +22 -22
  27. package/lib/types/HairColor.d.ts +2 -2
  28. package/lib/types/Kirchenpraegung.d.ts +1 -1
  29. package/lib/types/Lessons_Curriculum.d.ts +18 -18
  30. package/lib/types/Lessons_Guideline.d.ts +2 -2
  31. package/lib/types/LiturgicalChant.d.ts +2 -2
  32. package/lib/types/Locale.d.ts +2 -2
  33. package/lib/types/MetaCondition.d.ts +2 -2
  34. package/lib/types/PactCategory.d.ts +6 -6
  35. package/lib/types/Patron.d.ts +13 -13
  36. package/lib/types/PatronCategory.d.ts +2 -2
  37. package/lib/types/PersonalityTrait.d.ts +3 -3
  38. package/lib/types/Profession.d.ts +53 -43
  39. package/lib/types/Property.d.ts +2 -2
  40. package/lib/types/Race.d.ts +14 -14
  41. package/lib/types/Region.d.ts +2 -2
  42. package/lib/types/Ritual.d.ts +2 -2
  43. package/lib/types/Service.d.ts +2 -2
  44. package/lib/types/SexPractice.d.ts +2 -2
  45. package/lib/types/Skill.d.ts +6 -6
  46. package/lib/types/SkillGroup.d.ts +2 -2
  47. package/lib/types/SkillModificationLevel.d.ts +6 -6
  48. package/lib/types/SocialStatus.d.ts +2 -2
  49. package/lib/types/Spell.d.ts +2 -2
  50. package/lib/types/State.d.ts +2 -2
  51. package/lib/types/Talisman.d.ts +9 -9
  52. package/lib/types/TargetCategory.d.ts +3 -3
  53. package/lib/types/UI.d.ts +1 -1
  54. package/lib/types/_Activatable.d.ts +211 -103
  55. package/lib/types/_Activatable.js +4 -35
  56. package/lib/types/_ActivatableSelectOptionCategory.d.ts +55 -25
  57. package/lib/types/_ActivatableSkill.d.ts +8 -8
  58. package/lib/types/_ActivatableSkillCastingTime.d.ts +8 -8
  59. package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -2
  60. package/lib/types/_ActivatableSkillCost.d.ts +20 -20
  61. package/lib/types/_ActivatableSkillDuration.d.ts +13 -13
  62. package/lib/types/_ActivatableSkillEffect.d.ts +4 -4
  63. package/lib/types/_ActivatableSkillRange.d.ts +6 -6
  64. package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -4
  65. package/lib/types/_AlternativeNames.d.ts +1 -1
  66. package/lib/types/_ArcaneTradition.d.ts +2 -2
  67. package/lib/types/_Blessed.d.ts +2 -2
  68. package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +1 -1
  69. package/lib/types/_Dice.d.ts +1 -1
  70. package/lib/types/_DiseasePoison.d.ts +4 -4
  71. package/lib/types/_Enhancements.d.ts +3 -3
  72. package/lib/types/_I18n.d.ts +1 -1
  73. package/lib/types/_Identifier.d.ts +132 -132
  74. package/lib/types/_IdentifierGroup.d.ts +20 -20
  75. package/lib/types/_Influence.d.ts +3 -3
  76. package/lib/types/_LocaleMap.d.ts +1 -1
  77. package/lib/types/_NonEmptyString.d.ts +2 -2
  78. package/lib/types/_Prerequisite.d.ts +21 -21
  79. package/lib/types/_ResponsiveText.d.ts +3 -3
  80. package/lib/types/_SimpleReferences.d.ts +44 -44
  81. package/lib/types/_SkillCheck.d.ts +1 -1
  82. package/lib/types/_Spellwork.d.ts +2 -2
  83. package/lib/types/equipment/EquipmentPackage.d.ts +3 -3
  84. package/lib/types/equipment/item/Alchemicum.d.ts +1 -1
  85. package/lib/types/equipment/item/Ammunition.d.ts +2 -2
  86. package/lib/types/equipment/item/Animal.d.ts +1 -1
  87. package/lib/types/equipment/item/AnimalCare.d.ts +5 -5
  88. package/lib/types/equipment/item/Armor.d.ts +11 -11
  89. package/lib/types/equipment/item/BandageOrRemedy.d.ts +1 -1
  90. package/lib/types/equipment/item/Book.d.ts +2 -2
  91. package/lib/types/equipment/item/CeremonialItem.d.ts +1 -1
  92. package/lib/types/equipment/item/Clothes.d.ts +1 -1
  93. package/lib/types/equipment/item/Container.d.ts +1 -1
  94. package/lib/types/equipment/item/Elixir.d.ts +2 -2
  95. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
  96. package/lib/types/equipment/item/GemOrPreciousStone.d.ts +2 -2
  97. package/lib/types/equipment/item/IlluminationLightSource.d.ts +3 -3
  98. package/lib/types/equipment/item/IlluminationRefillsOrSupplies.d.ts +1 -1
  99. package/lib/types/equipment/item/Jewelry.d.ts +3 -3
  100. package/lib/types/equipment/item/Liebesspielzeug.d.ts +1 -1
  101. package/lib/types/equipment/item/LuxuryGood.d.ts +1 -1
  102. package/lib/types/equipment/item/MagicalArtifact.d.ts +2 -2
  103. package/lib/types/equipment/item/MusicalInstrument.d.ts +1 -1
  104. package/lib/types/equipment/item/OrienteeringAid.d.ts +1 -1
  105. package/lib/types/equipment/item/Poison.d.ts +45 -25
  106. package/lib/types/equipment/item/Poison.js +1 -0
  107. package/lib/types/equipment/item/RopeOrChain.d.ts +1 -1
  108. package/lib/types/equipment/item/Stationary.d.ts +1 -1
  109. package/lib/types/equipment/item/ThievesTool.d.ts +1 -1
  110. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +3 -3
  111. package/lib/types/equipment/item/TravelGearOrTool.d.ts +1 -1
  112. package/lib/types/equipment/item/Vehicle.d.ts +1 -1
  113. package/lib/types/equipment/item/Weapon.d.ts +12 -11
  114. package/lib/types/equipment/item/WeaponAccessory.d.ts +1 -1
  115. package/lib/types/equipment/item/_Herbary.d.ts +1 -1
  116. package/lib/types/equipment/item/_Item.d.ts +12 -12
  117. package/lib/types/equipment/item/_MeleeWeapon.d.ts +7 -7
  118. package/lib/types/equipment/item/_RangedWeapon.d.ts +6 -6
  119. package/lib/types/equipment/item/_Weapon.d.ts +5 -5
  120. package/lib/types/equipment/item/sub/ArmorType.d.ts +5 -5
  121. package/lib/types/equipment/item/sub/Reach.d.ts +2 -2
  122. package/lib/types/magicalActions/AnimistPower.d.ts +16 -16
  123. package/lib/types/magicalActions/AnimistPower_Tribe.d.ts +2 -2
  124. package/lib/types/magicalActions/Curse.d.ts +10 -10
  125. package/lib/types/magicalActions/DominationRitual.d.ts +9 -9
  126. package/lib/types/magicalActions/ElvenMagicalSong.d.ts +7 -7
  127. package/lib/types/magicalActions/GeodeRitual.d.ts +10 -10
  128. package/lib/types/magicalActions/JesterTrick.d.ts +9 -9
  129. package/lib/types/magicalActions/MagicalDance.d.ts +6 -6
  130. package/lib/types/magicalActions/MagicalMelody.d.ts +6 -6
  131. package/lib/types/magicalActions/MagicalRune.d.ts +22 -22
  132. package/lib/types/magicalActions/ZibiljaRitual.d.ts +3 -3
  133. package/lib/types/magicalActions/_MusicTradition.d.ts +3 -3
  134. package/lib/types/magicalActions/_SkillReference.d.ts +1 -1
  135. package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +1 -1
  136. package/lib/types/prerequisites/DisplayOption.d.ts +16 -2
  137. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +38 -16
  138. package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -1
  139. package/lib/types/prerequisites/single/AncestorBloodPrerequisite.d.ts +5 -0
  140. package/lib/types/prerequisites/single/AncestorBloodPrerequisite.js +1 -0
  141. package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +1 -1
  142. package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +1 -1
  143. package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +4 -4
  144. package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +1 -1
  145. package/lib/types/prerequisites/single/PactPrerequisite.d.ts +1 -1
  146. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -1
  147. package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +1 -1
  148. package/lib/types/prerequisites/single/RacePrerequisite.d.ts +1 -1
  149. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +67 -0
  150. package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +6 -0
  151. package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -56
  152. package/lib/types/prerequisites/single/RatedSumPrerequisite.d.ts +19 -0
  153. package/lib/types/prerequisites/single/RatedSumPrerequisite.js +1 -0
  154. package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
  155. package/lib/types/prerequisites/single/SexPrerequisite.d.ts +1 -1
  156. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +11 -0
  157. package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +5 -0
  158. package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +1 -1
  159. package/lib/types/prerequisites/single/StatePrerequisite.d.ts +1 -1
  160. package/lib/types/prerequisites/single/TextPrerequisite.d.ts +31 -2
  161. package/lib/types/prerequisites/single/TextPrerequisite.js +5 -0
  162. package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -2
  163. package/lib/types/rule/CoreRule.d.ts +11 -11
  164. package/lib/types/rule/FocusRule.d.ts +2 -2
  165. package/lib/types/rule/FocusRule_Subject.d.ts +2 -2
  166. package/lib/types/rule/OptionalRule.d.ts +2 -2
  167. package/lib/types/source/Publication.d.ts +2 -2
  168. package/lib/types/source/_Erratum.d.ts +2 -2
  169. package/lib/types/source/_PublicationRef.d.ts +13 -13
  170. package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +13 -2
  171. package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +2 -2
  172. package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +2 -2
  173. package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +2 -2
  174. package/lib/types/specialAbility/AncestorGlyph.d.ts +2 -2
  175. package/lib/types/specialAbility/BlessedTradition.d.ts +8 -8
  176. package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +2 -2
  177. package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +9 -4
  178. package/lib/types/specialAbility/CombatSpecialAbility.d.ts +8 -4
  179. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -2
  180. package/lib/types/specialAbility/CommandSpecialAbility.d.ts +1 -1
  181. package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +2 -2
  182. package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +2 -2
  183. package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +7 -2
  184. package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +14 -4
  185. package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +9 -4
  186. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -2
  187. package/lib/types/specialAbility/LycantropicGift.d.ts +2 -2
  188. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -2
  189. package/lib/types/specialAbility/MagicalSign.d.ts +2 -2
  190. package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +13 -4
  191. package/lib/types/specialAbility/MagicalTradition.d.ts +3 -3
  192. package/lib/types/specialAbility/PactGift.d.ts +9 -9
  193. package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +2 -2
  194. package/lib/types/specialAbility/Sermon.d.ts +2 -2
  195. package/lib/types/specialAbility/SexSpecialAbility.d.ts +2 -2
  196. package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +7 -2
  197. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -2
  198. package/lib/types/specialAbility/VampiricGift.d.ts +9 -4
  199. package/lib/types/specialAbility/Vision.d.ts +2 -2
  200. package/lib/types/specialAbility/_Tradition.d.ts +1 -1
  201. package/lib/types/specialAbility/sub/Language.d.ts +8 -8
  202. package/lib/types/specialAbility/sub/Script.d.ts +2 -2
  203. package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -2
  204. package/lib/types/specialAbility/sub/_LanguageScript.d.ts +1 -1
  205. package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +4 -4
  206. package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +4 -4
  207. package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +4 -4
  208. package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +5 -5
  209. package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +4 -4
  210. package/lib/types/traditionArtifacts/DaggerRitual.d.ts +8 -8
  211. package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +4 -4
  212. package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +4 -4
  213. package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +4 -4
  214. package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +4 -4
  215. package/lib/types/traditionArtifacts/RingEnchantment.d.ts +4 -4
  216. package/lib/types/traditionArtifacts/SickleRitual.d.ts +4 -4
  217. package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +9 -4
  218. package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +14 -4
  219. package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +4 -4
  220. package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +4 -4
  221. package/lib/types/traditionArtifacts/WandEnchantment.d.ts +4 -4
  222. package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +4 -4
  223. package/lib/types/traditionArtifacts/sub/AnimalShape.d.ts +4 -4
  224. package/lib/types/traditionArtifacts/sub/AnimalShapePath.d.ts +2 -2
  225. package/lib/types/traditionArtifacts/sub/AnimalShapeSize.d.ts +2 -2
  226. package/lib/types/traditionArtifacts/sub/Brew.d.ts +2 -2
  227. package/lib/validation/schema.d.ts +5 -5
  228. package/lib/validation/schema.js +2 -2
  229. package/package.json +5 -5
  230. package/schema/Advantage.schema.json +11 -0
  231. package/schema/Disadvantage.schema.json +8 -0
  232. package/schema/Profession.schema.json +8 -0
  233. package/schema/Talisman.schema.json +2 -4
  234. package/schema/_Activatable.schema.json +166 -0
  235. package/schema/_ActivatableSelectOptionCategory.schema.json +141 -0
  236. package/schema/equipment/item/Poison.schema.json +55 -1
  237. package/schema/equipment/item/Weapon.schema.json +5 -1
  238. package/schema/equipment/item/sub/ArmorType.schema.json +1 -2
  239. package/schema/prerequisites/DisplayOption.schema.json +4 -0
  240. package/schema/prerequisites/PrerequisiteGroups.schema.json +98 -2
  241. package/schema/prerequisites/single/AncestorBloodPrerequisite.schema.json +14 -0
  242. package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +166 -0
  243. package/schema/prerequisites/single/RatedPrerequisite.schema.json +0 -125
  244. package/schema/prerequisites/single/RatedSumPrerequisite.schema.json +33 -0
  245. package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +26 -0
  246. package/schema/prerequisites/single/TextPrerequisite.schema.json +14 -0
  247. package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +8 -0
  248. package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +4 -0
  249. package/schema/specialAbility/CombatSpecialAbility.schema.json +4 -0
  250. package/schema/specialAbility/FatePointSpecialAbility.schema.json +4 -0
  251. package/schema/specialAbility/GeneralSpecialAbility.schema.json +8 -0
  252. package/schema/specialAbility/KarmaSpecialAbility.schema.json +4 -0
  253. package/schema/specialAbility/MagicalSpecialAbility.schema.json +8 -0
  254. package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +4 -0
  255. package/schema/specialAbility/VampiricGift.schema.json +4 -0
  256. package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +4 -0
  257. package/schema/traditionArtifacts/StaffEnchantment.schema.json +8 -0
@@ -0,0 +1,14 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
3
+ "$id": "/prerequisites/single/AncestorBloodPrerequisite.schema.json",
4
+ "$defs": {
5
+ "AncestorBloodPrerequisite": {
6
+ "title": "Ancestor Blood Prerequisite",
7
+ "description": "Requires that no other Ancestor Blood advantage is active.",
8
+ "type": "object",
9
+ "properties": {},
10
+ "required": [],
11
+ "additionalProperties": false
12
+ }
13
+ }
14
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
3
+ "$id": "/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json",
4
+ "$defs": {
5
+ "RatedMinimumNumberPrerequisite": {
6
+ "title": "Rated Minimum Number Prerequisite",
7
+ "type": "object",
8
+ "properties": {
9
+ "number": {
10
+ "description": "The minimum number of skills that need to be on the defined minimum skill\nrating.",
11
+ "type": "integer",
12
+ "minimum": 1
13
+ },
14
+ "value": {
15
+ "description": "The minimum skill rating the defined minimum number of skills need to be\non.",
16
+ "type": "integer",
17
+ "minimum": 1
18
+ },
19
+ "targets": {
20
+ "description": "The targets that contribute to satisfying the prerequisite.",
21
+ "$ref": "#/$defs/RatedMinimumNumberPrerequisiteTarget"
22
+ },
23
+ "display_option": {
24
+ "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
25
+ }
26
+ },
27
+ "required": [
28
+ "number",
29
+ "value",
30
+ "targets"
31
+ ],
32
+ "additionalProperties": false
33
+ },
34
+ "RatedMinimumNumberPrerequisiteTarget": {
35
+ "oneOf": [
36
+ {
37
+ "type": "object",
38
+ "properties": {
39
+ "tag": {
40
+ "const": "Skills"
41
+ },
42
+ "skills": {
43
+ "$ref": "#/$defs/RatedMinimumNumberPrerequisiteSkillsTarget"
44
+ }
45
+ },
46
+ "required": [
47
+ "tag",
48
+ "skills"
49
+ ],
50
+ "additionalProperties": false
51
+ },
52
+ {
53
+ "type": "object",
54
+ "properties": {
55
+ "tag": {
56
+ "const": "CombatTechniques"
57
+ },
58
+ "combat_techniques": {
59
+ "$ref": "#/$defs/CombatTechniquesTarget"
60
+ }
61
+ },
62
+ "required": [
63
+ "tag",
64
+ "combat_techniques"
65
+ ],
66
+ "additionalProperties": false
67
+ },
68
+ {
69
+ "type": "object",
70
+ "properties": {
71
+ "tag": {
72
+ "const": "Spellworks"
73
+ },
74
+ "spellworks": {
75
+ "$ref": "../../_SimpleReferences.schema.json#/$defs/PropertyReference"
76
+ }
77
+ },
78
+ "required": [
79
+ "tag",
80
+ "spellworks"
81
+ ],
82
+ "additionalProperties": false
83
+ },
84
+ {
85
+ "type": "object",
86
+ "properties": {
87
+ "tag": {
88
+ "const": "Liturgies"
89
+ },
90
+ "liturgies": {
91
+ "$ref": "../../_SimpleReferences.schema.json#/$defs/AspectReference"
92
+ }
93
+ },
94
+ "required": [
95
+ "tag",
96
+ "liturgies"
97
+ ],
98
+ "additionalProperties": false
99
+ }
100
+ ]
101
+ },
102
+ "RatedMinimumNumberPrerequisiteSkillsTarget": {
103
+ "type": "object",
104
+ "properties": {
105
+ "list": {
106
+ "description": "The skills that are taken into account for satisfying the prerequisite.",
107
+ "type": "array",
108
+ "items": {
109
+ "$ref": "../../_SimpleReferences.schema.json#/$defs/SkillReference"
110
+ },
111
+ "minItems": 2,
112
+ "uniqueItems": true
113
+ }
114
+ },
115
+ "required": [
116
+ "list"
117
+ ],
118
+ "additionalProperties": false
119
+ },
120
+ "CombatTechniquesTarget": {
121
+ "type": "object",
122
+ "properties": {
123
+ "group": {
124
+ "$ref": "#/$defs/CombatTechniquesTargetGroup"
125
+ }
126
+ },
127
+ "required": [
128
+ "group"
129
+ ],
130
+ "additionalProperties": false
131
+ },
132
+ "CombatTechniquesTargetGroup": {
133
+ "enum": [
134
+ "All",
135
+ "Close",
136
+ "Ranged"
137
+ ]
138
+ },
139
+ "RatedMinimumNumberPrerequisiteSpellworksTarget": {
140
+ "type": "object",
141
+ "properties": {
142
+ "property": {
143
+ "description": "The skills that are taken into account for satisfying the prerequisite.",
144
+ "$ref": "../../_SimpleReferences.schema.json#/$defs/PropertyReference"
145
+ }
146
+ },
147
+ "required": [
148
+ "property"
149
+ ],
150
+ "additionalProperties": false
151
+ },
152
+ "RatedMinimumNumberPrerequisiteLiturgiesTarget": {
153
+ "type": "object",
154
+ "properties": {
155
+ "aspect": {
156
+ "description": "The skills that are taken into account for satisfying the prerequisite.",
157
+ "$ref": "../../_SimpleReferences.schema.json#/$defs/AspectReference"
158
+ }
159
+ },
160
+ "required": [
161
+ "aspect"
162
+ ],
163
+ "additionalProperties": false
164
+ }
165
+ }
166
+ }
@@ -24,131 +24,6 @@
24
24
  "value"
25
25
  ],
26
26
  "additionalProperties": false
27
- },
28
- "RatedMinimumNumberPrerequisite": {
29
- "title": "Rated Minimum Number Prerequisite",
30
- "type": "object",
31
- "properties": {
32
- "number": {
33
- "description": "The minimum number of skills that need to be on the defined minimum skill\nrating.",
34
- "type": "integer",
35
- "minimum": 1
36
- },
37
- "value": {
38
- "description": "The minimum skill rating the defined minimum number of skills need to be\non.",
39
- "type": "integer",
40
- "minimum": 1
41
- },
42
- "targets": {
43
- "description": "The targets that contribute to satisfying the prerequisite.",
44
- "$ref": "#/$defs/RatedMinimumNumberPrerequisiteTarget"
45
- },
46
- "display_option": {
47
- "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
48
- }
49
- },
50
- "required": [
51
- "number",
52
- "value",
53
- "targets"
54
- ],
55
- "additionalProperties": false
56
- },
57
- "RatedMinimumNumberPrerequisiteTarget": {
58
- "oneOf": [
59
- {
60
- "type": "object",
61
- "properties": {
62
- "tag": {
63
- "const": "Skills"
64
- },
65
- "skills": {
66
- "$ref": "#/$defs/RatedMinimumNumberPrerequisiteSkillsTarget"
67
- }
68
- },
69
- "required": [
70
- "tag",
71
- "skills"
72
- ],
73
- "additionalProperties": false
74
- },
75
- {
76
- "type": "object",
77
- "properties": {
78
- "tag": {
79
- "const": "Spellworks"
80
- },
81
- "spellworks": {
82
- "$ref": "../../_SimpleReferences.schema.json#/$defs/PropertyReference"
83
- }
84
- },
85
- "required": [
86
- "tag",
87
- "spellworks"
88
- ],
89
- "additionalProperties": false
90
- },
91
- {
92
- "type": "object",
93
- "properties": {
94
- "tag": {
95
- "const": "Liturgies"
96
- },
97
- "liturgies": {
98
- "$ref": "../../_SimpleReferences.schema.json#/$defs/AspectReference"
99
- }
100
- },
101
- "required": [
102
- "tag",
103
- "liturgies"
104
- ],
105
- "additionalProperties": false
106
- }
107
- ]
108
- },
109
- "RatedMinimumNumberPrerequisiteSkillsTarget": {
110
- "type": "object",
111
- "properties": {
112
- "list": {
113
- "description": "The skills that are taken into account for satisfying the prerequisite.",
114
- "type": "array",
115
- "items": {
116
- "$ref": "../../_SimpleReferences.schema.json#/$defs/SkillReference"
117
- },
118
- "minItems": 2,
119
- "uniqueItems": true
120
- }
121
- },
122
- "required": [
123
- "list"
124
- ],
125
- "additionalProperties": false
126
- },
127
- "RatedMinimumNumberPrerequisiteSpellworksTarget": {
128
- "type": "object",
129
- "properties": {
130
- "property": {
131
- "description": "The skills that are taken into account for satisfying the prerequisite.",
132
- "$ref": "../../_SimpleReferences.schema.json#/$defs/PropertyReference"
133
- }
134
- },
135
- "required": [
136
- "property"
137
- ],
138
- "additionalProperties": false
139
- },
140
- "RatedMinimumNumberPrerequisiteLiturgiesTarget": {
141
- "type": "object",
142
- "properties": {
143
- "aspect": {
144
- "description": "The skills that are taken into account for satisfying the prerequisite.",
145
- "$ref": "../../_SimpleReferences.schema.json#/$defs/AspectReference"
146
- }
147
- },
148
- "required": [
149
- "aspect"
150
- ],
151
- "additionalProperties": false
152
27
  }
153
28
  }
154
29
  }
@@ -0,0 +1,33 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
3
+ "$id": "/prerequisites/single/RatedSumPrerequisite.schema.json",
4
+ "$defs": {
5
+ "RatedSumPrerequisite": {
6
+ "title": "Rated Sum Prerequisite",
7
+ "type": "object",
8
+ "properties": {
9
+ "sum": {
10
+ "description": "The minimum required sum of the targets’ ratings.",
11
+ "type": "integer",
12
+ "minimum": 1
13
+ },
14
+ "targets": {
15
+ "description": "The targets that are included in calculating the sum.",
16
+ "type": "array",
17
+ "items": {
18
+ "$ref": "../../_IdentifierGroup.schema.json#/$defs/SkillIdentifier"
19
+ },
20
+ "minItems": 2
21
+ },
22
+ "display_option": {
23
+ "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
24
+ }
25
+ },
26
+ "required": [
27
+ "sum",
28
+ "targets"
29
+ ],
30
+ "additionalProperties": false
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,26 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
3
+ "$id": "/prerequisites/single/SexualCharacteristicPrerequisite.schema.json",
4
+ "$defs": {
5
+ "SexualCharacteristicPrerequisite": {
6
+ "title": "Sexual Characteristic Prerequisite",
7
+ "description": "Requires a specific sexual characteristic.",
8
+ "type": "object",
9
+ "properties": {
10
+ "id": {
11
+ "$ref": "#/$defs/SexualCharacteristic"
12
+ }
13
+ },
14
+ "required": [
15
+ "id"
16
+ ],
17
+ "additionalProperties": false
18
+ },
19
+ "SexualCharacteristic": {
20
+ "enum": [
21
+ "Penis",
22
+ "Vagina"
23
+ ]
24
+ }
25
+ }
26
+ }
@@ -11,6 +11,14 @@
11
11
  "description": "The method how the prerequisite should be verified. Either is passes all\nverification text or it denies all verification tests. The latter results\nin the associated entry to never be available for purchase.",
12
12
  "$ref": "#/$defs/TextVerificationRule"
13
13
  },
14
+ "sentence_type": {
15
+ "description": "If the text is a sentence or sentence-like fragment, this property ensures\nit is integrated into the prerequisite string correctly.\n\nA standalone sentence is connected to the previous prerequisite string with\na period and a period is also added at the end of the sentence\nautomatically, if it is not present. A connected sentence is connected to\nthe previous prerequisite string with a semicolon and a period is not added\nto the end of the sentence. In this case, if there are prerequisites after\nthis one, they will be connected using a semicolon again, unless a\ndifferent punctuation mark is present at the end of the given text.",
16
+ "$ref": "#/$defs/SentenceType"
17
+ },
18
+ "is_meta": {
19
+ "description": "If the text does not represent an actual prerequisite but a prerequisite\nfor the use of certain aspects or the entry the prerequisite is associated\nwith, or something like that, this property is set to `true`.\n\nIf all prerequisites of an entry are marked as meta, the entry is\nconsidered to have no prerequisites and thus the string `none` must be\nrendered before the list of meta prerequisites.\n\nThis is the only use case for this property.",
20
+ "const": true
21
+ },
14
22
  "translations": {
15
23
  "description": "All translations for the entry, identified by IETF language tag (BCP47).",
16
24
  "type": "object",
@@ -35,6 +43,12 @@
35
43
  "Deny"
36
44
  ]
37
45
  },
46
+ "SentenceType": {
47
+ "enum": [
48
+ "Standalone",
49
+ "Connected"
50
+ ]
51
+ },
38
52
  "TextPrerequisiteTranslation": {
39
53
  "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
40
54
  }
@@ -80,6 +80,14 @@
80
80
  "penalty": {
81
81
  "type": "string"
82
82
  },
83
+ "ap_value": {
84
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
85
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
86
+ },
87
+ "ap_value_append": {
88
+ "description": "A string that gets appended to the default AP Value text with a preceding\nspace. This always happens if present, even if the generated AP Value text\nis replaced.",
89
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueAppend"
90
+ },
83
91
  "errata": {
84
92
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
85
93
  }
@@ -69,6 +69,10 @@
69
69
  "effect": {
70
70
  "$ref": "../_Activatable.schema.json#/$defs/Effect"
71
71
  },
72
+ "prerequisites": {
73
+ "description": "The prerequisites text. It is only used if the text cannot be generated\nfrom the given information.",
74
+ "$ref": "../_Activatable.schema.json#/$defs/PrerequisitesReplacement"
75
+ },
72
76
  "errata": {
73
77
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
74
78
  }
@@ -74,6 +74,10 @@
74
74
  "name_in_library": {
75
75
  "$ref": "../_Activatable.schema.json#/$defs/NameInLibrary"
76
76
  },
77
+ "input": {
78
+ "description": "A string that is used as a label for an input field.",
79
+ "$ref": "../_Activatable.schema.json#/$defs/Input"
80
+ },
77
81
  "rules": {
78
82
  "$ref": "../_Activatable.schema.json#/$defs/Rules"
79
83
  },
@@ -66,6 +66,10 @@
66
66
  "rules": {
67
67
  "$ref": "../_Activatable.schema.json#/$defs/Rules"
68
68
  },
69
+ "ap_value": {
70
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
71
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
72
+ },
69
73
  "errata": {
70
74
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
71
75
  }
@@ -63,9 +63,17 @@
63
63
  "name_in_library": {
64
64
  "$ref": "../_Activatable.schema.json#/$defs/NameInLibrary"
65
65
  },
66
+ "input": {
67
+ "description": "A string that is used as a label for an input field.",
68
+ "$ref": "../_Activatable.schema.json#/$defs/Input"
69
+ },
66
70
  "rules": {
67
71
  "$ref": "../_Activatable.schema.json#/$defs/Rules"
68
72
  },
73
+ "ap_value_append": {
74
+ "description": "A string that gets appended to the default AP Value text with a preceding\nspace. This always happens if present, even if the generated AP Value text\nis replaced.",
75
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueAppend"
76
+ },
69
77
  "errata": {
70
78
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
71
79
  }
@@ -60,6 +60,10 @@
60
60
  "rules": {
61
61
  "$ref": "../_Activatable.schema.json#/$defs/Rules"
62
62
  },
63
+ "ap_value": {
64
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
65
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
66
+ },
63
67
  "errata": {
64
68
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
65
69
  }
@@ -63,9 +63,17 @@
63
63
  "name_in_library": {
64
64
  "$ref": "../_Activatable.schema.json#/$defs/NameInLibrary"
65
65
  },
66
+ "input": {
67
+ "description": "A string that is used as a label for an input field.",
68
+ "$ref": "../_Activatable.schema.json#/$defs/Input"
69
+ },
66
70
  "rules": {
67
71
  "$ref": "../_Activatable.schema.json#/$defs/Rules"
68
72
  },
73
+ "ap_value": {
74
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
75
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
76
+ },
69
77
  "errata": {
70
78
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
71
79
  }
@@ -60,6 +60,10 @@
60
60
  "rules": {
61
61
  "$ref": "../_Activatable.schema.json#/$defs/Rules"
62
62
  },
63
+ "ap_value": {
64
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
65
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
66
+ },
63
67
  "errata": {
64
68
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
65
69
  }
@@ -60,6 +60,10 @@
60
60
  "rules": {
61
61
  "$ref": "../_Activatable.schema.json#/$defs/Rules"
62
62
  },
63
+ "ap_value": {
64
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
65
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
66
+ },
63
67
  "errata": {
64
68
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
65
69
  }
@@ -80,6 +80,10 @@
80
80
  "bindingCost": {
81
81
  "type": "string"
82
82
  },
83
+ "ap_value": {
84
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
85
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
86
+ },
83
87
  "errata": {
84
88
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
85
89
  }
@@ -77,9 +77,17 @@
77
77
  "aeCost": {
78
78
  "type": "string"
79
79
  },
80
+ "cost_note": {
81
+ "description": "A note, appended to the generated cost string in parenthesis.",
82
+ "$ref": "../_ResponsiveText.schema.json#/$defs/ResponsiveTextOptional"
83
+ },
80
84
  "bindingCost": {
81
85
  "type": "string"
82
86
  },
87
+ "ap_value": {
88
+ "description": "The AP value. It is only used if the text cannot be generated from the\ngiven information.",
89
+ "$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValueReplacement"
90
+ },
83
91
  "errata": {
84
92
  "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
85
93
  }