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,488 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/magicalActions/AnimistPower.schema.json",
4
- "$ref": "#/$defs/AnimistPower",
5
- "$defs": {
6
- "AnimistPower": {
7
- "title": "Animist Power",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The animist power'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
- "parameters": {
20
- "description": "Measurable parameters of a animist power.",
21
- "$ref": "#/$defs/AnimistPowerPerformanceParameters"
22
- },
23
- "property": {
24
- "description": "The associated property.",
25
- "$ref": "../_SimpleReferences.schema.json#/$defs/PropertyReference"
26
- },
27
- "tribe_tradition": {
28
- "description": "The tribe traditions the animist power is available to. It may be available to all or only specific tribes.\n\nIf no tribe tradition is given, the animist power is generally available to all tribe traditions.",
29
- "type": "array",
30
- "items": {
31
- "$ref": "../_SimpleReferences.schema.json#/$defs/AnimistTribeReference"
32
- },
33
- "uniqueItems": true
34
- },
35
- "improvement_cost": {
36
- "description": "States which column is used to improve the skill. It is a fixed value or depends on the primary patron.",
37
- "$ref": "#/$defs/AnimistPowerImprovementCost"
38
- },
39
- "prerequisites": {
40
- "$ref": "../_Prerequisite.schema.json#/$defs/AnimistPowerPrerequisites"
41
- },
42
- "levels": {
43
- "description": "The animist power can have multiple levels. Each level is skilled separately. A previous level must be on at least 10 so that the next higher level can be activated and skilled. A higher level cannot be skilled higher than a lower level. Each level also adds an effect text to the text of the first level.",
44
- "type": "array",
45
- "items": {
46
- "$ref": "#/$defs/AnimistPowerLevel"
47
- },
48
- "minItems": 1
49
- },
50
- "src": {
51
- "$ref": "../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
52
- },
53
- "translations": {
54
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
55
- "type": "object",
56
- "patternProperties": {
57
- "^[a-z]{2}-[A-Z]{2}$": {
58
- "$ref": "#/$defs/AnimistPowerTranslation"
59
- }
60
- },
61
- "minProperties": 1,
62
- "additionalProperties": false
63
- }
64
- },
65
- "required": [
66
- "id",
67
- "check",
68
- "parameters",
69
- "property",
70
- "tribe_tradition",
71
- "improvement_cost",
72
- "src",
73
- "translations"
74
- ],
75
- "additionalProperties": false
76
- },
77
- "AnimistPowerTranslation": {
78
- "type": "object",
79
- "properties": {
80
- "name": {
81
- "description": "The name of the animist power.",
82
- "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
83
- },
84
- "name_in_library": {
85
- "description": "The full name of the entry as stated in the sources. Only use when\n`name` needs to be different from full name for text generation\npurposes.",
86
- "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
87
- },
88
- "effect": {
89
- "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.",
90
- "$ref": "../_ActivatableSkillEffect.schema.json#/$defs/ActivatableSkillEffect"
91
- },
92
- "cost": {
93
- "$ref": "../_ActivatableSkill.schema.json#/$defs/OldParameter"
94
- },
95
- "duration": {
96
- "$ref": "../_ActivatableSkill.schema.json#/$defs/OldParameter"
97
- },
98
- "prerequisites": {
99
- "description": "A prerequisites text.",
100
- "type": "string"
101
- },
102
- "errata": {
103
- "$ref": "../source/_Erratum.schema.json#/$defs/Errata"
104
- }
105
- },
106
- "required": [
107
- "name",
108
- "effect",
109
- "cost",
110
- "duration"
111
- ],
112
- "additionalProperties": false
113
- },
114
- "AnimistPowerLevel": {
115
- "type": "object",
116
- "properties": {
117
- "level": {
118
- "description": "The level number.",
119
- "type": "integer",
120
- "minimum": 2
121
- },
122
- "src": {
123
- "description": "The source references, if different than the references for level 1.",
124
- "$ref": "../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
125
- },
126
- "translations": {
127
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
128
- "type": "object",
129
- "patternProperties": {
130
- "^[a-z]{2}-[A-Z]{2}$": {
131
- "$ref": "#/$defs/AnimistPowerLevelTranslation"
132
- }
133
- },
134
- "minProperties": 1,
135
- "additionalProperties": false
136
- }
137
- },
138
- "required": [
139
- "level",
140
- "translations"
141
- ],
142
- "additionalProperties": false
143
- },
144
- "AnimistPowerLevelTranslation": {
145
- "type": "object",
146
- "properties": {
147
- "effect": {
148
- "description": "An additional effect description for this level.",
149
- "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
150
- }
151
- },
152
- "required": [
153
- "effect"
154
- ],
155
- "additionalProperties": false
156
- },
157
- "AnimistPowerPerformanceParameters": {
158
- "description": "Measurable parameters of a animist power.",
159
- "oneOf": [
160
- {
161
- "type": "object",
162
- "properties": {
163
- "tag": {
164
- "const": "OneTime"
165
- },
166
- "one_time": {
167
- "$ref": "#/$defs/OneTimeAnimistPowerPerformanceParameters"
168
- }
169
- },
170
- "required": [
171
- "tag",
172
- "one_time"
173
- ],
174
- "additionalProperties": false
175
- },
176
- {
177
- "type": "object",
178
- "properties": {
179
- "tag": {
180
- "const": "Sustained"
181
- },
182
- "sustained": {
183
- "$ref": "#/$defs/SustainedAnimistPowerPerformanceParameters"
184
- }
185
- },
186
- "required": [
187
- "tag",
188
- "sustained"
189
- ],
190
- "additionalProperties": false
191
- }
192
- ]
193
- },
194
- "OneTimeAnimistPowerPerformanceParameters": {
195
- "type": "object",
196
- "properties": {
197
- "cost": {
198
- "description": "The AE cost value, either a flat value or defined dynamically by the primary patron.",
199
- "$ref": "#/$defs/OneTimeAnimistPowerCost"
200
- },
201
- "duration": {
202
- "description": "The duration.",
203
- "$ref": "#/$defs/OneTimeAnimistPowerDuration"
204
- }
205
- },
206
- "required": [
207
- "cost",
208
- "duration"
209
- ],
210
- "additionalProperties": false
211
- },
212
- "OneTimeAnimistPowerCost": {
213
- "oneOf": [
214
- {
215
- "type": "object",
216
- "properties": {
217
- "tag": {
218
- "const": "Fixed"
219
- },
220
- "fixed": {
221
- "$ref": "#/$defs/FixedOneTimeAnimistPowerCost"
222
- }
223
- },
224
- "required": [
225
- "tag",
226
- "fixed"
227
- ],
228
- "additionalProperties": false
229
- },
230
- {
231
- "type": "object",
232
- "properties": {
233
- "tag": {
234
- "const": "ByPrimaryPatron"
235
- },
236
- "by_primary_patron": {
237
- "$ref": "#/$defs/OneTimeAnimistPowerCostByPrimaryPatron"
238
- }
239
- },
240
- "required": [
241
- "tag",
242
- "by_primary_patron"
243
- ],
244
- "additionalProperties": false
245
- }
246
- ]
247
- },
248
- "FixedOneTimeAnimistPowerCost": {
249
- "type": "object",
250
- "properties": {
251
- "value": {
252
- "description": "The AE cost value.",
253
- "type": "integer",
254
- "minimum": 1
255
- },
256
- "interval": {
257
- "description": "If defined, half of the AE cost `value` has to be paid each interval.",
258
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/DurationUnitValue"
259
- }
260
- },
261
- "required": [
262
- "value"
263
- ],
264
- "additionalProperties": false
265
- },
266
- "OneTimeAnimistPowerCostByPrimaryPatron": {
267
- "type": "object",
268
- "properties": {
269
- "interval": {
270
- "description": "If defined, half of the AE cost `value` has to be paid each interval.",
271
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/DurationUnitValue"
272
- },
273
- "translations": {
274
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
275
- "type": "object",
276
- "patternProperties": {
277
- "^[a-z]{2}-[A-Z]{2}$": {
278
- "$ref": "#/$defs/AnimistPowerCostByPrimaryPatronTranslation"
279
- }
280
- },
281
- "minProperties": 1,
282
- "additionalProperties": false
283
- }
284
- },
285
- "required": [],
286
- "additionalProperties": false
287
- },
288
- "OneTimeAnimistPowerDuration": {
289
- "oneOf": [
290
- {
291
- "type": "object",
292
- "properties": {
293
- "tag": {
294
- "const": "Immediate"
295
- },
296
- "immediate": {
297
- "type": "object",
298
- "properties": {},
299
- "required": [],
300
- "additionalProperties": false
301
- }
302
- },
303
- "required": [
304
- "tag",
305
- "immediate"
306
- ],
307
- "additionalProperties": false
308
- },
309
- {
310
- "type": "object",
311
- "properties": {
312
- "tag": {
313
- "const": "Fixed"
314
- },
315
- "fixed": {
316
- "$ref": "../FamiliarsTrick.schema.json#/$defs/FamiliarsTrickFixedOneTimeCostTranslation"
317
- }
318
- },
319
- "required": [
320
- "tag",
321
- "fixed"
322
- ],
323
- "additionalProperties": false
324
- },
325
- {
326
- "type": "object",
327
- "properties": {
328
- "tag": {
329
- "const": "CheckResultBased"
330
- },
331
- "check_result_based": {
332
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/CheckResultBasedDuration"
333
- }
334
- },
335
- "required": [
336
- "tag",
337
- "check_result_based"
338
- ],
339
- "additionalProperties": false
340
- }
341
- ]
342
- },
343
- "SustainedAnimistPowerPerformanceParameters": {
344
- "type": "object",
345
- "properties": {
346
- "cost": {
347
- "description": "The AE cost value, either a flat value or defined dynamically by the primary patron.",
348
- "$ref": "#/$defs/SustainedAnimistPowerCost"
349
- }
350
- },
351
- "required": [
352
- "cost"
353
- ],
354
- "additionalProperties": false
355
- },
356
- "SustainedAnimistPowerCost": {
357
- "oneOf": [
358
- {
359
- "type": "object",
360
- "properties": {
361
- "tag": {
362
- "const": "Fixed"
363
- },
364
- "fixed": {
365
- "$ref": "#/$defs/FixedSustainedAnimistPowerCost"
366
- }
367
- },
368
- "required": [
369
- "tag",
370
- "fixed"
371
- ],
372
- "additionalProperties": false
373
- },
374
- {
375
- "type": "object",
376
- "properties": {
377
- "tag": {
378
- "const": "ByPrimaryPatron"
379
- },
380
- "by_primary_patron": {
381
- "$ref": "#/$defs/SustainedAnimistPowerCostByPrimaryPatron"
382
- }
383
- },
384
- "required": [
385
- "tag",
386
- "by_primary_patron"
387
- ],
388
- "additionalProperties": false
389
- }
390
- ]
391
- },
392
- "FixedSustainedAnimistPowerCost": {
393
- "type": "object",
394
- "properties": {
395
- "value": {
396
- "description": "The AE cost value.",
397
- "type": "integer",
398
- "minimum": 1
399
- },
400
- "interval": {
401
- "description": "Half of the AE cost `value` has to be paid each interval.",
402
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/DurationUnitValue"
403
- }
404
- },
405
- "required": [
406
- "value",
407
- "interval"
408
- ],
409
- "additionalProperties": false
410
- },
411
- "SustainedAnimistPowerCostByPrimaryPatron": {
412
- "type": "object",
413
- "properties": {
414
- "interval": {
415
- "description": "Half of the AE cost `value` has to be paid each interval.",
416
- "$ref": "../_ActivatableSkillDuration.schema.json#/$defs/DurationUnitValue"
417
- },
418
- "translations": {
419
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
420
- "type": "object",
421
- "patternProperties": {
422
- "^[a-z]{2}-[A-Z]{2}$": {
423
- "$ref": "#/$defs/AnimistPowerCostByPrimaryPatronTranslation"
424
- }
425
- },
426
- "minProperties": 1,
427
- "additionalProperties": false
428
- }
429
- },
430
- "required": [
431
- "interval"
432
- ],
433
- "additionalProperties": false
434
- },
435
- "AnimistPowerCostByPrimaryPatronTranslation": {
436
- "type": "object",
437
- "properties": {
438
- "note": {
439
- "description": "A note, appended to the generated string in parenthesis.",
440
- "$ref": "../_ResponsiveText.schema.json#/$defs/ResponsiveTextOptional"
441
- }
442
- },
443
- "required": [
444
- "note"
445
- ],
446
- "additionalProperties": false
447
- },
448
- "AnimistPowerImprovementCost": {
449
- "oneOf": [
450
- {
451
- "type": "object",
452
- "properties": {
453
- "tag": {
454
- "const": "Fixed"
455
- },
456
- "fixed": {
457
- "$ref": "../_ImprovementCost.schema.json#/$defs/ImprovementCost"
458
- }
459
- },
460
- "required": [
461
- "tag",
462
- "fixed"
463
- ],
464
- "additionalProperties": false
465
- },
466
- {
467
- "type": "object",
468
- "properties": {
469
- "tag": {
470
- "const": "ByPrimaryPatron"
471
- },
472
- "by_primary_patron": {
473
- "type": "object",
474
- "properties": {},
475
- "required": [],
476
- "additionalProperties": false
477
- }
478
- },
479
- "required": [
480
- "tag",
481
- "by_primary_patron"
482
- ],
483
- "additionalProperties": false
484
- }
485
- ]
486
- }
487
- }
488
- }
@@ -1,47 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/magicalActions/AnimistPower_Tribe.schema.json",
4
- "$ref": "#/$defs/Tribe",
5
- "$defs": {
6
- "Tribe": {
7
- "title": "Tribe",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The tribe's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
14
- },
15
- "translations": {
16
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
17
- "type": "object",
18
- "patternProperties": {
19
- "^[a-z]{2}-[A-Z]{2}$": {
20
- "$ref": "#/$defs/TribeTranslation"
21
- }
22
- },
23
- "minProperties": 1,
24
- "additionalProperties": false
25
- }
26
- },
27
- "required": [
28
- "id",
29
- "translations"
30
- ],
31
- "additionalProperties": false
32
- },
33
- "TribeTranslation": {
34
- "type": "object",
35
- "properties": {
36
- "name": {
37
- "description": "The tribe name.",
38
- "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
39
- }
40
- },
41
- "required": [
42
- "name"
43
- ],
44
- "additionalProperties": false
45
- }
46
- }
47
- }