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,79 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/equipment/EquipmentPackage.schema.json",
4
- "$ref": "#/$defs/EquipmentPackage",
5
- "$defs": {
6
- "EquipmentPackage": {
7
- "title": "Equipment Package",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The equipment package's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
14
- },
15
- "items": {
16
- "description": "All items in the package. You have to provide the item (template) identifier and you can optionally provide the number of how often an item is included in the package.",
17
- "type": "array",
18
- "items": {
19
- "$ref": "#/$defs/EquipmentPackageItem"
20
- },
21
- "minItems": 2
22
- },
23
- "src": {
24
- "$ref": "../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
25
- },
26
- "translations": {
27
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
28
- "type": "object",
29
- "patternProperties": {
30
- "^[a-z]{2}-[A-Z]{2}$": {
31
- "$ref": "#/$defs/EquipmentPackageTranslation"
32
- }
33
- },
34
- "minProperties": 1,
35
- "additionalProperties": false
36
- }
37
- },
38
- "required": [
39
- "id",
40
- "items",
41
- "src",
42
- "translations"
43
- ],
44
- "additionalProperties": false
45
- },
46
- "EquipmentPackageItem": {
47
- "type": "object",
48
- "properties": {
49
- "id": {
50
- "description": "The item's identifier.",
51
- "$ref": "../_IdentifierGroup.schema.json#/$defs/EquipmentIdentifier"
52
- },
53
- "number": {
54
- "description": "The number of how often the item is included in the package.",
55
- "type": "integer",
56
- "default": 1,
57
- "minimum": 2
58
- }
59
- },
60
- "required": [
61
- "id"
62
- ],
63
- "additionalProperties": false
64
- },
65
- "EquipmentPackageTranslation": {
66
- "type": "object",
67
- "properties": {
68
- "name": {
69
- "description": "The name of the equipment package.",
70
- "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
71
- }
72
- },
73
- "required": [
74
- "name"
75
- ],
76
- "additionalProperties": false
77
- }
78
- }
79
- }
@@ -1,56 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/equipment/item/Ammunition.schema.json",
4
- "$ref": "#/$defs/Ammunition",
5
- "$defs": {
6
- "Ammunition": {
7
- "type": "object",
8
- "properties": {
9
- "cost": {
10
- "description": "The cost in silverthalers.",
11
- "$ref": "./_Item.schema.json#/$defs/Cost"
12
- },
13
- "src": {
14
- "$ref": "../../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
15
- },
16
- "translations": {
17
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
18
- "type": "object",
19
- "patternProperties": {
20
- "^[a-z]{2}-[A-Z]{2}$": {
21
- "$ref": "#/$defs/AmmunitionTranslation"
22
- }
23
- },
24
- "minProperties": 1,
25
- "additionalProperties": false
26
- }
27
- },
28
- "required": [
29
- "cost",
30
- "src",
31
- "translations"
32
- ],
33
- "additionalProperties": false
34
- },
35
- "AmmunitionTranslation": {
36
- "type": "object",
37
- "properties": {
38
- "name": {
39
- "description": "The name of the item.",
40
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyString"
41
- },
42
- "secondary_name": {
43
- "description": "An auxiliary name or label of the item, if available.",
44
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyString"
45
- },
46
- "errata": {
47
- "$ref": "../../source/_Erratum.schema.json#/$defs/Errata"
48
- }
49
- },
50
- "required": [
51
- "name"
52
- ],
53
- "additionalProperties": false
54
- }
55
- }
56
- }
@@ -1,36 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/equipment/item/Animal.schema.json",
4
- "$ref": "#/$defs/Animal",
5
- "$defs": {
6
- "Animal": {
7
- "type": "object",
8
- "properties": {
9
- "cost": {
10
- "description": "The cost in silverthalers.",
11
- "$ref": "./_Item.schema.json#/$defs/Cost"
12
- },
13
- "src": {
14
- "$ref": "../../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
15
- },
16
- "translations": {
17
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
18
- "type": "object",
19
- "patternProperties": {
20
- "^[a-z]{2}-[A-Z]{2}$": {
21
- "$ref": "./_Item.schema.json#/$defs/DefaultItemTranslation"
22
- }
23
- },
24
- "minProperties": 1,
25
- "additionalProperties": false
26
- }
27
- },
28
- "required": [
29
- "cost",
30
- "src",
31
- "translations"
32
- ],
33
- "additionalProperties": false
34
- }
35
- }
36
- }
@@ -1,124 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/equipment/item/AnimalCare.schema.json",
4
- "$ref": "#/$defs/AnimalCare",
5
- "$defs": {
6
- "AnimalCare": {
7
- "type": "object",
8
- "properties": {
9
- "type": {
10
- "description": "Values depending on whether the animal care is feed.",
11
- "$ref": "#/$defs/AnimalCareType"
12
- },
13
- "src": {
14
- "$ref": "../../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
15
- },
16
- "translations": {
17
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
18
- "type": "object",
19
- "patternProperties": {
20
- "^[a-z]{2}-[A-Z]{2}$": {
21
- "$ref": "./_Item.schema.json#/$defs/DefaultItemTranslation"
22
- }
23
- },
24
- "minProperties": 1,
25
- "additionalProperties": false
26
- }
27
- },
28
- "required": [
29
- "type",
30
- "src",
31
- "translations"
32
- ],
33
- "additionalProperties": false
34
- },
35
- "AnimalCareType": {
36
- "description": "Values depending on whether the animal care is feed.",
37
- "oneOf": [
38
- {
39
- "type": "object",
40
- "properties": {
41
- "tag": {
42
- "const": "General"
43
- },
44
- "general": {
45
- "$ref": "#/$defs/GeneralAnimalCare"
46
- }
47
- },
48
- "required": [
49
- "tag",
50
- "general"
51
- ],
52
- "additionalProperties": false
53
- },
54
- {
55
- "type": "object",
56
- "properties": {
57
- "tag": {
58
- "const": "Feed"
59
- },
60
- "feed": {
61
- "$ref": "#/$defs/AnimalFeed"
62
- }
63
- },
64
- "required": [
65
- "tag",
66
- "feed"
67
- ],
68
- "additionalProperties": false
69
- }
70
- ]
71
- },
72
- "GeneralAnimalCare": {
73
- "type": "object",
74
- "properties": {
75
- "cost": {
76
- "description": "The cost in silverthalers.",
77
- "$ref": "./_Item.schema.json#/$defs/Cost"
78
- },
79
- "weight": {
80
- "description": "The weight in kg.",
81
- "$ref": "./_Item.schema.json#/$defs/Weight"
82
- }
83
- },
84
- "required": [
85
- "cost",
86
- "weight"
87
- ],
88
- "additionalProperties": false
89
- },
90
- "AnimalFeed": {
91
- "type": "object",
92
- "properties": {
93
- "cost": {
94
- "description": "The cost in silverthalers.",
95
- "$ref": "#/$defs/AnimalFeedCost"
96
- }
97
- },
98
- "required": [
99
- "cost"
100
- ],
101
- "additionalProperties": false
102
- },
103
- "AnimalFeedCost": {
104
- "oneOf": [
105
- {
106
- "type": "object",
107
- "properties": {
108
- "tag": {
109
- "const": "PerWeek"
110
- },
111
- "per_week": {
112
- "$ref": "./_Item.schema.json#/$defs/FixedCost"
113
- }
114
- },
115
- "required": [
116
- "tag",
117
- "per_week"
118
- ],
119
- "additionalProperties": false
120
- }
121
- ]
122
- }
123
- }
124
- }
@@ -1,309 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/equipment/item/Armor.schema.json",
4
- "$ref": "#/$defs/Armor",
5
- "$defs": {
6
- "Armor": {
7
- "type": "object",
8
- "properties": {
9
- "cost": {
10
- "description": "The cost in silverthalers.",
11
- "$ref": "./_Item.schema.json#/$defs/Cost"
12
- },
13
- "weight": {
14
- "description": "The weight in kg.",
15
- "$ref": "./_Item.schema.json#/$defs/Weight"
16
- },
17
- "complexity": {
18
- "description": "The complexity of crafting the item.",
19
- "$ref": "./_Item.schema.json#/$defs/Complexity"
20
- },
21
- "protection": {
22
- "description": "The PRO value.",
23
- "$ref": "#/$defs/Protection"
24
- },
25
- "encumbrance": {
26
- "description": "The ENC value.",
27
- "$ref": "#/$defs/Encumbrance"
28
- },
29
- "has_additional_penalties": {
30
- "description": "Does the armor have additional penalties (MOV -1, INI -1)?",
31
- "$ref": "#/$defs/HasAdditionalPenalties"
32
- },
33
- "armor_type": {
34
- "description": "The armor type.",
35
- "$ref": "#/$defs/ArmorTypeReference"
36
- },
37
- "hit_zone": {
38
- "description": "Specify if armor is only available for a specific hit zone.",
39
- "$ref": "#/$defs/HitZone"
40
- },
41
- "src": {
42
- "$ref": "../../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
43
- },
44
- "translations": {
45
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
46
- "type": "object",
47
- "patternProperties": {
48
- "^[a-z]{2}-[A-Z]{2}$": {
49
- "$ref": "#/$defs/ArmorTranslation"
50
- }
51
- },
52
- "minProperties": 1,
53
- "additionalProperties": false
54
- }
55
- },
56
- "required": [
57
- "cost",
58
- "weight",
59
- "complexity",
60
- "protection",
61
- "encumbrance",
62
- "has_additional_penalties",
63
- "armor_type",
64
- "src",
65
- "translations"
66
- ],
67
- "additionalProperties": false
68
- },
69
- "ArmorTranslation": {
70
- "type": "object",
71
- "properties": {
72
- "name": {
73
- "description": "The name of the item.",
74
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyString"
75
- },
76
- "secondary_name": {
77
- "description": "An auxiliary name or label of the item, if available.",
78
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyString"
79
- },
80
- "note": {
81
- "description": "Note text.",
82
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
83
- },
84
- "rules": {
85
- "description": "Special rules text.",
86
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
87
- },
88
- "advantage": {
89
- "description": "The armor advantage text.",
90
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
91
- },
92
- "disadvantage": {
93
- "description": "The armor disadvantage text.",
94
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
95
- },
96
- "errata": {
97
- "$ref": "../../source/_Erratum.schema.json#/$defs/Errata"
98
- }
99
- },
100
- "required": [
101
- "name"
102
- ],
103
- "minProperties": 1,
104
- "additionalProperties": false
105
- },
106
- "SecondaryArmor": {
107
- "type": "object",
108
- "properties": {
109
- "protection": {
110
- "description": "The PRO value.",
111
- "$ref": "#/$defs/Protection"
112
- },
113
- "encumbrance": {
114
- "description": "The ENC value.",
115
- "$ref": "#/$defs/Encumbrance"
116
- },
117
- "has_additional_penalties": {
118
- "description": "Does the armor have additional penalties (MOV -1, INI -1)?",
119
- "$ref": "#/$defs/HasAdditionalPenalties"
120
- },
121
- "armor_type": {
122
- "description": "The armor type.",
123
- "$ref": "#/$defs/ArmorTypeReference"
124
- },
125
- "hit_zone": {
126
- "description": "Specify if armor is only available for a specific hit zone.",
127
- "$ref": "#/$defs/HitZone"
128
- },
129
- "translations": {
130
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
131
- "type": "object",
132
- "patternProperties": {
133
- "^[a-z]{2}-[A-Z]{2}$": {
134
- "$ref": "#/$defs/SecondaryArmorTranslation"
135
- }
136
- },
137
- "minProperties": 1,
138
- "additionalProperties": false
139
- }
140
- },
141
- "required": [
142
- "protection",
143
- "encumbrance",
144
- "has_additional_penalties",
145
- "armor_type"
146
- ],
147
- "additionalProperties": false
148
- },
149
- "SecondaryArmorTranslation": {
150
- "type": "object",
151
- "properties": {
152
- "advantage": {
153
- "description": "The armor advantage text.",
154
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
155
- },
156
- "disadvantage": {
157
- "description": "The armor disadvantage text.",
158
- "$ref": "../../_NonEmptyString.schema.json#/$defs/NonEmptyMarkdown"
159
- }
160
- },
161
- "required": [],
162
- "minProperties": 1,
163
- "additionalProperties": false
164
- },
165
- "Protection": {
166
- "description": "The PRO value.",
167
- "type": "integer",
168
- "minimum": 0
169
- },
170
- "Encumbrance": {
171
- "description": "The ENC value.",
172
- "type": "integer",
173
- "minimum": 0
174
- },
175
- "HasAdditionalPenalties": {
176
- "description": "Does the armor have additional penalties (MOV -1, INI -1)?",
177
- "type": "boolean"
178
- },
179
- "ArmorTypeReference": {
180
- "title": "Armor Type",
181
- "description": "The armor type.",
182
- "type": "object",
183
- "properties": {
184
- "id": {
185
- "description": "The armor type's identifier.",
186
- "type": "integer",
187
- "maximum": 10,
188
- "minimum": 1
189
- }
190
- },
191
- "required": [
192
- "id"
193
- ],
194
- "additionalProperties": false
195
- },
196
- "HitZone": {
197
- "title": "Hit Zone",
198
- "description": "Specify if armor is only available for a specific hit zone.",
199
- "oneOf": [
200
- {
201
- "type": "object",
202
- "properties": {
203
- "tag": {
204
- "const": "Head"
205
- },
206
- "head": {
207
- "$ref": "#/$defs/HeadHitZone"
208
- }
209
- },
210
- "required": [
211
- "tag",
212
- "head"
213
- ],
214
- "additionalProperties": false
215
- },
216
- {
217
- "type": "object",
218
- "properties": {
219
- "tag": {
220
- "const": "Torso"
221
- },
222
- "torso": {
223
- "type": "object",
224
- "properties": {},
225
- "required": [],
226
- "additionalProperties": false
227
- }
228
- },
229
- "required": [
230
- "tag",
231
- "torso"
232
- ],
233
- "additionalProperties": false
234
- },
235
- {
236
- "type": "object",
237
- "properties": {
238
- "tag": {
239
- "const": "Arms"
240
- },
241
- "arms": {
242
- "type": "object",
243
- "properties": {},
244
- "required": [],
245
- "additionalProperties": false
246
- }
247
- },
248
- "required": [
249
- "tag",
250
- "arms"
251
- ],
252
- "additionalProperties": false
253
- },
254
- {
255
- "type": "object",
256
- "properties": {
257
- "tag": {
258
- "const": "Legs"
259
- },
260
- "legs": {
261
- "type": "object",
262
- "properties": {},
263
- "required": [],
264
- "additionalProperties": false
265
- }
266
- },
267
- "required": [
268
- "tag",
269
- "legs"
270
- ],
271
- "additionalProperties": false
272
- }
273
- ]
274
- },
275
- "HeadHitZone": {
276
- "type": "object",
277
- "properties": {
278
- "combination_possibilities": {
279
- "description": "In some cases, multiple armors for the same hit zone can be combined. They're listed at the item that can be combined with others.",
280
- "$ref": "#/$defs/HeadHitZoneCombinationPossibilities"
281
- }
282
- },
283
- "required": [],
284
- "additionalProperties": false
285
- },
286
- "HeadHitZoneCombinationPossibilities": {
287
- "type": "object",
288
- "properties": {
289
- "armors": {
290
- "description": "A list of armors that can be combined with this armor.",
291
- "type": "array",
292
- "items": {
293
- "$ref": "../../_SimpleReferences.schema.json#/$defs/ArmorReference"
294
- },
295
- "minItems": 1
296
- },
297
- "protection": {
298
- "description": "The PRO value that is added to the PRO value of the other armor instead of adding the normale PRO value.",
299
- "type": "integer",
300
- "minimum": 0
301
- }
302
- },
303
- "required": [
304
- "armors"
305
- ],
306
- "additionalProperties": false
307
- }
308
- }
309
- }
@@ -1,53 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/equipment/item/BandageOrRemedy.schema.json",
4
- "$ref": "#/$defs/BandageOrRemedy",
5
- "$defs": {
6
- "BandageOrRemedy": {
7
- "type": "object",
8
- "properties": {
9
- "cost": {
10
- "description": "The cost in silverthalers.",
11
- "$ref": "./_Item.schema.json#/$defs/Cost"
12
- },
13
- "weight": {
14
- "description": "The weight in kg.",
15
- "$ref": "./_Item.schema.json#/$defs/Weight"
16
- },
17
- "complexity": {
18
- "description": "The complexity of crafting the item.",
19
- "$ref": "./_Item.schema.json#/$defs/Complexity"
20
- },
21
- "structure_points": {
22
- "description": "The structure points of the item. Use an array if the item consists of multiple components that have individual structure points.",
23
- "$ref": "./_Item.schema.json#/$defs/StructurePoints"
24
- },
25
- "combat_use": {
26
- "description": "The item can also be used either as an improvised weapon or as an armor, although this is not the primary use case of the item.",
27
- "$ref": "./_Item.schema.json#/$defs/CombatUse"
28
- },
29
- "src": {
30
- "$ref": "../../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
31
- },
32
- "translations": {
33
- "description": "All translations for the entry, identified by IETF language tag (BCP47).",
34
- "type": "object",
35
- "patternProperties": {
36
- "^[a-z]{2}-[A-Z]{2}$": {
37
- "$ref": "./_Item.schema.json#/$defs/DefaultItemTranslation"
38
- }
39
- },
40
- "minProperties": 1,
41
- "additionalProperties": false
42
- }
43
- },
44
- "required": [
45
- "cost",
46
- "weight",
47
- "src",
48
- "translations"
49
- ],
50
- "additionalProperties": false
51
- }
52
- }
53
- }