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.
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "property": {
72
- "$ref": "items-shared.json#/$defs/itemProperty"
72
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
73
73
  },
74
74
  "range": {
75
75
  "type": "string"
@@ -545,7 +545,7 @@
545
545
  }
546
546
  },
547
547
  "property": {
548
- "$ref": "items-shared.json#/$defs/itemProperty"
548
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
549
549
  },
550
550
  "range": {
551
551
  "type": "string"
@@ -1023,7 +1023,7 @@
1023
1023
  }
1024
1024
  },
1025
1025
  "property": {
1026
- "$ref": "items-shared.json#/$defs/itemProperty"
1026
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1027
1027
  },
1028
1028
  "range": {
1029
1029
  "type": "string"
@@ -1499,7 +1499,7 @@
1499
1499
  }
1500
1500
  },
1501
1501
  "property": {
1502
- "$ref": "items-shared.json#/$defs/itemProperty"
1502
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1503
1503
  },
1504
1504
  "range": {
1505
1505
  "type": "string"
@@ -1985,7 +1985,7 @@
1985
1985
  }
1986
1986
  },
1987
1987
  "property": {
1988
- "$ref": "items-shared.json#/$defs/itemProperty"
1988
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1989
1989
  },
1990
1990
  "range": {
1991
1991
  "type": "string"
@@ -2465,7 +2465,7 @@
2465
2465
  }
2466
2466
  },
2467
2467
  "property": {
2468
- "$ref": "items-shared.json#/$defs/itemProperty"
2468
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
2469
2469
  },
2470
2470
  "range": {
2471
2471
  "type": "string"
@@ -152,15 +152,15 @@
152
152
  },
153
153
  "property": {
154
154
  "description": "Generally this should be omitted, as the properties of the base item will be used.",
155
- "$ref": "items-shared.json#/$defs/itemProperty"
155
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
156
156
  },
157
157
  "propertyAdd": {
158
158
  "description": "Additional properties to grant the specific variant, if not already present on the base item.",
159
- "$ref": "items-shared.json#/$defs/itemProperty"
159
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
160
160
  },
161
161
  "propertyRemove": {
162
162
  "description": "Properties to remove from the specific variant, if present on the base item.",
163
- "$ref": "items-shared.json#/$defs/itemProperty"
163
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
164
164
  },
165
165
  "range": {
166
166
  "type": "string"
@@ -730,15 +730,15 @@
730
730
  },
731
731
  "property": {
732
732
  "description": "Generally this should be omitted, as the properties of the base item will be used.",
733
- "$ref": "items-shared.json#/$defs/itemProperty"
733
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
734
734
  },
735
735
  "propertyAdd": {
736
736
  "description": "Additional properties to grant the specific variant, if not already present on the base item.",
737
- "$ref": "items-shared.json#/$defs/itemProperty"
737
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
738
738
  },
739
739
  "propertyRemove": {
740
740
  "description": "Properties to remove from the specific variant, if present on the base item.",
741
- "$ref": "items-shared.json#/$defs/itemProperty"
741
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
742
742
  },
743
743
  "range": {
744
744
  "type": "string"
@@ -1317,15 +1317,15 @@
1317
1317
  },
1318
1318
  "property": {
1319
1319
  "description": "Generally this should be omitted, as the properties of the base item will be used.",
1320
- "$ref": "items-shared.json#/$defs/itemProperty"
1320
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1321
1321
  },
1322
1322
  "propertyAdd": {
1323
1323
  "description": "Additional properties to grant the specific variant, if not already present on the base item.",
1324
- "$ref": "items-shared.json#/$defs/itemProperty"
1324
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1325
1325
  },
1326
1326
  "propertyRemove": {
1327
1327
  "description": "Properties to remove from the specific variant, if present on the base item.",
1328
- "$ref": "items-shared.json#/$defs/itemProperty"
1328
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1329
1329
  },
1330
1330
  "range": {
1331
1331
  "type": "string"
@@ -1942,7 +1942,7 @@
1942
1942
  "itemProperty": {
1943
1943
  "oneOf": [
1944
1944
  {
1945
- "$ref": "items-shared.json#/$defs/itemProperty"
1945
+ "$ref": "items-shared.json#/$defs/itemPropertyArray"
1946
1946
  },
1947
1947
  {
1948
1948
  "type": "null"
@@ -223,7 +223,7 @@
223
223
  }
224
224
  },
225
225
  "property": {
226
- "$ref": "items-shared.json#/$defs/itemProperty"
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/itemProperty"
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/itemProperty"
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.5",
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
- "type": "string",
242
- "examples": [
243
- "2H",
244
- "2H|XPHB",
245
- "A",
246
- "A|XPHB",
247
- "AF|DMG",
248
- "AF|XDMG",
249
- "BF|DMG",
250
- "BF|XDMG",
251
- "ER|TDCSR",
252
- "F",
253
- "F|XPHB",
254
- "H",
255
- "H|XPHB",
256
- "L",
257
- "L|XPHB",
258
- "LD",
259
- "LD|XPHB",
260
- "OTH",
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",
@@ -69,7 +69,7 @@
69
69
  }
70
70
  },
71
71
  "property": {
72
- "$ref": "items-shared.json#/$defs/itemProperty"
72
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
73
73
  },
74
74
  "range": {
75
75
  "type": "string"
@@ -545,7 +545,7 @@
545
545
  }
546
546
  },
547
547
  "property": {
548
- "$ref": "items-shared.json#/$defs/itemProperty"
548
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
549
549
  },
550
550
  "range": {
551
551
  "type": "string"
@@ -1023,7 +1023,7 @@
1023
1023
  }
1024
1024
  },
1025
1025
  "property": {
1026
- "$ref": "items-shared.json#/$defs/itemProperty"
1026
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1027
1027
  },
1028
1028
  "range": {
1029
1029
  "type": "string"
@@ -1499,7 +1499,7 @@
1499
1499
  }
1500
1500
  },
1501
1501
  "property": {
1502
- "$ref": "items-shared.json#/$defs/itemProperty"
1502
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1503
1503
  },
1504
1504
  "range": {
1505
1505
  "type": "string"
@@ -1985,7 +1985,7 @@
1985
1985
  }
1986
1986
  },
1987
1987
  "property": {
1988
- "$ref": "items-shared.json#/$defs/itemProperty"
1988
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1989
1989
  },
1990
1990
  "range": {
1991
1991
  "type": "string"
@@ -2465,7 +2465,7 @@
2465
2465
  }
2466
2466
  },
2467
2467
  "property": {
2468
- "$ref": "items-shared.json#/$defs/itemProperty"
2468
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
2469
2469
  },
2470
2470
  "range": {
2471
2471
  "type": "string"
@@ -152,15 +152,15 @@
152
152
  },
153
153
  "property": {
154
154
  "description": "Generally this should be omitted, as the properties of the base item will be used.",
155
- "$ref": "items-shared.json#/$defs/itemProperty"
155
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
156
156
  },
157
157
  "propertyAdd": {
158
158
  "description": "Additional properties to grant the specific variant, if not already present on the base item.",
159
- "$ref": "items-shared.json#/$defs/itemProperty"
159
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
160
160
  },
161
161
  "propertyRemove": {
162
162
  "description": "Properties to remove from the specific variant, if present on the base item.",
163
- "$ref": "items-shared.json#/$defs/itemProperty"
163
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
164
164
  },
165
165
  "range": {
166
166
  "type": "string"
@@ -730,15 +730,15 @@
730
730
  },
731
731
  "property": {
732
732
  "description": "Generally this should be omitted, as the properties of the base item will be used.",
733
- "$ref": "items-shared.json#/$defs/itemProperty"
733
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
734
734
  },
735
735
  "propertyAdd": {
736
736
  "description": "Additional properties to grant the specific variant, if not already present on the base item.",
737
- "$ref": "items-shared.json#/$defs/itemProperty"
737
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
738
738
  },
739
739
  "propertyRemove": {
740
740
  "description": "Properties to remove from the specific variant, if present on the base item.",
741
- "$ref": "items-shared.json#/$defs/itemProperty"
741
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
742
742
  },
743
743
  "range": {
744
744
  "type": "string"
@@ -1317,15 +1317,15 @@
1317
1317
  },
1318
1318
  "property": {
1319
1319
  "description": "Generally this should be omitted, as the properties of the base item will be used.",
1320
- "$ref": "items-shared.json#/$defs/itemProperty"
1320
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1321
1321
  },
1322
1322
  "propertyAdd": {
1323
1323
  "description": "Additional properties to grant the specific variant, if not already present on the base item.",
1324
- "$ref": "items-shared.json#/$defs/itemProperty"
1324
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1325
1325
  },
1326
1326
  "propertyRemove": {
1327
1327
  "description": "Properties to remove from the specific variant, if present on the base item.",
1328
- "$ref": "items-shared.json#/$defs/itemProperty"
1328
+ "$ref": "items-shared.json#/$defs/itemPropertyOrWrapperArray"
1329
1329
  },
1330
1330
  "range": {
1331
1331
  "type": "string"
@@ -1942,7 +1942,7 @@
1942
1942
  "itemProperty": {
1943
1943
  "oneOf": [
1944
1944
  {
1945
- "$ref": "items-shared.json#/$defs/itemProperty"
1945
+ "$ref": "items-shared.json#/$defs/itemPropertyArray"
1946
1946
  },
1947
1947
  {
1948
1948
  "type": "null"