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
@@ -20,7 +20,517 @@
20
20
  "$ref": "../_Activatable.schema.json#/$defs/Maximum"
21
21
  },
22
22
  "advanced": {
23
- "$ref": "../_Activatable.schema.json#/$defs/AdvancedSpecialAbilities"
23
+ "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.",
24
+ "type": "array",
25
+ "items": [
26
+ {
27
+ "description": "A reference to an advanced special ability.",
28
+ "oneOf": [
29
+ {
30
+ "type": "object",
31
+ "properties": {
32
+ "tag": {
33
+ "const": "General"
34
+ },
35
+ "general": {
36
+ "type": "object",
37
+ "properties": {
38
+ "id": {
39
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
40
+ }
41
+ },
42
+ "required": [
43
+ "id"
44
+ ],
45
+ "additionalProperties": false
46
+ }
47
+ },
48
+ "required": [
49
+ "tag",
50
+ "general"
51
+ ],
52
+ "additionalProperties": false
53
+ },
54
+ {
55
+ "type": "object",
56
+ "properties": {
57
+ "tag": {
58
+ "const": "RestrictOptions"
59
+ },
60
+ "restrict_options": {
61
+ "type": "object",
62
+ "properties": {
63
+ "id": {
64
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
65
+ },
66
+ "option": {
67
+ "description": "Specify the select option(s) that only are allowed for the referenced\nadvanced special ability; others are disallowed.",
68
+ "type": "array",
69
+ "items": {
70
+ "$ref": "./_IdentifierGroup.schema.json#/$defs/AdvancedSpecialAbilityRestrictedOptionIdentifier"
71
+ },
72
+ "minItems": 1
73
+ }
74
+ },
75
+ "required": [
76
+ "id",
77
+ "option"
78
+ ],
79
+ "additionalProperties": false
80
+ }
81
+ },
82
+ "required": [
83
+ "tag",
84
+ "restrict_options"
85
+ ],
86
+ "additionalProperties": false
87
+ },
88
+ {
89
+ "type": "object",
90
+ "properties": {
91
+ "tag": {
92
+ "const": "OneOf"
93
+ },
94
+ "one_of": {
95
+ "type": "object",
96
+ "properties": {
97
+ "options": {
98
+ "type": "object",
99
+ "properties": {
100
+ "id": {
101
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
102
+ }
103
+ },
104
+ "required": [
105
+ "id"
106
+ ],
107
+ "additionalProperties": false
108
+ },
109
+ "is_selection_required_on_purchase": {
110
+ "description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
111
+ "type": "boolean"
112
+ },
113
+ "display_option": {
114
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
115
+ }
116
+ },
117
+ "required": [
118
+ "options",
119
+ "is_selection_required_on_purchase"
120
+ ],
121
+ "additionalProperties": false
122
+ }
123
+ },
124
+ "required": [
125
+ "tag",
126
+ "one_of"
127
+ ],
128
+ "additionalProperties": false
129
+ },
130
+ {
131
+ "type": "object",
132
+ "properties": {
133
+ "tag": {
134
+ "const": "DeriveFromExternalOption"
135
+ },
136
+ "derive_from_external_option": {
137
+ "type": "object",
138
+ "properties": {
139
+ "external_entry": {
140
+ "description": "The possible advanced special abilities.",
141
+ "$ref": "./_Identifier.schema.json#/$defs/MagicalTraditionIdentifier"
142
+ },
143
+ "map": {
144
+ "description": "Map options from the external entry to allowed advanced special abilities.",
145
+ "type": "array",
146
+ "items": {
147
+ "description": "Mapping from an option of the external entry to an allowed advanced special\nability.",
148
+ "type": "object",
149
+ "properties": {
150
+ "from_option": {
151
+ "description": "The select option's identifier.",
152
+ "$ref": "./_Identifier.schema.json#/$defs/PatronIdentifier"
153
+ },
154
+ "to_advanced": {
155
+ "type": "object",
156
+ "properties": {
157
+ "id": {
158
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
159
+ }
160
+ },
161
+ "required": [
162
+ "id"
163
+ ],
164
+ "additionalProperties": false
165
+ }
166
+ },
167
+ "required": [
168
+ "from_option",
169
+ "to_advanced"
170
+ ],
171
+ "additionalProperties": false
172
+ },
173
+ "minItems": 1
174
+ },
175
+ "display_option": {
176
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
177
+ }
178
+ },
179
+ "required": [
180
+ "external_entry",
181
+ "map"
182
+ ],
183
+ "additionalProperties": false
184
+ }
185
+ },
186
+ "required": [
187
+ "tag",
188
+ "derive_from_external_option"
189
+ ],
190
+ "additionalProperties": false
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "description": "A reference to an advanced special ability.",
196
+ "oneOf": [
197
+ {
198
+ "type": "object",
199
+ "properties": {
200
+ "tag": {
201
+ "const": "General"
202
+ },
203
+ "general": {
204
+ "type": "object",
205
+ "properties": {
206
+ "id": {
207
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
208
+ }
209
+ },
210
+ "required": [
211
+ "id"
212
+ ],
213
+ "additionalProperties": false
214
+ }
215
+ },
216
+ "required": [
217
+ "tag",
218
+ "general"
219
+ ],
220
+ "additionalProperties": false
221
+ },
222
+ {
223
+ "type": "object",
224
+ "properties": {
225
+ "tag": {
226
+ "const": "RestrictOptions"
227
+ },
228
+ "restrict_options": {
229
+ "type": "object",
230
+ "properties": {
231
+ "id": {
232
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
233
+ },
234
+ "option": {
235
+ "description": "Specify the select option(s) that only are allowed for the referenced\nadvanced special ability; others are disallowed.",
236
+ "type": "array",
237
+ "items": {
238
+ "$ref": "./_IdentifierGroup.schema.json#/$defs/AdvancedSpecialAbilityRestrictedOptionIdentifier"
239
+ },
240
+ "minItems": 1
241
+ }
242
+ },
243
+ "required": [
244
+ "id",
245
+ "option"
246
+ ],
247
+ "additionalProperties": false
248
+ }
249
+ },
250
+ "required": [
251
+ "tag",
252
+ "restrict_options"
253
+ ],
254
+ "additionalProperties": false
255
+ },
256
+ {
257
+ "type": "object",
258
+ "properties": {
259
+ "tag": {
260
+ "const": "OneOf"
261
+ },
262
+ "one_of": {
263
+ "type": "object",
264
+ "properties": {
265
+ "options": {
266
+ "type": "object",
267
+ "properties": {
268
+ "id": {
269
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
270
+ }
271
+ },
272
+ "required": [
273
+ "id"
274
+ ],
275
+ "additionalProperties": false
276
+ },
277
+ "is_selection_required_on_purchase": {
278
+ "description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
279
+ "type": "boolean"
280
+ },
281
+ "display_option": {
282
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
283
+ }
284
+ },
285
+ "required": [
286
+ "options",
287
+ "is_selection_required_on_purchase"
288
+ ],
289
+ "additionalProperties": false
290
+ }
291
+ },
292
+ "required": [
293
+ "tag",
294
+ "one_of"
295
+ ],
296
+ "additionalProperties": false
297
+ },
298
+ {
299
+ "type": "object",
300
+ "properties": {
301
+ "tag": {
302
+ "const": "DeriveFromExternalOption"
303
+ },
304
+ "derive_from_external_option": {
305
+ "type": "object",
306
+ "properties": {
307
+ "external_entry": {
308
+ "description": "The possible advanced special abilities.",
309
+ "$ref": "./_Identifier.schema.json#/$defs/MagicalTraditionIdentifier"
310
+ },
311
+ "map": {
312
+ "description": "Map options from the external entry to allowed advanced special abilities.",
313
+ "type": "array",
314
+ "items": {
315
+ "description": "Mapping from an option of the external entry to an allowed advanced special\nability.",
316
+ "type": "object",
317
+ "properties": {
318
+ "from_option": {
319
+ "description": "The select option's identifier.",
320
+ "$ref": "./_Identifier.schema.json#/$defs/PatronIdentifier"
321
+ },
322
+ "to_advanced": {
323
+ "type": "object",
324
+ "properties": {
325
+ "id": {
326
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
327
+ }
328
+ },
329
+ "required": [
330
+ "id"
331
+ ],
332
+ "additionalProperties": false
333
+ }
334
+ },
335
+ "required": [
336
+ "from_option",
337
+ "to_advanced"
338
+ ],
339
+ "additionalProperties": false
340
+ },
341
+ "minItems": 1
342
+ },
343
+ "display_option": {
344
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
345
+ }
346
+ },
347
+ "required": [
348
+ "external_entry",
349
+ "map"
350
+ ],
351
+ "additionalProperties": false
352
+ }
353
+ },
354
+ "required": [
355
+ "tag",
356
+ "derive_from_external_option"
357
+ ],
358
+ "additionalProperties": false
359
+ }
360
+ ]
361
+ },
362
+ {
363
+ "description": "A reference to an advanced special ability.",
364
+ "oneOf": [
365
+ {
366
+ "type": "object",
367
+ "properties": {
368
+ "tag": {
369
+ "const": "General"
370
+ },
371
+ "general": {
372
+ "type": "object",
373
+ "properties": {
374
+ "id": {
375
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
376
+ }
377
+ },
378
+ "required": [
379
+ "id"
380
+ ],
381
+ "additionalProperties": false
382
+ }
383
+ },
384
+ "required": [
385
+ "tag",
386
+ "general"
387
+ ],
388
+ "additionalProperties": false
389
+ },
390
+ {
391
+ "type": "object",
392
+ "properties": {
393
+ "tag": {
394
+ "const": "RestrictOptions"
395
+ },
396
+ "restrict_options": {
397
+ "type": "object",
398
+ "properties": {
399
+ "id": {
400
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
401
+ },
402
+ "option": {
403
+ "description": "Specify the select option(s) that only are allowed for the referenced\nadvanced special ability; others are disallowed.",
404
+ "type": "array",
405
+ "items": {
406
+ "$ref": "./_IdentifierGroup.schema.json#/$defs/AdvancedSpecialAbilityRestrictedOptionIdentifier"
407
+ },
408
+ "minItems": 1
409
+ }
410
+ },
411
+ "required": [
412
+ "id",
413
+ "option"
414
+ ],
415
+ "additionalProperties": false
416
+ }
417
+ },
418
+ "required": [
419
+ "tag",
420
+ "restrict_options"
421
+ ],
422
+ "additionalProperties": false
423
+ },
424
+ {
425
+ "type": "object",
426
+ "properties": {
427
+ "tag": {
428
+ "const": "OneOf"
429
+ },
430
+ "one_of": {
431
+ "type": "object",
432
+ "properties": {
433
+ "options": {
434
+ "type": "object",
435
+ "properties": {
436
+ "id": {
437
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
438
+ }
439
+ },
440
+ "required": [
441
+ "id"
442
+ ],
443
+ "additionalProperties": false
444
+ },
445
+ "is_selection_required_on_purchase": {
446
+ "description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
447
+ "type": "boolean"
448
+ },
449
+ "display_option": {
450
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
451
+ }
452
+ },
453
+ "required": [
454
+ "options",
455
+ "is_selection_required_on_purchase"
456
+ ],
457
+ "additionalProperties": false
458
+ }
459
+ },
460
+ "required": [
461
+ "tag",
462
+ "one_of"
463
+ ],
464
+ "additionalProperties": false
465
+ },
466
+ {
467
+ "type": "object",
468
+ "properties": {
469
+ "tag": {
470
+ "const": "DeriveFromExternalOption"
471
+ },
472
+ "derive_from_external_option": {
473
+ "type": "object",
474
+ "properties": {
475
+ "external_entry": {
476
+ "description": "The possible advanced special abilities.",
477
+ "$ref": "./_Identifier.schema.json#/$defs/MagicalTraditionIdentifier"
478
+ },
479
+ "map": {
480
+ "description": "Map options from the external entry to allowed advanced special abilities.",
481
+ "type": "array",
482
+ "items": {
483
+ "description": "Mapping from an option of the external entry to an allowed advanced special\nability.",
484
+ "type": "object",
485
+ "properties": {
486
+ "from_option": {
487
+ "description": "The select option's identifier.",
488
+ "$ref": "./_Identifier.schema.json#/$defs/PatronIdentifier"
489
+ },
490
+ "to_advanced": {
491
+ "type": "object",
492
+ "properties": {
493
+ "id": {
494
+ "$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
495
+ }
496
+ },
497
+ "required": [
498
+ "id"
499
+ ],
500
+ "additionalProperties": false
501
+ }
502
+ },
503
+ "required": [
504
+ "from_option",
505
+ "to_advanced"
506
+ ],
507
+ "additionalProperties": false
508
+ },
509
+ "minItems": 1
510
+ },
511
+ "display_option": {
512
+ "$ref": "./prerequisites/DisplayOption.schema.json#/$defs/DisplayOption"
513
+ }
514
+ },
515
+ "required": [
516
+ "external_entry",
517
+ "map"
518
+ ],
519
+ "additionalProperties": false
520
+ }
521
+ },
522
+ "required": [
523
+ "tag",
524
+ "derive_from_external_option"
525
+ ],
526
+ "additionalProperties": false
527
+ }
528
+ ]
529
+ }
530
+ ],
531
+ "minItems": 3,
532
+ "maxItems": 3,
533
+ "additionalItems": false
24
534
  },
25
535
  "prerequisites": {
26
536
  "$ref": "../_Prerequisite.schema.json#/$defs/GeneralPrerequisites"
@@ -7,9 +7,7 @@
7
7
  "properties": {
8
8
  "id": {
9
9
  "description": "The continent's identifier.",
10
- "type": "integer",
11
- "maximum": 3,
12
- "minimum": 1
10
+ "$ref": "../../_Identifier.schema.json#/$defs/ContinentIdentifier"
13
11
  },
14
12
  "is_extinct": {
15
13
  "description": "Is the language considered virtually extinct in this continent?",
@@ -1,22 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2019-09/schema",
3
- "$id": "/_CommonnessRatedAdvantageDisadvantage.schema.json",
4
- "$defs": {
5
- "CommonnessRatedAdvantageDisadvantage": {
6
- "title": "Commonness-rated Advantage/Disadvantage",
7
- "description": "Reference to a commonness-rated advantage or disadvantage. Commonness-rating terms used in the source books are strongly recommended, common, uncommon, suggested and unsuitable.",
8
- "type": "object",
9
- "properties": {
10
- "id": {
11
- "description": "The advantage's or disadvantage's identifier.",
12
- "type": "integer",
13
- "minimum": 1
14
- }
15
- },
16
- "required": [
17
- "id"
18
- ],
19
- "additionalProperties": false
20
- }
21
- }
22
- }