optolith-database-schema 0.3.0 → 0.4.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 (129) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/lib/config.d.ts +4 -4
  3. package/lib/config.js +4 -4
  4. package/lib/types/Blessing.d.ts +3 -0
  5. package/lib/types/Cantrip.d.ts +3 -0
  6. package/lib/types/Culture.d.ts +18 -22
  7. package/lib/types/Culture.js +38 -0
  8. package/lib/types/Lessons_Curriculum.d.ts +4 -0
  9. package/lib/types/Patron.d.ts +12 -18
  10. package/lib/types/Patron.js +20 -0
  11. package/lib/types/Profession.d.ts +8 -11
  12. package/lib/types/Profession.js +6 -0
  13. package/lib/types/Race.d.ts +5 -7
  14. package/lib/types/Race.js +11 -0
  15. package/lib/types/Service.d.ts +4 -5
  16. package/lib/types/Service.js +5 -0
  17. package/lib/types/Skill.d.ts +10 -14
  18. package/lib/types/Skill.js +19 -0
  19. package/lib/types/Talisman.d.ts +7 -11
  20. package/lib/types/Talisman.js +8 -0
  21. package/lib/types/_Activatable.d.ts +41 -25
  22. package/lib/types/_Activatable.js +44 -1
  23. package/lib/types/_ActivatableSelectOptionCategory.d.ts +21 -18
  24. package/lib/types/_ActivatableSelectOptionCategory.js +8 -1
  25. package/lib/types/_ActivatableSkillCheckResultBased.d.ts +8 -10
  26. package/lib/types/_ActivatableSkillCheckResultBased.js +16 -1
  27. package/lib/types/_ActivatableSkillRange.d.ts +8 -4
  28. package/lib/types/_ActivatableSkillTargetCategory.d.ts +4 -0
  29. package/lib/types/_DiseasePoison.d.ts +5 -7
  30. package/lib/types/_DiseasePoison.js +11 -1
  31. package/lib/types/_Sex.d.ts +4 -5
  32. package/lib/types/_Sex.js +8 -1
  33. package/lib/types/_SkillCheck.d.ts +6 -9
  34. package/lib/types/_SkillCheck.js +11 -1
  35. package/lib/types/_Spellwork.d.ts +1 -0
  36. package/lib/types/equipment/item/Armor.d.ts +4 -4
  37. package/lib/types/equipment/item/BandageOrRemedy.d.ts +33 -3
  38. package/lib/types/equipment/item/CeremonialItem.d.ts +38 -3
  39. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -14
  40. package/lib/types/equipment/item/IlluminationLightSource.d.ts +62 -0
  41. package/lib/types/equipment/item/IlluminationLightSource.js +9 -0
  42. package/lib/types/equipment/item/{HealingHerb.d.ts → IlluminationRefillsOrSupplies.d.ts} +2 -2
  43. package/lib/types/equipment/item/{HealingHerb.js → IlluminationRefillsOrSupplies.js} +1 -1
  44. package/lib/types/equipment/item/LuxuryGood.d.ts +33 -3
  45. package/lib/types/equipment/item/MusicalInstrument.d.ts +3 -8
  46. package/lib/types/equipment/item/Poison.d.ts +11 -9
  47. package/lib/types/equipment/item/Poison.js +7 -0
  48. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +1 -1
  49. package/lib/types/equipment/item/Weapon.d.ts +1 -1
  50. package/lib/types/equipment/item/_Item.d.ts +9 -3
  51. package/lib/types/equipment/item/_MeleeWeapon.d.ts +2 -0
  52. package/lib/types/equipment/item/_RangedWeapon.d.ts +2 -0
  53. package/lib/types/magicalActions/AnimistPower.d.ts +2 -0
  54. package/lib/types/magicalActions/Curse.d.ts +1 -0
  55. package/lib/types/magicalActions/GeodeRitual.d.ts +2 -0
  56. package/lib/types/magicalActions/JesterTrick.d.ts +3 -0
  57. package/lib/types/magicalActions/_MusicTradition.d.ts +8 -10
  58. package/lib/types/magicalActions/_MusicTradition.js +10 -1
  59. package/lib/types/prerequisites/DisplayOption.d.ts +1 -0
  60. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +1 -0
  61. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.d.ts +4 -5
  62. package/lib/types/prerequisites/single/PrimaryAttributePrerequisite.js +5 -1
  63. package/lib/types/prerequisites/single/TextPrerequisite.d.ts +4 -5
  64. package/lib/types/prerequisites/single/TextPrerequisite.js +5 -1
  65. package/lib/types/prerequisites/single/TraditionPrerequisite.d.ts +8 -10
  66. package/lib/types/prerequisites/single/TraditionPrerequisite.js +18 -1
  67. package/lib/types/rule/CoreRule.d.ts +63 -5
  68. package/lib/types/rule/CoreRule.js +5 -0
  69. package/lib/types/rule/_Rule.d.ts +1 -0
  70. package/lib/types/source/Publication.d.ts +6 -9
  71. package/lib/types/source/Publication.js +10 -0
  72. package/lib/types/source/_PublicationRef.d.ts +2 -0
  73. package/lib/types/specialAbility/BlessedTradition.d.ts +3 -0
  74. package/lib/types/specialAbility/PactGift.d.ts +8 -10
  75. package/lib/types/specialAbility/PactGift.js +10 -0
  76. package/package.json +2 -2
  77. package/schema/Blessing.schema.json +24 -3
  78. package/schema/Cantrip.schema.json +24 -3
  79. package/schema/Culture.schema.json +21 -113
  80. package/schema/Lessons_Curriculum.schema.json +32 -4
  81. package/schema/Patron.schema.json +10 -98
  82. package/schema/Profession.schema.json +70 -47
  83. package/schema/Race.schema.json +4 -37
  84. package/schema/Service.schema.json +3 -25
  85. package/schema/Skill.schema.json +8 -74
  86. package/schema/Talisman.schema.json +6 -61
  87. package/schema/_Activatable.schema.json +183 -146
  88. package/schema/_ActivatableSelectOptionCategory.schema.json +97 -49
  89. package/schema/_ActivatableSkillCheckResultBased.schema.json +6 -50
  90. package/schema/_ActivatableSkillRange.schema.json +24 -4
  91. package/schema/_ActivatableSkillTargetCategory.schema.json +32 -4
  92. package/schema/_DiseasePoison.schema.json +4 -37
  93. package/schema/_Sex.schema.json +3 -25
  94. package/schema/_SkillCheck.schema.json +5 -49
  95. package/schema/_Spellwork.schema.json +8 -1
  96. package/schema/equipment/item/Armor.schema.json +26 -5
  97. package/schema/equipment/item/BandageOrRemedy.schema.json +44 -1
  98. package/schema/equipment/item/CeremonialItem.schema.json +50 -1
  99. package/schema/equipment/item/EquipmentOfBlessedOnes.schema.json +0 -13
  100. package/schema/equipment/item/IlluminationLightSource.schema.json +122 -0
  101. package/schema/equipment/item/IlluminationRefillsOrSupplies.schema.json +10 -0
  102. package/schema/equipment/item/LuxuryGood.schema.json +44 -1
  103. package/schema/equipment/item/MusicalInstrument.schema.json +4 -9
  104. package/schema/equipment/item/Poison.schema.json +45 -54
  105. package/schema/equipment/item/ToolOfTheTrade.schema.json +0 -1
  106. package/schema/equipment/item/Weapon.schema.json +1 -1
  107. package/schema/equipment/item/_Item.schema.json +52 -10
  108. package/schema/equipment/item/_MeleeWeapon.schema.json +16 -2
  109. package/schema/equipment/item/_RangedWeapon.schema.json +16 -2
  110. package/schema/magicalActions/AnimistPower.schema.json +16 -2
  111. package/schema/magicalActions/Curse.schema.json +8 -1
  112. package/schema/magicalActions/GeodeRitual.schema.json +16 -2
  113. package/schema/magicalActions/JesterTrick.schema.json +24 -3
  114. package/schema/magicalActions/_MusicTradition.schema.json +6 -50
  115. package/schema/prerequisites/DisplayOption.schema.json +8 -1
  116. package/schema/prerequisites/PrerequisiteGroups.schema.json +8 -1
  117. package/schema/prerequisites/single/PrimaryAttributePrerequisite.schema.json +3 -25
  118. package/schema/prerequisites/single/TextPrerequisite.schema.json +3 -25
  119. package/schema/prerequisites/single/TraditionPrerequisite.schema.json +6 -50
  120. package/schema/rule/CoreRule.schema.json +475 -84
  121. package/schema/rule/_Rule.schema.json +8 -1
  122. package/schema/source/Publication.schema.json +5 -49
  123. package/schema/source/_PublicationRef.schema.json +16 -2
  124. package/schema/specialAbility/BlessedTradition.schema.json +24 -3
  125. package/schema/specialAbility/PactGift.schema.json +6 -50
  126. package/lib/types/equipment/item/Illumination.d.ts +0 -6
  127. package/lib/types/equipment/item/Illumination.js +0 -5
  128. package/schema/equipment/item/HealingHerb.schema.json +0 -10
  129. package/schema/equipment/item/Illumination.schema.json +0 -10
@@ -9,10 +9,17 @@
9
9
  "properties": {
10
10
  "tag": {
11
11
  "const": "Blessings"
12
+ },
13
+ "blessings": {
14
+ "type": "object",
15
+ "properties": {},
16
+ "required": [],
17
+ "additionalProperties": false
12
18
  }
13
19
  },
14
20
  "required": [
15
- "tag"
21
+ "tag",
22
+ "blessings"
16
23
  ],
17
24
  "additionalProperties": false
18
25
  },
@@ -21,10 +28,17 @@
21
28
  "properties": {
22
29
  "tag": {
23
30
  "const": "Cantrips"
31
+ },
32
+ "cantrips": {
33
+ "type": "object",
34
+ "properties": {},
35
+ "required": [],
36
+ "additionalProperties": false
24
37
  }
25
38
  },
26
39
  "required": [
27
- "tag"
40
+ "tag",
41
+ "cantrips"
28
42
  ],
29
43
  "additionalProperties": false
30
44
  },
@@ -33,10 +47,17 @@
33
47
  "properties": {
34
48
  "tag": {
35
49
  "const": "TradeSecrets"
50
+ },
51
+ "trade_secrets": {
52
+ "type": "object",
53
+ "properties": {},
54
+ "required": [],
55
+ "additionalProperties": false
36
56
  }
37
57
  },
38
58
  "required": [
39
- "tag"
59
+ "tag",
60
+ "trade_secrets"
40
61
  ],
41
62
  "additionalProperties": false
42
63
  },
@@ -45,10 +66,17 @@
45
66
  "properties": {
46
67
  "tag": {
47
68
  "const": "Scripts"
69
+ },
70
+ "scripts": {
71
+ "type": "object",
72
+ "properties": {},
73
+ "required": [],
74
+ "additionalProperties": false
48
75
  }
49
76
  },
50
77
  "required": [
51
- "tag"
78
+ "tag",
79
+ "scripts"
52
80
  ],
53
81
  "additionalProperties": false
54
82
  },
@@ -57,10 +85,17 @@
57
85
  "properties": {
58
86
  "tag": {
59
87
  "const": "AnimalShapes"
88
+ },
89
+ "animal_shapes": {
90
+ "type": "object",
91
+ "properties": {},
92
+ "required": [],
93
+ "additionalProperties": false
60
94
  }
61
95
  },
62
96
  "required": [
63
- "tag"
97
+ "tag",
98
+ "animal_shapes"
64
99
  ],
65
100
  "additionalProperties": false
66
101
  },
@@ -69,10 +104,17 @@
69
104
  "properties": {
70
105
  "tag": {
71
106
  "const": "ArcaneBardTraditions"
107
+ },
108
+ "arcane_bard_traditions": {
109
+ "type": "object",
110
+ "properties": {},
111
+ "required": [],
112
+ "additionalProperties": false
72
113
  }
73
114
  },
74
115
  "required": [
75
- "tag"
116
+ "tag",
117
+ "arcane_bard_traditions"
76
118
  ],
77
119
  "additionalProperties": false
78
120
  },
@@ -81,10 +123,17 @@
81
123
  "properties": {
82
124
  "tag": {
83
125
  "const": "ArcaneDancerTraditions"
126
+ },
127
+ "arcane_dancer_traditions": {
128
+ "type": "object",
129
+ "properties": {},
130
+ "required": [],
131
+ "additionalProperties": false
84
132
  }
85
133
  },
86
134
  "required": [
87
- "tag"
135
+ "tag",
136
+ "arcane_dancer_traditions"
88
137
  ],
89
138
  "additionalProperties": false
90
139
  },
@@ -93,10 +142,17 @@
93
142
  "properties": {
94
143
  "tag": {
95
144
  "const": "SexPractices"
145
+ },
146
+ "sex_practices": {
147
+ "type": "object",
148
+ "properties": {},
149
+ "required": [],
150
+ "additionalProperties": false
96
151
  }
97
152
  },
98
153
  "required": [
99
- "tag"
154
+ "tag",
155
+ "sex_practices"
100
156
  ],
101
157
  "additionalProperties": false
102
158
  },
@@ -105,10 +161,17 @@
105
161
  "properties": {
106
162
  "tag": {
107
163
  "const": "Races"
164
+ },
165
+ "races": {
166
+ "type": "object",
167
+ "properties": {},
168
+ "required": [],
169
+ "additionalProperties": false
108
170
  }
109
171
  },
110
172
  "required": [
111
- "tag"
173
+ "tag",
174
+ "races"
112
175
  ],
113
176
  "additionalProperties": false
114
177
  },
@@ -117,10 +180,17 @@
117
180
  "properties": {
118
181
  "tag": {
119
182
  "const": "Cultures"
183
+ },
184
+ "cultures": {
185
+ "type": "object",
186
+ "properties": {},
187
+ "required": [],
188
+ "additionalProperties": false
120
189
  }
121
190
  },
122
191
  "required": [
123
- "tag"
192
+ "tag",
193
+ "cultures"
124
194
  ],
125
195
  "additionalProperties": false
126
196
  },
@@ -499,7 +569,8 @@
499
569
  }
500
570
  },
501
571
  "required": [
502
- "tag"
572
+ "tag",
573
+ "skills"
503
574
  ],
504
575
  "additionalProperties": false
505
576
  },
@@ -544,12 +615,12 @@
544
615
  }
545
616
  },
546
617
  "required": [],
547
- "minProperties": 1,
548
618
  "additionalProperties": false
549
619
  }
550
620
  },
551
621
  "required": [
552
- "tag"
622
+ "tag",
623
+ "spells"
553
624
  ],
554
625
  "additionalProperties": false
555
626
  },
@@ -594,12 +665,12 @@
594
665
  }
595
666
  },
596
667
  "required": [],
597
- "minProperties": 1,
598
668
  "additionalProperties": false
599
669
  }
600
670
  },
601
671
  "required": [
602
- "tag"
672
+ "tag",
673
+ "rituals"
603
674
  ],
604
675
  "additionalProperties": false
605
676
  },
@@ -644,12 +715,12 @@
644
715
  }
645
716
  },
646
717
  "required": [],
647
- "minProperties": 1,
648
718
  "additionalProperties": false
649
719
  }
650
720
  },
651
721
  "required": [
652
- "tag"
722
+ "tag",
723
+ "liturgical_chants"
653
724
  ],
654
725
  "additionalProperties": false
655
726
  },
@@ -694,12 +765,12 @@
694
765
  }
695
766
  },
696
767
  "required": [],
697
- "minProperties": 1,
698
768
  "additionalProperties": false
699
769
  }
700
770
  },
701
771
  "required": [
702
- "tag"
772
+ "tag",
773
+ "ceremonies"
703
774
  ],
704
775
  "additionalProperties": false
705
776
  }
@@ -764,7 +835,6 @@
764
835
  }
765
836
  },
766
837
  "required": [],
767
- "minProperties": 1,
768
838
  "additionalProperties": false
769
839
  },
770
840
  "CombatTechniquesSelectOptionCategory": {
@@ -898,12 +968,12 @@
898
968
  }
899
969
  },
900
970
  "required": [],
901
- "minProperties": 1,
902
971
  "additionalProperties": false
903
972
  }
904
973
  },
905
974
  "required": [
906
- "tag"
975
+ "tag",
976
+ "close_combat_techniques"
907
977
  ],
908
978
  "additionalProperties": false
909
979
  },
@@ -948,12 +1018,12 @@
948
1018
  }
949
1019
  },
950
1020
  "required": [],
951
- "minProperties": 1,
952
1021
  "additionalProperties": false
953
1022
  }
954
1023
  },
955
1024
  "required": [
956
- "tag"
1025
+ "tag",
1026
+ "ranged_combat_techniques"
957
1027
  ],
958
1028
  "additionalProperties": false
959
1029
  }
@@ -1000,31 +1070,9 @@
1000
1070
  },
1001
1071
  "SpecificFromSkillSelectOptionCategoryCategoryOperation": {
1002
1072
  "description": "Only include (`Intersection`) or exclude (`Difference`) specific entries.",
1003
- "oneOf": [
1004
- {
1005
- "type": "object",
1006
- "properties": {
1007
- "tag": {
1008
- "const": "Intersection"
1009
- }
1010
- },
1011
- "required": [
1012
- "tag"
1013
- ],
1014
- "additionalProperties": false
1015
- },
1016
- {
1017
- "type": "object",
1018
- "properties": {
1019
- "tag": {
1020
- "const": "Difference"
1021
- }
1022
- },
1023
- "required": [
1024
- "tag"
1025
- ],
1026
- "additionalProperties": false
1027
- }
1073
+ "enum": [
1074
+ "Intersection",
1075
+ "Difference"
1028
1076
  ]
1029
1077
  },
1030
1078
  "SkillSelectOptionCategoryPrerequisite": {
@@ -4,60 +4,16 @@
4
4
  "$defs": {
5
5
  "CheckResultValue": {
6
6
  "description": "Defines the derived (unitless) value.",
7
- "oneOf": [
8
- {
9
- "type": "object",
10
- "properties": {
11
- "tag": {
12
- "const": "QualityLevels"
13
- }
14
- },
15
- "required": [
16
- "tag"
17
- ],
18
- "additionalProperties": false
19
- },
20
- {
21
- "type": "object",
22
- "properties": {
23
- "tag": {
24
- "const": "SkillPoints"
25
- }
26
- },
27
- "required": [
28
- "tag"
29
- ],
30
- "additionalProperties": false
31
- }
7
+ "enum": [
8
+ "QualityLevels",
9
+ "SkillPoints"
32
10
  ]
33
11
  },
34
12
  "CheckResultArithmetic": {
35
13
  "description": "Defines how the the `value` is set off against the check result.",
36
- "oneOf": [
37
- {
38
- "type": "object",
39
- "properties": {
40
- "tag": {
41
- "const": "Multiply"
42
- }
43
- },
44
- "required": [
45
- "tag"
46
- ],
47
- "additionalProperties": false
48
- },
49
- {
50
- "type": "object",
51
- "properties": {
52
- "tag": {
53
- "const": "Divide"
54
- }
55
- },
56
- "required": [
57
- "tag"
58
- ],
59
- "additionalProperties": false
60
- }
14
+ "enum": [
15
+ "Multiply",
16
+ "Divide"
61
17
  ]
62
18
  },
63
19
  "CheckResultBasedModifier": {
@@ -48,10 +48,17 @@
48
48
  "properties": {
49
49
  "tag": {
50
50
  "const": "Sight"
51
+ },
52
+ "sight": {
53
+ "type": "object",
54
+ "properties": {},
55
+ "required": [],
56
+ "additionalProperties": false
51
57
  }
52
58
  },
53
59
  "required": [
54
- "tag"
60
+ "tag",
61
+ "sight"
55
62
  ],
56
63
  "additionalProperties": false
57
64
  },
@@ -60,10 +67,17 @@
60
67
  "properties": {
61
68
  "tag": {
62
69
  "const": "Self"
70
+ },
71
+ "self": {
72
+ "type": "object",
73
+ "properties": {},
74
+ "required": [],
75
+ "additionalProperties": false
63
76
  }
64
77
  },
65
78
  "required": [
66
- "tag"
79
+ "tag",
80
+ "self"
67
81
  ],
68
82
  "additionalProperties": false
69
83
  },
@@ -71,12 +85,18 @@
71
85
  "type": "object",
72
86
  "properties": {
73
87
  "tag": {
74
- "description": "German: *dereumfassend*",
75
88
  "const": "Global"
89
+ },
90
+ "global": {
91
+ "type": "object",
92
+ "properties": {},
93
+ "required": [],
94
+ "additionalProperties": false
76
95
  }
77
96
  },
78
97
  "required": [
79
- "tag"
98
+ "tag",
99
+ "global"
80
100
  ],
81
101
  "additionalProperties": false
82
102
  },
@@ -52,10 +52,17 @@
52
52
  "properties": {
53
53
  "tag": {
54
54
  "const": "Self"
55
+ },
56
+ "self": {
57
+ "type": "object",
58
+ "properties": {},
59
+ "required": [],
60
+ "additionalProperties": false
55
61
  }
56
62
  },
57
63
  "required": [
58
- "tag"
64
+ "tag",
65
+ "self"
59
66
  ],
60
67
  "additionalProperties": false
61
68
  },
@@ -64,10 +71,17 @@
64
71
  "properties": {
65
72
  "tag": {
66
73
  "const": "Zone"
74
+ },
75
+ "zone": {
76
+ "type": "object",
77
+ "properties": {},
78
+ "required": [],
79
+ "additionalProperties": false
67
80
  }
68
81
  },
69
82
  "required": [
70
- "tag"
83
+ "tag",
84
+ "zone"
71
85
  ],
72
86
  "additionalProperties": false
73
87
  },
@@ -76,10 +90,17 @@
76
90
  "properties": {
77
91
  "tag": {
78
92
  "const": "LiturgicalChantsAndCeremonies"
93
+ },
94
+ "liturgical_chants_and_ceremonies": {
95
+ "type": "object",
96
+ "properties": {},
97
+ "required": [],
98
+ "additionalProperties": false
79
99
  }
80
100
  },
81
101
  "required": [
82
- "tag"
102
+ "tag",
103
+ "liturgical_chants_and_ceremonies"
83
104
  ],
84
105
  "additionalProperties": false
85
106
  },
@@ -88,10 +109,17 @@
88
109
  "properties": {
89
110
  "tag": {
90
111
  "const": "Cantrips"
112
+ },
113
+ "cantrips": {
114
+ "type": "object",
115
+ "properties": {},
116
+ "required": [],
117
+ "additionalProperties": false
91
118
  }
92
119
  },
93
120
  "required": [
94
- "tag"
121
+ "tag",
122
+ "cantrips"
95
123
  ],
96
124
  "additionalProperties": false
97
125
  },
@@ -4,43 +4,10 @@
4
4
  "$defs": {
5
5
  "Resistance": {
6
6
  "description": "Depending on the disease, apply Spirit or Toughness as a penalty to the\ndisease roll. It may also happen that the lower of both is applied as a\npenalty.",
7
- "oneOf": [
8
- {
9
- "type": "object",
10
- "properties": {
11
- "tag": {
12
- "const": "Spirit"
13
- }
14
- },
15
- "required": [
16
- "tag"
17
- ],
18
- "additionalProperties": false
19
- },
20
- {
21
- "type": "object",
22
- "properties": {
23
- "tag": {
24
- "const": "Toughness"
25
- }
26
- },
27
- "required": [
28
- "tag"
29
- ],
30
- "additionalProperties": false
31
- },
32
- {
33
- "type": "object",
34
- "properties": {
35
- "tag": {
36
- "const": "LowerOfSpiritAndToughness"
37
- }
38
- },
39
- "required": [
40
- "tag"
41
- ],
42
- "additionalProperties": false
43
- }
7
+ "enum": [
8
+ "Spirit",
9
+ "Toughness",
10
+ "LowerOfSpiritAndToughness"
44
11
  ]
45
12
  },
46
13
  "Cause": {
@@ -5,31 +5,9 @@
5
5
  "$defs": {
6
6
  "BinarySex": {
7
7
  "title": "Binary Sex",
8
- "oneOf": [
9
- {
10
- "type": "object",
11
- "properties": {
12
- "tag": {
13
- "const": "Male"
14
- }
15
- },
16
- "required": [
17
- "tag"
18
- ],
19
- "additionalProperties": false
20
- },
21
- {
22
- "type": "object",
23
- "properties": {
24
- "tag": {
25
- "const": "Female"
26
- }
27
- },
28
- "required": [
29
- "tag"
30
- ],
31
- "additionalProperties": false
32
- }
8
+ "enum": [
9
+ "Male",
10
+ "Female"
33
11
  ]
34
12
  }
35
13
  }
@@ -24,55 +24,11 @@
24
24
  "SkillCheckPenalty": {
25
25
  "title": "Skill Check Penalty",
26
26
  "description": "A specific value that represents a penalty for the associated skill check.",
27
- "oneOf": [
28
- {
29
- "type": "object",
30
- "properties": {
31
- "tag": {
32
- "const": "SPI"
33
- }
34
- },
35
- "required": [
36
- "tag"
37
- ],
38
- "additionalProperties": false
39
- },
40
- {
41
- "type": "object",
42
- "properties": {
43
- "tag": {
44
- "const": "SPI/2"
45
- }
46
- },
47
- "required": [
48
- "tag"
49
- ],
50
- "additionalProperties": false
51
- },
52
- {
53
- "type": "object",
54
- "properties": {
55
- "tag": {
56
- "const": "TOU"
57
- }
58
- },
59
- "required": [
60
- "tag"
61
- ],
62
- "additionalProperties": false
63
- },
64
- {
65
- "type": "object",
66
- "properties": {
67
- "tag": {
68
- "const": "SPI/TOU"
69
- }
70
- },
71
- "required": [
72
- "tag"
73
- ],
74
- "additionalProperties": false
75
- }
27
+ "enum": [
28
+ "Spirit",
29
+ "HalfOfSpirit",
30
+ "Toughness",
31
+ "HigherOfSpiritAndToughness"
76
32
  ]
77
33
  }
78
34
  }
@@ -10,10 +10,17 @@
10
10
  "properties": {
11
11
  "tag": {
12
12
  "const": "General"
13
+ },
14
+ "general": {
15
+ "type": "object",
16
+ "properties": {},
17
+ "required": [],
18
+ "additionalProperties": false
13
19
  }
14
20
  },
15
21
  "required": [
16
- "tag"
22
+ "tag",
23
+ "general"
17
24
  ],
18
25
  "additionalProperties": false
19
26
  },