optolith-database-schema 0.8.1 → 0.9.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.
- package/CHANGELOG.md +24 -0
- package/lib/config.d.ts +2 -0
- package/lib/config.js +2 -0
- package/lib/types/_Activatable.d.ts +2 -1
- package/lib/types/_Identifier.d.ts +9 -0
- package/lib/types/_IdentifierGroup.d.ts +2 -2
- package/lib/types/magicalActions/MagicalRune.d.ts +82 -16
- package/lib/types/specialAbility/MagicalSign.d.ts +38 -0
- package/lib/types/specialAbility/MagicalSign.js +5 -0
- package/lib/types/specialAbility/MagicalTradition.d.ts +2 -2
- package/lib/types/specialAbility/ProtectiveWardingCircleSpecialAbility.d.ts +6 -0
- package/lib/types/traditionArtifacts/DaggerRitual.d.ts +1 -1
- package/lib/types/traditionArtifacts/StaffEnchantment.d.ts +1 -1
- package/lib/types/traditionArtifacts/ToyEnchantment.d.ts +1 -1
- package/lib/types/traditionArtifacts/WandEnchantment.d.ts +0 -5
- package/lib/types/traditionArtifacts/WeaponEnchantment.d.ts +2 -1
- package/package.json +1 -1
- package/schema/_Identifier.schema.json +18 -0
- package/schema/_IdentifierGroup.schema.json +6 -0
- package/schema/magicalActions/MagicalRune.schema.json +213 -21
- package/schema/specialAbility/CombatStyleSpecialAbility.schema.json +42 -27
- package/schema/specialAbility/LiturgicalStyleSpecialAbility.schema.json +42 -27
- package/schema/specialAbility/MagicStyleSpecialAbility.schema.json +42 -27
- package/schema/specialAbility/MagicalSign.schema.json +72 -0
- package/schema/specialAbility/MagicalTradition.schema.json +0 -2
- package/schema/specialAbility/ProtectiveWardingCircleSpecialAbility.schema.json +6 -0
- package/schema/specialAbility/SkillStyleSpecialAbility.schema.json +42 -27
- package/schema/traditionArtifacts/DaggerRitual.schema.json +0 -1
- package/schema/traditionArtifacts/StaffEnchantment.schema.json +0 -1
- package/schema/traditionArtifacts/ToyEnchantment.schema.json +0 -1
- package/schema/traditionArtifacts/WandEnchantment.schema.json +1 -9
- package/schema/traditionArtifacts/WeaponEnchantment.schema.json +8 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2019-09/schema",
|
|
3
|
+
"$id": "/specialAbility/MagicalSign.schema.json",
|
|
4
|
+
"$ref": "#/$defs/MagicalSign",
|
|
5
|
+
"$defs": {
|
|
6
|
+
"MagicalSign": {
|
|
7
|
+
"title": "Magical Sign",
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"id": {
|
|
11
|
+
"$ref": "../_Activatable.schema.json#/$defs/Id"
|
|
12
|
+
},
|
|
13
|
+
"prerequisites": {
|
|
14
|
+
"$ref": "../_Prerequisite.schema.json#/$defs/GeneralPrerequisites"
|
|
15
|
+
},
|
|
16
|
+
"property": {
|
|
17
|
+
"description": "The associated magic property.",
|
|
18
|
+
"$ref": "../_SimpleReferences.schema.json#/$defs/PropertyReference"
|
|
19
|
+
},
|
|
20
|
+
"ap_value": {
|
|
21
|
+
"description": "The adventure points value.",
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"minimum": 0
|
|
24
|
+
},
|
|
25
|
+
"src": {
|
|
26
|
+
"$ref": "../source/_PublicationRef.schema.json#/$defs/PublicationRefs"
|
|
27
|
+
},
|
|
28
|
+
"translations": {
|
|
29
|
+
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
30
|
+
"type": "object",
|
|
31
|
+
"patternProperties": {
|
|
32
|
+
"^[a-z]{2}-[A-Z]{2}$": {
|
|
33
|
+
"$ref": "#/$defs/ProtectiveWardingCircleSpecialAbilityTranslation"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"minProperties": 1,
|
|
37
|
+
"additionalProperties": false
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": [
|
|
41
|
+
"id",
|
|
42
|
+
"property",
|
|
43
|
+
"ap_value",
|
|
44
|
+
"src",
|
|
45
|
+
"translations"
|
|
46
|
+
],
|
|
47
|
+
"additionalProperties": false
|
|
48
|
+
},
|
|
49
|
+
"ProtectiveWardingCircleSpecialAbilityTranslation": {
|
|
50
|
+
"type": "object",
|
|
51
|
+
"properties": {
|
|
52
|
+
"name": {
|
|
53
|
+
"$ref": "../_Activatable.schema.json#/$defs/Name"
|
|
54
|
+
},
|
|
55
|
+
"name_in_library": {
|
|
56
|
+
"$ref": "../_Activatable.schema.json#/$defs/NameInLibrary"
|
|
57
|
+
},
|
|
58
|
+
"effect": {
|
|
59
|
+
"$ref": "../_Activatable.schema.json#/$defs/Effect"
|
|
60
|
+
},
|
|
61
|
+
"errata": {
|
|
62
|
+
"$ref": "../source/_Erratum.schema.json#/$defs/Errata"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": [
|
|
66
|
+
"name",
|
|
67
|
+
"effect"
|
|
68
|
+
],
|
|
69
|
+
"additionalProperties": false
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -101,10 +101,8 @@
|
|
|
101
101
|
"can_learn_rituals",
|
|
102
102
|
"can_bind_familiars",
|
|
103
103
|
"allows_multiple_traditions",
|
|
104
|
-
"alternative_magical_adventure_points_maximum",
|
|
105
104
|
"require_non_spellwork_exclusive_effects",
|
|
106
105
|
"is_magical_dilettante",
|
|
107
|
-
"use_arcane_spellworks_from_tradition",
|
|
108
106
|
"ap_value",
|
|
109
107
|
"src",
|
|
110
108
|
"translations"
|
|
@@ -22,6 +22,11 @@
|
|
|
22
22
|
"prerequisites": {
|
|
23
23
|
"$ref": "../_Prerequisite.schema.json#/$defs/GeneralPrerequisites"
|
|
24
24
|
},
|
|
25
|
+
"cost": {
|
|
26
|
+
"description": "The cost in AE.",
|
|
27
|
+
"type": "integer",
|
|
28
|
+
"minimum": 0
|
|
29
|
+
},
|
|
25
30
|
"ap_value": {
|
|
26
31
|
"$ref": "../_Activatable.schema.json#/$defs/AdventurePointsValue"
|
|
27
32
|
},
|
|
@@ -42,6 +47,7 @@
|
|
|
42
47
|
},
|
|
43
48
|
"required": [
|
|
44
49
|
"id",
|
|
50
|
+
"cost",
|
|
45
51
|
"ap_value",
|
|
46
52
|
"src",
|
|
47
53
|
"translations"
|
|
@@ -95,16 +95,21 @@
|
|
|
95
95
|
"type": "object",
|
|
96
96
|
"properties": {
|
|
97
97
|
"options": {
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
"description": "The possible advanced special abilities.",
|
|
99
|
+
"type": "array",
|
|
100
|
+
"items": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"properties": {
|
|
103
|
+
"id": {
|
|
104
|
+
"$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"required": [
|
|
108
|
+
"id"
|
|
109
|
+
],
|
|
110
|
+
"additionalProperties": false
|
|
103
111
|
},
|
|
104
|
-
"
|
|
105
|
-
"id"
|
|
106
|
-
],
|
|
107
|
-
"additionalProperties": false
|
|
112
|
+
"minItems": 2
|
|
108
113
|
},
|
|
109
114
|
"is_selection_required_on_purchase": {
|
|
110
115
|
"description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
|
|
@@ -263,16 +268,21 @@
|
|
|
263
268
|
"type": "object",
|
|
264
269
|
"properties": {
|
|
265
270
|
"options": {
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
+
"description": "The possible advanced special abilities.",
|
|
272
|
+
"type": "array",
|
|
273
|
+
"items": {
|
|
274
|
+
"type": "object",
|
|
275
|
+
"properties": {
|
|
276
|
+
"id": {
|
|
277
|
+
"$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
"required": [
|
|
281
|
+
"id"
|
|
282
|
+
],
|
|
283
|
+
"additionalProperties": false
|
|
271
284
|
},
|
|
272
|
-
"
|
|
273
|
-
"id"
|
|
274
|
-
],
|
|
275
|
-
"additionalProperties": false
|
|
285
|
+
"minItems": 2
|
|
276
286
|
},
|
|
277
287
|
"is_selection_required_on_purchase": {
|
|
278
288
|
"description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
|
|
@@ -431,16 +441,21 @@
|
|
|
431
441
|
"type": "object",
|
|
432
442
|
"properties": {
|
|
433
443
|
"options": {
|
|
434
|
-
"
|
|
435
|
-
"
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
444
|
+
"description": "The possible advanced special abilities.",
|
|
445
|
+
"type": "array",
|
|
446
|
+
"items": {
|
|
447
|
+
"type": "object",
|
|
448
|
+
"properties": {
|
|
449
|
+
"id": {
|
|
450
|
+
"$ref": "../_Identifier.schema.json#/$defs/AdvancedSkillSpecialAbilityIdentifier"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
"required": [
|
|
454
|
+
"id"
|
|
455
|
+
],
|
|
456
|
+
"additionalProperties": false
|
|
439
457
|
},
|
|
440
|
-
"
|
|
441
|
-
"id"
|
|
442
|
-
],
|
|
443
|
-
"additionalProperties": false
|
|
458
|
+
"minItems": 2
|
|
444
459
|
},
|
|
445
460
|
"is_selection_required_on_purchase": {
|
|
446
461
|
"description": "Do have to choose the advanced special ability when buying the style\nspecial ability? Otherwise the decision can be made later.",
|
|
@@ -22,9 +22,6 @@
|
|
|
22
22
|
"prerequisites": {
|
|
23
23
|
"$ref": "../_Prerequisite.schema.json#/$defs/GeneralPrerequisites"
|
|
24
24
|
},
|
|
25
|
-
"volume": {
|
|
26
|
-
"$ref": "../_Activatable.schema.json#/$defs/Volume"
|
|
27
|
-
},
|
|
28
25
|
"cost": {
|
|
29
26
|
"$ref": "../_Activatable.schema.json#/$defs/EnchantmentCost"
|
|
30
27
|
},
|
|
@@ -51,7 +48,6 @@
|
|
|
51
48
|
},
|
|
52
49
|
"required": [
|
|
53
50
|
"id",
|
|
54
|
-
"volume",
|
|
55
51
|
"property",
|
|
56
52
|
"ap_value",
|
|
57
53
|
"src",
|
|
@@ -71,9 +67,6 @@
|
|
|
71
67
|
"effect": {
|
|
72
68
|
"$ref": "../_Activatable.schema.json#/$defs/Effect"
|
|
73
69
|
},
|
|
74
|
-
"volume": {
|
|
75
|
-
"type": "string"
|
|
76
|
-
},
|
|
77
70
|
"aeCost": {
|
|
78
71
|
"type": "string"
|
|
79
72
|
},
|
|
@@ -86,8 +79,7 @@
|
|
|
86
79
|
},
|
|
87
80
|
"required": [
|
|
88
81
|
"name",
|
|
89
|
-
"effect"
|
|
90
|
-
"volume"
|
|
82
|
+
"effect"
|
|
91
83
|
],
|
|
92
84
|
"additionalProperties": false
|
|
93
85
|
}
|
|
@@ -39,7 +39,14 @@
|
|
|
39
39
|
},
|
|
40
40
|
"translations": {
|
|
41
41
|
"description": "All translations for the entry, identified by IETF language tag (BCP47).",
|
|
42
|
-
"
|
|
42
|
+
"type": "object",
|
|
43
|
+
"patternProperties": {
|
|
44
|
+
"^[a-z]{2}-[A-Z]{2}$": {
|
|
45
|
+
"$ref": "#/$defs/WeaponEnchantmentTranslation"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"minProperties": 1,
|
|
49
|
+
"additionalProperties": false
|
|
43
50
|
}
|
|
44
51
|
},
|
|
45
52
|
"required": [
|