5etools-utils 0.12.68 → 0.12.69
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/items-base.json +3 -3
- package/schema/brew/items-shared.json +66 -33
- package/schema/brew/items.json +6 -6
- package/schema/brew/magicvariants.json +9 -9
- package/schema/brew/util.json +1 -1
- package/schema/brew-fast/items-base.json +3 -3
- package/schema/brew-fast/items-shared.json +66 -33
- package/schema/brew-fast/items.json +6 -6
- package/schema/brew-fast/magicvariants.json +9 -9
- package/schema/brew-fast/util.json +1 -1
- package/schema/site/items-base.json +3 -3
- package/schema/site/items-shared.json +66 -33
- package/schema/site/items.json +6 -6
- package/schema/site/magicvariants.json +9 -9
- package/schema/site/util.json +1 -1
- package/schema/site-fast/items-base.json +3 -3
- package/schema/site-fast/items-shared.json +66 -33
- package/schema/site-fast/items.json +6 -6
- package/schema/site-fast/magicvariants.json +9 -9
- package/schema/site-fast/util.json +1 -1
- package/schema/ua/items-base.json +3 -3
- package/schema/ua/items-shared.json +66 -33
- package/schema/ua/items.json +6 -6
- package/schema/ua/magicvariants.json +9 -9
- package/schema/ua/util.json +1 -1
- package/schema/ua-fast/items-base.json +3 -3
- package/schema/ua-fast/items-shared.json +66 -33
- package/schema/ua-fast/items.json +6 -6
- package/schema/ua-fast/magicvariants.json +9 -9
- package/schema/ua-fast/util.json +1 -1
|
@@ -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.1.
|
|
6
|
+
"version": "1.1.6",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_itemModifySpeedEqual": {
|
|
9
9
|
"type": "string",
|
|
@@ -235,41 +235,74 @@
|
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
237
|
"itemProperty": {
|
|
238
|
-
"type": "array",
|
|
239
238
|
"description": "2H: Two-Handed\n2H|XPHB: Two-Handed\nA: Ammunition\nA|XPHB: Ammunition\nAF|DMG: Ammunition (futuristic)\nAF|XDMG: Ammunition (futuristic)\nBF|DMG: Burst Fire\nBF|XDMG: Burst Fire\nER|TDCSR: Extended Reach\nF: Finesse\nF|XPHB: Finesse\nH: Heavy\nH|XPHB: Heavy\nL: Light\nL|XPHB: Light\nLD: Loading\nLD|XPHB: Loading\nOTH: Other\nR: Reach\nR|XPHB: Reach\nRLD: Reload\nRLD|XDMG: Reload\nS: Special\nT: Thrown\nT|XPHB: Thrown\nV: Versatile\nV|XPHB: Versatile\nVst|TDCSR: Vestige of Divergence",
|
|
239
|
+
"type": "string",
|
|
240
|
+
"enum": [
|
|
241
|
+
"2H",
|
|
242
|
+
"2H|XPHB",
|
|
243
|
+
"A",
|
|
244
|
+
"A|XPHB",
|
|
245
|
+
"AF|DMG",
|
|
246
|
+
"AF|XDMG",
|
|
247
|
+
"BF|DMG",
|
|
248
|
+
"BF|XDMG",
|
|
249
|
+
"ER|TDCSR",
|
|
250
|
+
"F",
|
|
251
|
+
"F|XPHB",
|
|
252
|
+
"H",
|
|
253
|
+
"H|XPHB",
|
|
254
|
+
"L",
|
|
255
|
+
"L|XPHB",
|
|
256
|
+
"LD",
|
|
257
|
+
"LD|XPHB",
|
|
258
|
+
"OTH",
|
|
259
|
+
"R",
|
|
260
|
+
"R|XPHB",
|
|
261
|
+
"RLD",
|
|
262
|
+
"RLD|XDMG",
|
|
263
|
+
"S",
|
|
264
|
+
"T",
|
|
265
|
+
"T|XPHB",
|
|
266
|
+
"V",
|
|
267
|
+
"V|XPHB",
|
|
268
|
+
"Vst|TDCSR"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"itemPropertyArray": {
|
|
272
|
+
"type": "array",
|
|
240
273
|
"items": {
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"V|XPHB",
|
|
270
|
-
"Vst|TDCSR"
|
|
274
|
+
"$ref": "#/$defs/itemProperty"
|
|
275
|
+
},
|
|
276
|
+
"minItems": 1,
|
|
277
|
+
"uniqueItems": true
|
|
278
|
+
},
|
|
279
|
+
"itemPropertyOrWrapperArray": {
|
|
280
|
+
"type": "array",
|
|
281
|
+
"items": {
|
|
282
|
+
"oneOf": [
|
|
283
|
+
{
|
|
284
|
+
"$ref": "#/$defs/itemProperty"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"uid": {
|
|
290
|
+
"$ref": "#/$defs/itemProperty"
|
|
291
|
+
},
|
|
292
|
+
"note": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"required": [
|
|
297
|
+
"uid"
|
|
298
|
+
],
|
|
299
|
+
"minProperties": 2,
|
|
300
|
+
"additionalProperties": false
|
|
301
|
+
}
|
|
271
302
|
]
|
|
272
|
-
}
|
|
303
|
+
},
|
|
304
|
+
"minItems": 1,
|
|
305
|
+
"uniqueItems": true
|
|
273
306
|
},
|
|
274
307
|
"itemScfType": {
|
|
275
308
|
"type": "string",
|
package/schema/site/items.json
CHANGED
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"property": {
|
|
72
|
-
"$ref": "items-shared.json#/$defs/
|
|
72
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
73
73
|
},
|
|
74
74
|
"range": {
|
|
75
75
|
"type": "string"
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
}
|
|
543
543
|
},
|
|
544
544
|
"property": {
|
|
545
|
-
"$ref": "items-shared.json#/$defs/
|
|
545
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
546
546
|
},
|
|
547
547
|
"range": {
|
|
548
548
|
"type": "string"
|
|
@@ -1017,7 +1017,7 @@
|
|
|
1017
1017
|
}
|
|
1018
1018
|
},
|
|
1019
1019
|
"property": {
|
|
1020
|
-
"$ref": "items-shared.json#/$defs/
|
|
1020
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1021
1021
|
},
|
|
1022
1022
|
"range": {
|
|
1023
1023
|
"type": "string"
|
|
@@ -1490,7 +1490,7 @@
|
|
|
1490
1490
|
}
|
|
1491
1491
|
},
|
|
1492
1492
|
"property": {
|
|
1493
|
-
"$ref": "items-shared.json#/$defs/
|
|
1493
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1494
1494
|
},
|
|
1495
1495
|
"range": {
|
|
1496
1496
|
"type": "string"
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
}
|
|
1974
1974
|
},
|
|
1975
1975
|
"property": {
|
|
1976
|
-
"$ref": "items-shared.json#/$defs/
|
|
1976
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1977
1977
|
},
|
|
1978
1978
|
"range": {
|
|
1979
1979
|
"type": "string"
|
|
@@ -2450,7 +2450,7 @@
|
|
|
2450
2450
|
}
|
|
2451
2451
|
},
|
|
2452
2452
|
"property": {
|
|
2453
|
-
"$ref": "items-shared.json#/$defs/
|
|
2453
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
2454
2454
|
},
|
|
2455
2455
|
"range": {
|
|
2456
2456
|
"type": "string"
|
|
@@ -143,15 +143,15 @@
|
|
|
143
143
|
},
|
|
144
144
|
"property": {
|
|
145
145
|
"description": "Generally this should be omitted, as the properties of the base item will be used.",
|
|
146
|
-
"$ref": "items-shared.json#/$defs/
|
|
146
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
147
147
|
},
|
|
148
148
|
"propertyAdd": {
|
|
149
149
|
"description": "Additional properties to grant the specific variant, if not already present on the base item.",
|
|
150
|
-
"$ref": "items-shared.json#/$defs/
|
|
150
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
151
151
|
},
|
|
152
152
|
"propertyRemove": {
|
|
153
153
|
"description": "Properties to remove from the specific variant, if present on the base item.",
|
|
154
|
-
"$ref": "items-shared.json#/$defs/
|
|
154
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
155
155
|
},
|
|
156
156
|
"range": {
|
|
157
157
|
"type": "string"
|
|
@@ -702,15 +702,15 @@
|
|
|
702
702
|
},
|
|
703
703
|
"property": {
|
|
704
704
|
"description": "Generally this should be omitted, as the properties of the base item will be used.",
|
|
705
|
-
"$ref": "items-shared.json#/$defs/
|
|
705
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
706
706
|
},
|
|
707
707
|
"propertyAdd": {
|
|
708
708
|
"description": "Additional properties to grant the specific variant, if not already present on the base item.",
|
|
709
|
-
"$ref": "items-shared.json#/$defs/
|
|
709
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
710
710
|
},
|
|
711
711
|
"propertyRemove": {
|
|
712
712
|
"description": "Properties to remove from the specific variant, if present on the base item.",
|
|
713
|
-
"$ref": "items-shared.json#/$defs/
|
|
713
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
714
714
|
},
|
|
715
715
|
"range": {
|
|
716
716
|
"type": "string"
|
|
@@ -1270,15 +1270,15 @@
|
|
|
1270
1270
|
},
|
|
1271
1271
|
"property": {
|
|
1272
1272
|
"description": "Generally this should be omitted, as the properties of the base item will be used.",
|
|
1273
|
-
"$ref": "items-shared.json#/$defs/
|
|
1273
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1274
1274
|
},
|
|
1275
1275
|
"propertyAdd": {
|
|
1276
1276
|
"description": "Additional properties to grant the specific variant, if not already present on the base item.",
|
|
1277
|
-
"$ref": "items-shared.json#/$defs/
|
|
1277
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1278
1278
|
},
|
|
1279
1279
|
"propertyRemove": {
|
|
1280
1280
|
"description": "Properties to remove from the specific variant, if present on the base item.",
|
|
1281
|
-
"$ref": "items-shared.json#/$defs/
|
|
1281
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1282
1282
|
},
|
|
1283
1283
|
"range": {
|
|
1284
1284
|
"type": "string"
|
package/schema/site/util.json
CHANGED
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
"property": {
|
|
226
|
-
"$ref": "items-shared.json#/$defs/
|
|
226
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
227
227
|
},
|
|
228
228
|
"range": {
|
|
229
229
|
"type": "string"
|
|
@@ -532,7 +532,7 @@
|
|
|
532
532
|
}
|
|
533
533
|
},
|
|
534
534
|
"property": {
|
|
535
|
-
"$ref": "items-shared.json#/$defs/
|
|
535
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
536
536
|
},
|
|
537
537
|
"range": {
|
|
538
538
|
"type": "string"
|
|
@@ -845,7 +845,7 @@
|
|
|
845
845
|
}
|
|
846
846
|
},
|
|
847
847
|
"property": {
|
|
848
|
-
"$ref": "items-shared.json#/$defs/
|
|
848
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
849
849
|
},
|
|
850
850
|
"range": {
|
|
851
851
|
"type": "string"
|
|
@@ -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.1.
|
|
6
|
+
"version": "1.1.6",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_itemModifySpeedEqual": {
|
|
9
9
|
"type": "string",
|
|
@@ -235,41 +235,74 @@
|
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
237
|
"itemProperty": {
|
|
238
|
-
"type": "array",
|
|
239
238
|
"description": "2H: Two-Handed\n2H|XPHB: Two-Handed\nA: Ammunition\nA|XPHB: Ammunition\nAF|DMG: Ammunition (futuristic)\nAF|XDMG: Ammunition (futuristic)\nBF|DMG: Burst Fire\nBF|XDMG: Burst Fire\nER|TDCSR: Extended Reach\nF: Finesse\nF|XPHB: Finesse\nH: Heavy\nH|XPHB: Heavy\nL: Light\nL|XPHB: Light\nLD: Loading\nLD|XPHB: Loading\nOTH: Other\nR: Reach\nR|XPHB: Reach\nRLD: Reload\nRLD|XDMG: Reload\nS: Special\nT: Thrown\nT|XPHB: Thrown\nV: Versatile\nV|XPHB: Versatile\nVst|TDCSR: Vestige of Divergence",
|
|
239
|
+
"type": "string",
|
|
240
|
+
"enum": [
|
|
241
|
+
"2H",
|
|
242
|
+
"2H|XPHB",
|
|
243
|
+
"A",
|
|
244
|
+
"A|XPHB",
|
|
245
|
+
"AF|DMG",
|
|
246
|
+
"AF|XDMG",
|
|
247
|
+
"BF|DMG",
|
|
248
|
+
"BF|XDMG",
|
|
249
|
+
"ER|TDCSR",
|
|
250
|
+
"F",
|
|
251
|
+
"F|XPHB",
|
|
252
|
+
"H",
|
|
253
|
+
"H|XPHB",
|
|
254
|
+
"L",
|
|
255
|
+
"L|XPHB",
|
|
256
|
+
"LD",
|
|
257
|
+
"LD|XPHB",
|
|
258
|
+
"OTH",
|
|
259
|
+
"R",
|
|
260
|
+
"R|XPHB",
|
|
261
|
+
"RLD",
|
|
262
|
+
"RLD|XDMG",
|
|
263
|
+
"S",
|
|
264
|
+
"T",
|
|
265
|
+
"T|XPHB",
|
|
266
|
+
"V",
|
|
267
|
+
"V|XPHB",
|
|
268
|
+
"Vst|TDCSR"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"itemPropertyArray": {
|
|
272
|
+
"type": "array",
|
|
240
273
|
"items": {
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
"V|XPHB",
|
|
270
|
-
"Vst|TDCSR"
|
|
274
|
+
"$ref": "#/$defs/itemProperty"
|
|
275
|
+
},
|
|
276
|
+
"minItems": 1,
|
|
277
|
+
"uniqueItems": true
|
|
278
|
+
},
|
|
279
|
+
"itemPropertyOrWrapperArray": {
|
|
280
|
+
"type": "array",
|
|
281
|
+
"items": {
|
|
282
|
+
"oneOf": [
|
|
283
|
+
{
|
|
284
|
+
"$ref": "#/$defs/itemProperty"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"uid": {
|
|
290
|
+
"$ref": "#/$defs/itemProperty"
|
|
291
|
+
},
|
|
292
|
+
"note": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"required": [
|
|
297
|
+
"uid"
|
|
298
|
+
],
|
|
299
|
+
"minProperties": 2,
|
|
300
|
+
"additionalProperties": false
|
|
301
|
+
}
|
|
271
302
|
]
|
|
272
|
-
}
|
|
303
|
+
},
|
|
304
|
+
"minItems": 1,
|
|
305
|
+
"uniqueItems": true
|
|
273
306
|
},
|
|
274
307
|
"itemScfType": {
|
|
275
308
|
"type": "string",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
"property": {
|
|
72
|
-
"$ref": "items-shared.json#/$defs/
|
|
72
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
73
73
|
},
|
|
74
74
|
"range": {
|
|
75
75
|
"type": "string"
|
|
@@ -542,7 +542,7 @@
|
|
|
542
542
|
}
|
|
543
543
|
},
|
|
544
544
|
"property": {
|
|
545
|
-
"$ref": "items-shared.json#/$defs/
|
|
545
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
546
546
|
},
|
|
547
547
|
"range": {
|
|
548
548
|
"type": "string"
|
|
@@ -1017,7 +1017,7 @@
|
|
|
1017
1017
|
}
|
|
1018
1018
|
},
|
|
1019
1019
|
"property": {
|
|
1020
|
-
"$ref": "items-shared.json#/$defs/
|
|
1020
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1021
1021
|
},
|
|
1022
1022
|
"range": {
|
|
1023
1023
|
"type": "string"
|
|
@@ -1490,7 +1490,7 @@
|
|
|
1490
1490
|
}
|
|
1491
1491
|
},
|
|
1492
1492
|
"property": {
|
|
1493
|
-
"$ref": "items-shared.json#/$defs/
|
|
1493
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1494
1494
|
},
|
|
1495
1495
|
"range": {
|
|
1496
1496
|
"type": "string"
|
|
@@ -1973,7 +1973,7 @@
|
|
|
1973
1973
|
}
|
|
1974
1974
|
},
|
|
1975
1975
|
"property": {
|
|
1976
|
-
"$ref": "items-shared.json#/$defs/
|
|
1976
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1977
1977
|
},
|
|
1978
1978
|
"range": {
|
|
1979
1979
|
"type": "string"
|
|
@@ -2450,7 +2450,7 @@
|
|
|
2450
2450
|
}
|
|
2451
2451
|
},
|
|
2452
2452
|
"property": {
|
|
2453
|
-
"$ref": "items-shared.json#/$defs/
|
|
2453
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
2454
2454
|
},
|
|
2455
2455
|
"range": {
|
|
2456
2456
|
"type": "string"
|
|
@@ -143,15 +143,15 @@
|
|
|
143
143
|
},
|
|
144
144
|
"property": {
|
|
145
145
|
"description": "Generally this should be omitted, as the properties of the base item will be used.",
|
|
146
|
-
"$ref": "items-shared.json#/$defs/
|
|
146
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
147
147
|
},
|
|
148
148
|
"propertyAdd": {
|
|
149
149
|
"description": "Additional properties to grant the specific variant, if not already present on the base item.",
|
|
150
|
-
"$ref": "items-shared.json#/$defs/
|
|
150
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
151
151
|
},
|
|
152
152
|
"propertyRemove": {
|
|
153
153
|
"description": "Properties to remove from the specific variant, if present on the base item.",
|
|
154
|
-
"$ref": "items-shared.json#/$defs/
|
|
154
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
155
155
|
},
|
|
156
156
|
"range": {
|
|
157
157
|
"type": "string"
|
|
@@ -702,15 +702,15 @@
|
|
|
702
702
|
},
|
|
703
703
|
"property": {
|
|
704
704
|
"description": "Generally this should be omitted, as the properties of the base item will be used.",
|
|
705
|
-
"$ref": "items-shared.json#/$defs/
|
|
705
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
706
706
|
},
|
|
707
707
|
"propertyAdd": {
|
|
708
708
|
"description": "Additional properties to grant the specific variant, if not already present on the base item.",
|
|
709
|
-
"$ref": "items-shared.json#/$defs/
|
|
709
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
710
710
|
},
|
|
711
711
|
"propertyRemove": {
|
|
712
712
|
"description": "Properties to remove from the specific variant, if present on the base item.",
|
|
713
|
-
"$ref": "items-shared.json#/$defs/
|
|
713
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
714
714
|
},
|
|
715
715
|
"range": {
|
|
716
716
|
"type": "string"
|
|
@@ -1270,15 +1270,15 @@
|
|
|
1270
1270
|
},
|
|
1271
1271
|
"property": {
|
|
1272
1272
|
"description": "Generally this should be omitted, as the properties of the base item will be used.",
|
|
1273
|
-
"$ref": "items-shared.json#/$defs/
|
|
1273
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1274
1274
|
},
|
|
1275
1275
|
"propertyAdd": {
|
|
1276
1276
|
"description": "Additional properties to grant the specific variant, if not already present on the base item.",
|
|
1277
|
-
"$ref": "items-shared.json#/$defs/
|
|
1277
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1278
1278
|
},
|
|
1279
1279
|
"propertyRemove": {
|
|
1280
1280
|
"description": "Properties to remove from the specific variant, if present on the base item.",
|
|
1281
|
-
"$ref": "items-shared.json#/$defs/
|
|
1281
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
1282
1282
|
},
|
|
1283
1283
|
"range": {
|
|
1284
1284
|
"type": "string"
|
|
@@ -223,7 +223,7 @@
|
|
|
223
223
|
}
|
|
224
224
|
},
|
|
225
225
|
"property": {
|
|
226
|
-
"$ref": "items-shared.json#/$defs/
|
|
226
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
227
227
|
},
|
|
228
228
|
"range": {
|
|
229
229
|
"type": "string"
|
|
@@ -535,7 +535,7 @@
|
|
|
535
535
|
}
|
|
536
536
|
},
|
|
537
537
|
"property": {
|
|
538
|
-
"$ref": "items-shared.json#/$defs/
|
|
538
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
539
539
|
},
|
|
540
540
|
"range": {
|
|
541
541
|
"type": "string"
|
|
@@ -851,7 +851,7 @@
|
|
|
851
851
|
}
|
|
852
852
|
},
|
|
853
853
|
"property": {
|
|
854
|
-
"$ref": "items-shared.json#/$defs/
|
|
854
|
+
"$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
|
|
855
855
|
},
|
|
856
856
|
"range": {
|
|
857
857
|
"type": "string"
|
|
@@ -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.1.
|
|
6
|
+
"version": "1.1.6",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"_itemModifySpeedEqual": {
|
|
9
9
|
"type": "string",
|
|
@@ -235,41 +235,74 @@
|
|
|
235
235
|
]
|
|
236
236
|
},
|
|
237
237
|
"itemProperty": {
|
|
238
|
-
"type": "array",
|
|
239
238
|
"description": "2H: Two-Handed\n2H|XPHB: Two-Handed\nA: Ammunition\nA|XPHB: Ammunition\nAF|DMG: Ammunition (futuristic)\nAF|XDMG: Ammunition (futuristic)\nBF|DMG: Burst Fire\nBF|XDMG: Burst Fire\nER|TDCSR: Extended Reach\nF: Finesse\nF|XPHB: Finesse\nH: Heavy\nH|XPHB: Heavy\nL: Light\nL|XPHB: Light\nLD: Loading\nLD|XPHB: Loading\nOTH: Other\nR: Reach\nR|XPHB: Reach\nRLD: Reload\nRLD|XDMG: Reload\nS: Special\nT: Thrown\nT|XPHB: Thrown\nV: Versatile\nV|XPHB: Versatile\nVst|TDCSR: Vestige of Divergence",
|
|
239
|
+
"type": "string",
|
|
240
|
+
"examples": [
|
|
241
|
+
"2H",
|
|
242
|
+
"2H|XPHB",
|
|
243
|
+
"A",
|
|
244
|
+
"A|XPHB",
|
|
245
|
+
"AF|DMG",
|
|
246
|
+
"AF|XDMG",
|
|
247
|
+
"BF|DMG",
|
|
248
|
+
"BF|XDMG",
|
|
249
|
+
"ER|TDCSR",
|
|
250
|
+
"F",
|
|
251
|
+
"F|XPHB",
|
|
252
|
+
"H",
|
|
253
|
+
"H|XPHB",
|
|
254
|
+
"L",
|
|
255
|
+
"L|XPHB",
|
|
256
|
+
"LD",
|
|
257
|
+
"LD|XPHB",
|
|
258
|
+
"OTH",
|
|
259
|
+
"R",
|
|
260
|
+
"R|XPHB",
|
|
261
|
+
"RLD",
|
|
262
|
+
"RLD|XDMG",
|
|
263
|
+
"S",
|
|
264
|
+
"T",
|
|
265
|
+
"T|XPHB",
|
|
266
|
+
"V",
|
|
267
|
+
"V|XPHB",
|
|
268
|
+
"Vst|TDCSR"
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
"itemPropertyArray": {
|
|
272
|
+
"type": "array",
|
|
273
|
+
"items": {
|
|
274
|
+
"$ref": "#/$defs/itemProperty"
|
|
275
|
+
},
|
|
276
|
+
"minItems": 1,
|
|
277
|
+
"uniqueItems": true
|
|
278
|
+
},
|
|
279
|
+
"itemPropertyOrWrapperArray": {
|
|
280
|
+
"type": "array",
|
|
240
281
|
"items": {
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
"R",
|
|
262
|
-
"R|XPHB",
|
|
263
|
-
"RLD",
|
|
264
|
-
"RLD|XDMG",
|
|
265
|
-
"S",
|
|
266
|
-
"T",
|
|
267
|
-
"T|XPHB",
|
|
268
|
-
"V",
|
|
269
|
-
"V|XPHB",
|
|
270
|
-
"Vst|TDCSR"
|
|
282
|
+
"oneOf": [
|
|
283
|
+
{
|
|
284
|
+
"$ref": "#/$defs/itemProperty"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"uid": {
|
|
290
|
+
"$ref": "#/$defs/itemProperty"
|
|
291
|
+
},
|
|
292
|
+
"note": {
|
|
293
|
+
"type": "string"
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"required": [
|
|
297
|
+
"uid"
|
|
298
|
+
],
|
|
299
|
+
"minProperties": 2,
|
|
300
|
+
"additionalProperties": false
|
|
301
|
+
}
|
|
271
302
|
]
|
|
272
|
-
}
|
|
303
|
+
},
|
|
304
|
+
"minItems": 1,
|
|
305
|
+
"uniqueItems": true
|
|
273
306
|
},
|
|
274
307
|
"itemScfType": {
|
|
275
308
|
"type": "string",
|