optolith-database-schema 0.4.1 → 0.5.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 (117) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/lib/config.d.ts +2 -0
  3. package/lib/config.js +2 -0
  4. package/lib/main.d.ts +1 -1
  5. package/lib/main.js +28 -19
  6. package/lib/types/Cantrip.d.ts +2 -3
  7. package/lib/types/Culture.d.ts +8 -11
  8. package/lib/types/Lessons_Curriculum.d.ts +5 -4
  9. package/lib/types/Lessons_Guideline.d.ts +1 -1
  10. package/lib/types/Patron.d.ts +28 -4
  11. package/lib/types/Profession.d.ts +7 -6
  12. package/lib/types/Race.d.ts +12 -14
  13. package/lib/types/TargetCategory.d.ts +2 -3
  14. package/lib/types/_Activatable.d.ts +21 -22
  15. package/lib/types/_ActivatableSelectOptionCategory.d.ts +1 -1
  16. package/lib/types/_ActivatableSkillCost.d.ts +28 -1
  17. package/lib/types/_ActivatableSkillDuration.d.ts +1 -1
  18. package/lib/types/_ActivatableSkillRange.d.ts +3 -0
  19. package/lib/types/_CommonnessRatedAdvantageDisadvantage.d.ts +2 -4
  20. package/lib/types/_DiseasePoison.d.ts +3 -3
  21. package/lib/types/_Identifier.d.ts +1175 -247
  22. package/lib/types/_Identifier.js +0 -228
  23. package/lib/types/_IdentifierGroup.d.ts +27 -0
  24. package/lib/types/_IdentifierGroup.js +1 -0
  25. package/lib/types/_Prerequisite.d.ts +38 -36
  26. package/lib/types/_ResponsiveText.d.ts +1 -1
  27. package/lib/types/_SimpleReferences.d.ts +50 -253
  28. package/lib/types/equipment/EquipmentPackage.d.ts +1 -1
  29. package/lib/types/equipment/item/Elixir.d.ts +75 -0
  30. package/lib/types/equipment/item/Elixir.js +5 -0
  31. package/lib/types/equipment/item/EquipmentOfBlessedOnes.d.ts +1 -1
  32. package/lib/types/equipment/item/Poison.d.ts +220 -47
  33. package/lib/types/equipment/item/Poison.js +10 -0
  34. package/lib/types/equipment/item/ToolOfTheTrade.d.ts +6 -2
  35. package/lib/types/equipment/item/_Herbary.d.ts +31 -0
  36. package/lib/types/equipment/item/_Herbary.js +22 -0
  37. package/lib/types/equipment/item/_MeleeWeapon.d.ts +2 -9
  38. package/lib/types/equipment/item/_RangedWeapon.d.ts +2 -3
  39. package/lib/types/magicalActions/AnimistPower.d.ts +0 -1
  40. package/lib/types/magicalActions/MagicalRune.d.ts +22 -3
  41. package/lib/types/magicalActions/_SkillReference.d.ts +3 -2
  42. package/lib/types/magicalActions/_SkillReference.js +5 -5
  43. package/lib/types/prerequisites/PrerequisiteGroups.d.ts +2 -20
  44. package/lib/types/prerequisites/single/ActivatablePrerequisite.d.ts +1 -62
  45. package/lib/types/prerequisites/single/AnimistPowerPrerequisite.d.ts +2 -3
  46. package/lib/types/prerequisites/single/CulturePrerequisite.d.ts +5 -2
  47. package/lib/types/prerequisites/single/EnhancementPrerequisite.d.ts +1 -1
  48. package/lib/types/prerequisites/single/InfluencePrerequisite.d.ts +2 -3
  49. package/lib/types/prerequisites/single/RacePrerequisite.d.ts +5 -2
  50. package/lib/types/prerequisites/single/RatedPrerequisite.d.ts +1 -18
  51. package/lib/types/prerequisites/single/RulePrerequisite.d.ts +1 -1
  52. package/lib/types/prerequisites/single/SocialStatusPrerequisite.d.ts +2 -4
  53. package/lib/types/prerequisites/single/StatePrerequisite.d.ts +2 -2
  54. package/lib/types/rule/CoreRule.d.ts +4 -7
  55. package/lib/types/source/_PublicationRef.d.ts +2 -3
  56. package/lib/types/specialAbility/BlessedTradition.d.ts +1 -1
  57. package/lib/types/specialAbility/CombatStyleSpecialAbility.d.ts +2 -1
  58. package/lib/types/specialAbility/LiturgicalStyleSpecialAbility.d.ts +2 -1
  59. package/lib/types/specialAbility/MagicStyleSpecialAbility.d.ts +2 -1
  60. package/lib/types/specialAbility/MagicalTradition.d.ts +2 -3
  61. package/lib/types/specialAbility/PactGift.d.ts +1 -1
  62. package/lib/types/specialAbility/SkillStyleSpecialAbility.d.ts +2 -1
  63. package/lib/types/specialAbility/sub/_LanguageScript.d.ts +2 -4
  64. package/lib/validation/schema.js +1 -1
  65. package/package.json +2 -2
  66. package/schema/Cantrip.schema.json +1 -2
  67. package/schema/Culture.schema.json +51 -10
  68. package/schema/Lessons_Curriculum.schema.json +8 -12
  69. package/schema/Lessons_Guideline.schema.json +1 -1
  70. package/schema/Patron.schema.json +24 -6
  71. package/schema/Profession.schema.json +57 -15
  72. package/schema/Race.schema.json +121 -13
  73. package/schema/TargetCategory.schema.json +1 -2
  74. package/schema/_Activatable.schema.json +5 -181
  75. package/schema/_ActivatableSelectOptionCategory.schema.json +4 -4
  76. package/schema/_ActivatableSkillCost.schema.json +61 -0
  77. package/schema/_ActivatableSkillDuration.schema.json +1 -3
  78. package/schema/_ActivatableSkillRange.schema.json +19 -0
  79. package/schema/_DiseasePoison.schema.json +0 -2
  80. package/schema/_Identifier.schema.json +2099 -347
  81. package/schema/_IdentifierGroup.schema.json +601 -0
  82. package/schema/_Prerequisite.schema.json +1284 -1049
  83. package/schema/_ResponsiveText.schema.json +2 -2
  84. package/schema/_SimpleReferences.schema.json +54 -130
  85. package/schema/equipment/EquipmentPackage.schema.json +1 -1
  86. package/schema/equipment/item/Elixir.schema.json +123 -0
  87. package/schema/equipment/item/EquipmentOfBlessedOnes.schema.json +4 -1
  88. package/schema/equipment/item/Poison.schema.json +431 -68
  89. package/schema/equipment/item/ToolOfTheTrade.schema.json +15 -4
  90. package/schema/equipment/item/_Herbary.schema.json +42 -0
  91. package/schema/equipment/item/_MeleeWeapon.schema.json +1 -13
  92. package/schema/equipment/item/_RangedWeapon.schema.json +1 -2
  93. package/schema/magicalActions/AnimistPower.schema.json +0 -1
  94. package/schema/magicalActions/MagicalRune.schema.json +38 -3
  95. package/schema/magicalActions/_SkillReference.schema.json +15 -3
  96. package/schema/prerequisites/PrerequisiteGroups.schema.json +0 -96
  97. package/schema/prerequisites/single/ActivatablePrerequisite.schema.json +2 -87
  98. package/schema/prerequisites/single/AnimistPowerPrerequisite.schema.json +1 -2
  99. package/schema/prerequisites/single/CulturePrerequisite.schema.json +2 -1
  100. package/schema/prerequisites/single/EnhancementPrerequisite.schema.json +1 -1
  101. package/schema/prerequisites/single/InfluencePrerequisite.schema.json +1 -2
  102. package/schema/prerequisites/single/RacePrerequisite.schema.json +2 -1
  103. package/schema/prerequisites/single/RatedPrerequisite.schema.json +1 -28
  104. package/schema/prerequisites/single/RulePrerequisite.schema.json +1 -1
  105. package/schema/prerequisites/single/SocialStatusPrerequisite.schema.json +1 -3
  106. package/schema/prerequisites/single/StatePrerequisite.schema.json +1 -1
  107. package/schema/rule/CoreRule.schema.json +3 -5
  108. package/schema/source/_PublicationRef.schema.json +1 -2
  109. package/schema/specialAbility/BlessedTradition.schema.json +2 -2
  110. package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +511 -1
  111. package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +511 -1
  112. package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +511 -1
  113. package/schema/specialAbility/MagicalTradition.schema.json +1 -2
  114. package/schema/specialAbility/PactGift.schema.json +1 -1
  115. package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +511 -1
  116. package/schema/specialAbility/sub/_LanguageScript.schema.json +1 -3
  117. package/schema/_CommonnessRatedAdvantageDisadvantage.schema.json +0 -22
@@ -22,9 +22,9 @@
22
22
  "description": "The structure points of the item. Use an array if the item consists of\nmultiple components that have individual structure points.",
23
23
  "$ref": "./_Item.schema.json#/$defs/StructurePoints"
24
24
  },
25
- "is_laboratory": {
26
- "description": "If the item is a laboratory.",
27
- "type": "boolean"
25
+ "laboratory": {
26
+ "description": "Additional information if the item is a laboratory.",
27
+ "$ref": "#/$defs/Laboratory"
28
28
  },
29
29
  "src": {
30
30
  "$ref": "../../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
@@ -44,12 +44,23 @@
44
44
  "required": [
45
45
  "cost",
46
46
  "weight",
47
- "is_laboratory",
48
47
  "src",
49
48
  "translations"
50
49
  ],
51
50
  "additionalProperties": false
52
51
  },
52
+ "Laboratory": {
53
+ "type": "object",
54
+ "properties": {
55
+ "level": {
56
+ "$ref": "./_Herbary.schema.json#/$defs/LaboratoryLevel"
57
+ }
58
+ },
59
+ "required": [
60
+ "level"
61
+ ],
62
+ "additionalProperties": false
63
+ },
53
64
  "ToolOfTheTradeTranslation": {
54
65
  "type": "object",
55
66
  "properties": {
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2019-09/schema",
3
+ "$id": "/equipment/item/_Herbary.schema.json",
4
+ "$defs": {
5
+ "EffectType": {
6
+ "description": "Effect type categories of a plant or recipe.",
7
+ "enum": [
8
+ "Healing",
9
+ "Poison",
10
+ "PhysicalEffect",
11
+ "PsychicEffect",
12
+ "Beneficial",
13
+ "Defensive",
14
+ "Supernatural"
15
+ ]
16
+ },
17
+ "LaboratoryLevel": {
18
+ "enum": [
19
+ "ArchaicLaboratory",
20
+ "WitchKitchen",
21
+ "AlchemistsLaboratory"
22
+ ]
23
+ },
24
+ "RecipeTradeSecret": {
25
+ "type": "object",
26
+ "properties": {
27
+ "ap_value": {
28
+ "description": "The AP value of the trade secret.",
29
+ "type": "number"
30
+ },
31
+ "prerequisites": {
32
+ "description": "The prerequisites of the trade secret, if any.",
33
+ "$ref": "../../_Prerequisite.schema.json#/$defs/PlainGeneralPrerequisites"
34
+ }
35
+ },
36
+ "required": [
37
+ "ap_value"
38
+ ],
39
+ "additionalProperties": false
40
+ }
41
+ }
42
+ }
@@ -12,19 +12,7 @@
12
12
  },
13
13
  "Reach": {
14
14
  "description": "The reach of the weapon.",
15
- "type": "object",
16
- "properties": {
17
- "id": {
18
- "description": "The identifier of the weapon's reach.",
19
- "type": "integer",
20
- "maximum": 4,
21
- "minimum": 1
22
- }
23
- },
24
- "required": [
25
- "id"
26
- ],
27
- "additionalProperties": false
15
+ "$ref": "../../_Identifier.schema.json#/$defs/ReachIdentifier"
28
16
  },
29
17
  "MeleeDamage": {
30
18
  "description": "The damage of a weapon consists of a random part using dice and an optional\nflat part.",
@@ -133,8 +133,7 @@
133
133
  "properties": {
134
134
  "id": {
135
135
  "description": "The item's identifier.",
136
- "type": "integer",
137
- "minimum": 1
136
+ "$ref": "../../_Identifier.schema.json#/$defs/AmmunitionIdentifier"
138
137
  }
139
138
  },
140
139
  "required": [
@@ -30,7 +30,6 @@
30
30
  "items": {
31
31
  "$ref": "../_SimpleReferences.schema.json#/$defs/AnimistTribeReference"
32
32
  },
33
- "minItems": 1,
34
33
  "uniqueItems": true
35
34
  },
36
35
  "improvement_cost": {
@@ -12,6 +12,9 @@
12
12
  "type": "integer",
13
13
  "minimum": 1
14
14
  },
15
+ "option": {
16
+ "$ref": "#/$defs/MagicalRuneOption"
17
+ },
15
18
  "check": {
16
19
  "description": "Lists the linked three attributes used to make a skill check.",
17
20
  "$ref": "../_SkillCheck.schema.json#/$defs/SkillCheck"
@@ -62,7 +65,7 @@
62
65
  "type": "object",
63
66
  "properties": {
64
67
  "name": {
65
- "description": "The name of the magical rune.",
68
+ "description": "The name of the magical rune.\n\nIf the rune has an option, the option’s name will/should not be included in\nthe name as well as its surrounding parenthesis. It will/should be combined\non demand.",
66
69
  "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
67
70
  },
68
71
  "native_name": {
@@ -233,8 +236,7 @@
233
236
  "properties": {
234
237
  "combat_technique_id": {
235
238
  "description": "The close combat technique's identifier.",
236
- "type": "integer",
237
- "minimum": 1
239
+ "$ref": "../_Identifier.schema.json#/$defs/CloseCombatTechniqueIdentifier"
238
240
  },
239
241
  "modifier": {
240
242
  "description": "The check modifier for the specified close combat technique.",
@@ -439,6 +441,39 @@
439
441
  "fast"
440
442
  ],
441
443
  "additionalProperties": false
444
+ },
445
+ "MagicalRuneOption": {
446
+ "type": "object",
447
+ "properties": {
448
+ "translations": {
449
+ "description": "All translations for the entry, identified by IETF language tag (BCP47).",
450
+ "type": "object",
451
+ "patternProperties": {
452
+ "^[a-z]{2}-[A-Z]{2}$": {
453
+ "$ref": "#/$defs/MagicalRuneOptionTranslation"
454
+ }
455
+ },
456
+ "minProperties": 1,
457
+ "additionalProperties": false
458
+ }
459
+ },
460
+ "required": [
461
+ "translations"
462
+ ],
463
+ "additionalProperties": false
464
+ },
465
+ "MagicalRuneOptionTranslation": {
466
+ "type": "object",
467
+ "properties": {
468
+ "name": {
469
+ "description": "The name of the option.\n\nThe surrounding parenthesis will/should not be included, they will/should\nbe generated.",
470
+ "$ref": "../_NonEmptyString.schema.json#/$defs/NonEmptyString"
471
+ }
472
+ },
473
+ "required": [
474
+ "name"
475
+ ],
476
+ "additionalProperties": false
442
477
  }
443
478
  }
444
479
  }
@@ -7,8 +7,20 @@
7
7
  "type": "object",
8
8
  "properties": {
9
9
  "id": {
10
- "description": "The skill's identifier.",
11
- "$ref": "#/$defs/SkillIdentifier"
10
+ "type": "object",
11
+ "properties": {
12
+ "tag": {
13
+ "const": "Skill"
14
+ },
15
+ "skill": {
16
+ "$ref": "#/$defs/SkillIdentifierValue"
17
+ }
18
+ },
19
+ "required": [
20
+ "tag",
21
+ "skill"
22
+ ],
23
+ "additionalProperties": false
12
24
  }
13
25
  },
14
26
  "required": [
@@ -16,7 +28,7 @@
16
28
  ],
17
29
  "additionalProperties": false
18
30
  },
19
- "SkillIdentifier": {
31
+ "SkillIdentifierValue": {
20
32
  "enum": [
21
33
  9,
22
34
  56
@@ -188,38 +188,6 @@
188
188
  ],
189
189
  "additionalProperties": false
190
190
  },
191
- {
192
- "type": "object",
193
- "properties": {
194
- "tag": {
195
- "const": "ActivatableSet"
196
- },
197
- "activatable_set": {
198
- "$ref": "./single/ActivatablePrerequisite.schema.json#/$defs/ActivatableSetPrerequisite"
199
- }
200
- },
201
- "required": [
202
- "tag",
203
- "activatable_set"
204
- ],
205
- "additionalProperties": false
206
- },
207
- {
208
- "type": "object",
209
- "properties": {
210
- "tag": {
211
- "const": "ActivatableOptionSet"
212
- },
213
- "activatable_option_set": {
214
- "$ref": "./single/ActivatablePrerequisite.schema.json#/$defs/ActivatableOptionSetPrerequisite"
215
- }
216
- },
217
- "required": [
218
- "tag",
219
- "activatable_option_set"
220
- ],
221
- "additionalProperties": false
222
- },
223
191
  {
224
192
  "type": "object",
225
193
  "properties": {
@@ -268,22 +236,6 @@
268
236
  ],
269
237
  "additionalProperties": false
270
238
  },
271
- {
272
- "type": "object",
273
- "properties": {
274
- "tag": {
275
- "const": "RatedSet"
276
- },
277
- "rated_set": {
278
- "$ref": "./single/RatedPrerequisite.schema.json#/$defs/RatedSetPrerequisite"
279
- }
280
- },
281
- "required": [
282
- "tag",
283
- "rated_set"
284
- ],
285
- "additionalProperties": false
286
- },
287
239
  {
288
240
  "type": "object",
289
241
  "properties": {
@@ -583,38 +535,6 @@
583
535
  ],
584
536
  "additionalProperties": false
585
537
  },
586
- {
587
- "type": "object",
588
- "properties": {
589
- "tag": {
590
- "const": "ActivatableSet"
591
- },
592
- "activatable_set": {
593
- "$ref": "./single/ActivatablePrerequisite.schema.json#/$defs/ActivatableSetPrerequisite"
594
- }
595
- },
596
- "required": [
597
- "tag",
598
- "activatable_set"
599
- ],
600
- "additionalProperties": false
601
- },
602
- {
603
- "type": "object",
604
- "properties": {
605
- "tag": {
606
- "const": "ActivatableOptionSet"
607
- },
608
- "activatable_option_set": {
609
- "$ref": "./single/ActivatablePrerequisite.schema.json#/$defs/ActivatableOptionSetPrerequisite"
610
- }
611
- },
612
- "required": [
613
- "tag",
614
- "activatable_option_set"
615
- ],
616
- "additionalProperties": false
617
- },
618
538
  {
619
539
  "type": "object",
620
540
  "properties": {
@@ -663,22 +583,6 @@
663
583
  ],
664
584
  "additionalProperties": false
665
585
  },
666
- {
667
- "type": "object",
668
- "properties": {
669
- "tag": {
670
- "const": "RatedSet"
671
- },
672
- "rated_set": {
673
- "$ref": "./single/RatedPrerequisite.schema.json#/$defs/RatedSetPrerequisite"
674
- }
675
- },
676
- "required": [
677
- "tag",
678
- "rated_set"
679
- ],
680
- "additionalProperties": false
681
- },
682
586
  {
683
587
  "type": "object",
684
588
  "properties": {
@@ -9,7 +9,7 @@
9
9
  "properties": {
10
10
  "id": {
11
11
  "description": "The activatable entry's identifier.",
12
- "$ref": "../../_Identifier.schema.json#/$defs/ActivatableIdentifier"
12
+ "$ref": "../../_IdentifierGroup.schema.json#/$defs/ActivatableIdentifier"
13
13
  },
14
14
  "active": {
15
15
  "description": "If the required entry should be required to be active or inactive.",
@@ -24,7 +24,7 @@
24
24
  "description": "Required select options. Order is important. Typically, you only need the\nfirst array index, though.",
25
25
  "type": "array",
26
26
  "items": {
27
- "$ref": "../../_Identifier.schema.json#/$defs/RequirableSelectOptionIdentifier"
27
+ "$ref": "../../_IdentifierGroup.schema.json#/$defs/RequirableSelectOptionIdentifier"
28
28
  },
29
29
  "minItems": 1
30
30
  },
@@ -40,91 +40,6 @@
40
40
  "active"
41
41
  ],
42
42
  "additionalProperties": false
43
- },
44
- "ActivatableSetPrerequisite": {
45
- "title": "Activatable Set Prerequisite",
46
- "description": "Requires a specific advantage, disadvantage or special ability from a given\nset of entries.",
47
- "type": "object",
48
- "properties": {
49
- "id": {
50
- "description": "The possible activatable entries' identifiers.",
51
- "type": "array",
52
- "items": {
53
- "$ref": "../../_Identifier.schema.json#/$defs/ActivatableIdentifier"
54
- },
55
- "minItems": 2
56
- },
57
- "active": {
58
- "description": "If the required entry should be required to be active or inactive.",
59
- "type": "boolean"
60
- },
61
- "level": {
62
- "description": "The required minimum level of the entry.",
63
- "type": "integer",
64
- "minimum": 1
65
- },
66
- "options": {
67
- "description": "Required select options. Order is important. Typically, you only need the\nfirst array index, though.",
68
- "type": "array",
69
- "items": {
70
- "$ref": "../../_Identifier.schema.json#/$defs/RequirableSelectOptionIdentifier"
71
- },
72
- "minItems": 1
73
- },
74
- "display_option": {
75
- "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
76
- }
77
- },
78
- "required": [
79
- "id",
80
- "active"
81
- ],
82
- "additionalProperties": false
83
- },
84
- "ActivatableOptionSetPrerequisite": {
85
- "title": "Activatable Option Set Prerequisite",
86
- "description": "Requires one option from a set of options from a specific advantage,\ndisadvantage or special ability.",
87
- "type": "object",
88
- "properties": {
89
- "id": {
90
- "description": "The activatable entry's identifier.",
91
- "$ref": "../../_Identifier.schema.json#/$defs/ActivatableIdentifier"
92
- },
93
- "active": {
94
- "description": "If the required entry should be required to be active or inactive.",
95
- "type": "boolean"
96
- },
97
- "level": {
98
- "description": "The required minimum level of the entry.",
99
- "type": "integer",
100
- "minimum": 1
101
- },
102
- "first_option": {
103
- "description": "The possible set of first options.",
104
- "type": "array",
105
- "items": {
106
- "$ref": "../../_Identifier.schema.json#/$defs/RequirableSelectOptionIdentifier"
107
- },
108
- "minItems": 2
109
- },
110
- "other_options": {
111
- "description": "Required other select options. Order is important.",
112
- "type": "array",
113
- "items": {
114
- "$ref": "../../_Identifier.schema.json#/$defs/RequirableSelectOptionIdentifier"
115
- },
116
- "minItems": 1
117
- },
118
- "display_option": {
119
- "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
120
- }
121
- },
122
- "required": [
123
- "id",
124
- "active",
125
- "first_option"
126
- ],
127
- "additionalProperties": false
128
43
  }
129
44
  }
130
45
  }
@@ -9,8 +9,7 @@
9
9
  "properties": {
10
10
  "id": {
11
11
  "description": "The animist power's identifier.",
12
- "type": "integer",
13
- "minimum": 1
12
+ "$ref": "../../_Identifier.schema.json#/$defs/AnimistPowerIdentifier"
14
13
  },
15
14
  "level": {
16
15
  "description": "The level to which the minimum value applies.",
@@ -8,7 +8,8 @@
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "id": {
11
- "$ref": "../../_Identifier.schema.json#/$defs/OneOrManyNumericIdentifiers"
11
+ "description": "The culture's identifier.",
12
+ "$ref": "../../_Identifier.schema.json#/$defs/CultureIdentifier"
12
13
  },
13
14
  "display_option": {
14
15
  "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
@@ -30,7 +30,7 @@
30
30
  "properties": {
31
31
  "id": {
32
32
  "description": "The skill's identifier.",
33
- "$ref": "../../_Identifier.schema.json#/$defs/SkillWithEnhancementsIdentifier"
33
+ "$ref": "../../_IdentifierGroup.schema.json#/$defs/SkillWithEnhancementsIdentifier"
34
34
  }
35
35
  },
36
36
  "required": [
@@ -8,8 +8,7 @@
8
8
  "properties": {
9
9
  "id": {
10
10
  "description": "The influence's identifier.",
11
- "type": "integer",
12
- "minimum": 1
11
+ "$ref": "../../_Identifier.schema.json#/$defs/InfluenceIdentifier"
13
12
  },
14
13
  "active": {
15
14
  "description": "If the referenced influence must or must not be chosen.",
@@ -8,7 +8,8 @@
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "id": {
11
- "$ref": "../../_Identifier.schema.json#/$defs/OneOrManyNumericIdentifiers"
11
+ "description": "The race's identifier.",
12
+ "$ref": "../../_Identifier.schema.json#/$defs/RaceIdentifier"
12
13
  },
13
14
  "active": {
14
15
  "type": "boolean"
@@ -8,34 +8,7 @@
8
8
  "properties": {
9
9
  "id": {
10
10
  "description": "The rated entry's identifier.",
11
- "$ref": "../../_Identifier.schema.json#/$defs/RatedIdentifier"
12
- },
13
- "value": {
14
- "description": "The required minimum value.",
15
- "type": "integer",
16
- "minimum": 0
17
- },
18
- "display_option": {
19
- "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
20
- }
21
- },
22
- "required": [
23
- "id",
24
- "value"
25
- ],
26
- "additionalProperties": false
27
- },
28
- "RatedSetPrerequisite": {
29
- "title": "Rated Set Prerequisite",
30
- "type": "object",
31
- "properties": {
32
- "id": {
33
- "description": "The possible rated entries' identifiers.",
34
- "type": "array",
35
- "items": {
36
- "$ref": "../../_Identifier.schema.json#/$defs/RatedIdentifier"
37
- },
38
- "minItems": 2
11
+ "$ref": "../../_IdentifierGroup.schema.json#/$defs/RatedIdentifier"
39
12
  },
40
13
  "value": {
41
14
  "description": "The required minimum value.",
@@ -7,7 +7,7 @@
7
7
  "type": "object",
8
8
  "properties": {
9
9
  "id": {
10
- "$ref": "../../_Identifier.schema.json#/$defs/ExtensionRuleIdentifier"
10
+ "$ref": "../../_IdentifierGroup.schema.json#/$defs/ExtensionRuleIdentifier"
11
11
  },
12
12
  "display_option": {
13
13
  "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
@@ -9,9 +9,7 @@
9
9
  "properties": {
10
10
  "id": {
11
11
  "description": "The minimum social status' identifier.",
12
- "type": "integer",
13
- "maximum": 5,
14
- "minimum": 2
12
+ "$ref": "../../_Identifier.schema.json#/$defs/SocialStatusIdentifier"
15
13
  },
16
14
  "display_option": {
17
15
  "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
@@ -8,7 +8,7 @@
8
8
  "type": "object",
9
9
  "properties": {
10
10
  "id": {
11
- "$ref": "../../_Identifier.schema.json#/$defs/OneOrManyNumericIdentifiers"
11
+ "$ref": "../../_Identifier.schema.json#/$defs/StateIdentifier"
12
12
  },
13
13
  "display_option": {
14
14
  "$ref": "../DisplayOption.schema.json#/$defs/DisplayOption"
@@ -9,8 +9,7 @@
9
9
  "properties": {
10
10
  "id": {
11
11
  "description": "The core rule's identifier. An unique, increasing integer.",
12
- "type": "integer",
13
- "minimum": 1
12
+ "$ref": "../_Identifier.schema.json#/$defs/CoreRuleIdentifier"
14
13
  },
15
14
  "content": {
16
15
  "type": "array",
@@ -132,8 +131,7 @@
132
131
  "properties": {
133
132
  "id": {
134
133
  "description": "The nested core rule's identifier.",
135
- "type": "integer",
136
- "minimum": 1
134
+ "$ref": "../_Identifier.schema.json#/$defs/CoreRuleIdentifier"
137
135
  },
138
136
  "include": {
139
137
  "description": "If the nested core rule's content should be integrated into this core rule\nand a proper heading should be added. Otherwise create a link to a separate\nview of that core rule.",
@@ -1389,7 +1387,7 @@
1389
1387
  "type": "object",
1390
1388
  "properties": {
1391
1389
  "id": {
1392
- "$ref": "../_Identifier.schema.json#/$defs/CoreRuleDerivableContentIdentifier"
1390
+ "$ref": "../_IdentifierGroup.schema.json#/$defs/CoreRuleDerivableContentIdentifier"
1393
1391
  }
1394
1392
  },
1395
1393
  "required": [
@@ -19,8 +19,7 @@
19
19
  "properties": {
20
20
  "id": {
21
21
  "description": "The publication's identifier.",
22
- "type": "integer",
23
- "minimum": 1
22
+ "$ref": "../_Identifier.schema.json#/$defs/PublicationIdentifier"
24
23
  },
25
24
  "occurrences": {
26
25
  "description": "All translations for the entry, identified by IETF language tag (BCP47).",
@@ -122,13 +122,13 @@
122
122
  "tag": {
123
123
  "const": "Six"
124
124
  },
125
- "three": {
125
+ "six": {
126
126
  "$ref": "#/$defs/SixRestrictedBlessings"
127
127
  }
128
128
  },
129
129
  "required": [
130
130
  "tag",
131
- "three"
131
+ "six"
132
132
  ],
133
133
  "additionalProperties": false
134
134
  }