optolith-database-schema 0.12.0 → 0.13.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.
- package/CHANGELOG.md +33 -0
- package/lib/cache/newApplicationsAndUses.d.ts +17 -0
- package/lib/cache/newApplicationsAndUses.js +67 -0
- package/lib/cacheConfig.d.ts +4 -0
- package/lib/cacheConfig.js +1 -0
- package/lib/config/cache.d.ts +7 -0
- package/lib/config/cache.js +4 -0
- package/lib/main.d.ts +42 -0
- package/lib/main.js +44 -0
- package/lib/typeConfig.d.ts +2 -0
- package/lib/types/Advantage.js +4 -2
- package/lib/types/AnimalDisease.js +4 -2
- package/lib/types/AnimalType.js +4 -2
- package/lib/types/ArcaneBardTradition.js +4 -2
- package/lib/types/ArcaneDancerTradition.js +4 -2
- package/lib/types/Aspect.js +4 -2
- package/lib/types/Attribute.js +5 -3
- package/lib/types/Blessing.js +4 -2
- package/lib/types/Cantrip.js +4 -2
- package/lib/types/Ceremony.js +4 -2
- package/lib/types/CombatTechnique_Close.js +4 -2
- package/lib/types/CombatTechnique_Ranged.js +4 -2
- package/lib/types/Condition.js +4 -2
- package/lib/types/Continent.js +4 -2
- package/lib/types/Culture.d.ts +4 -17
- package/lib/types/Culture.js +4 -40
- package/lib/types/DerivedCharacteristic.js +4 -2
- package/lib/types/Disadvantage.js +4 -2
- package/lib/types/Disease.js +4 -2
- package/lib/types/Element.js +4 -2
- package/lib/types/ExperienceLevel.js +4 -2
- package/lib/types/EyeColor.js +4 -2
- package/lib/types/FamiliarsTrick.js +4 -2
- package/lib/types/HairColor.js +4 -2
- package/lib/types/Kirchenpraegung.js +4 -2
- package/lib/types/Lessons_Curriculum.js +4 -2
- package/lib/types/Lessons_Guideline.js +4 -2
- package/lib/types/LiturgicalChant.js +4 -2
- package/lib/types/Locale.js +3 -1
- package/lib/types/MetaCondition.js +4 -2
- package/lib/types/PactCategory.js +4 -2
- package/lib/types/Patron.d.ts +2 -12
- package/lib/types/Patron.js +4 -22
- package/lib/types/PatronCategory.js +4 -2
- package/lib/types/PersonalityTrait.js +4 -2
- package/lib/types/Profession.d.ts +1 -5
- package/lib/types/Profession.js +4 -8
- package/lib/types/Property.js +4 -2
- package/lib/types/Race.d.ts +68 -134
- package/lib/types/Race.js +4 -13
- package/lib/types/Region.js +4 -2
- package/lib/types/Ritual.js +4 -2
- package/lib/types/Service.d.ts +1 -4
- package/lib/types/Service.js +4 -7
- package/lib/types/SexPractice.js +4 -2
- package/lib/types/Skill.d.ts +2 -10
- package/lib/types/Skill.js +4 -21
- package/lib/types/SkillGroup.js +4 -2
- package/lib/types/SkillModificationLevel.d.ts +1 -4
- package/lib/types/SkillModificationLevel.js +4 -7
- package/lib/types/SocialStatus.js +4 -2
- package/lib/types/Spell.js +4 -2
- package/lib/types/State.js +4 -2
- package/lib/types/Talisman.d.ts +1 -7
- package/lib/types/Talisman.js +4 -10
- package/lib/types/TargetCategory.js +4 -2
- package/lib/types/UI.d.ts +171 -128
- package/lib/types/UI.js +2 -0
- package/lib/types/_Activatable.d.ts +5 -19
- package/lib/types/_Activatable.js +1 -40
- package/lib/types/_ActivatableSelectOptionCategory.d.ts +1 -4
- package/lib/types/_ActivatableSelectOptionCategory.js +1 -8
- package/lib/types/_ActivatableSkillCastingTime.d.ts +1 -4
- package/lib/types/_ActivatableSkillCastingTime.js +1 -5
- package/lib/types/_ActivatableSkillCheckResultBased.d.ts +2 -8
- package/lib/types/_ActivatableSkillCheckResultBased.js +1 -16
- package/lib/types/_ActivatableSkillDuration.d.ts +1 -12
- package/lib/types/_ActivatableSkillDuration.js +1 -13
- package/lib/types/_ActivatableSkillRange.d.ts +1 -4
- package/lib/types/_ActivatableSkillRange.js +1 -5
- package/lib/types/_Dice.d.ts +1 -5
- package/lib/types/_Dice.js +1 -9
- package/lib/types/_DiseasePoison.d.ts +2 -6
- package/lib/types/_DiseasePoison.js +1 -11
- package/lib/types/_ImprovementCost.d.ts +1 -6
- package/lib/types/_ImprovementCost.js +1 -10
- package/lib/types/_Sex.d.ts +1 -4
- package/lib/types/_Sex.js +1 -8
- package/lib/types/_SkillCheck.d.ts +1 -8
- package/lib/types/_SkillCheck.js +1 -13
- package/lib/types/equipment/EquipmentPackage.js +4 -2
- package/lib/types/equipment/item/Alchemicum.js +4 -2
- package/lib/types/equipment/item/Ammunition.js +4 -2
- package/lib/types/equipment/item/Animal.js +4 -2
- package/lib/types/equipment/item/AnimalCare.js +4 -2
- package/lib/types/equipment/item/Armor.js +4 -2
- package/lib/types/equipment/item/BandageOrRemedy.js +4 -2
- package/lib/types/equipment/item/Book.js +4 -2
- package/lib/types/equipment/item/CeremonialItem.js +4 -2
- package/lib/types/equipment/item/Clothes.js +4 -2
- package/lib/types/equipment/item/Container.js +4 -2
- package/lib/types/equipment/item/Elixir.js +4 -2
- package/lib/types/equipment/item/EquipmentOfBlessedOnes.js +4 -2
- package/lib/types/equipment/item/GemOrPreciousStone.js +4 -2
- package/lib/types/equipment/item/IlluminationLightSource.d.ts +1 -3
- package/lib/types/equipment/item/IlluminationLightSource.js +4 -6
- package/lib/types/equipment/item/IlluminationRefillsOrSupplies.js +4 -2
- package/lib/types/equipment/item/Jewelry.js +4 -2
- package/lib/types/equipment/item/Liebesspielzeug.js +4 -2
- package/lib/types/equipment/item/LuxuryGood.js +4 -2
- package/lib/types/equipment/item/MagicalArtifact.js +4 -2
- package/lib/types/equipment/item/MusicalInstrument.js +4 -2
- package/lib/types/equipment/item/OrienteeringAid.js +4 -2
- package/lib/types/equipment/item/Poison.d.ts +3 -15
- package/lib/types/equipment/item/Poison.js +4 -20
- package/lib/types/equipment/item/RopeOrChain.js +4 -2
- package/lib/types/equipment/item/Stationary.js +4 -2
- package/lib/types/equipment/item/ThievesTool.js +4 -2
- package/lib/types/equipment/item/ToolOfTheTrade.js +4 -2
- package/lib/types/equipment/item/TravelGearOrTool.js +4 -2
- package/lib/types/equipment/item/Vehicle.js +4 -2
- package/lib/types/equipment/item/Weapon.js +4 -2
- package/lib/types/equipment/item/WeaponAccessory.js +4 -2
- package/lib/types/equipment/item/_Herbary.d.ts +2 -14
- package/lib/types/equipment/item/_Herbary.js +1 -19
- package/lib/types/equipment/item/sub/ArmorType.js +4 -2
- package/lib/types/equipment/item/sub/Reach.js +4 -2
- package/lib/types/magicalActions/AnimistPower.js +4 -2
- package/lib/types/magicalActions/AnimistPower_Tribe.js +4 -2
- package/lib/types/magicalActions/Curse.js +4 -2
- package/lib/types/magicalActions/DominationRitual.js +4 -2
- package/lib/types/magicalActions/ElvenMagicalSong.js +4 -2
- package/lib/types/magicalActions/GeodeRitual.js +4 -2
- package/lib/types/magicalActions/JesterTrick.js +4 -2
- package/lib/types/magicalActions/MagicalDance.js +4 -2
- package/lib/types/magicalActions/MagicalMelody.js +4 -2
- package/lib/types/magicalActions/MagicalRune.js +4 -2
- package/lib/types/magicalActions/ZibiljaRitual.js +4 -2
- package/lib/types/magicalActions/_MusicTradition.d.ts +2 -8
- package/lib/types/magicalActions/_MusicTradition.js +1 -10
- package/lib/types/magicalActions/_SkillReference.d.ts +1 -4
- package/lib/types/magicalActions/_SkillReference.js +1 -5
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +1 -4
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +1 -5
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.d.ts +1 -5
- package/lib/types/prerequisites/single/RatedMinimumNumberPrerequisite.js +1 -6
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.d.ts +1 -4
- package/lib/types/prerequisites/single/SexualCharacteristicPrerequisite.js +1 -5
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +2 -8
- package/lib/types/prerequisites/single/TextPrerequisite.js +1 -10
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +2 -8
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +1 -18
- package/lib/types/rule/CoreRule.d.ts +1 -4
- package/lib/types/rule/CoreRule.js +4 -7
- package/lib/types/rule/FocusRule.js +4 -2
- package/lib/types/rule/FocusRule_Subject.js +4 -2
- package/lib/types/rule/OptionalRule.js +4 -2
- package/lib/types/source/Publication.d.ts +1 -6
- package/lib/types/source/Publication.js +4 -12
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.js +4 -2
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.js +4 -2
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.js +4 -2
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.js +4 -2
- package/lib/types/specialAbility/AncestorGlyph.js +4 -2
- package/lib/types/specialAbility/BlessedTradition.js +4 -2
- package/lib/types/specialAbility/BrawlingSpecialAbility.js +4 -2
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.js +4 -2
- package/lib/types/specialAbility/CombatSpecialAbility.js +4 -2
- package/lib/types/specialAbility/CombatStyleSpecialAbility.js +4 -2
- package/lib/types/specialAbility/CommandSpecialAbility.js +4 -2
- package/lib/types/specialAbility/FamiliarSpecialAbility.js +4 -2
- package/lib/types/specialAbility/FatePointSexSpecialAbility.js +4 -2
- package/lib/types/specialAbility/FatePointSpecialAbility.js +4 -2
- package/lib/types/specialAbility/GeneralSpecialAbility.js +4 -2
- package/lib/types/specialAbility/KarmaSpecialAbility.js +4 -2
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.js +4 -2
- package/lib/types/specialAbility/LycantropicGift.js +4 -2
- package/lib/types/specialAbility/MagicStyleSpecialAbility.js +4 -2
- package/lib/types/specialAbility/MagicalSign.js +4 -2
- package/lib/types/specialAbility/MagicalSpecialAbility.js +4 -2
- package/lib/types/specialAbility/MagicalTradition.js +4 -2
- package/lib/types/specialAbility/PactGift.d.ts +2 -8
- package/lib/types/specialAbility/PactGift.js +4 -12
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.js +4 -2
- package/lib/types/specialAbility/Sermon.js +4 -2
- package/lib/types/specialAbility/SexSpecialAbility.js +4 -2
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.js +4 -2
- package/lib/types/specialAbility/SkillStyleSpecialAbility.js +4 -2
- package/lib/types/specialAbility/VampiricGift.js +4 -2
- package/lib/types/specialAbility/Vision.js +4 -2
- package/lib/types/specialAbility/sub/Language.js +4 -2
- package/lib/types/specialAbility/sub/Script.js +4 -2
- package/lib/types/specialAbility/sub/TradeSecret.js +4 -2
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/AttireEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/BowlEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/CauldronEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/ChronicleEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/DaggerRitual.js +4 -2
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/InstrumentEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/Krallenkettenzauber.js +4 -2
- package/lib/types/traditionArtifacts/OrbEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/RingEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/SickleRitual.js +4 -2
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/StaffEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/ToyEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/Trinkhornzauber.js +4 -2
- package/lib/types/traditionArtifacts/WandEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/WeaponEnchantment.js +4 -2
- package/lib/types/traditionArtifacts/sub/AnimalShape.js +4 -2
- package/lib/types/traditionArtifacts/sub/AnimalShapePath.js +4 -2
- package/lib/types/traditionArtifacts/sub/AnimalShapeSize.js +4 -2
- package/lib/types/traditionArtifacts/sub/Brew.js +4 -2
- package/lib/validation/builders/naming.d.ts +3 -1
- package/lib/validation/builders/naming.js +9 -6
- package/lib/validation/filename.d.ts +1 -1
- package/lib/validation/filename.js +1 -1
- package/lib/validation/raw.d.ts +1 -1
- package/lib/validation/raw.js +3 -4
- package/package.json +2 -2
- package/schema/Culture.schema.json +31 -13
- package/schema/Patron.schema.json +26 -10
- package/schema/Profession.schema.json +10 -4
- package/schema/Race.schema.json +79 -208
- package/schema/Service.schema.json +7 -3
- package/schema/Skill.schema.json +20 -8
- package/schema/SkillModificationLevel.schema.json +7 -3
- package/schema/Talisman.schema.json +16 -6
- package/schema/UI.schema.json +502 -304
- package/schema/_Activatable.schema.json +32 -14
- package/schema/_ActivatableSelectOptionCategory.schema.json +7 -3
- package/schema/_ActivatableSkillCastingTime.schema.json +7 -3
- package/schema/_ActivatableSkillCheckResultBased.schema.json +14 -6
- package/schema/_ActivatableSkillDuration.schema.json +31 -11
- package/schema/_ActivatableSkillRange.schema.json +7 -3
- package/schema/_Dice.schema.json +10 -4
- package/schema/_DiseasePoison.schema.json +10 -4
- package/schema/_ImprovementCost.schema.json +13 -5
- package/schema/_Sex.schema.json +7 -3
- package/schema/_SkillCheck.schema.json +19 -7
- package/schema/equipment/item/IlluminationLightSource.schema.json +4 -2
- package/schema/equipment/item/Poison.schema.json +30 -12
- package/schema/equipment/item/_Herbary.schema.json +32 -12
- package/schema/magicalActions/_MusicTradition.schema.json +14 -6
- package/schema/magicalActions/_SkillReference.schema.json +7 -3
- package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +7 -3
- package/schema/prerequisites/single/RatedMinimumNumberPrerequisite.schema.json +10 -4
- package/schema/prerequisites/single/SexualCharacteristicPrerequisite.schema.json +7 -3
- package/schema/prerequisites/single/TextPrerequisite.schema.json +14 -6
- package/schema/prerequisites/single/TraditionPrerequisite.schema.json +14 -6
- package/schema/rule/CoreRule.schema.json +7 -3
- package/schema/source/Publication.schema.json +13 -5
- package/schema/specialAbility/PactGift.schema.json +14 -6
|
@@ -188,23 +188,35 @@
|
|
|
188
188
|
},
|
|
189
189
|
"Weight": {
|
|
190
190
|
"description": "The \"weight\" difference compared to other professions or profession variants.\nSome professions or profession variants are simply more common (Mostly), but\nsometimes only specific elements are used (Only).",
|
|
191
|
-
"
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
"oneOf": [
|
|
192
|
+
{
|
|
193
|
+
"const": "Mostly"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"const": "Only"
|
|
197
|
+
}
|
|
194
198
|
]
|
|
195
199
|
},
|
|
196
200
|
"CommonProfessionConstraintsOperation": {
|
|
197
201
|
"description": "This defines how the list of constraints should be offset against the\nlist of all mundane professions: Either only the professions are kept\nthat intersect with the constraints (include) or only the professions\nare kept that are different from the constraints (exclude).",
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
202
|
+
"oneOf": [
|
|
203
|
+
{
|
|
204
|
+
"const": "Intersection"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"const": "Difference"
|
|
208
|
+
}
|
|
201
209
|
]
|
|
202
210
|
},
|
|
203
211
|
"Rarity": {
|
|
204
212
|
"description": "Some professions may be found in a culture, but are not that common.",
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
|
|
213
|
+
"oneOf": [
|
|
214
|
+
{
|
|
215
|
+
"const": "Rare"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"const": "VeryRare"
|
|
219
|
+
}
|
|
208
220
|
]
|
|
209
221
|
},
|
|
210
222
|
"ProfessionConstraint": {
|
|
@@ -249,10 +261,16 @@
|
|
|
249
261
|
},
|
|
250
262
|
"MundaneProfessionSubgroupConstraint": {
|
|
251
263
|
"description": "Some professions may be found in a culture, but are not that common.",
|
|
252
|
-
"
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
264
|
+
"oneOf": [
|
|
265
|
+
{
|
|
266
|
+
"const": "Profane"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"const": "Fighter"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"const": "Religious"
|
|
273
|
+
}
|
|
256
274
|
]
|
|
257
275
|
},
|
|
258
276
|
"MagicalTraditionConstraint": {
|
|
@@ -151,9 +151,13 @@
|
|
|
151
151
|
},
|
|
152
152
|
"PatronCultureOperation": {
|
|
153
153
|
"description": "The set operation to combine the set of all patron cultures with the\nspecified set of patron cultures: If they should intersect, the patron is\nonly part of the given cultures. If they should differ, the patron is only\npart of the cultures that are not given.",
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
"oneOf": [
|
|
155
|
+
{
|
|
156
|
+
"const": "Intersection"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"const": "Difference"
|
|
160
|
+
}
|
|
157
161
|
]
|
|
158
162
|
},
|
|
159
163
|
"AdvantageAnimalPower": {
|
|
@@ -261,13 +265,25 @@
|
|
|
261
265
|
"additionalProperties": false
|
|
262
266
|
},
|
|
263
267
|
"CombatAnimalPowerType": {
|
|
264
|
-
"
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
268
|
+
"oneOf": [
|
|
269
|
+
{
|
|
270
|
+
"const": "Attack"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"const": "Parry"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"const": "RangedCombat"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"const": "Dodge"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"const": "DamagePoints"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"const": "Protection"
|
|
286
|
+
}
|
|
271
287
|
]
|
|
272
288
|
},
|
|
273
289
|
"AnimalPowerLevel2": {
|
|
@@ -88,10 +88,16 @@
|
|
|
88
88
|
]
|
|
89
89
|
},
|
|
90
90
|
"MundaneProfessionGroup": {
|
|
91
|
-
"
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
"oneOf": [
|
|
92
|
+
{
|
|
93
|
+
"const": "Profane"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"const": "Fighter"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"const": "Religious"
|
|
100
|
+
}
|
|
95
101
|
]
|
|
96
102
|
},
|
|
97
103
|
"MagicalProfessionGroup": {
|
package/schema/Race.schema.json
CHANGED
|
@@ -72,82 +72,6 @@
|
|
|
72
72
|
},
|
|
73
73
|
"minItems": 1
|
|
74
74
|
},
|
|
75
|
-
"common_advantages": {
|
|
76
|
-
"description": "A list of common advantages. If common advantages are defined by race\nvariants, leave this field empty. It is overridden by the same field in\nrace variants.",
|
|
77
|
-
"type": "array",
|
|
78
|
-
"items": {
|
|
79
|
-
"title": "Commonness-rated Advantage/Disadvantage",
|
|
80
|
-
"description": "Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.",
|
|
81
|
-
"type": "object",
|
|
82
|
-
"properties": {
|
|
83
|
-
"id": {
|
|
84
|
-
"$ref": "./_Identifier.schema.json#/$defs/AdvantageIdentifier"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"required": [
|
|
88
|
-
"id"
|
|
89
|
-
],
|
|
90
|
-
"additionalProperties": false
|
|
91
|
-
},
|
|
92
|
-
"minItems": 1
|
|
93
|
-
},
|
|
94
|
-
"common_disadvantages": {
|
|
95
|
-
"description": "A list of common disadvantages. If common disadvantages are defined by race\nvariants, leave this field empty. It is overridden by the same field in\nrace variants.",
|
|
96
|
-
"type": "array",
|
|
97
|
-
"items": {
|
|
98
|
-
"title": "Commonness-rated Advantage/Disadvantage",
|
|
99
|
-
"description": "Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.",
|
|
100
|
-
"type": "object",
|
|
101
|
-
"properties": {
|
|
102
|
-
"id": {
|
|
103
|
-
"$ref": "./_Identifier.schema.json#/$defs/DisadvantageIdentifier"
|
|
104
|
-
}
|
|
105
|
-
},
|
|
106
|
-
"required": [
|
|
107
|
-
"id"
|
|
108
|
-
],
|
|
109
|
-
"additionalProperties": false
|
|
110
|
-
},
|
|
111
|
-
"minItems": 1
|
|
112
|
-
},
|
|
113
|
-
"uncommon_advantages": {
|
|
114
|
-
"description": "A list of uncommon advantages. If uncommon advantages are defined by race\nvariants, leave this field empty. It is overridden by the same field in\nrace variants.",
|
|
115
|
-
"type": "array",
|
|
116
|
-
"items": {
|
|
117
|
-
"title": "Commonness-rated Advantage/Disadvantage",
|
|
118
|
-
"description": "Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.",
|
|
119
|
-
"type": "object",
|
|
120
|
-
"properties": {
|
|
121
|
-
"id": {
|
|
122
|
-
"$ref": "./_Identifier.schema.json#/$defs/AdvantageIdentifier"
|
|
123
|
-
}
|
|
124
|
-
},
|
|
125
|
-
"required": [
|
|
126
|
-
"id"
|
|
127
|
-
],
|
|
128
|
-
"additionalProperties": false
|
|
129
|
-
},
|
|
130
|
-
"minItems": 1
|
|
131
|
-
},
|
|
132
|
-
"uncommon_disadvantages": {
|
|
133
|
-
"description": "A list of uncommon disadvantages. If uncommon disadvantages are defined by\nrace variants, leave this field empty. It is overridden by the same field\nin race variants.",
|
|
134
|
-
"type": "array",
|
|
135
|
-
"items": {
|
|
136
|
-
"title": "Commonness-rated Advantage/Disadvantage",
|
|
137
|
-
"description": "Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.",
|
|
138
|
-
"type": "object",
|
|
139
|
-
"properties": {
|
|
140
|
-
"id": {
|
|
141
|
-
"$ref": "./_Identifier.schema.json#/$defs/DisadvantageIdentifier"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
"required": [
|
|
145
|
-
"id"
|
|
146
|
-
],
|
|
147
|
-
"additionalProperties": false
|
|
148
|
-
},
|
|
149
|
-
"minItems": 1
|
|
150
|
-
},
|
|
151
75
|
"weight": {
|
|
152
76
|
"description": "Configuration for random weight generation.",
|
|
153
77
|
"$ref": "#/$defs/Weight"
|
|
@@ -161,9 +85,9 @@
|
|
|
161
85
|
"minItems": 7,
|
|
162
86
|
"maxItems": 7
|
|
163
87
|
},
|
|
164
|
-
"
|
|
165
|
-
"description": "
|
|
166
|
-
"$ref": "#/$defs/
|
|
88
|
+
"variants": {
|
|
89
|
+
"description": "A list of available race variants where one has to be selected. If no\nvariants are to be selected, a single variant with no name has to be provided\nwhich will be used as the missing values for the base race.",
|
|
90
|
+
"$ref": "#/$defs/RaceVariants"
|
|
167
91
|
},
|
|
168
92
|
"src": {
|
|
169
93
|
"$ref": "./source/_PublicationRef.schema.json#/$defs/PublicationRefs"
|
|
@@ -187,7 +111,7 @@
|
|
|
187
111
|
"attribute_adjustments",
|
|
188
112
|
"weight",
|
|
189
113
|
"starting_age",
|
|
190
|
-
"
|
|
114
|
+
"variants",
|
|
191
115
|
"src",
|
|
192
116
|
"translations"
|
|
193
117
|
],
|
|
@@ -225,31 +149,69 @@
|
|
|
225
149
|
},
|
|
226
150
|
"AttributeAdjustments": {
|
|
227
151
|
"description": "Describes how to raise or lower maximum attribute values during character\ncreation.",
|
|
228
|
-
"type": "
|
|
229
|
-
"
|
|
230
|
-
"
|
|
231
|
-
|
|
152
|
+
"type": "object",
|
|
153
|
+
"properties": {
|
|
154
|
+
"fixed": {
|
|
155
|
+
"description": "The values by which the maximum of the respective attribute is modified.",
|
|
156
|
+
"type": "array",
|
|
157
|
+
"items": {
|
|
158
|
+
"$ref": "#/$defs/FixedAttributeAdjustment"
|
|
159
|
+
},
|
|
160
|
+
"minItems": 1
|
|
161
|
+
},
|
|
162
|
+
"selectable": {
|
|
163
|
+
"description": "An array of attribute maximum modifiers, where the attribute they apply to\nis selected from a list of options.\n\nThe array only permits a single entry because no race specified more than\none selectable attribute adjustment so far. But the schema allows for\nmultiple entries to be future-proof.",
|
|
164
|
+
"type": "array",
|
|
165
|
+
"items": {
|
|
166
|
+
"$ref": "#/$defs/SelectableAttributeAdjustment"
|
|
167
|
+
},
|
|
168
|
+
"minItems": 1,
|
|
169
|
+
"maxItems": 1
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": [],
|
|
173
|
+
"minProperties": 1,
|
|
174
|
+
"additionalProperties": false
|
|
232
175
|
},
|
|
233
|
-
"
|
|
234
|
-
"description": "
|
|
176
|
+
"FixedAttributeAdjustment": {
|
|
177
|
+
"description": "A value by which the maximum of the respective attribute is modified.",
|
|
235
178
|
"type": "object",
|
|
236
179
|
"properties": {
|
|
180
|
+
"id": {
|
|
181
|
+
"description": "The attribute the modifier applies to.",
|
|
182
|
+
"$ref": "./_Identifier.schema.json#/$defs/AttributeIdentifier"
|
|
183
|
+
},
|
|
237
184
|
"value": {
|
|
238
|
-
"description": "The value by which the
|
|
185
|
+
"description": "The value by which the specified attribute's maximum is modified\n(negative values will lower the maximum).",
|
|
239
186
|
"type": "integer"
|
|
240
|
-
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"required": [
|
|
190
|
+
"id",
|
|
191
|
+
"value"
|
|
192
|
+
],
|
|
193
|
+
"additionalProperties": false
|
|
194
|
+
},
|
|
195
|
+
"SelectableAttributeAdjustment": {
|
|
196
|
+
"description": "A value that will be added to the current maximum of the selected attribute\nthat has been chosen from the listed attributes (negative values will lower\nthe maximum).",
|
|
197
|
+
"type": "object",
|
|
198
|
+
"properties": {
|
|
241
199
|
"list": {
|
|
242
|
-
"description": "A list of attributes the player has to choose from.
|
|
200
|
+
"description": "A list of attributes the player has to choose from.",
|
|
243
201
|
"type": "array",
|
|
244
202
|
"items": {
|
|
245
203
|
"$ref": "./_SimpleReferences.schema.json#/$defs/AttributeReference"
|
|
246
204
|
},
|
|
247
|
-
"minItems":
|
|
205
|
+
"minItems": 2
|
|
206
|
+
},
|
|
207
|
+
"value": {
|
|
208
|
+
"description": "The value by which the selected attribute's maximum is modified\n(negative values will lower the maximum).",
|
|
209
|
+
"type": "integer"
|
|
248
210
|
}
|
|
249
211
|
},
|
|
250
212
|
"required": [
|
|
251
|
-
"
|
|
252
|
-
"
|
|
213
|
+
"list",
|
|
214
|
+
"value"
|
|
253
215
|
],
|
|
254
216
|
"additionalProperties": false
|
|
255
217
|
},
|
|
@@ -303,16 +265,22 @@
|
|
|
303
265
|
},
|
|
304
266
|
"WeightDiceOffsetStrategy": {
|
|
305
267
|
"description": "The strategy how to offset the randomly generated values against the\nbase value. Either they are all added or subtracted or even results are\nadded and odd results are subtracted.",
|
|
306
|
-
"
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
268
|
+
"oneOf": [
|
|
269
|
+
{
|
|
270
|
+
"const": "Add"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"const": "Subtract"
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"const": "AddEvenSubtractOdd"
|
|
277
|
+
}
|
|
310
278
|
]
|
|
311
279
|
},
|
|
312
280
|
"StartingAgeConfigForExperienceLevel": {
|
|
313
281
|
"type": "object",
|
|
314
282
|
"properties": {
|
|
315
|
-
"
|
|
283
|
+
"id": {
|
|
316
284
|
"description": "The selected experience level's identifier.",
|
|
317
285
|
"$ref": "./_Identifier.schema.json#/$defs/ExperienceLevelIdentifier"
|
|
318
286
|
},
|
|
@@ -327,99 +295,20 @@
|
|
|
327
295
|
}
|
|
328
296
|
},
|
|
329
297
|
"required": [
|
|
330
|
-
"
|
|
298
|
+
"id",
|
|
331
299
|
"base",
|
|
332
300
|
"random"
|
|
333
301
|
],
|
|
334
302
|
"additionalProperties": false
|
|
335
303
|
},
|
|
336
|
-
"RaceVariantDependent": {
|
|
337
|
-
"description": "The race may have variants and associated configuration for each variant.\nIf the race is plain (has no variants), the values that would otherwise be\ndefined in the variant configuration need to be set for the whole race.\nThis excludes common and uncommon advantages and disadvantages, since they\nmay be defined for the whole race even if variants exist.",
|
|
338
|
-
"oneOf": [
|
|
339
|
-
{
|
|
340
|
-
"type": "object",
|
|
341
|
-
"properties": {
|
|
342
|
-
"tag": {
|
|
343
|
-
"const": "HasVariants"
|
|
344
|
-
},
|
|
345
|
-
"has_variants": {
|
|
346
|
-
"$ref": "#/$defs/RaceVariants"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
"required": [
|
|
350
|
-
"tag",
|
|
351
|
-
"has_variants"
|
|
352
|
-
],
|
|
353
|
-
"additionalProperties": false
|
|
354
|
-
},
|
|
355
|
-
{
|
|
356
|
-
"type": "object",
|
|
357
|
-
"properties": {
|
|
358
|
-
"tag": {
|
|
359
|
-
"const": "Plain"
|
|
360
|
-
},
|
|
361
|
-
"plain": {
|
|
362
|
-
"$ref": "#/$defs/ValuesForRaceWithoutVariants"
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
"required": [
|
|
366
|
-
"tag",
|
|
367
|
-
"plain"
|
|
368
|
-
],
|
|
369
|
-
"additionalProperties": false
|
|
370
|
-
}
|
|
371
|
-
]
|
|
372
|
-
},
|
|
373
304
|
"RaceVariants": {
|
|
374
|
-
"description": "A list of available race variants.",
|
|
305
|
+
"description": "A list of available race variants where one has to be selected. If no\nvariants are to be selected, a single variant with no name has to be provided\nwhich will be used as the missing values for the base race.",
|
|
375
306
|
"type": "array",
|
|
376
307
|
"items": {
|
|
377
308
|
"$ref": "#/$defs/RaceVariant"
|
|
378
309
|
},
|
|
379
310
|
"minItems": 1
|
|
380
311
|
},
|
|
381
|
-
"ValuesForRaceWithoutVariants": {
|
|
382
|
-
"type": "object",
|
|
383
|
-
"properties": {
|
|
384
|
-
"common_cultures": {
|
|
385
|
-
"description": "The list of common cultures.",
|
|
386
|
-
"type": "array",
|
|
387
|
-
"items": {
|
|
388
|
-
"$ref": "./_SimpleReferences.schema.json#/$defs/CultureReference"
|
|
389
|
-
},
|
|
390
|
-
"minItems": 1
|
|
391
|
-
},
|
|
392
|
-
"hair_color": {
|
|
393
|
-
"description": "An array containing 20 (numeric) hair color identifiers. The array also represents the 20-sided die for a random hair color.",
|
|
394
|
-
"type": "array",
|
|
395
|
-
"items": {
|
|
396
|
-
"$ref": "./_SimpleReferences.schema.json#/$defs/HairColorReference"
|
|
397
|
-
},
|
|
398
|
-
"minItems": 20,
|
|
399
|
-
"maxItems": 20
|
|
400
|
-
},
|
|
401
|
-
"eye_color": {
|
|
402
|
-
"description": "An array containing 20 (numeric) eye color identifiers. The array also represents the 20-sided die for a random eye color.",
|
|
403
|
-
"type": "array",
|
|
404
|
-
"items": {
|
|
405
|
-
"$ref": "./_SimpleReferences.schema.json#/$defs/EyeColorReference"
|
|
406
|
-
},
|
|
407
|
-
"minItems": 20,
|
|
408
|
-
"maxItems": 20
|
|
409
|
-
},
|
|
410
|
-
"height": {
|
|
411
|
-
"description": "Configuration for random height generation.",
|
|
412
|
-
"$ref": "#/$defs/Height"
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
"required": [
|
|
416
|
-
"common_cultures",
|
|
417
|
-
"hair_color",
|
|
418
|
-
"eye_color",
|
|
419
|
-
"height"
|
|
420
|
-
],
|
|
421
|
-
"additionalProperties": false
|
|
422
|
-
},
|
|
423
312
|
"RaceVariant": {
|
|
424
313
|
"title": "Race Variant",
|
|
425
314
|
"type": "object",
|
|
@@ -438,7 +327,7 @@
|
|
|
438
327
|
"minItems": 1
|
|
439
328
|
},
|
|
440
329
|
"common_advantages": {
|
|
441
|
-
"description": "A list of common advantages.
|
|
330
|
+
"description": "A list of common advantages.",
|
|
442
331
|
"type": "array",
|
|
443
332
|
"items": {
|
|
444
333
|
"title": "Commonness-rated Advantage/Disadvantage",
|
|
@@ -457,7 +346,7 @@
|
|
|
457
346
|
"minItems": 1
|
|
458
347
|
},
|
|
459
348
|
"common_disadvantages": {
|
|
460
|
-
"description": "A list of common disadvantages.
|
|
349
|
+
"description": "A list of common disadvantages.",
|
|
461
350
|
"type": "array",
|
|
462
351
|
"items": {
|
|
463
352
|
"title": "Commonness-rated Advantage/Disadvantage",
|
|
@@ -476,7 +365,7 @@
|
|
|
476
365
|
"minItems": 1
|
|
477
366
|
},
|
|
478
367
|
"uncommon_advantages": {
|
|
479
|
-
"description": "A list of uncommon advantages.
|
|
368
|
+
"description": "A list of uncommon advantages.",
|
|
480
369
|
"type": "array",
|
|
481
370
|
"items": {
|
|
482
371
|
"title": "Commonness-rated Advantage/Disadvantage",
|
|
@@ -495,7 +384,7 @@
|
|
|
495
384
|
"minItems": 1
|
|
496
385
|
},
|
|
497
386
|
"uncommon_disadvantages": {
|
|
498
|
-
"description": "A list of uncommon disadvantages.
|
|
387
|
+
"description": "A list of uncommon disadvantages.",
|
|
499
388
|
"type": "array",
|
|
500
389
|
"items": {
|
|
501
390
|
"title": "Commonness-rated Advantage/Disadvantage",
|
|
@@ -514,7 +403,7 @@
|
|
|
514
403
|
"minItems": 1
|
|
515
404
|
},
|
|
516
405
|
"hair_color": {
|
|
517
|
-
"description": "An array containing 20 (numeric) hair color identifiers. The array also
|
|
406
|
+
"description": "An array containing 20 (numeric) hair color identifiers. The array also\nrepresents the 20-sided die for a random hair color.",
|
|
518
407
|
"type": "array",
|
|
519
408
|
"items": {
|
|
520
409
|
"$ref": "./_SimpleReferences.schema.json#/$defs/HairColorReference"
|
|
@@ -523,7 +412,7 @@
|
|
|
523
412
|
"maxItems": 20
|
|
524
413
|
},
|
|
525
414
|
"eye_color": {
|
|
526
|
-
"description": "An array containing 20 (numeric) eye color identifiers. The array also
|
|
415
|
+
"description": "An array containing 20 (numeric) eye color identifiers. The array also\nrepresents the 20-sided die for a random eye color.",
|
|
527
416
|
"type": "array",
|
|
528
417
|
"items": {
|
|
529
418
|
"$ref": "./_SimpleReferences.schema.json#/$defs/EyeColorReference"
|
|
@@ -585,29 +474,27 @@
|
|
|
585
474
|
"type": "object",
|
|
586
475
|
"properties": {
|
|
587
476
|
"name": {
|
|
588
|
-
"description": "The race variant's name.",
|
|
477
|
+
"description": "The race variant's name. If left empty, it defaults to the base race name.\nThis can be used if the race has no (visible) variants so that a single\nvariant has to be provided.",
|
|
589
478
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
590
479
|
},
|
|
591
480
|
"common_advantages": {
|
|
592
|
-
"description": "The respective common advantages text from the source book.
|
|
481
|
+
"description": "The respective common advantages text from the source book.",
|
|
593
482
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
594
483
|
},
|
|
595
484
|
"common_disadvantages": {
|
|
596
|
-
"description": "The respective common disadvantages text from the source book.
|
|
485
|
+
"description": "The respective common disadvantages text from the source book.",
|
|
597
486
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
598
487
|
},
|
|
599
488
|
"uncommon_advantages": {
|
|
600
|
-
"description": "The respective uncommon advantages text from the source book.
|
|
489
|
+
"description": "The respective uncommon advantages text from the source book.",
|
|
601
490
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
602
491
|
},
|
|
603
492
|
"uncommon_disadvantages": {
|
|
604
|
-
"description": "The respective uncommon disadvantages text from the source book.
|
|
493
|
+
"description": "The respective uncommon disadvantages text from the source book.",
|
|
605
494
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
606
495
|
}
|
|
607
496
|
},
|
|
608
|
-
"required": [
|
|
609
|
-
"name"
|
|
610
|
-
],
|
|
497
|
+
"required": [],
|
|
611
498
|
"additionalProperties": false
|
|
612
499
|
},
|
|
613
500
|
"RaceTranslation": {
|
|
@@ -633,22 +520,6 @@
|
|
|
633
520
|
"description": "The respective strongly recommended disadvantages text from the source\nbook.",
|
|
634
521
|
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
635
522
|
},
|
|
636
|
-
"common_advantages": {
|
|
637
|
-
"description": "The respective common advantages text from the source book. If common\nadvantages are defined by race variants, leave this field empty. It is\noverridden by the same field in race variants.",
|
|
638
|
-
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
639
|
-
},
|
|
640
|
-
"common_disadvantages": {
|
|
641
|
-
"description": "The respective common disadvantages text from the source book. If common\ndisadvantages are defined by race variants, leave this field empty. It is\noverridden by the same field in race variants.",
|
|
642
|
-
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
643
|
-
},
|
|
644
|
-
"uncommon_advantages": {
|
|
645
|
-
"description": "The respective uncommon advantages text from the source book. If uncommon\nadvantages are defined by race variants, leave this field empty. It is\noverridden by the same field in race variants.",
|
|
646
|
-
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
647
|
-
},
|
|
648
|
-
"uncommon_disadvantages": {
|
|
649
|
-
"description": "The respective uncommon disadvantages text from the source book. If\nuncommon disadvantages are defined by race variants, leave this field\nempty. It is overridden by the same field in race variants.",
|
|
650
|
-
"$ref": "./_NonEmptyString.schema.json#/$defs/NonEmptyString"
|
|
651
|
-
},
|
|
652
523
|
"errata": {
|
|
653
524
|
"$ref": "./source/_Erratum.schema.json#/$defs/Errata"
|
|
654
525
|
}
|
|
@@ -45,9 +45,13 @@
|
|
|
45
45
|
"additionalProperties": false
|
|
46
46
|
},
|
|
47
47
|
"ServiceAvailability": {
|
|
48
|
-
"
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
"oneOf": [
|
|
49
|
+
{
|
|
50
|
+
"const": "SummonedCreatures"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"const": "Monstrosities"
|
|
54
|
+
}
|
|
51
55
|
]
|
|
52
56
|
},
|
|
53
57
|
"ServiceTranslation": {
|
package/schema/Skill.schema.json
CHANGED
|
@@ -109,10 +109,16 @@
|
|
|
109
109
|
},
|
|
110
110
|
"ApplicationCategory": {
|
|
111
111
|
"description": "A category. All available entries from the specified category will be\nincluded as separate applications.",
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
112
|
+
"oneOf": [
|
|
113
|
+
{
|
|
114
|
+
"const": "BlessedTraditions"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"const": "Diseases"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"const": "Regions"
|
|
121
|
+
}
|
|
116
122
|
]
|
|
117
123
|
},
|
|
118
124
|
"Applications": {
|
|
@@ -201,10 +207,16 @@
|
|
|
201
207
|
},
|
|
202
208
|
"Encumbrance": {
|
|
203
209
|
"description": "Indicates whether encumbrance gives a penalty for checks with the skill.",
|
|
204
|
-
"
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
210
|
+
"oneOf": [
|
|
211
|
+
{
|
|
212
|
+
"const": "True"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"const": "False"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"const": "Maybe"
|
|
219
|
+
}
|
|
208
220
|
]
|
|
209
221
|
}
|
|
210
222
|
}
|
|
@@ -111,9 +111,13 @@
|
|
|
111
111
|
"additionalProperties": false
|
|
112
112
|
},
|
|
113
113
|
"SlowSkillCastingTimeUnit": {
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
"oneOf": [
|
|
115
|
+
{
|
|
116
|
+
"const": "Minutes"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"const": "Hours"
|
|
120
|
+
}
|
|
117
121
|
]
|
|
118
122
|
},
|
|
119
123
|
"SkillModificationLevelTranslation": {
|