optolith-database-schema 0.1.3 → 0.1.6
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 +27 -0
- package/lib/types/Advantage.d.ts +4 -0
- package/lib/types/ArcaneBardTradition.d.ts +2 -2
- package/lib/types/ArcaneDancerTradition.d.ts +2 -2
- package/lib/types/Ceremony.d.ts +2 -2
- package/lib/types/DerivedCharacteristic.d.ts +2 -2
- package/lib/types/Disadvantage.d.ts +4 -0
- package/lib/types/FamiliarsTrick.d.ts +2 -1
- package/lib/types/LiturgicalChant.d.ts +2 -2
- package/lib/types/Ritual.d.ts +2 -2
- package/lib/types/Spell.d.ts +2 -2
- package/lib/types/_Activatable.d.ts +1286 -161
- package/lib/types/_Activatable.js +44 -0
- package/lib/types/_ActivatableSkill.d.ts +4 -0
- package/lib/types/_Enhancements.d.ts +2 -2
- package/lib/types/_Identifier.d.ts +127 -91
- package/lib/types/_Identifier.js +110 -83
- package/lib/types/_Influence.d.ts +2 -0
- package/lib/types/_Prerequisite.d.ts +93 -397
- package/lib/types/_Prerequisite.js +1 -136
- package/lib/types/magicalActions/AnimistPower.d.ts +5 -0
- package/lib/types/magicalActions/Curse.d.ts +1 -1
- package/lib/types/magicalActions/ElvenMagicalSong.d.ts +1 -1
- package/lib/types/magicalActions/GeodeRitual.d.ts +2 -2
- package/lib/types/prerequisites/ConditionalPrerequisites.d.ts +10 -0
- package/lib/types/prerequisites/ConditionalPrerequisites.js +1 -0
- package/lib/types/prerequisites/DisplayOption.d.ts +19 -0
- package/lib/types/prerequisites/DisplayOption.js +1 -0
- package/lib/types/prerequisites/PrerequisiteGroups.d.ts +32 -0
- package/lib/types/prerequisites/PrerequisiteGroups.js +1 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +95 -0
- package/lib/types/prerequisites/single/ActivatablePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +28 -0
- package/lib/types/prerequisites/single/AnimistPowerPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/CommonSuggestedByRCPPrerequisite.d.ts +3 -0
- package/lib/types/prerequisites/single/CommonSuggestedByRCPPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +11 -0
- package/lib/types/prerequisites/single/CulturePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +36 -0
- package/lib/types/prerequisites/single/EnhancementPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +18 -0
- package/lib/types/prerequisites/single/InfluencePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/PactPrerequisite.d.ts +32 -0
- package/lib/types/prerequisites/single/PactPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +22 -0
- package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/PublicationPrerequisite.d.ts +13 -0
- package/lib/types/prerequisites/single/PublicationPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/RacePrerequisite.d.ts +14 -0
- package/lib/types/prerequisites/single/RacePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +99 -0
- package/lib/types/prerequisites/single/RatedPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/RulePrerequisite.d.ts +10 -0
- package/lib/types/prerequisites/single/RulePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/SexPrerequisite.d.ts +11 -0
- package/lib/types/prerequisites/single/SexPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +16 -0
- package/lib/types/prerequisites/single/SocialStatusPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/StatePrerequisite.d.ts +11 -0
- package/lib/types/prerequisites/single/StatePrerequisite.js +1 -0
- package/lib/types/prerequisites/single/TextPrerequisite.d.ts +31 -0
- package/lib/types/prerequisites/single/TextPrerequisite.js +1 -0
- package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +33 -0
- package/lib/types/prerequisites/single/TraditionPrerequisite.js +1 -0
- package/lib/types/specialAbility/AdvancedCombatSpecialAbility.d.ts +8 -0
- package/lib/types/specialAbility/AdvancedKarmaSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/AdvancedMagicalSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/AdvancedSkillSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/AncestorGlyph.d.ts +4 -0
- package/lib/types/specialAbility/BlessedTradition.d.ts +5 -2
- package/lib/types/specialAbility/BrawlingSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/CeremonialItemSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/CombatSpecialAbility.d.ts +8 -0
- package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/CommandSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/FamiliarSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/FatePointSexSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/FatePointSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/GeneralSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/KarmaSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/LycantropicGift.d.ts +4 -0
- package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/MagicalSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/MagicalTradition.d.ts +3 -0
- package/lib/types/specialAbility/PactGift.d.ts +6 -2
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/Sermon.d.ts +4 -0
- package/lib/types/specialAbility/SexSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/SikaryanDrainSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +4 -0
- package/lib/types/specialAbility/VampiricGift.d.ts +4 -0
- package/lib/types/specialAbility/Vision.d.ts +4 -0
- package/lib/types/specialAbility/sub/Language.d.ts +2 -2
- package/lib/types/specialAbility/sub/TradeSecret.d.ts +2 -0
- package/lib/types/traditionArtifacts/ArcaneOrbEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/AttireEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/BowlEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/CauldronEnchantment.d.ts +19 -1
- package/lib/types/traditionArtifacts/ChronicleEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +18 -0
- package/lib/types/traditionArtifacts/FoolsHatEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/InstrumentEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/Krallenkettenzauber.d.ts +18 -0
- package/lib/types/traditionArtifacts/OrbEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/RingEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/SickleRitual.d.ts +18 -0
- package/lib/types/traditionArtifacts/SpellSwordEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/Trinkhornzauber.d.ts +18 -0
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +18 -0
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +18 -0
- package/package.json +2 -2
- package/schema/Advantage.schema.json +9 -0
- package/schema/ArcaneBardTradition.schema.json +1 -1
- package/schema/ArcaneDancerTradition.schema.json +1 -1
- package/schema/Ceremony.schema.json +1 -1
- package/schema/DerivedCharacteristic.schema.json +1 -1
- package/schema/Disadvantage.schema.json +9 -0
- package/schema/FamiliarsTrick.schema.json +1 -0
- package/schema/LiturgicalChant.schema.json +1 -1
- package/schema/Ritual.schema.json +1 -1
- package/schema/Spell.schema.json +1 -1
- package/schema/_Activatable.schema.json +2150 -379
- package/schema/_ActivatableSkill.schema.json +1 -0
- package/schema/_Enhancements.schema.json +1 -1
- package/schema/_Identifier.schema.json +327 -166
- package/schema/_Influence.schema.json +4 -0
- package/schema/_Prerequisite.schema.json +887 -675
- package/schema/magicalActions/AnimistPower.schema.json +4 -0
- package/schema/magicalActions/Curse.schema.json +1 -1
- package/schema/magicalActions/ElvenMagicalSong.schema.json +1 -1
- package/schema/magicalActions/GeodeRitual.schema.json +1 -1
- package/schema/prerequisites/ConditionalPrerequisites.schema.json +15 -0
- package/schema/prerequisites/DisplayOption.schema.json +48 -0
- package/schema/prerequisites/PrerequisiteGroups.schema.json +246 -0
- package/schema/prerequisites/single/ActivatablePrerequisite.schema.json +142 -0
- package/schema/prerequisites/single/AnimistPowerPrerequisite.schema.json +40 -0
- package/schema/prerequisites/single/CommonSuggestedByRCPPrerequisite.schema.json +18 -0
- package/schema/prerequisites/single/CulturePrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/EnhancementPrerequisite.schema.json +54 -0
- package/schema/prerequisites/single/InfluencePrerequisite.schema.json +33 -0
- package/schema/prerequisites/single/PactPrerequisite.schema.json +46 -0
- package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +58 -0
- package/schema/prerequisites/single/PublicationPrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/RacePrerequisite.schema.json +31 -0
- package/schema/prerequisites/single/RatedPrerequisite.schema.json +184 -0
- package/schema/prerequisites/single/RulePrerequisite.schema.json +26 -0
- package/schema/prerequisites/single/SexPrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/SocialStatusPrerequisite.schema.json +30 -0
- package/schema/prerequisites/single/StatePrerequisite.schema.json +27 -0
- package/schema/prerequisites/single/TextPrerequisite.schema.json +63 -0
- package/schema/prerequisites/single/TraditionPrerequisite.schema.json +96 -0
- package/schema/source/Publication.schema.json +1 -1
- package/schema/specialAbility/AdvancedCombatSpecialAbility.schema.json +12 -0
- package/schema/specialAbility/AdvancedKarmaSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/AdvancedMagicalSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/AdvancedSkillSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/AncestorGlyph.schema.json +9 -0
- package/schema/specialAbility/BlessedTradition.schema.json +7 -1
- package/schema/specialAbility/BrawlingSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/CeremonialItemSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/CombatSpecialAbility.schema.json +12 -0
- package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/CommandSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/FamiliarSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/FatePointSexSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/FatePointSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/GeneralSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/KarmaSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/LycantropicGift.schema.json +9 -0
- package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/MagicalSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/MagicalTradition.schema.json +6 -0
- package/schema/specialAbility/PactGift.schema.json +10 -1
- package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/Sermon.schema.json +9 -0
- package/schema/specialAbility/SexSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/SikaryanDrainSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +9 -0
- package/schema/specialAbility/VampiricGift.schema.json +9 -0
- package/schema/specialAbility/Vision.schema.json +9 -0
- package/schema/specialAbility/sub/Language.schema.json +1 -1
- package/schema/specialAbility/sub/TradeSecret.schema.json +3 -0
- package/schema/traditionArtifacts/ArcaneOrbEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/AttireEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/BowlEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/CauldronEnchantment.schema.json +30 -4
- package/schema/traditionArtifacts/ChronicleEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/DaggerRitual.schema.json +27 -1
- package/schema/traditionArtifacts/FoolsHatEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/InstrumentEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/Krallenkettenzauber.schema.json +27 -1
- package/schema/traditionArtifacts/OrbEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/RingEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/SickleRitual.schema.json +27 -1
- package/schema/traditionArtifacts/SpellSwordEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/StaffEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/ToyEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/Trinkhornzauber.schema.json +27 -1
- package/schema/traditionArtifacts/WandEnchantment.schema.json +27 -1
- package/schema/traditionArtifacts/WeaponEnchantment.schema.json +27 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/PactPrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PactPrerequisite": {
|
|
6
|
+
"title": "Pact Prerequisite",
|
|
7
|
+
"description": "Requires a specific pact.",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"tag": {
|
|
11
|
+
"const": "Pact"
|
|
12
|
+
},
|
|
13
|
+
"category_id": {
|
|
14
|
+
"description": "The required pact category's identifier.",
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"minimum": 1
|
|
17
|
+
},
|
|
18
|
+
"domain_id": {
|
|
19
|
+
"description": "The required domains' identifiers.",
|
|
20
|
+
"type": "array",
|
|
21
|
+
"items": {
|
|
22
|
+
"$ref": "#/definitions/DomainId"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"level": {
|
|
26
|
+
"description": "The required pact level.",
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 1
|
|
29
|
+
},
|
|
30
|
+
"display_option": {
|
|
31
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"tag",
|
|
36
|
+
"category_id"
|
|
37
|
+
],
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
},
|
|
40
|
+
"DomainId": {
|
|
41
|
+
"description": "A domain's identifier.",
|
|
42
|
+
"type": "integer",
|
|
43
|
+
"minimum": 1
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/PrimaryAttributePrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PrimaryAttributePrerequisite": {
|
|
6
|
+
"title": "Primary Attribute Prerequisite",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"tag": {
|
|
10
|
+
"const": "PrimaryAttribute"
|
|
11
|
+
},
|
|
12
|
+
"category": {
|
|
13
|
+
"description": "Is the required primary attribute for spellcasters or blessed ones?",
|
|
14
|
+
"oneOf": [
|
|
15
|
+
{
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"tag": {
|
|
19
|
+
"const": "Blessed"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"tag"
|
|
24
|
+
],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"tag": {
|
|
31
|
+
"const": "Magical"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"tag"
|
|
36
|
+
],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"value": {
|
|
42
|
+
"description": "Required value of the attribute",
|
|
43
|
+
"type": "integer",
|
|
44
|
+
"minimum": 9
|
|
45
|
+
},
|
|
46
|
+
"display_option": {
|
|
47
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"tag",
|
|
52
|
+
"category",
|
|
53
|
+
"value"
|
|
54
|
+
],
|
|
55
|
+
"additionalProperties": false
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/PublicationPrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"PublicationPrerequisite": {
|
|
6
|
+
"title": "Publication Prerequisite",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"tag": {
|
|
10
|
+
"const": "Publication"
|
|
11
|
+
},
|
|
12
|
+
"id": {
|
|
13
|
+
"type": "integer",
|
|
14
|
+
"minimum": 1
|
|
15
|
+
},
|
|
16
|
+
"display_option": {
|
|
17
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"tag",
|
|
22
|
+
"id"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/RacePrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"RacePrerequisite": {
|
|
6
|
+
"title": "Race Prerequisite",
|
|
7
|
+
"description": "Requires a specific race or one of a specific set of races. You can also\nprovide an object to say whether the hero must meet one of the races or\nif the entry does not allow one of the races.",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"tag": {
|
|
11
|
+
"const": "Culture"
|
|
12
|
+
},
|
|
13
|
+
"id": {
|
|
14
|
+
"$ref": "../../_Identifier.schema.json#/definitions/OneOrManyNumericIdentifiers"
|
|
15
|
+
},
|
|
16
|
+
"active": {
|
|
17
|
+
"type": "boolean"
|
|
18
|
+
},
|
|
19
|
+
"display_option": {
|
|
20
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"tag",
|
|
25
|
+
"id",
|
|
26
|
+
"active"
|
|
27
|
+
],
|
|
28
|
+
"additionalProperties": false
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/RatedPrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"RatedPrerequisite": {
|
|
6
|
+
"title": "Rated Prerequisite",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"tag": {
|
|
10
|
+
"const": "Rated"
|
|
11
|
+
},
|
|
12
|
+
"id": {
|
|
13
|
+
"description": "The rated entry's identifier.",
|
|
14
|
+
"$ref": "../../_Identifier.schema.json#/definitions/RatedIdentifier"
|
|
15
|
+
},
|
|
16
|
+
"value": {
|
|
17
|
+
"description": "The required minimum value.",
|
|
18
|
+
"type": "integer",
|
|
19
|
+
"minimum": 0
|
|
20
|
+
},
|
|
21
|
+
"display_option": {
|
|
22
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"required": [
|
|
26
|
+
"tag",
|
|
27
|
+
"id",
|
|
28
|
+
"value"
|
|
29
|
+
],
|
|
30
|
+
"additionalProperties": false
|
|
31
|
+
},
|
|
32
|
+
"RatedSetPrerequisite": {
|
|
33
|
+
"title": "Rated Set Prerequisite",
|
|
34
|
+
"type": "object",
|
|
35
|
+
"properties": {
|
|
36
|
+
"tag": {
|
|
37
|
+
"const": "RatedSet"
|
|
38
|
+
},
|
|
39
|
+
"id": {
|
|
40
|
+
"description": "The possible rated entries' identifiers.",
|
|
41
|
+
"type": "array",
|
|
42
|
+
"items": {
|
|
43
|
+
"$ref": "../../_Identifier.schema.json#/definitions/RatedIdentifier"
|
|
44
|
+
},
|
|
45
|
+
"minItems": 2
|
|
46
|
+
},
|
|
47
|
+
"value": {
|
|
48
|
+
"description": "The required minimum value.",
|
|
49
|
+
"type": "integer",
|
|
50
|
+
"minimum": 0
|
|
51
|
+
},
|
|
52
|
+
"display_option": {
|
|
53
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"required": [
|
|
57
|
+
"tag",
|
|
58
|
+
"id",
|
|
59
|
+
"value"
|
|
60
|
+
],
|
|
61
|
+
"additionalProperties": false
|
|
62
|
+
},
|
|
63
|
+
"RatedMinimumNumberPrerequisite": {
|
|
64
|
+
"title": "Rated Minimum Number Prerequisite",
|
|
65
|
+
"type": "object",
|
|
66
|
+
"properties": {
|
|
67
|
+
"tag": {
|
|
68
|
+
"const": "RatedMinimumNumber"
|
|
69
|
+
},
|
|
70
|
+
"number": {
|
|
71
|
+
"description": "The minimum number of skills that need to be on the defined minimum skill\nrating.",
|
|
72
|
+
"type": "integer",
|
|
73
|
+
"minimum": 1
|
|
74
|
+
},
|
|
75
|
+
"value": {
|
|
76
|
+
"description": "The minimum skill rating the defined minimum number of skills need to be\non.",
|
|
77
|
+
"type": "integer",
|
|
78
|
+
"minimum": 1
|
|
79
|
+
},
|
|
80
|
+
"targets": {
|
|
81
|
+
"description": "The targets that contribute to satisfying the prerequisite.",
|
|
82
|
+
"oneOf": [
|
|
83
|
+
{
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"tag": {
|
|
87
|
+
"const": "Skills"
|
|
88
|
+
},
|
|
89
|
+
"skills": {
|
|
90
|
+
"description": "The skills that are taken into account for satisfying the prerequisite.",
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "object",
|
|
94
|
+
"properties": {
|
|
95
|
+
"id": {
|
|
96
|
+
"description": "The skill's identifier.",
|
|
97
|
+
"type": "number"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"required": [
|
|
101
|
+
"id"
|
|
102
|
+
],
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
},
|
|
105
|
+
"minItems": 2,
|
|
106
|
+
"uniqueItems": true
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"required": [
|
|
110
|
+
"tag",
|
|
111
|
+
"skills"
|
|
112
|
+
],
|
|
113
|
+
"additionalProperties": false
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"type": "object",
|
|
117
|
+
"properties": {
|
|
118
|
+
"tag": {
|
|
119
|
+
"const": "Spellworks"
|
|
120
|
+
},
|
|
121
|
+
"property": {
|
|
122
|
+
"description": "Spellworks with the referenced property are taken into account for\nsatisfying the prerequisite.",
|
|
123
|
+
"type": "object",
|
|
124
|
+
"properties": {
|
|
125
|
+
"id": {
|
|
126
|
+
"description": "The property's identifier.",
|
|
127
|
+
"type": "number"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"required": [
|
|
131
|
+
"id"
|
|
132
|
+
],
|
|
133
|
+
"additionalProperties": false
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": [
|
|
137
|
+
"tag",
|
|
138
|
+
"property"
|
|
139
|
+
],
|
|
140
|
+
"additionalProperties": false
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"type": "object",
|
|
144
|
+
"properties": {
|
|
145
|
+
"tag": {
|
|
146
|
+
"const": "Liturgies"
|
|
147
|
+
},
|
|
148
|
+
"aspect": {
|
|
149
|
+
"description": "Liturgies with the referenced aspect are taken into account for\nsatisfying the prerequisite.",
|
|
150
|
+
"type": "object",
|
|
151
|
+
"properties": {
|
|
152
|
+
"id": {
|
|
153
|
+
"description": "The aspect's identifier.",
|
|
154
|
+
"type": "number"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"required": [
|
|
158
|
+
"id"
|
|
159
|
+
],
|
|
160
|
+
"additionalProperties": false
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": [
|
|
164
|
+
"tag",
|
|
165
|
+
"aspect"
|
|
166
|
+
],
|
|
167
|
+
"additionalProperties": false
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
},
|
|
171
|
+
"display_option": {
|
|
172
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
"required": [
|
|
176
|
+
"tag",
|
|
177
|
+
"number",
|
|
178
|
+
"value",
|
|
179
|
+
"targets"
|
|
180
|
+
],
|
|
181
|
+
"additionalProperties": false
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/RulePrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"RulePrerequisite": {
|
|
6
|
+
"title": "Rule Prerequisite",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"tag": {
|
|
10
|
+
"const": "Rule"
|
|
11
|
+
},
|
|
12
|
+
"id": {
|
|
13
|
+
"$ref": "../../_Identifier.schema.json#/definitions/ExtensionRuleIdentifier"
|
|
14
|
+
},
|
|
15
|
+
"display_option": {
|
|
16
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": [
|
|
20
|
+
"tag",
|
|
21
|
+
"id"
|
|
22
|
+
],
|
|
23
|
+
"additionalProperties": false
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/SexPrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"SexPrerequisite": {
|
|
6
|
+
"title": "Sex Prerequisite",
|
|
7
|
+
"description": "Requires a specific sex.",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"tag": {
|
|
11
|
+
"const": "Sex"
|
|
12
|
+
},
|
|
13
|
+
"id": {
|
|
14
|
+
"$ref": "../../_Sex.schema.json#/definitions/BinarySex"
|
|
15
|
+
},
|
|
16
|
+
"display_option": {
|
|
17
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"tag",
|
|
22
|
+
"id"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/SocialStatusPrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"SocialStatusPrerequisite": {
|
|
6
|
+
"title": "Social Status Prerequisite",
|
|
7
|
+
"description": "Requires a minimum social status.",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"tag": {
|
|
11
|
+
"const": "SocialStatus"
|
|
12
|
+
},
|
|
13
|
+
"id": {
|
|
14
|
+
"description": "The minimum social status' identifier.",
|
|
15
|
+
"type": "integer",
|
|
16
|
+
"maximum": 5,
|
|
17
|
+
"minimum": 2
|
|
18
|
+
},
|
|
19
|
+
"display_option": {
|
|
20
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"tag",
|
|
25
|
+
"id"
|
|
26
|
+
],
|
|
27
|
+
"additionalProperties": false
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/StatePrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"StatePrerequisite": {
|
|
6
|
+
"title": "State Prerequisite",
|
|
7
|
+
"description": "Requires a specific state or one of a specific set of states.",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"tag": {
|
|
11
|
+
"const": "Culture"
|
|
12
|
+
},
|
|
13
|
+
"id": {
|
|
14
|
+
"$ref": "../../_Identifier.schema.json#/definitions/OneOrManyNumericIdentifiers"
|
|
15
|
+
},
|
|
16
|
+
"display_option": {
|
|
17
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"required": [
|
|
21
|
+
"tag",
|
|
22
|
+
"id"
|
|
23
|
+
],
|
|
24
|
+
"additionalProperties": false
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/TextPrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"TextPrerequisite": {
|
|
6
|
+
"title": "Impossible Prerequisite",
|
|
7
|
+
"description": "A prerequisite that is either not verifyable in general – e.g. roleplay or\nbackground information – or the referenced entities were not made available\nfor use yet – e.g. races –, but which should be displayed, because it is part\nof the prerequisite string from the sources.",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"tag": {
|
|
11
|
+
"const": "Text"
|
|
12
|
+
},
|
|
13
|
+
"verification": {
|
|
14
|
+
"description": "The method how the prerequisite should be verified. Either is passes all\nverification text or it denies all verification tests. The latter results\nin the associated entry to never be available for purchase.",
|
|
15
|
+
"oneOf": [
|
|
16
|
+
{
|
|
17
|
+
"type": "object",
|
|
18
|
+
"properties": {
|
|
19
|
+
"tag": {
|
|
20
|
+
"const": "Pass"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"required": [
|
|
24
|
+
"tag"
|
|
25
|
+
],
|
|
26
|
+
"additionalProperties": false
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"type": "object",
|
|
30
|
+
"properties": {
|
|
31
|
+
"tag": {
|
|
32
|
+
"const": "Deny"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"required": [
|
|
36
|
+
"tag"
|
|
37
|
+
],
|
|
38
|
+
"additionalProperties": false
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"translations": {
|
|
43
|
+
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
44
|
+
"type": "object",
|
|
45
|
+
"patternProperties": {
|
|
46
|
+
"^[a-z]{2}-[A-Z]{2}$": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"minLength": 1
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
"minProperties": 1,
|
|
52
|
+
"additionalProperties": false
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"required": [
|
|
56
|
+
"tag",
|
|
57
|
+
"verification",
|
|
58
|
+
"translations"
|
|
59
|
+
],
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "prerequisites/single/TraditionPrerequisite.schema.json",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"BlessedTraditionPrerequisite": {
|
|
6
|
+
"title": "Blessed Tradition Prerequisite",
|
|
7
|
+
"type": "object",
|
|
8
|
+
"properties": {
|
|
9
|
+
"tag": {
|
|
10
|
+
"const": "BlessedTradition"
|
|
11
|
+
},
|
|
12
|
+
"restriction": {
|
|
13
|
+
"description": "The blessed tradition prerequisite may only be satified if the blessed\ntradition is either church or shamanistic.",
|
|
14
|
+
"oneOf": [
|
|
15
|
+
{
|
|
16
|
+
"type": "object",
|
|
17
|
+
"properties": {
|
|
18
|
+
"tag": {
|
|
19
|
+
"const": "Church"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"required": [
|
|
23
|
+
"tag"
|
|
24
|
+
],
|
|
25
|
+
"additionalProperties": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"type": "object",
|
|
29
|
+
"properties": {
|
|
30
|
+
"tag": {
|
|
31
|
+
"const": "Shamanistic"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"required": [
|
|
35
|
+
"tag"
|
|
36
|
+
],
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"display_option": {
|
|
42
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": [
|
|
46
|
+
"tag"
|
|
47
|
+
],
|
|
48
|
+
"additionalProperties": false
|
|
49
|
+
},
|
|
50
|
+
"MagicalTraditionPrerequisite": {
|
|
51
|
+
"title": "Magical Tradition Prerequisite",
|
|
52
|
+
"type": "object",
|
|
53
|
+
"properties": {
|
|
54
|
+
"tag": {
|
|
55
|
+
"const": "MagicalTradition"
|
|
56
|
+
},
|
|
57
|
+
"restriction": {
|
|
58
|
+
"description": "The magical tradition prerequisite may only be satified if the magical\ntradition can learn rituals or can bind familiars.",
|
|
59
|
+
"oneOf": [
|
|
60
|
+
{
|
|
61
|
+
"type": "object",
|
|
62
|
+
"properties": {
|
|
63
|
+
"tag": {
|
|
64
|
+
"const": "CanLearnRituals"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"required": [
|
|
68
|
+
"tag"
|
|
69
|
+
],
|
|
70
|
+
"additionalProperties": false
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"type": "object",
|
|
74
|
+
"properties": {
|
|
75
|
+
"tag": {
|
|
76
|
+
"const": "CanBindFamiliars"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"required": [
|
|
80
|
+
"tag"
|
|
81
|
+
],
|
|
82
|
+
"additionalProperties": false
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"display_option": {
|
|
87
|
+
"$ref": "../DisplayOption.schema.json#/definitions/DisplayOption"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"required": [
|
|
91
|
+
"tag"
|
|
92
|
+
],
|
|
93
|
+
"additionalProperties": false
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"prerequisites": {
|
|
28
28
|
"description": "The specific other publications this publication depends on data from.",
|
|
29
|
-
"$ref": "../_Prerequisite.schema.json#/definitions/
|
|
29
|
+
"$ref": "../_Prerequisite.schema.json#/definitions/PublicationPrerequisites"
|
|
30
30
|
},
|
|
31
31
|
"translations": {
|
|
32
32
|
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
@@ -16,15 +16,24 @@
|
|
|
16
16
|
"usage_type": {
|
|
17
17
|
"$ref": "../_Activatable.schema.json#/definitions/CombatSpecialAbilityType"
|
|
18
18
|
},
|
|
19
|
+
"select_options": {
|
|
20
|
+
"$ref": "../_Activatable.schema.json#/definitions/SelectOptions"
|
|
21
|
+
},
|
|
19
22
|
"skill_applications": {
|
|
20
23
|
"$ref": "../_Activatable.schema.json#/definitions/SkillApplications"
|
|
21
24
|
},
|
|
22
25
|
"skill_uses": {
|
|
23
26
|
"$ref": "../_Activatable.schema.json#/definitions/SkillUses"
|
|
24
27
|
},
|
|
28
|
+
"maximum": {
|
|
29
|
+
"$ref": "../_Activatable.schema.json#/definitions/Maximum"
|
|
30
|
+
},
|
|
25
31
|
"penalty": {
|
|
26
32
|
"$ref": "../_Activatable.schema.json#/definitions/Penalty"
|
|
27
33
|
},
|
|
34
|
+
"prerequisites": {
|
|
35
|
+
"$ref": "../_Prerequisite.schema.json#/definitions/GeneralPrerequisites"
|
|
36
|
+
},
|
|
28
37
|
"combat_techniques": {
|
|
29
38
|
"$ref": "../_Activatable.schema.json#/definitions/ApplicableCombatTechniques"
|
|
30
39
|
},
|
|
@@ -50,6 +59,9 @@
|
|
|
50
59
|
"rules": {
|
|
51
60
|
"$ref": "../_Activatable.schema.json#/definitions/Rules"
|
|
52
61
|
},
|
|
62
|
+
"penalty": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
53
65
|
"errata": {
|
|
54
66
|
"$ref": "../source/_Erratum.schema.json#/definitions/Errata"
|
|
55
67
|
}
|