optolith-database-schema 0.40.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 (268) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +1 -1
  3. package/gen/types.d.ts +1705 -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/Profession.d.ts +31 -14
  9. package/lib/types/Profession.js +12 -2
  10. package/lib/types/Race.d.ts +22 -15
  11. package/lib/types/Race.js +26 -20
  12. package/lib/types/Talisman.d.ts +32 -6
  13. package/lib/types/Talisman.js +51 -11
  14. package/lib/types/_Identifier.d.ts +1 -0
  15. package/lib/types/_Identifier.js +2 -0
  16. package/lib/types/_IdentifierGroup.d.ts +58 -0
  17. package/lib/types/_IdentifierGroup.js +15 -1
  18. package/lib/types/equipment/item/BandageOrRemedy.d.ts +5 -2
  19. package/lib/types/equipment/item/CeremonialItem.d.ts +6 -3
  20. package/lib/types/equipment/item/CeremonialItem.js +1 -1
  21. package/lib/types/equipment/item/Clothes.d.ts +5 -2
  22. package/lib/types/equipment/item/Container.d.ts +5 -2
  23. package/lib/types/equipment/item/Elixir.d.ts +16 -1
  24. package/lib/types/equipment/item/Elixir.js +35 -5
  25. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +5 -2
  26. package/lib/types/equipment/item/IlluminationLightSource.d.ts +5 -2
  27. package/lib/types/equipment/item/IlluminationRefillOrSupply.d.ts +5 -2
  28. package/lib/types/equipment/item/Liebesspielzeug.d.ts +5 -2
  29. package/lib/types/equipment/item/LuxuryGood.d.ts +5 -2
  30. package/lib/types/equipment/item/MagicalArtifact.d.ts +5 -2
  31. package/lib/types/equipment/item/MusicalInstrument.d.ts +5 -2
  32. package/lib/types/equipment/item/OrienteeringAid.d.ts +5 -2
  33. package/lib/types/equipment/item/Poison.d.ts +64 -91
  34. package/lib/types/equipment/item/Poison.js +5 -34
  35. package/lib/types/equipment/item/RopeOrChain.d.ts +5 -2
  36. package/lib/types/equipment/item/Stationery.d.ts +5 -2
  37. package/lib/types/equipment/item/ThievesTool.d.ts +5 -2
  38. package/lib/types/equipment/item/TravelGearOrTool.d.ts +5 -2
  39. package/lib/types/equipment/item/Weapon.d.ts +10 -4
  40. package/lib/types/equipment/item/WeaponAccessory.d.ts +5 -2
  41. package/lib/types/equipment/item/_Herbary.d.ts +31 -0
  42. package/lib/types/equipment/item/_Herbary.js +9 -0
  43. package/lib/types/equipment/item/_Item.d.ts +10 -4
  44. package/lib/types/equipment/item/_MeleeWeapon.d.ts +2 -2
  45. package/lib/types/equipment/item/_MeleeWeapon.js +1 -1
  46. package/lib/types/equipment/item/_RangedWeapon.d.ts +8 -2
  47. package/lib/types/equipment/item/_RangedWeapon.js +2 -2
  48. package/lib/types/equipment/item/sub/Reach.d.ts +1 -0
  49. package/lib/types/equipment/item/sub/Reach.js +7 -0
  50. package/lib/types/magicalActions/MagicalMelody.d.ts +15 -0
  51. package/lib/types/magicalActions/MagicalMelody.js +5 -0
  52. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +132 -0
  53. package/lib/types/prerequisites/PrerequisiteGroups.js +1 -0
  54. package/package.json +7 -7
  55. package/schema/Advantage.schema.json +0 -108
  56. package/schema/AnimalDisease.schema.json +0 -74
  57. package/schema/AnimalType.schema.json +0 -47
  58. package/schema/ArcaneBardTradition.schema.json +0 -11
  59. package/schema/ArcaneDancerTradition.schema.json +0 -11
  60. package/schema/Aspect.schema.json +0 -51
  61. package/schema/Attribute.schema.json +0 -57
  62. package/schema/Blessing.schema.json +0 -265
  63. package/schema/Cantrip.schema.json +0 -443
  64. package/schema/Ceremony.schema.json +0 -122
  65. package/schema/CombatTechnique_Close.schema.json +0 -116
  66. package/schema/CombatTechnique_Ranged.schema.json +0 -99
  67. package/schema/Condition.schema.json +0 -68
  68. package/schema/Continent.schema.json +0 -49
  69. package/schema/Culture.schema.json +0 -781
  70. package/schema/DerivedCharacteristic.schema.json +0 -90
  71. package/schema/Disadvantage.schema.json +0 -97
  72. package/schema/Disease.schema.json +0 -58
  73. package/schema/Element.schema.json +0 -48
  74. package/schema/ExperienceLevel.schema.json +0 -84
  75. package/schema/EyeColor.schema.json +0 -47
  76. package/schema/FamiliarsTrick.schema.json +0 -576
  77. package/schema/HairColor.schema.json +0 -47
  78. package/schema/Kirchenpraegung.schema.json +0 -11
  79. package/schema/Lessons_Curriculum.schema.json +0 -499
  80. package/schema/Lessons_Guideline.schema.json +0 -53
  81. package/schema/LiturgicalChant.schema.json +0 -122
  82. package/schema/Locale.schema.json +0 -38
  83. package/schema/MetaCondition.schema.json +0 -69
  84. package/schema/PactCategory.schema.json +0 -150
  85. package/schema/Patron.schema.json +0 -352
  86. package/schema/PatronCategory.schema.json +0 -57
  87. package/schema/PersonalityTrait.schema.json +0 -100
  88. package/schema/Profession.schema.json +0 -1424
  89. package/schema/Property.schema.json +0 -51
  90. package/schema/Race.schema.json +0 -534
  91. package/schema/Region.schema.json +0 -47
  92. package/schema/Ritual.schema.json +0 -120
  93. package/schema/Service.schema.json +0 -79
  94. package/schema/SexPractice.schema.json +0 -70
  95. package/schema/Skill.schema.json +0 -223
  96. package/schema/SkillGroup.schema.json +0 -57
  97. package/schema/SkillModificationLevel.schema.json +0 -153
  98. package/schema/SocialStatus.schema.json +0 -47
  99. package/schema/Spell.schema.json +0 -119
  100. package/schema/State.schema.json +0 -59
  101. package/schema/Talisman.schema.json +0 -120
  102. package/schema/TargetCategory.schema.json +0 -65
  103. package/schema/UI.schema.json +0 -4441
  104. package/schema/_Activatable.schema.json +0 -2755
  105. package/schema/_ActivatableSelectOptionCategory.schema.json +0 -1313
  106. package/schema/_ActivatableSkill.schema.json +0 -188
  107. package/schema/_ActivatableSkillCastingTime.schema.json +0 -181
  108. package/schema/_ActivatableSkillCheckResultBased.schema.json +0 -65
  109. package/schema/_ActivatableSkillCost.schema.json +0 -513
  110. package/schema/_ActivatableSkillDuration.schema.json +0 -353
  111. package/schema/_ActivatableSkillEffect.schema.json +0 -122
  112. package/schema/_ActivatableSkillRange.schema.json +0 -264
  113. package/schema/_ActivatableSkillTargetCategory.schema.json +0 -145
  114. package/schema/_AlternativeNames.schema.json +0 -23
  115. package/schema/_ArcaneTradition.schema.json +0 -51
  116. package/schema/_Blessed.schema.json +0 -64
  117. package/schema/_Dice.schema.json +0 -40
  118. package/schema/_DiseasePoison.schema.json +0 -152
  119. package/schema/_Enhancements.schema.json +0 -85
  120. package/schema/_I18n.schema.json +0 -55
  121. package/schema/_Identifier.schema.json +0 -2577
  122. package/schema/_IdentifierGroup.schema.json +0 -753
  123. package/schema/_ImprovementCost.schema.json +0 -23
  124. package/schema/_Influence.schema.json +0 -84
  125. package/schema/_NonEmptyString.schema.json +0 -14
  126. package/schema/_Prerequisite.schema.json +0 -1518
  127. package/schema/_ResponsiveText.schema.json +0 -66
  128. package/schema/_Sex.schema.json +0 -18
  129. package/schema/_SimpleReferences.schema.json +0 -522
  130. package/schema/_SkillCheck.schema.json +0 -38
  131. package/schema/_Spellwork.schema.json +0 -54
  132. package/schema/equipment/EquipmentPackage.schema.json +0 -79
  133. package/schema/equipment/item/Ammunition.schema.json +0 -56
  134. package/schema/equipment/item/Animal.schema.json +0 -36
  135. package/schema/equipment/item/AnimalCare.schema.json +0 -124
  136. package/schema/equipment/item/Armor.schema.json +0 -309
  137. package/schema/equipment/item/BandageOrRemedy.schema.json +0 -53
  138. package/schema/equipment/item/Book.schema.json +0 -89
  139. package/schema/equipment/item/CeremonialItem.schema.json +0 -59
  140. package/schema/equipment/item/Clothes.schema.json +0 -10
  141. package/schema/equipment/item/Container.schema.json +0 -10
  142. package/schema/equipment/item/Elixir.schema.json +0 -103
  143. package/schema/equipment/item/EquipmentOfBlessedOnes.schema.json +0 -49
  144. package/schema/equipment/item/GemOrPreciousStone.schema.json +0 -69
  145. package/schema/equipment/item/IlluminationLightSource.schema.json +0 -120
  146. package/schema/equipment/item/IlluminationRefillsOrSupplies.schema.json +0 -10
  147. package/schema/equipment/item/Jewelry.schema.json +0 -113
  148. package/schema/equipment/item/Liebesspielzeug.schema.json +0 -10
  149. package/schema/equipment/item/LuxuryGood.schema.json +0 -53
  150. package/schema/equipment/item/MagicalArtifact.schema.json +0 -64
  151. package/schema/equipment/item/MusicalInstrument.schema.json +0 -49
  152. package/schema/equipment/item/OrienteeringAid.schema.json +0 -10
  153. package/schema/equipment/item/Poison.schema.json +0 -835
  154. package/schema/equipment/item/RopeOrChain.schema.json +0 -10
  155. package/schema/equipment/item/Stationary.schema.json +0 -10
  156. package/schema/equipment/item/ThievesTool.schema.json +0 -10
  157. package/schema/equipment/item/ToolOfTheTrade.schema.json +0 -93
  158. package/schema/equipment/item/TravelGearOrTool.schema.json +0 -10
  159. package/schema/equipment/item/Vehicle.schema.json +0 -36
  160. package/schema/equipment/item/Weapon.schema.json +0 -285
  161. package/schema/equipment/item/WeaponAccessory.schema.json +0 -10
  162. package/schema/equipment/item/_Herbary.schema.json +0 -62
  163. package/schema/equipment/item/_Item.schema.json +0 -384
  164. package/schema/equipment/item/_MeleeWeapon.schema.json +0 -164
  165. package/schema/equipment/item/_RangedWeapon.schema.json +0 -185
  166. package/schema/equipment/item/_Weapon.schema.json +0 -99
  167. package/schema/equipment/item/sub/ArmorType.schema.json +0 -52
  168. package/schema/equipment/item/sub/Reach.schema.json +0 -47
  169. package/schema/magicalActions/AnimistPower.schema.json +0 -488
  170. package/schema/magicalActions/AnimistPower_Tribe.schema.json +0 -47
  171. package/schema/magicalActions/Curse.schema.json +0 -332
  172. package/schema/magicalActions/DominationRitual.schema.json +0 -275
  173. package/schema/magicalActions/ElvenMagicalSong.schema.json +0 -196
  174. package/schema/magicalActions/GeodeRitual.schema.json +0 -327
  175. package/schema/magicalActions/JesterTrick.schema.json +0 -311
  176. package/schema/magicalActions/MagicalDance.schema.json +0 -198
  177. package/schema/magicalActions/MagicalMelody.schema.json +0 -193
  178. package/schema/magicalActions/MagicalRune.schema.json +0 -578
  179. package/schema/magicalActions/ZibiljaRitual.schema.json +0 -165
  180. package/schema/magicalActions/_MusicTradition.schema.json +0 -82
  181. package/schema/magicalActions/_SkillReference.schema.json +0 -20
  182. package/schema/prerequisites/ConditionalPrerequisites.schema.json +0 -15
  183. package/schema/prerequisites/DisplayOption.schema.json +0 -70
  184. package/schema/prerequisites/PrerequisiteGroups.schema.json +0 -1029
  185. package/schema/prerequisites/single/ActivatablePrerequisite.schema.json +0 -45
  186. package/schema/prerequisites/single/AncestorBloodPrerequisite.schema.json +0 -14
  187. package/schema/prerequisites/single/AnimistPowerPrerequisite.schema.json +0 -36
  188. package/schema/prerequisites/single/CulturePrerequisite.schema.json +0 -24
  189. package/schema/prerequisites/single/EnhancementPrerequisite.schema.json +0 -61
  190. package/schema/prerequisites/single/InfluencePrerequisite.schema.json +0 -28
  191. package/schema/prerequisites/single/PactPrerequisite.schema.json +0 -36
  192. package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +0 -39
  193. package/schema/prerequisites/single/PublicationPrerequisite.schema.json +0 -22
  194. package/schema/prerequisites/single/RacePrerequisite.schema.json +0 -28
  195. package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +0 -172
  196. package/schema/prerequisites/single/RatedPrerequisite.schema.json +0 -29
  197. package/schema/prerequisites/single/RatedSumPrerequisite.schema.json +0 -33
  198. package/schema/prerequisites/single/RulePrerequisite.schema.json +0 -22
  199. package/schema/prerequisites/single/SexPrerequisite.schema.json +0 -23
  200. package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +0 -30
  201. package/schema/prerequisites/single/SocialStatusPrerequisite.schema.json +0 -24
  202. package/schema/prerequisites/single/StatePrerequisite.schema.json +0 -23
  203. package/schema/prerequisites/single/TextPrerequisite.schema.json +0 -64
  204. package/schema/prerequisites/single/TraditionPrerequisite.schema.json +0 -58
  205. package/schema/rule/CoreRule.schema.json +0 -1403
  206. package/schema/rule/FocusRule.schema.json +0 -76
  207. package/schema/rule/FocusRule_Subject.schema.json +0 -48
  208. package/schema/rule/OptionalRule.schema.json +0 -64
  209. package/schema/source/Publication.schema.json +0 -103
  210. package/schema/source/_Erratum.schema.json +0 -36
  211. package/schema/source/_PublicationRef.schema.json +0 -285
  212. package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +0 -102
  213. package/schema/specialAbility/AdvancedKarmaSpecialAbility.schema.json +0 -80
  214. package/schema/specialAbility/AdvancedMagicalSpecialAbility.schema.json +0 -80
  215. package/schema/specialAbility/AdvancedSkillSpecialAbility.schema.json +0 -80
  216. package/schema/specialAbility/AncestorGlyph.schema.json +0 -80
  217. package/schema/specialAbility/BlessedTradition.schema.json +0 -354
  218. package/schema/specialAbility/BrawlingSpecialAbility.schema.json +0 -82
  219. package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +0 -87
  220. package/schema/specialAbility/CombatSpecialAbility.schema.json +0 -98
  221. package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +0 -273
  222. package/schema/specialAbility/CommandSpecialAbility.schema.json +0 -82
  223. package/schema/specialAbility/FamiliarSpecialAbility.schema.json +0 -74
  224. package/schema/specialAbility/FatePointSexSpecialAbility.schema.json +0 -74
  225. package/schema/specialAbility/FatePointSpecialAbility.schema.json +0 -84
  226. package/schema/specialAbility/GeneralSpecialAbility.schema.json +0 -88
  227. package/schema/specialAbility/KarmaSpecialAbility.schema.json +0 -78
  228. package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +0 -260
  229. package/schema/specialAbility/LycantropicGift.schema.json +0 -74
  230. package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +0 -260
  231. package/schema/specialAbility/MagicalSign.schema.json +0 -72
  232. package/schema/specialAbility/MagicalSpecialAbility.schema.json +0 -88
  233. package/schema/specialAbility/MagicalTradition.schema.json +0 -163
  234. package/schema/specialAbility/PactGift.schema.json +0 -254
  235. package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +0 -86
  236. package/schema/specialAbility/Sermon.schema.json +0 -74
  237. package/schema/specialAbility/SexSpecialAbility.schema.json +0 -80
  238. package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +0 -78
  239. package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +0 -254
  240. package/schema/specialAbility/VampiricGift.schema.json +0 -78
  241. package/schema/specialAbility/Vision.schema.json +0 -74
  242. package/schema/specialAbility/_Tradition.schema.json +0 -23
  243. package/schema/specialAbility/sub/Language.schema.json +0 -222
  244. package/schema/specialAbility/sub/Script.schema.json +0 -90
  245. package/schema/specialAbility/sub/TradeSecret.schema.json +0 -72
  246. package/schema/specialAbility/sub/_LanguageScript.schema.json +0 -24
  247. package/schema/traditionArtifacts/ArcaneOrbEnchantment.schema.json +0 -95
  248. package/schema/traditionArtifacts/AttireEnchantment.schema.json +0 -95
  249. package/schema/traditionArtifacts/BowlEnchantment.schema.json +0 -95
  250. package/schema/traditionArtifacts/CauldronEnchantment.schema.json +0 -115
  251. package/schema/traditionArtifacts/ChronicleEnchantment.schema.json +0 -95
  252. package/schema/traditionArtifacts/DaggerRitual.schema.json +0 -176
  253. package/schema/traditionArtifacts/FoolsHatEnchantment.schema.json +0 -95
  254. package/schema/traditionArtifacts/InstrumentEnchantment.schema.json +0 -95
  255. package/schema/traditionArtifacts/Krallenkettenzauber.schema.json +0 -95
  256. package/schema/traditionArtifacts/OrbEnchantment.schema.json +0 -95
  257. package/schema/traditionArtifacts/RingEnchantment.schema.json +0 -95
  258. package/schema/traditionArtifacts/SickleRitual.schema.json +0 -95
  259. package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +0 -99
  260. package/schema/traditionArtifacts/StaffEnchantment.schema.json +0 -103
  261. package/schema/traditionArtifacts/ToyEnchantment.schema.json +0 -95
  262. package/schema/traditionArtifacts/Trinkhornzauber.schema.json +0 -95
  263. package/schema/traditionArtifacts/WandEnchantment.schema.json +0 -87
  264. package/schema/traditionArtifacts/WeaponEnchantment.schema.json +0 -95
  265. package/schema/traditionArtifacts/sub/AnimalShape.schema.json +0 -85
  266. package/schema/traditionArtifacts/sub/AnimalShapePath.schema.json +0 -47
  267. package/schema/traditionArtifacts/sub/AnimalShapeSize.schema.json +0 -59
  268. package/schema/traditionArtifacts/sub/Brew.schema.json +0 -47
@@ -1,332 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/magicalActions/Curse.schema.json",
4
- "$ref": "#/$defs/Curse",
5
- "$defs": {
6
- "Curse": {
7
- "title": "Curse",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The curse's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
14
- },
15
- "check": {
16
- "description": "Lists the linked three attributes used to make a skill check.",
17
- "$ref": "../_SkillCheck.schema.json#/$defs/SkillCheck"
18
- },
19
- "check_penalty": {
20
- "description": "In some cases, the target's Spirit or Toughness is applied as a penalty.",
21
- "$ref": "../_SkillCheck.schema.json#/$defs/SkillCheckPenalty"
22
- },
23
- "parameters": {
24
- "description": "Measurable parameters of a curse.",
25
- "$ref": "#/$defs/CursePerformanceParameters"
26
- },
27
- "property": {
28
- "description": "The associated property.",
29
- "$ref": "../_SimpleReferences.schema.json#/$defs/PropertyReference"
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/CurseTranslation"
40
- }
41
- },
42
- "minProperties": 1,
43
- "additionalProperties": false
44
- }
45
- },
46
- "required": [
47
- "id",
48
- "check",
49
- "parameters",
50
- "property",
51
- "src",
52
- "translations"
53
- ],
54
- "additionalProperties": false
55
- },
56
- "CurseTranslation": {
57
- "type": "object",
58
- "properties": {
59
- "name": {
60
- "description": "The name of the curse.",
61
- "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
62
- },
63
- "effect": {
64
- "description": "The effect description may be either a plain text or a text that is divided by a list of effects for each quality level. It may also be a list for each two quality levels.",
65
- "$ref": "../_ActivatableSkillEffect.schema.json#/$defs/ActivatableSkillEffect"
66
- },
67
- "cost": {
68
- "$ref": "../_ActivatableSkill.schema.json#/$defs/OldParameter"
69
- },
70
- "duration": {
71
- "$ref": "../_ActivatableSkill.schema.json#/$defs/OldParameter"
72
- },
73
- "errata": {
74
- "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
75
- }
76
- },
77
- "required": [
78
- "name",
79
- "effect",
80
- "cost",
81
- "duration"
82
- ],
83
- "additionalProperties": false
84
- },
85
- "CursePerformanceParameters": {
86
- "description": "Measurable parameters of a curse.",
87
- "type": "object",
88
- "properties": {
89
- "cost": {
90
- "description": "The AE cost.",
91
- "$ref": "#/$defs/CurseCost"
92
- },
93
- "duration": {
94
- "description": "The duration.",
95
- "$ref": "#/$defs/CurseDuration"
96
- }
97
- },
98
- "required": [
99
- "cost",
100
- "duration"
101
- ],
102
- "additionalProperties": false
103
- },
104
- "CurseCost": {
105
- "oneOf": [
106
- {
107
- "type": "object",
108
- "properties": {
109
- "tag": {
110
- "const": "Fixed"
111
- },
112
- "fixed": {
113
- "$ref": "#/$defs/FixedCurseCost"
114
- }
115
- },
116
- "required": [
117
- "tag",
118
- "fixed"
119
- ],
120
- "additionalProperties": false
121
- },
122
- {
123
- "type": "object",
124
- "properties": {
125
- "tag": {
126
- "const": "Indefinite"
127
- },
128
- "indefinite": {
129
- "$ref": "../_ActivatableSkillCost.schema.json#/$defs/IndefiniteOneTimeCost"
130
- }
131
- },
132
- "required": [
133
- "tag",
134
- "indefinite"
135
- ],
136
- "additionalProperties": false
137
- }
138
- ]
139
- },
140
- "FixedCurseCost": {
141
- "type": "object",
142
- "properties": {
143
- "value": {
144
- "description": "The (temporary) AE cost value.",
145
- "type": "integer",
146
- "minimum": 1
147
- },
148
- "translations": {
149
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
150
- "type": "object",
151
- "patternProperties": {
152
- "^[a-z]{2}-[A-Z]{2}$": {
153
- "$ref": "#/$defs/FixedCurseCostTranslation"
154
- }
155
- },
156
- "minProperties": 1,
157
- "additionalProperties": false
158
- }
159
- },
160
- "required": [
161
- "value"
162
- ],
163
- "additionalProperties": false
164
- },
165
- "FixedCurseCostTranslation": {
166
- "type": "object",
167
- "properties": {
168
- "per": {
169
- "description": "The cost have to be per a specific countable entity, e.g. `8 KP per person`.",
170
- "$ref": "../_ResponsiveText.schema.json#/$defs/ResponsiveText"
171
- },
172
- "note": {
173
- "description": "A note, appended to the generated string in parenthesis.",
174
- "$ref": "../_ResponsiveText.schema.json#/$defs/ResponsiveTextOptional"
175
- }
176
- },
177
- "required": [],
178
- "minProperties": 1,
179
- "additionalProperties": false
180
- },
181
- "CurseDuration": {
182
- "oneOf": [
183
- {
184
- "type": "object",
185
- "properties": {
186
- "tag": {
187
- "const": "Immediate"
188
- },
189
- "immediate": {
190
- "type": "object",
191
- "properties": {},
192
- "required": [],
193
- "additionalProperties": false
194
- }
195
- },
196
- "required": [
197
- "tag",
198
- "immediate"
199
- ],
200
- "additionalProperties": false
201
- },
202
- {
203
- "type": "object",
204
- "properties": {
205
- "tag": {
206
- "const": "Fixed"
207
- },
208
- "fixed": {
209
- "$ref": "#/$defs/FixedCurseDuration"
210
- }
211
- },
212
- "required": [
213
- "tag",
214
- "fixed"
215
- ],
216
- "additionalProperties": false
217
- },
218
- {
219
- "type": "object",
220
- "properties": {
221
- "tag": {
222
- "const": "CheckResultBased"
223
- },
224
- "check_result_based": {
225
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/CheckResultBasedDuration"
226
- }
227
- },
228
- "required": [
229
- "tag",
230
- "check_result_based"
231
- ],
232
- "additionalProperties": false
233
- },
234
- {
235
- "type": "object",
236
- "properties": {
237
- "tag": {
238
- "const": "Indefinite"
239
- },
240
- "indefinite": {
241
- "$ref": "#/$defs/IndefiniteCurseDuration"
242
- }
243
- },
244
- "required": [
245
- "tag",
246
- "indefinite"
247
- ],
248
- "additionalProperties": false
249
- }
250
- ]
251
- },
252
- "FixedCurseDuration": {
253
- "type": "object",
254
- "properties": {
255
- "value": {
256
- "description": "The (unitless) duration value.",
257
- "type": "integer",
258
- "minimum": 1
259
- },
260
- "unit": {
261
- "description": "The unit of the `value`.",
262
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/DurationUnit"
263
- }
264
- },
265
- "required": [
266
- "value",
267
- "unit"
268
- ],
269
- "additionalProperties": false
270
- },
271
- "IndefiniteCurseDuration": {
272
- "type": "object",
273
- "properties": {
274
- "maximum": {
275
- "description": "Specified if the duration has a maximum time span.",
276
- "$ref": "#/$defs/MaximumIndefiniteCurseDuration"
277
- },
278
- "translations": {
279
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
280
- "type": "object",
281
- "patternProperties": {
282
- "^[a-z]{2}-[A-Z]{2}$": {
283
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/IndefiniteDurationTranslation"
284
- }
285
- },
286
- "minProperties": 1,
287
- "additionalProperties": false
288
- }
289
- },
290
- "required": [
291
- "translations"
292
- ],
293
- "additionalProperties": false
294
- },
295
- "MaximumIndefiniteCurseDuration": {
296
- "oneOf": [
297
- {
298
- "type": "object",
299
- "properties": {
300
- "tag": {
301
- "const": "Fixed"
302
- },
303
- "fixed": {
304
- "$ref": "#/$defs/FixedCurseDuration"
305
- }
306
- },
307
- "required": [
308
- "tag",
309
- "fixed"
310
- ],
311
- "additionalProperties": false
312
- },
313
- {
314
- "type": "object",
315
- "properties": {
316
- "tag": {
317
- "const": "CheckResultBased"
318
- },
319
- "check_result_based": {
320
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/CheckResultBasedDuration"
321
- }
322
- },
323
- "required": [
324
- "tag",
325
- "check_result_based"
326
- ],
327
- "additionalProperties": false
328
- }
329
- ]
330
- }
331
- }
332
- }
@@ -1,275 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/magicalActions/DominationRitual.schema.json",
4
- "$ref": "#/$defs/DominationRitual",
5
- "$defs": {
6
- "DominationRitual": {
7
- "title": "Domination Ritual",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The domination ritual's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
14
- },
15
- "check": {
16
- "description": "Lists the linked three attributes used to make a skill check.",
17
- "$ref": "../_SkillCheck.schema.json#/$defs/SkillCheck"
18
- },
19
- "check_penalty": {
20
- "description": "In some cases, the target's Spirit or Toughness is applied as a penalty.",
21
- "$ref": "../_SkillCheck.schema.json#/$defs/SkillCheckPenalty"
22
- },
23
- "parameters": {
24
- "description": "Measurable parameters of a curse.",
25
- "$ref": "#/$defs/DominationRitualPerformanceParameters"
26
- },
27
- "property": {
28
- "description": "The associated property.",
29
- "$ref": "../_SimpleReferences.schema.json#/$defs/PropertyReference"
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/DominationRitualTranslation"
40
- }
41
- },
42
- "minProperties": 1,
43
- "additionalProperties": false
44
- }
45
- },
46
- "required": [
47
- "id",
48
- "check",
49
- "parameters",
50
- "property",
51
- "src",
52
- "translations"
53
- ],
54
- "additionalProperties": false
55
- },
56
- "DominationRitualTranslation": {
57
- "type": "object",
58
- "properties": {
59
- "name": {
60
- "description": "The name of the domination ritual.",
61
- "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
62
- },
63
- "effect": {
64
- "description": "The effect description may be either a plain text or a text that is divided by a list of effects for each quality level. It may also be a list for each two quality levels.",
65
- "$ref": "../_ActivatableSkillEffect.schema.json#/$defs/ActivatableSkillEffect"
66
- },
67
- "cost": {
68
- "$ref": "../_ActivatableSkill.schema.json#/$defs/OldParameter"
69
- },
70
- "duration": {
71
- "$ref": "../_ActivatableSkill.schema.json#/$defs/OldParameter"
72
- },
73
- "errata": {
74
- "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
75
- }
76
- },
77
- "required": [
78
- "name",
79
- "effect",
80
- "cost",
81
- "duration"
82
- ],
83
- "additionalProperties": false
84
- },
85
- "DominationRitualPerformanceParameters": {
86
- "description": "Measurable parameters of a curse.",
87
- "type": "object",
88
- "properties": {
89
- "cost": {
90
- "description": "The AE cost.",
91
- "$ref": "#/$defs/DominationRitualCost"
92
- },
93
- "duration": {
94
- "description": "The duration.",
95
- "$ref": "#/$defs/DominationRitualDuration"
96
- }
97
- },
98
- "required": [
99
- "cost",
100
- "duration"
101
- ],
102
- "additionalProperties": false
103
- },
104
- "DominationRitualCost": {
105
- "type": "object",
106
- "properties": {
107
- "initial_modification_level": {
108
- "description": "The initial skill modification identifier/level.",
109
- "type": "integer",
110
- "maximum": 6,
111
- "minimum": 1
112
- },
113
- "translations": {
114
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
115
- "type": "object",
116
- "patternProperties": {
117
- "^[a-z]{2}-[A-Z]{2}$": {
118
- "$ref": "#/$defs/DominationRitualCostTranslation"
119
- }
120
- },
121
- "minProperties": 1,
122
- "additionalProperties": false
123
- }
124
- },
125
- "required": [
126
- "initial_modification_level"
127
- ],
128
- "additionalProperties": false
129
- },
130
- "DominationRitualCostTranslation": {
131
- "type": "object",
132
- "properties": {
133
- "additional": {
134
- "description": "AE cost in addition to the normal AE cost.",
135
- "$ref": "../_ResponsiveText.schema.json#/$defs/ResponsiveText"
136
- }
137
- },
138
- "required": [
139
- "additional"
140
- ],
141
- "additionalProperties": false
142
- },
143
- "DominationRitualDuration": {
144
- "oneOf": [
145
- {
146
- "type": "object",
147
- "properties": {
148
- "tag": {
149
- "const": "Fixed"
150
- },
151
- "fixed": {
152
- "$ref": "#/$defs/FixedDominationRitualDuration"
153
- }
154
- },
155
- "required": [
156
- "tag",
157
- "fixed"
158
- ],
159
- "additionalProperties": false
160
- },
161
- {
162
- "type": "object",
163
- "properties": {
164
- "tag": {
165
- "const": "CheckResultBased"
166
- },
167
- "check_result_based": {
168
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/CheckResultBasedDuration"
169
- }
170
- },
171
- "required": [
172
- "tag",
173
- "check_result_based"
174
- ],
175
- "additionalProperties": false
176
- },
177
- {
178
- "type": "object",
179
- "properties": {
180
- "tag": {
181
- "const": "Indefinite"
182
- },
183
- "indefinite": {
184
- "$ref": "#/$defs/IndefiniteDominationRitualDuration"
185
- }
186
- },
187
- "required": [
188
- "tag",
189
- "indefinite"
190
- ],
191
- "additionalProperties": false
192
- }
193
- ]
194
- },
195
- "FixedDominationRitualDuration": {
196
- "type": "object",
197
- "properties": {
198
- "value": {
199
- "description": "The (unitless) duration value.",
200
- "type": "integer",
201
- "minimum": 1
202
- },
203
- "unit": {
204
- "description": "The unit of the `value`.",
205
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/DurationUnit"
206
- }
207
- },
208
- "required": [
209
- "value",
210
- "unit"
211
- ],
212
- "additionalProperties": false
213
- },
214
- "IndefiniteDominationRitualDuration": {
215
- "type": "object",
216
- "properties": {
217
- "maximum": {
218
- "description": "Specified if the duration has a maximum time span.",
219
- "$ref": "#/$defs/MaximumIndefiniteDominationRitualDuration"
220
- },
221
- "translations": {
222
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
223
- "type": "object",
224
- "patternProperties": {
225
- "^[a-z]{2}-[A-Z]{2}$": {
226
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/IndefiniteDurationTranslation"
227
- }
228
- },
229
- "minProperties": 1,
230
- "additionalProperties": false
231
- }
232
- },
233
- "required": [
234
- "translations"
235
- ],
236
- "additionalProperties": false
237
- },
238
- "MaximumIndefiniteDominationRitualDuration": {
239
- "oneOf": [
240
- {
241
- "type": "object",
242
- "properties": {
243
- "tag": {
244
- "const": "Fixed"
245
- },
246
- "fixed": {
247
- "$ref": "#/$defs/FixedDominationRitualDuration"
248
- }
249
- },
250
- "required": [
251
- "tag",
252
- "fixed"
253
- ],
254
- "additionalProperties": false
255
- },
256
- {
257
- "type": "object",
258
- "properties": {
259
- "tag": {
260
- "const": "CheckResultBased"
261
- },
262
- "check_result_based": {
263
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/CheckResultBasedDuration"
264
- }
265
- },
266
- "required": [
267
- "tag",
268
- "check_result_based"
269
- ],
270
- "additionalProperties": false
271
- }
272
- ]
273
- }
274
- }
275
- }