5etools-utils 0.10.3 → 0.10.5
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/package.json +1 -1
- package/schema/brew/entry.json +37 -40
- package/schema/brew/items-base.json +18 -12
- package/schema/brew/items-shared.json +5 -2
- package/schema/brew/util.json +39 -27
- package/schema/brew-fast/entry.json +37 -40
- package/schema/brew-fast/items-base.json +18 -12
- package/schema/brew-fast/items-shared.json +5 -2
- package/schema/brew-fast/util.json +39 -27
- package/schema/site/entry.json +37 -40
- package/schema/site/items-base.json +18 -12
- package/schema/site/items-shared.json +5 -2
- package/schema/site/util.json +39 -27
- package/schema/site-fast/entry.json +37 -40
- package/schema/site-fast/items-base.json +18 -12
- package/schema/site-fast/items-shared.json +5 -2
- package/schema/site-fast/util.json +39 -27
- package/schema/ua/entry.json +37 -40
- package/schema/ua/items-base.json +18 -12
- package/schema/ua/items-shared.json +5 -2
- package/schema/ua/util.json +39 -27
- package/schema/ua-fast/entry.json +37 -40
- package/schema/ua-fast/items-base.json +18 -12
- package/schema/ua-fast/items-shared.json +5 -2
- package/schema/ua-fast/util.json +39 -27
|
@@ -1012,20 +1012,26 @@
|
|
|
1012
1012
|
"_mod": {
|
|
1013
1013
|
"$ref": "util.json#/$defs/_modObject"
|
|
1014
1014
|
},
|
|
1015
|
-
"
|
|
1016
|
-
"type": "
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
|
|
1015
|
+
"_templates": {
|
|
1016
|
+
"type": "array",
|
|
1017
|
+
"items": {
|
|
1018
|
+
"type": "object",
|
|
1019
|
+
"properties": {
|
|
1020
|
+
"name": {
|
|
1021
|
+
"type": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"source": {
|
|
1024
|
+
"$ref": "util.json#/$defs/source"
|
|
1025
|
+
}
|
|
1020
1026
|
},
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1023
|
-
|
|
1027
|
+
"required": [
|
|
1028
|
+
"name",
|
|
1029
|
+
"source"
|
|
1030
|
+
],
|
|
1031
|
+
"additionalProperties": false
|
|
1024
1032
|
},
|
|
1025
|
-
"
|
|
1026
|
-
|
|
1027
|
-
"source"
|
|
1028
|
-
]
|
|
1033
|
+
"minItems": 1,
|
|
1034
|
+
"uniqueItems": true
|
|
1029
1035
|
},
|
|
1030
1036
|
"_preserve": {
|
|
1031
1037
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "items-shared.json",
|
|
4
4
|
"title": "Shared Item Schema",
|
|
5
5
|
"description": "Shared item definitions to be used in item schemas.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.7",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_itemModifySpeedEqual": {
|
|
9
9
|
"type": "string",
|
|
@@ -156,9 +156,12 @@
|
|
|
156
156
|
"itemType": {
|
|
157
157
|
"type": "string",
|
|
158
158
|
"$comment": "Dumped from `Object(Parser.ITEM_TYPE_JSON_TO_ABV)`",
|
|
159
|
-
"description": "$: Treasure\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
|
|
159
|
+
"description": "$: Treasure\n $A: Treasure (Art Object)\n $A: Treasure (Coinage)\n $G: Treasure (Gemstone)\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
|
|
160
160
|
"enum": [
|
|
161
161
|
"$",
|
|
162
|
+
"$A",
|
|
163
|
+
"$C",
|
|
164
|
+
"$G",
|
|
162
165
|
"A",
|
|
163
166
|
"AF",
|
|
164
167
|
"AIR",
|
package/schema/site/util.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "util.json",
|
|
4
4
|
"title": "Util",
|
|
5
5
|
"description": "Utility definitions to be used in other schemas.",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.16.0",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"metaDependenciesArray": {
|
|
9
9
|
"type": "array",
|
|
@@ -3499,20 +3499,26 @@
|
|
|
3499
3499
|
"_mod": {
|
|
3500
3500
|
"$ref": "#/$defs/_modObject"
|
|
3501
3501
|
},
|
|
3502
|
-
"
|
|
3503
|
-
"type": "
|
|
3504
|
-
"
|
|
3505
|
-
"
|
|
3506
|
-
|
|
3502
|
+
"_templates": {
|
|
3503
|
+
"type": "array",
|
|
3504
|
+
"items": {
|
|
3505
|
+
"type": "object",
|
|
3506
|
+
"properties": {
|
|
3507
|
+
"name": {
|
|
3508
|
+
"type": "string"
|
|
3509
|
+
},
|
|
3510
|
+
"source": {
|
|
3511
|
+
"$ref": "util.json#/$defs/source"
|
|
3512
|
+
}
|
|
3507
3513
|
},
|
|
3508
|
-
"
|
|
3509
|
-
"
|
|
3510
|
-
|
|
3514
|
+
"required": [
|
|
3515
|
+
"name",
|
|
3516
|
+
"source"
|
|
3517
|
+
],
|
|
3518
|
+
"additionalProperties": false
|
|
3511
3519
|
},
|
|
3512
|
-
"
|
|
3513
|
-
|
|
3514
|
-
"source"
|
|
3515
|
-
]
|
|
3520
|
+
"minItems": 1,
|
|
3521
|
+
"uniqueItems": true
|
|
3516
3522
|
},
|
|
3517
3523
|
"_preserve": {
|
|
3518
3524
|
"type": "object",
|
|
@@ -3531,20 +3537,26 @@
|
|
|
3531
3537
|
"_mod": {
|
|
3532
3538
|
"$ref": "#/$defs/_modObject"
|
|
3533
3539
|
},
|
|
3534
|
-
"
|
|
3535
|
-
"type": "
|
|
3536
|
-
"
|
|
3537
|
-
"
|
|
3538
|
-
|
|
3540
|
+
"_templates": {
|
|
3541
|
+
"type": "array",
|
|
3542
|
+
"items": {
|
|
3543
|
+
"type": "object",
|
|
3544
|
+
"properties": {
|
|
3545
|
+
"name": {
|
|
3546
|
+
"type": "string"
|
|
3547
|
+
},
|
|
3548
|
+
"source": {
|
|
3549
|
+
"$ref": "util.json#/$defs/source"
|
|
3550
|
+
}
|
|
3539
3551
|
},
|
|
3540
|
-
"
|
|
3541
|
-
"
|
|
3542
|
-
|
|
3552
|
+
"required": [
|
|
3553
|
+
"name",
|
|
3554
|
+
"source"
|
|
3555
|
+
],
|
|
3556
|
+
"additionalProperties": false
|
|
3543
3557
|
},
|
|
3544
|
-
"
|
|
3545
|
-
|
|
3546
|
-
"source"
|
|
3547
|
-
]
|
|
3558
|
+
"minItems": 1,
|
|
3559
|
+
"uniqueItems": true
|
|
3548
3560
|
},
|
|
3549
3561
|
"_preserve": {
|
|
3550
3562
|
"type": "object",
|
|
@@ -3629,7 +3641,7 @@
|
|
|
3629
3641
|
{
|
|
3630
3642
|
"type": "object",
|
|
3631
3643
|
"properties": {
|
|
3632
|
-
"
|
|
3644
|
+
"_abstract": {
|
|
3633
3645
|
"type": "object",
|
|
3634
3646
|
"properties": {
|
|
3635
3647
|
"name": {
|
|
@@ -3668,7 +3680,7 @@
|
|
|
3668
3680
|
}
|
|
3669
3681
|
},
|
|
3670
3682
|
"required": [
|
|
3671
|
-
"
|
|
3683
|
+
"_abstract",
|
|
3672
3684
|
"_implementations"
|
|
3673
3685
|
]
|
|
3674
3686
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "entry.json",
|
|
4
4
|
"title": "Entry",
|
|
5
5
|
"description": "A recursively renderable object.",
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.18",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_arrayOfSpell": {
|
|
9
9
|
"type": "array",
|
|
@@ -37,37 +37,46 @@
|
|
|
37
37
|
"inset"
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
|
+
"mediaHrefInternal": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"type": {
|
|
44
|
+
"const": "internal"
|
|
45
|
+
},
|
|
46
|
+
"path": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"path"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"mediaHrefExternal": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"type": {
|
|
59
|
+
"const": "external"
|
|
60
|
+
},
|
|
61
|
+
"url": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "\"uri-reference\" is unsuitable for brew, as it requires URL-encoding \"'\" (see: https://www.ietf.org/rfc/rfc3986.txt)",
|
|
64
|
+
"format": "uri-reference",
|
|
65
|
+
"pattern": "^https?://"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"url"
|
|
70
|
+
],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
},
|
|
40
73
|
"mediaHref": {
|
|
41
74
|
"oneOf": [
|
|
42
75
|
{
|
|
43
|
-
"
|
|
44
|
-
"properties": {
|
|
45
|
-
"type": {
|
|
46
|
-
"const": "internal"
|
|
47
|
-
},
|
|
48
|
-
"path": {
|
|
49
|
-
"type": "string"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"required": [
|
|
53
|
-
"path"
|
|
54
|
-
],
|
|
55
|
-
"additionalProperties": false
|
|
76
|
+
"$ref": "#/$defs/mediaHrefInternal"
|
|
56
77
|
},
|
|
57
78
|
{
|
|
58
|
-
"
|
|
59
|
-
"properties": {
|
|
60
|
-
"type": {
|
|
61
|
-
"const": "external"
|
|
62
|
-
},
|
|
63
|
-
"url": {
|
|
64
|
-
"$ref": "util.json#/$defs/url"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"required": [
|
|
68
|
-
"url"
|
|
69
|
-
],
|
|
70
|
-
"additionalProperties": false
|
|
79
|
+
"$ref": "#/$defs/mediaHrefExternal"
|
|
71
80
|
}
|
|
72
81
|
]
|
|
73
82
|
},
|
|
@@ -1280,19 +1289,7 @@
|
|
|
1280
1289
|
"additionalProperties": false
|
|
1281
1290
|
},
|
|
1282
1291
|
{
|
|
1283
|
-
"
|
|
1284
|
-
"properties": {
|
|
1285
|
-
"type": {
|
|
1286
|
-
"const": "external"
|
|
1287
|
-
},
|
|
1288
|
-
"url": {
|
|
1289
|
-
"$ref": "util.json#/$defs/url"
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
"required": [
|
|
1293
|
-
"url"
|
|
1294
|
-
],
|
|
1295
|
-
"additionalProperties": false
|
|
1292
|
+
"$ref": "#/$defs/mediaHrefExternal"
|
|
1296
1293
|
}
|
|
1297
1294
|
]
|
|
1298
1295
|
}
|
|
@@ -1012,20 +1012,26 @@
|
|
|
1012
1012
|
"_mod": {
|
|
1013
1013
|
"$ref": "util.json#/$defs/_modObject"
|
|
1014
1014
|
},
|
|
1015
|
-
"
|
|
1016
|
-
"type": "
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
|
|
1015
|
+
"_templates": {
|
|
1016
|
+
"type": "array",
|
|
1017
|
+
"items": {
|
|
1018
|
+
"type": "object",
|
|
1019
|
+
"properties": {
|
|
1020
|
+
"name": {
|
|
1021
|
+
"type": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"source": {
|
|
1024
|
+
"$ref": "util.json#/$defs/source"
|
|
1025
|
+
}
|
|
1020
1026
|
},
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1023
|
-
|
|
1027
|
+
"required": [
|
|
1028
|
+
"name",
|
|
1029
|
+
"source"
|
|
1030
|
+
],
|
|
1031
|
+
"additionalProperties": false
|
|
1024
1032
|
},
|
|
1025
|
-
"
|
|
1026
|
-
|
|
1027
|
-
"source"
|
|
1028
|
-
]
|
|
1033
|
+
"minItems": 1,
|
|
1034
|
+
"uniqueItems": true
|
|
1029
1035
|
},
|
|
1030
1036
|
"_preserve": {
|
|
1031
1037
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "items-shared.json",
|
|
4
4
|
"title": "Shared Item Schema",
|
|
5
5
|
"description": "Shared item definitions to be used in item schemas.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.7",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_itemModifySpeedEqual": {
|
|
9
9
|
"type": "string",
|
|
@@ -156,9 +156,12 @@
|
|
|
156
156
|
"itemType": {
|
|
157
157
|
"type": "string",
|
|
158
158
|
"$comment": "Dumped from `Object(Parser.ITEM_TYPE_JSON_TO_ABV)`",
|
|
159
|
-
"description": "$: Treasure\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
|
|
159
|
+
"description": "$: Treasure\n $A: Treasure (Art Object)\n $A: Treasure (Coinage)\n $G: Treasure (Gemstone)\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
|
|
160
160
|
"enum": [
|
|
161
161
|
"$",
|
|
162
|
+
"$A",
|
|
163
|
+
"$C",
|
|
164
|
+
"$G",
|
|
162
165
|
"A",
|
|
163
166
|
"AF",
|
|
164
167
|
"AIR",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "util.json",
|
|
4
4
|
"title": "Util",
|
|
5
5
|
"description": "Utility definitions to be used in other schemas.",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.16.0",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"metaDependenciesArray": {
|
|
9
9
|
"type": "array",
|
|
@@ -3499,20 +3499,26 @@
|
|
|
3499
3499
|
"_mod": {
|
|
3500
3500
|
"$ref": "#/$defs/_modObject"
|
|
3501
3501
|
},
|
|
3502
|
-
"
|
|
3503
|
-
"type": "
|
|
3504
|
-
"
|
|
3505
|
-
"
|
|
3506
|
-
|
|
3502
|
+
"_templates": {
|
|
3503
|
+
"type": "array",
|
|
3504
|
+
"items": {
|
|
3505
|
+
"type": "object",
|
|
3506
|
+
"properties": {
|
|
3507
|
+
"name": {
|
|
3508
|
+
"type": "string"
|
|
3509
|
+
},
|
|
3510
|
+
"source": {
|
|
3511
|
+
"$ref": "util.json#/$defs/source"
|
|
3512
|
+
}
|
|
3507
3513
|
},
|
|
3508
|
-
"
|
|
3509
|
-
"
|
|
3510
|
-
|
|
3514
|
+
"required": [
|
|
3515
|
+
"name",
|
|
3516
|
+
"source"
|
|
3517
|
+
],
|
|
3518
|
+
"additionalProperties": false
|
|
3511
3519
|
},
|
|
3512
|
-
"
|
|
3513
|
-
|
|
3514
|
-
"source"
|
|
3515
|
-
]
|
|
3520
|
+
"minItems": 1,
|
|
3521
|
+
"uniqueItems": true
|
|
3516
3522
|
},
|
|
3517
3523
|
"_preserve": {
|
|
3518
3524
|
"type": "object",
|
|
@@ -3531,20 +3537,26 @@
|
|
|
3531
3537
|
"_mod": {
|
|
3532
3538
|
"$ref": "#/$defs/_modObject"
|
|
3533
3539
|
},
|
|
3534
|
-
"
|
|
3535
|
-
"type": "
|
|
3536
|
-
"
|
|
3537
|
-
"
|
|
3538
|
-
|
|
3540
|
+
"_templates": {
|
|
3541
|
+
"type": "array",
|
|
3542
|
+
"items": {
|
|
3543
|
+
"type": "object",
|
|
3544
|
+
"properties": {
|
|
3545
|
+
"name": {
|
|
3546
|
+
"type": "string"
|
|
3547
|
+
},
|
|
3548
|
+
"source": {
|
|
3549
|
+
"$ref": "util.json#/$defs/source"
|
|
3550
|
+
}
|
|
3539
3551
|
},
|
|
3540
|
-
"
|
|
3541
|
-
"
|
|
3542
|
-
|
|
3552
|
+
"required": [
|
|
3553
|
+
"name",
|
|
3554
|
+
"source"
|
|
3555
|
+
],
|
|
3556
|
+
"additionalProperties": false
|
|
3543
3557
|
},
|
|
3544
|
-
"
|
|
3545
|
-
|
|
3546
|
-
"source"
|
|
3547
|
-
]
|
|
3558
|
+
"minItems": 1,
|
|
3559
|
+
"uniqueItems": true
|
|
3548
3560
|
},
|
|
3549
3561
|
"_preserve": {
|
|
3550
3562
|
"type": "object",
|
|
@@ -3629,7 +3641,7 @@
|
|
|
3629
3641
|
{
|
|
3630
3642
|
"type": "object",
|
|
3631
3643
|
"properties": {
|
|
3632
|
-
"
|
|
3644
|
+
"_abstract": {
|
|
3633
3645
|
"type": "object",
|
|
3634
3646
|
"properties": {
|
|
3635
3647
|
"name": {
|
|
@@ -3668,7 +3680,7 @@
|
|
|
3668
3680
|
}
|
|
3669
3681
|
},
|
|
3670
3682
|
"required": [
|
|
3671
|
-
"
|
|
3683
|
+
"_abstract",
|
|
3672
3684
|
"_implementations"
|
|
3673
3685
|
]
|
|
3674
3686
|
}
|
package/schema/ua/entry.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "entry.json",
|
|
4
4
|
"title": "Entry",
|
|
5
5
|
"description": "A recursively renderable object.",
|
|
6
|
-
"version": "1.8.
|
|
6
|
+
"version": "1.8.18",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_arrayOfSpell": {
|
|
9
9
|
"type": "array",
|
|
@@ -37,37 +37,46 @@
|
|
|
37
37
|
"inset"
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
|
+
"mediaHrefInternal": {
|
|
41
|
+
"type": "object",
|
|
42
|
+
"properties": {
|
|
43
|
+
"type": {
|
|
44
|
+
"const": "internal"
|
|
45
|
+
},
|
|
46
|
+
"path": {
|
|
47
|
+
"type": "string"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"required": [
|
|
51
|
+
"path"
|
|
52
|
+
],
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
},
|
|
55
|
+
"mediaHrefExternal": {
|
|
56
|
+
"type": "object",
|
|
57
|
+
"properties": {
|
|
58
|
+
"type": {
|
|
59
|
+
"const": "external"
|
|
60
|
+
},
|
|
61
|
+
"url": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"description": "\"uri-reference\" is unsuitable for brew, as it requires URL-encoding \"'\" (see: https://www.ietf.org/rfc/rfc3986.txt)",
|
|
64
|
+
"format": "uri-reference",
|
|
65
|
+
"pattern": "^https?://"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"required": [
|
|
69
|
+
"url"
|
|
70
|
+
],
|
|
71
|
+
"additionalProperties": false
|
|
72
|
+
},
|
|
40
73
|
"mediaHref": {
|
|
41
74
|
"oneOf": [
|
|
42
75
|
{
|
|
43
|
-
"
|
|
44
|
-
"properties": {
|
|
45
|
-
"type": {
|
|
46
|
-
"const": "internal"
|
|
47
|
-
},
|
|
48
|
-
"path": {
|
|
49
|
-
"type": "string"
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
"required": [
|
|
53
|
-
"path"
|
|
54
|
-
],
|
|
55
|
-
"additionalProperties": false
|
|
76
|
+
"$ref": "#/$defs/mediaHrefInternal"
|
|
56
77
|
},
|
|
57
78
|
{
|
|
58
|
-
"
|
|
59
|
-
"properties": {
|
|
60
|
-
"type": {
|
|
61
|
-
"const": "external"
|
|
62
|
-
},
|
|
63
|
-
"url": {
|
|
64
|
-
"$ref": "util.json#/$defs/url"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"required": [
|
|
68
|
-
"url"
|
|
69
|
-
],
|
|
70
|
-
"additionalProperties": false
|
|
79
|
+
"$ref": "#/$defs/mediaHrefExternal"
|
|
71
80
|
}
|
|
72
81
|
]
|
|
73
82
|
},
|
|
@@ -1280,19 +1289,7 @@
|
|
|
1280
1289
|
"additionalProperties": false
|
|
1281
1290
|
},
|
|
1282
1291
|
{
|
|
1283
|
-
"
|
|
1284
|
-
"properties": {
|
|
1285
|
-
"type": {
|
|
1286
|
-
"const": "external"
|
|
1287
|
-
},
|
|
1288
|
-
"url": {
|
|
1289
|
-
"$ref": "util.json#/$defs/url"
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
"required": [
|
|
1293
|
-
"url"
|
|
1294
|
-
],
|
|
1295
|
-
"additionalProperties": false
|
|
1292
|
+
"$ref": "#/$defs/mediaHrefExternal"
|
|
1296
1293
|
}
|
|
1297
1294
|
]
|
|
1298
1295
|
}
|
|
@@ -1021,20 +1021,26 @@
|
|
|
1021
1021
|
"_mod": {
|
|
1022
1022
|
"$ref": "util.json#/$defs/_modObject"
|
|
1023
1023
|
},
|
|
1024
|
-
"
|
|
1025
|
-
"type": "
|
|
1026
|
-
"
|
|
1027
|
-
"
|
|
1028
|
-
|
|
1024
|
+
"_templates": {
|
|
1025
|
+
"type": "array",
|
|
1026
|
+
"items": {
|
|
1027
|
+
"type": "object",
|
|
1028
|
+
"properties": {
|
|
1029
|
+
"name": {
|
|
1030
|
+
"type": "string"
|
|
1031
|
+
},
|
|
1032
|
+
"source": {
|
|
1033
|
+
"$ref": "util.json#/$defs/source"
|
|
1034
|
+
}
|
|
1029
1035
|
},
|
|
1030
|
-
"
|
|
1031
|
-
"
|
|
1032
|
-
|
|
1036
|
+
"required": [
|
|
1037
|
+
"name",
|
|
1038
|
+
"source"
|
|
1039
|
+
],
|
|
1040
|
+
"additionalProperties": false
|
|
1033
1041
|
},
|
|
1034
|
-
"
|
|
1035
|
-
|
|
1036
|
-
"source"
|
|
1037
|
-
]
|
|
1042
|
+
"minItems": 1,
|
|
1043
|
+
"uniqueItems": true
|
|
1038
1044
|
},
|
|
1039
1045
|
"_preserve": {
|
|
1040
1046
|
"type": "object",
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "items-shared.json",
|
|
4
4
|
"title": "Shared Item Schema",
|
|
5
5
|
"description": "Shared item definitions to be used in item schemas.",
|
|
6
|
-
"version": "1.0.
|
|
6
|
+
"version": "1.0.7",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_itemModifySpeedEqual": {
|
|
9
9
|
"type": "string",
|
|
@@ -156,9 +156,12 @@
|
|
|
156
156
|
"itemType": {
|
|
157
157
|
"type": "string",
|
|
158
158
|
"$comment": "Dumped from `Object(Parser.ITEM_TYPE_JSON_TO_ABV)`",
|
|
159
|
-
"description": "$: Treasure\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
|
|
159
|
+
"description": "$: Treasure\n $A: Treasure (Art Object)\n $A: Treasure (Coinage)\n $G: Treasure (Gemstone)\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
|
|
160
160
|
"enum": [
|
|
161
161
|
"$",
|
|
162
|
+
"$A",
|
|
163
|
+
"$C",
|
|
164
|
+
"$G",
|
|
162
165
|
"A",
|
|
163
166
|
"AF",
|
|
164
167
|
"AIR",
|