optolith-database-schema 0.4.1 → 0.5.1

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 (118) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/lib/config.d.ts +2 -0
  3. package/lib/config.js +2 -0
  4. package/lib/main.d.ts +6 -3
  5. package/lib/main.js +55 -28
  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.d.ts +5 -2
  65. package/lib/validation/schema.js +8 -6
  66. package/package.json +2 -2
  67. package/schema/Cantrip.schema.json +1 -2
  68. package/schema/Culture.schema.json +51 -10
  69. package/schema/Lessons_Curriculum.schema.json +8 -12
  70. package/schema/Lessons_Guideline.schema.json +1 -1
  71. package/schema/Patron.schema.json +24 -6
  72. package/schema/Profession.schema.json +57 -15
  73. package/schema/Race.schema.json +121 -13
  74. package/schema/TargetCategory.schema.json +1 -2
  75. package/schema/_Activatable.schema.json +5 -181
  76. package/schema/_ActivatableSelectOptionCategory.schema.json +4 -4
  77. package/schema/_ActivatableSkillCost.schema.json +61 -0
  78. package/schema/_ActivatableSkillDuration.schema.json +1 -3
  79. package/schema/_ActivatableSkillRange.schema.json +19 -0
  80. package/schema/_DiseasePoison.schema.json +0 -2
  81. package/schema/_Identifier.schema.json +2099 -347
  82. package/schema/_IdentifierGroup.schema.json +601 -0
  83. package/schema/_Prerequisite.schema.json +1284 -1049
  84. package/schema/_ResponsiveText.schema.json +2 -2
  85. package/schema/_SimpleReferences.schema.json +54 -130
  86. package/schema/equipment/EquipmentPackage.schema.json +1 -1
  87. package/schema/equipment/item/Elixir.schema.json +123 -0
  88. package/schema/equipment/item/EquipmentOfBlessedOnes.schema.json +4 -1
  89. package/schema/equipment/item/Poison.schema.json +431 -68
  90. package/schema/equipment/item/ToolOfTheTrade.schema.json +15 -4
  91. package/schema/equipment/item/_Herbary.schema.json +42 -0
  92. package/schema/equipment/item/_MeleeWeapon.schema.json +1 -13
  93. package/schema/equipment/item/_RangedWeapon.schema.json +1 -2
  94. package/schema/magicalActions/AnimistPower.schema.json +0 -1
  95. package/schema/magicalActions/MagicalRune.schema.json +38 -3
  96. package/schema/magicalActions/_SkillReference.schema.json +15 -3
  97. package/schema/prerequisites/PrerequisiteGroups.schema.json +0 -96
  98. package/schema/prerequisites/single/ActivatablePrerequisite.schema.json +2 -87
  99. package/schema/prerequisites/single/AnimistPowerPrerequisite.schema.json +1 -2
  100. package/schema/prerequisites/single/CulturePrerequisite.schema.json +2 -1
  101. package/schema/prerequisites/single/EnhancementPrerequisite.schema.json +1 -1
  102. package/schema/prerequisites/single/InfluencePrerequisite.schema.json +1 -2
  103. package/schema/prerequisites/single/RacePrerequisite.schema.json +2 -1
  104. package/schema/prerequisites/single/RatedPrerequisite.schema.json +1 -28
  105. package/schema/prerequisites/single/RulePrerequisite.schema.json +1 -1
  106. package/schema/prerequisites/single/SocialStatusPrerequisite.schema.json +1 -3
  107. package/schema/prerequisites/single/StatePrerequisite.schema.json +1 -1
  108. package/schema/rule/CoreRule.schema.json +3 -5
  109. package/schema/source/_PublicationRef.schema.json +1 -2
  110. package/schema/specialAbility/BlessedTradition.schema.json +2 -2
  111. package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +511 -1
  112. package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +511 -1
  113. package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +511 -1
  114. package/schema/specialAbility/MagicalTradition.schema.json +1 -2
  115. package/schema/specialAbility/PactGift.schema.json +1 -1
  116. package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +511 -1
  117. package/schema/specialAbility/sub/_LanguageScript.schema.json +1 -3
  118. package/schema/_CommonnessRatedAdvantageDisadvantage.schema.json +0 -22
@@ -26,7 +26,517 @@
26
26
  "$ref": "../_Activatable.schema.json#/$defs/Maximum"
27
27
  },
28
28
  "advanced": {
29
- "$ref": "../_Activatable.schema.json#/$defs/AdvancedSpecialAbilities"
29
+ "description": "The Advanced Special Abilities for the respective Style Special Ability.\nSometimes, only a specific select option or a set of select options of an\nentry is allowed, which can be modelled by the option property. It can also\nbe that you can choose from a set of special abilities, but then you can't\nspecify an option.",
30
+ "type": "array",
31
+ "items": [
32
+ {
33
+ "description": "A reference to an advanced special ability.",
34
+ "oneOf": [
35
+ {
36
+ "type": "object",
37
+ "properties": {
38
+ "tag": {
39
+ "const": "General"
40
+ },
41
+ "general": {
42
+ "type": "object",
43
+ "properties": {
44
+ "id": {
45
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
46
+ }
47
+ },
48
+ "required": [
49
+ "id"
50
+ ],
51
+ "additionalProperties": false
52
+ }
53
+ },
54
+ "required": [
55
+ "tag",
56
+ "general"
57
+ ],
58
+ "additionalProperties": false
59
+ },
60
+ {
61
+ "type": "object",
62
+ "properties": {
63
+ "tag": {
64
+ "const": "RestrictOptions"
65
+ },
66
+ "restrict_options": {
67
+ "type": "object",
68
+ "properties": {
69
+ "id": {
70
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
71
+ },
72
+ "option": {
73
+ "description": "Specify the select option(s) that only are allowed for the referenced\nadvanced special ability; others are disallowed.",
74
+ "type": "array",
75
+ "items": {
76
+ "$ref": "./_IdentifierGroup.schema.json#/$defs/AdvancedSpecialAbilityRestrictedOptionIdentifier"
77
+ },
78
+ "minItems": 1
79
+ }
80
+ },
81
+ "required": [
82
+ "id",
83
+ "option"
84
+ ],
85
+ "additionalProperties": false
86
+ }
87
+ },
88
+ "required": [
89
+ "tag",
90
+ "restrict_options"
91
+ ],
92
+ "additionalProperties": false
93
+ },
94
+ {
95
+ "type": "object",
96
+ "properties": {
97
+ "tag": {
98
+ "const": "OneOf"
99
+ },
100
+ "one_of": {
101
+ "type": "object",
102
+ "properties": {
103
+ "options": {
104
+ "type": "object",
105
+ "properties": {
106
+ "id": {
107
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
108
+ }
109
+ },
110
+ "required": [
111
+ "id"
112
+ ],
113
+ "additionalProperties": false
114
+ },
115
+ "is_selection_required_on_purchase": {
116
+ "description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
117
+ "type": "boolean"
118
+ },
119
+ "display_option": {
120
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
121
+ }
122
+ },
123
+ "required": [
124
+ "options",
125
+ "is_selection_required_on_purchase"
126
+ ],
127
+ "additionalProperties": false
128
+ }
129
+ },
130
+ "required": [
131
+ "tag",
132
+ "one_of"
133
+ ],
134
+ "additionalProperties": false
135
+ },
136
+ {
137
+ "type": "object",
138
+ "properties": {
139
+ "tag": {
140
+ "const": "DeriveFromExternalOption"
141
+ },
142
+ "derive_from_external_option": {
143
+ "type": "object",
144
+ "properties": {
145
+ "external_entry": {
146
+ "description": "The possible advanced special abilities.",
147
+ "$ref": "./_Identifier.schema.json#/$defs/MagicalTraditionIdentifier"
148
+ },
149
+ "map": {
150
+ "description": "Map options from the external entry to allowed advanced special abilities.",
151
+ "type": "array",
152
+ "items": {
153
+ "description": "Mapping from an option of the external entry to an allowed advanced special\nability.",
154
+ "type": "object",
155
+ "properties": {
156
+ "from_option": {
157
+ "description": "The select option's identifier.",
158
+ "$ref": "./_Identifier.schema.json#/$defs/PatronIdentifier"
159
+ },
160
+ "to_advanced": {
161
+ "type": "object",
162
+ "properties": {
163
+ "id": {
164
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
165
+ }
166
+ },
167
+ "required": [
168
+ "id"
169
+ ],
170
+ "additionalProperties": false
171
+ }
172
+ },
173
+ "required": [
174
+ "from_option",
175
+ "to_advanced"
176
+ ],
177
+ "additionalProperties": false
178
+ },
179
+ "minItems": 1
180
+ },
181
+ "display_option": {
182
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
183
+ }
184
+ },
185
+ "required": [
186
+ "external_entry",
187
+ "map"
188
+ ],
189
+ "additionalProperties": false
190
+ }
191
+ },
192
+ "required": [
193
+ "tag",
194
+ "derive_from_external_option"
195
+ ],
196
+ "additionalProperties": false
197
+ }
198
+ ]
199
+ },
200
+ {
201
+ "description": "A reference to an advanced special ability.",
202
+ "oneOf": [
203
+ {
204
+ "type": "object",
205
+ "properties": {
206
+ "tag": {
207
+ "const": "General"
208
+ },
209
+ "general": {
210
+ "type": "object",
211
+ "properties": {
212
+ "id": {
213
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
214
+ }
215
+ },
216
+ "required": [
217
+ "id"
218
+ ],
219
+ "additionalProperties": false
220
+ }
221
+ },
222
+ "required": [
223
+ "tag",
224
+ "general"
225
+ ],
226
+ "additionalProperties": false
227
+ },
228
+ {
229
+ "type": "object",
230
+ "properties": {
231
+ "tag": {
232
+ "const": "RestrictOptions"
233
+ },
234
+ "restrict_options": {
235
+ "type": "object",
236
+ "properties": {
237
+ "id": {
238
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
239
+ },
240
+ "option": {
241
+ "description": "Specify the select option(s) that only are allowed for the referenced\nadvanced special ability; others are disallowed.",
242
+ "type": "array",
243
+ "items": {
244
+ "$ref": "./_IdentifierGroup.schema.json#/$defs/AdvancedSpecialAbilityRestrictedOptionIdentifier"
245
+ },
246
+ "minItems": 1
247
+ }
248
+ },
249
+ "required": [
250
+ "id",
251
+ "option"
252
+ ],
253
+ "additionalProperties": false
254
+ }
255
+ },
256
+ "required": [
257
+ "tag",
258
+ "restrict_options"
259
+ ],
260
+ "additionalProperties": false
261
+ },
262
+ {
263
+ "type": "object",
264
+ "properties": {
265
+ "tag": {
266
+ "const": "OneOf"
267
+ },
268
+ "one_of": {
269
+ "type": "object",
270
+ "properties": {
271
+ "options": {
272
+ "type": "object",
273
+ "properties": {
274
+ "id": {
275
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
276
+ }
277
+ },
278
+ "required": [
279
+ "id"
280
+ ],
281
+ "additionalProperties": false
282
+ },
283
+ "is_selection_required_on_purchase": {
284
+ "description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
285
+ "type": "boolean"
286
+ },
287
+ "display_option": {
288
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
289
+ }
290
+ },
291
+ "required": [
292
+ "options",
293
+ "is_selection_required_on_purchase"
294
+ ],
295
+ "additionalProperties": false
296
+ }
297
+ },
298
+ "required": [
299
+ "tag",
300
+ "one_of"
301
+ ],
302
+ "additionalProperties": false
303
+ },
304
+ {
305
+ "type": "object",
306
+ "properties": {
307
+ "tag": {
308
+ "const": "DeriveFromExternalOption"
309
+ },
310
+ "derive_from_external_option": {
311
+ "type": "object",
312
+ "properties": {
313
+ "external_entry": {
314
+ "description": "The possible advanced special abilities.",
315
+ "$ref": "./_Identifier.schema.json#/$defs/MagicalTraditionIdentifier"
316
+ },
317
+ "map": {
318
+ "description": "Map options from the external entry to allowed advanced special abilities.",
319
+ "type": "array",
320
+ "items": {
321
+ "description": "Mapping from an option of the external entry to an allowed advanced special\nability.",
322
+ "type": "object",
323
+ "properties": {
324
+ "from_option": {
325
+ "description": "The select option's identifier.",
326
+ "$ref": "./_Identifier.schema.json#/$defs/PatronIdentifier"
327
+ },
328
+ "to_advanced": {
329
+ "type": "object",
330
+ "properties": {
331
+ "id": {
332
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
333
+ }
334
+ },
335
+ "required": [
336
+ "id"
337
+ ],
338
+ "additionalProperties": false
339
+ }
340
+ },
341
+ "required": [
342
+ "from_option",
343
+ "to_advanced"
344
+ ],
345
+ "additionalProperties": false
346
+ },
347
+ "minItems": 1
348
+ },
349
+ "display_option": {
350
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
351
+ }
352
+ },
353
+ "required": [
354
+ "external_entry",
355
+ "map"
356
+ ],
357
+ "additionalProperties": false
358
+ }
359
+ },
360
+ "required": [
361
+ "tag",
362
+ "derive_from_external_option"
363
+ ],
364
+ "additionalProperties": false
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "description": "A reference to an advanced special ability.",
370
+ "oneOf": [
371
+ {
372
+ "type": "object",
373
+ "properties": {
374
+ "tag": {
375
+ "const": "General"
376
+ },
377
+ "general": {
378
+ "type": "object",
379
+ "properties": {
380
+ "id": {
381
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
382
+ }
383
+ },
384
+ "required": [
385
+ "id"
386
+ ],
387
+ "additionalProperties": false
388
+ }
389
+ },
390
+ "required": [
391
+ "tag",
392
+ "general"
393
+ ],
394
+ "additionalProperties": false
395
+ },
396
+ {
397
+ "type": "object",
398
+ "properties": {
399
+ "tag": {
400
+ "const": "RestrictOptions"
401
+ },
402
+ "restrict_options": {
403
+ "type": "object",
404
+ "properties": {
405
+ "id": {
406
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
407
+ },
408
+ "option": {
409
+ "description": "Specify the select option(s) that only are allowed for the referenced\nadvanced special ability; others are disallowed.",
410
+ "type": "array",
411
+ "items": {
412
+ "$ref": "./_IdentifierGroup.schema.json#/$defs/AdvancedSpecialAbilityRestrictedOptionIdentifier"
413
+ },
414
+ "minItems": 1
415
+ }
416
+ },
417
+ "required": [
418
+ "id",
419
+ "option"
420
+ ],
421
+ "additionalProperties": false
422
+ }
423
+ },
424
+ "required": [
425
+ "tag",
426
+ "restrict_options"
427
+ ],
428
+ "additionalProperties": false
429
+ },
430
+ {
431
+ "type": "object",
432
+ "properties": {
433
+ "tag": {
434
+ "const": "OneOf"
435
+ },
436
+ "one_of": {
437
+ "type": "object",
438
+ "properties": {
439
+ "options": {
440
+ "type": "object",
441
+ "properties": {
442
+ "id": {
443
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
444
+ }
445
+ },
446
+ "required": [
447
+ "id"
448
+ ],
449
+ "additionalProperties": false
450
+ },
451
+ "is_selection_required_on_purchase": {
452
+ "description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
453
+ "type": "boolean"
454
+ },
455
+ "display_option": {
456
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
457
+ }
458
+ },
459
+ "required": [
460
+ "options",
461
+ "is_selection_required_on_purchase"
462
+ ],
463
+ "additionalProperties": false
464
+ }
465
+ },
466
+ "required": [
467
+ "tag",
468
+ "one_of"
469
+ ],
470
+ "additionalProperties": false
471
+ },
472
+ {
473
+ "type": "object",
474
+ "properties": {
475
+ "tag": {
476
+ "const": "DeriveFromExternalOption"
477
+ },
478
+ "derive_from_external_option": {
479
+ "type": "object",
480
+ "properties": {
481
+ "external_entry": {
482
+ "description": "The possible advanced special abilities.",
483
+ "$ref": "./_Identifier.schema.json#/$defs/MagicalTraditionIdentifier"
484
+ },
485
+ "map": {
486
+ "description": "Map options from the external entry to allowed advanced special abilities.",
487
+ "type": "array",
488
+ "items": {
489
+ "description": "Mapping from an option of the external entry to an allowed advanced special\nability.",
490
+ "type": "object",
491
+ "properties": {
492
+ "from_option": {
493
+ "description": "The select option's identifier.",
494
+ "$ref": "./_Identifier.schema.json#/$defs/PatronIdentifier"
495
+ },
496
+ "to_advanced": {
497
+ "type": "object",
498
+ "properties": {
499
+ "id": {
500
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedMagicalSpecialAbilityIdentifier"
501
+ }
502
+ },
503
+ "required": [
504
+ "id"
505
+ ],
506
+ "additionalProperties": false
507
+ }
508
+ },
509
+ "required": [
510
+ "from_option",
511
+ "to_advanced"
512
+ ],
513
+ "additionalProperties": false
514
+ },
515
+ "minItems": 1
516
+ },
517
+ "display_option": {
518
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
519
+ }
520
+ },
521
+ "required": [
522
+ "external_entry",
523
+ "map"
524
+ ],
525
+ "additionalProperties": false
526
+ }
527
+ },
528
+ "required": [
529
+ "tag",
530
+ "derive_from_external_option"
531
+ ],
532
+ "additionalProperties": false
533
+ }
534
+ ]
535
+ }
536
+ ],
537
+ "minItems": 3,
538
+ "maxItems": 3,
539
+ "additionalItems": false
30
540
  },
31
541
  "prerequisites": {
32
542
  "$ref": "../_Prerequisite.schema.json#/$defs/GeneralPrerequisites"
@@ -116,8 +116,7 @@
116
116
  "properties": {
117
117
  "id": {
118
118
  "description": "The attribute's identifier.",
119
- "type": "integer",
120
- "minimum": 1
119
+ "$ref": "../_Identifier.schema.json#/$defs/AttributeIdentifier"
121
120
  },
122
121
  "use_half_for_arcane_energy": {
123
122
  "description": "Typically, the value of the primary attribute (if one exists) is added\nonto the base of 20 AE to get the actual AE. But sometimes, only half the\nvalue is added.",
@@ -212,7 +212,7 @@
212
212
  "type": "object",
213
213
  "properties": {
214
214
  "id": {
215
- "$ref": "../_Identifier.schema.json#/$defs/ActivatableIdentifier"
215
+ "$ref": "../_IdentifierGroup.schema.json#/$defs/ActivatableIdentifier"
216
216
  }
217
217
  },
218
218
  "required": [