5etools-utils 0.16.19 → 0.16.20

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.16.19",
3
+ "version": "0.16.20",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -184,6 +184,16 @@
184
184
  },
185
185
  "markdownDescription": "Object names are optional feature "type" shorthands (e.g. "EI" for "Eldritch Invocation" which will be displayed in the list view as a sortable column"
186
186
  },
187
+ "vehicleUpgradeTypes": {
188
+ "type": "object",
189
+ "description": "Object names are vehicle upgrade \"type\" shorthands (e.g. \"SHP:H\" for \"Ship Upgrade, Hull\" which will be displayed in the list view as a sortable column",
190
+ "patternProperties": {
191
+ ".*": {
192
+ "type": "string"
193
+ }
194
+ },
195
+ "markdownDescription": "Object names are vehicle upgrade "type" shorthands (e.g. "SHP:H" for "Ship Upgrade, Hull" which will be displayed in the list view as a sortable column"
196
+ },
187
197
  "featCategories": {
188
198
  "type": "object",
189
199
  "description": "Object names are feat \"category\" shorthands (e.g. \"O\" for \"Origin\" which will be displayed in the list view as a sortable column",
@@ -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.18.6",
6
+ "version": "1.19.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2500,8 +2500,8 @@
2500
2500
  },
2501
2501
  "dataOptionalfeatureType": {
2502
2502
  "type": "string",
2503
- "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2504
- "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2503
+ "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2504
+ "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2505
2505
  "examples": [
2506
2506
  "ED",
2507
2507
  "EI",
@@ -2519,6 +2519,18 @@
2519
2519
  "AS",
2520
2520
  "PB",
2521
2521
  "AI",
2522
+ "OR",
2523
+ "RN",
2524
+ "AF",
2525
+ "TT",
2526
+ "RP"
2527
+ ]
2528
+ },
2529
+ "dataVehicleUpgradeType": {
2530
+ "type": "string",
2531
+ "description": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2532
+ "markdownDescription": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2533
+ "examples": [
2522
2534
  "SHP:H",
2523
2535
  "SHP:M",
2524
2536
  "SHP:W",
@@ -2526,12 +2538,7 @@
2526
2538
  "SHP:O",
2527
2539
  "IWM:W",
2528
2540
  "IWM:A",
2529
- "IWM:G",
2530
- "OR",
2531
- "RN",
2532
- "AF",
2533
- "TT",
2534
- "RP"
2541
+ "IWM:G"
2535
2542
  ]
2536
2543
  },
2537
2544
  "dataFeatCategory": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -203,9 +203,12 @@
203
203
  "upgradeType": {
204
204
  "type": "array",
205
205
  "items": {
206
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
207
- "type": "string"
208
- }
206
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
207
+ },
208
+ "minItems": 1
209
+ },
210
+ "cost": {
211
+ "$ref": "#/$defs/_vehicleCost"
209
212
  },
210
213
  "hasFluff": {
211
214
  "type": "boolean"
@@ -251,9 +254,12 @@
251
254
  "upgradeType": {
252
255
  "type": "array",
253
256
  "items": {
254
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
255
- "type": "string"
256
- }
257
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
258
+ },
259
+ "minItems": 1
260
+ },
261
+ "cost": {
262
+ "$ref": "#/$defs/_vehicleCost"
257
263
  },
258
264
  "hasFluff": {
259
265
  "type": "boolean"
@@ -303,9 +309,12 @@
303
309
  "upgradeType": {
304
310
  "type": "array",
305
311
  "items": {
306
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
307
- "type": "string"
308
- }
312
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
313
+ },
314
+ "minItems": 1
315
+ },
316
+ "cost": {
317
+ "$ref": "#/$defs/_vehicleCost"
309
318
  },
310
319
  "hasFluff": {
311
320
  "type": "boolean"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -182,6 +182,16 @@
182
182
  },
183
183
  "markdownDescription": "Object names are optional feature "type" shorthands (e.g. "EI" for "Eldritch Invocation" which will be displayed in the list view as a sortable column"
184
184
  },
185
+ "vehicleUpgradeTypes": {
186
+ "type": "object",
187
+ "description": "Object names are vehicle upgrade \"type\" shorthands (e.g. \"SHP:H\" for \"Ship Upgrade, Hull\" which will be displayed in the list view as a sortable column",
188
+ "patternProperties": {
189
+ ".*": {
190
+ "type": "string"
191
+ }
192
+ },
193
+ "markdownDescription": "Object names are vehicle upgrade "type" shorthands (e.g. "SHP:H" for "Ship Upgrade, Hull" which will be displayed in the list view as a sortable column"
194
+ },
185
195
  "featCategories": {
186
196
  "type": "object",
187
197
  "description": "Object names are feat \"category\" shorthands (e.g. \"O\" for \"Origin\" which will be displayed in the list view as a sortable column",
@@ -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.18.6",
6
+ "version": "1.19.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2500,8 +2500,8 @@
2500
2500
  },
2501
2501
  "dataOptionalfeatureType": {
2502
2502
  "type": "string",
2503
- "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2504
- "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2503
+ "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2504
+ "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2505
2505
  "examples": [
2506
2506
  "ED",
2507
2507
  "EI",
@@ -2519,6 +2519,18 @@
2519
2519
  "AS",
2520
2520
  "PB",
2521
2521
  "AI",
2522
+ "OR",
2523
+ "RN",
2524
+ "AF",
2525
+ "TT",
2526
+ "RP"
2527
+ ]
2528
+ },
2529
+ "dataVehicleUpgradeType": {
2530
+ "type": "string",
2531
+ "description": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2532
+ "markdownDescription": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2533
+ "examples": [
2522
2534
  "SHP:H",
2523
2535
  "SHP:M",
2524
2536
  "SHP:W",
@@ -2526,12 +2538,7 @@
2526
2538
  "SHP:O",
2527
2539
  "IWM:W",
2528
2540
  "IWM:A",
2529
- "IWM:G",
2530
- "OR",
2531
- "RN",
2532
- "AF",
2533
- "TT",
2534
- "RP"
2541
+ "IWM:G"
2535
2542
  ]
2536
2543
  },
2537
2544
  "dataFeatCategory": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -203,9 +203,12 @@
203
203
  "upgradeType": {
204
204
  "type": "array",
205
205
  "items": {
206
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
207
- "type": "string"
208
- }
206
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
207
+ },
208
+ "minItems": 1
209
+ },
210
+ "cost": {
211
+ "$ref": "#/$defs/_vehicleCost"
209
212
  },
210
213
  "hasFluff": {
211
214
  "type": "boolean"
@@ -251,9 +254,12 @@
251
254
  "upgradeType": {
252
255
  "type": "array",
253
256
  "items": {
254
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
255
- "type": "string"
256
- }
257
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
258
+ },
259
+ "minItems": 1
260
+ },
261
+ "cost": {
262
+ "$ref": "#/$defs/_vehicleCost"
257
263
  },
258
264
  "hasFluff": {
259
265
  "type": "boolean"
@@ -303,9 +309,12 @@
303
309
  "upgradeType": {
304
310
  "type": "array",
305
311
  "items": {
306
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
307
- "type": "string"
308
- }
312
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
313
+ },
314
+ "minItems": 1
315
+ },
316
+ "cost": {
317
+ "$ref": "#/$defs/_vehicleCost"
309
318
  },
310
319
  "hasFluff": {
311
320
  "type": "boolean"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -184,6 +184,16 @@
184
184
  },
185
185
  "markdownDescription": "Object names are optional feature "type" shorthands (e.g. "EI" for "Eldritch Invocation" which will be displayed in the list view as a sortable column"
186
186
  },
187
+ "vehicleUpgradeTypes": {
188
+ "type": "object",
189
+ "description": "Object names are vehicle upgrade \"type\" shorthands (e.g. \"SHP:H\" for \"Ship Upgrade, Hull\" which will be displayed in the list view as a sortable column",
190
+ "patternProperties": {
191
+ ".*": {
192
+ "type": "string"
193
+ }
194
+ },
195
+ "markdownDescription": "Object names are vehicle upgrade "type" shorthands (e.g. "SHP:H" for "Ship Upgrade, Hull" which will be displayed in the list view as a sortable column"
196
+ },
187
197
  "featCategories": {
188
198
  "type": "object",
189
199
  "description": "Object names are feat \"category\" shorthands (e.g. \"O\" for \"Origin\" which will be displayed in the list view as a sortable column",
@@ -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.18.6",
6
+ "version": "1.19.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2442,8 +2442,8 @@
2442
2442
  },
2443
2443
  "dataOptionalfeatureType": {
2444
2444
  "type": "string",
2445
- "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2446
- "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2445
+ "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2446
+ "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2447
2447
  "enum": [
2448
2448
  "ED",
2449
2449
  "EI",
@@ -2461,6 +2461,18 @@
2461
2461
  "AS",
2462
2462
  "PB",
2463
2463
  "AI",
2464
+ "OR",
2465
+ "RN",
2466
+ "AF",
2467
+ "TT",
2468
+ "RP"
2469
+ ]
2470
+ },
2471
+ "dataVehicleUpgradeType": {
2472
+ "type": "string",
2473
+ "description": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2474
+ "markdownDescription": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2475
+ "enum": [
2464
2476
  "SHP:H",
2465
2477
  "SHP:M",
2466
2478
  "SHP:W",
@@ -2468,12 +2480,7 @@
2468
2480
  "SHP:O",
2469
2481
  "IWM:W",
2470
2482
  "IWM:A",
2471
- "IWM:G",
2472
- "OR",
2473
- "RN",
2474
- "AF",
2475
- "TT",
2476
- "RP"
2483
+ "IWM:G"
2477
2484
  ]
2478
2485
  },
2479
2486
  "dataFeatCategory": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -203,10 +203,12 @@
203
203
  "upgradeType": {
204
204
  "type": "array",
205
205
  "items": {
206
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
207
- "type": "string",
208
- "pattern": "^(SHP|IWM):.*"
209
- }
206
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
207
+ },
208
+ "minItems": 1
209
+ },
210
+ "cost": {
211
+ "$ref": "#/$defs/_vehicleCost"
210
212
  },
211
213
  "hasFluff": {
212
214
  "type": "boolean"
@@ -252,10 +254,12 @@
252
254
  "upgradeType": {
253
255
  "type": "array",
254
256
  "items": {
255
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
256
- "type": "string",
257
- "pattern": "^(SHP|IWM):.*"
258
- }
257
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
258
+ },
259
+ "minItems": 1
260
+ },
261
+ "cost": {
262
+ "$ref": "#/$defs/_vehicleCost"
259
263
  },
260
264
  "hasFluff": {
261
265
  "type": "boolean"
@@ -305,10 +309,12 @@
305
309
  "upgradeType": {
306
310
  "type": "array",
307
311
  "items": {
308
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
309
- "type": "string",
310
- "pattern": "^(SHP|IWM):.*"
311
- }
312
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
313
+ },
314
+ "minItems": 1
315
+ },
316
+ "cost": {
317
+ "$ref": "#/$defs/_vehicleCost"
312
318
  },
313
319
  "hasFluff": {
314
320
  "type": "boolean"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -182,6 +182,16 @@
182
182
  },
183
183
  "markdownDescription": "Object names are optional feature "type" shorthands (e.g. "EI" for "Eldritch Invocation" which will be displayed in the list view as a sortable column"
184
184
  },
185
+ "vehicleUpgradeTypes": {
186
+ "type": "object",
187
+ "description": "Object names are vehicle upgrade \"type\" shorthands (e.g. \"SHP:H\" for \"Ship Upgrade, Hull\" which will be displayed in the list view as a sortable column",
188
+ "patternProperties": {
189
+ ".*": {
190
+ "type": "string"
191
+ }
192
+ },
193
+ "markdownDescription": "Object names are vehicle upgrade "type" shorthands (e.g. "SHP:H" for "Ship Upgrade, Hull" which will be displayed in the list view as a sortable column"
194
+ },
185
195
  "featCategories": {
186
196
  "type": "object",
187
197
  "description": "Object names are feat \"category\" shorthands (e.g. \"O\" for \"Origin\" which will be displayed in the list view as a sortable column",
@@ -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.18.6",
6
+ "version": "1.19.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2442,8 +2442,8 @@
2442
2442
  },
2443
2443
  "dataOptionalfeatureType": {
2444
2444
  "type": "string",
2445
- "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2446
- "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2445
+ "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2446
+ "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2447
2447
  "enum": [
2448
2448
  "ED",
2449
2449
  "EI",
@@ -2461,6 +2461,18 @@
2461
2461
  "AS",
2462
2462
  "PB",
2463
2463
  "AI",
2464
+ "OR",
2465
+ "RN",
2466
+ "AF",
2467
+ "TT",
2468
+ "RP"
2469
+ ]
2470
+ },
2471
+ "dataVehicleUpgradeType": {
2472
+ "type": "string",
2473
+ "description": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2474
+ "markdownDescription": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2475
+ "enum": [
2464
2476
  "SHP:H",
2465
2477
  "SHP:M",
2466
2478
  "SHP:W",
@@ -2468,12 +2480,7 @@
2468
2480
  "SHP:O",
2469
2481
  "IWM:W",
2470
2482
  "IWM:A",
2471
- "IWM:G",
2472
- "OR",
2473
- "RN",
2474
- "AF",
2475
- "TT",
2476
- "RP"
2483
+ "IWM:G"
2477
2484
  ]
2478
2485
  },
2479
2486
  "dataFeatCategory": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -203,10 +203,12 @@
203
203
  "upgradeType": {
204
204
  "type": "array",
205
205
  "items": {
206
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
207
- "type": "string",
208
- "pattern": "^(SHP|IWM):.*"
209
- }
206
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
207
+ },
208
+ "minItems": 1
209
+ },
210
+ "cost": {
211
+ "$ref": "#/$defs/_vehicleCost"
210
212
  },
211
213
  "hasFluff": {
212
214
  "type": "boolean"
@@ -252,10 +254,12 @@
252
254
  "upgradeType": {
253
255
  "type": "array",
254
256
  "items": {
255
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
256
- "type": "string",
257
- "pattern": "^(SHP|IWM):.*"
258
- }
257
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
258
+ },
259
+ "minItems": 1
260
+ },
261
+ "cost": {
262
+ "$ref": "#/$defs/_vehicleCost"
259
263
  },
260
264
  "hasFluff": {
261
265
  "type": "boolean"
@@ -305,10 +309,12 @@
305
309
  "upgradeType": {
306
310
  "type": "array",
307
311
  "items": {
308
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
309
- "type": "string",
310
- "pattern": "^(SHP|IWM):.*"
311
- }
312
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
313
+ },
314
+ "minItems": 1
315
+ },
316
+ "cost": {
317
+ "$ref": "#/$defs/_vehicleCost"
312
318
  },
313
319
  "hasFluff": {
314
320
  "type": "boolean"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -184,6 +184,16 @@
184
184
  },
185
185
  "markdownDescription": "Object names are optional feature "type" shorthands (e.g. "EI" for "Eldritch Invocation" which will be displayed in the list view as a sortable column"
186
186
  },
187
+ "vehicleUpgradeTypes": {
188
+ "type": "object",
189
+ "description": "Object names are vehicle upgrade \"type\" shorthands (e.g. \"SHP:H\" for \"Ship Upgrade, Hull\" which will be displayed in the list view as a sortable column",
190
+ "patternProperties": {
191
+ ".*": {
192
+ "type": "string"
193
+ }
194
+ },
195
+ "markdownDescription": "Object names are vehicle upgrade "type" shorthands (e.g. "SHP:H" for "Ship Upgrade, Hull" which will be displayed in the list view as a sortable column"
196
+ },
187
197
  "featCategories": {
188
198
  "type": "object",
189
199
  "description": "Object names are feat \"category\" shorthands (e.g. \"O\" for \"Origin\" which will be displayed in the list view as a sortable column",
@@ -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.18.6",
6
+ "version": "1.19.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2453,8 +2453,8 @@
2453
2453
  },
2454
2454
  "dataOptionalfeatureType": {
2455
2455
  "type": "string",
2456
- "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2457
- "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2456
+ "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2457
+ "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2458
2458
  "examples": [
2459
2459
  "ED",
2460
2460
  "EI",
@@ -2472,6 +2472,18 @@
2472
2472
  "AS",
2473
2473
  "PB",
2474
2474
  "AI",
2475
+ "OR",
2476
+ "RN",
2477
+ "AF",
2478
+ "TT",
2479
+ "RP"
2480
+ ]
2481
+ },
2482
+ "dataVehicleUpgradeType": {
2483
+ "type": "string",
2484
+ "description": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2485
+ "markdownDescription": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2486
+ "examples": [
2475
2487
  "SHP:H",
2476
2488
  "SHP:M",
2477
2489
  "SHP:W",
@@ -2479,12 +2491,7 @@
2479
2491
  "SHP:O",
2480
2492
  "IWM:W",
2481
2493
  "IWM:A",
2482
- "IWM:G",
2483
- "OR",
2484
- "RN",
2485
- "AF",
2486
- "TT",
2487
- "RP"
2494
+ "IWM:G"
2488
2495
  ]
2489
2496
  },
2490
2497
  "dataFeatCategory": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -203,10 +203,12 @@
203
203
  "upgradeType": {
204
204
  "type": "array",
205
205
  "items": {
206
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
207
- "type": "string",
208
- "pattern": "^(SHP|IWM):.*"
209
- }
206
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
207
+ },
208
+ "minItems": 1
209
+ },
210
+ "cost": {
211
+ "$ref": "#/$defs/_vehicleCost"
210
212
  },
211
213
  "hasFluff": {
212
214
  "type": "boolean"
@@ -252,10 +254,12 @@
252
254
  "upgradeType": {
253
255
  "type": "array",
254
256
  "items": {
255
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
256
- "type": "string",
257
- "pattern": "^(SHP|IWM):.*"
258
- }
257
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
258
+ },
259
+ "minItems": 1
260
+ },
261
+ "cost": {
262
+ "$ref": "#/$defs/_vehicleCost"
259
263
  },
260
264
  "hasFluff": {
261
265
  "type": "boolean"
@@ -305,10 +309,12 @@
305
309
  "upgradeType": {
306
310
  "type": "array",
307
311
  "items": {
308
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
309
- "type": "string",
310
- "pattern": "^(SHP|IWM):.*"
311
- }
312
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
313
+ },
314
+ "minItems": 1
315
+ },
316
+ "cost": {
317
+ "$ref": "#/$defs/_vehicleCost"
312
318
  },
313
319
  "hasFluff": {
314
320
  "type": "boolean"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.0",
3
+ "version": "1.14.1",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -182,6 +182,16 @@
182
182
  },
183
183
  "markdownDescription": "Object names are optional feature "type" shorthands (e.g. "EI" for "Eldritch Invocation" which will be displayed in the list view as a sortable column"
184
184
  },
185
+ "vehicleUpgradeTypes": {
186
+ "type": "object",
187
+ "description": "Object names are vehicle upgrade \"type\" shorthands (e.g. \"SHP:H\" for \"Ship Upgrade, Hull\" which will be displayed in the list view as a sortable column",
188
+ "patternProperties": {
189
+ ".*": {
190
+ "type": "string"
191
+ }
192
+ },
193
+ "markdownDescription": "Object names are vehicle upgrade "type" shorthands (e.g. "SHP:H" for "Ship Upgrade, Hull" which will be displayed in the list view as a sortable column"
194
+ },
185
195
  "featCategories": {
186
196
  "type": "object",
187
197
  "description": "Object names are feat \"category\" shorthands (e.g. \"O\" for \"Origin\" which will be displayed in the list view as a sortable column",
@@ -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.18.6",
6
+ "version": "1.19.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2453,8 +2453,8 @@
2453
2453
  },
2454
2454
  "dataOptionalfeatureType": {
2455
2455
  "type": "string",
2456
- "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2457
- "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon\n- TT: Traveler's Trick",
2456
+ "description": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2457
+ "markdownDescription": "- AF: Alchemical Formula\n- AI: Artificer Infusion\n- AS: Arcane Shot\n- AS:V1-UA: Arcane Shot, V1 (UA)\n- AS:V2-UA: Arcane Shot, V2 (UA)\n- ED: Elemental Discipline\n- EI: Eldritch Invocation\n- FS:B: Fighting Style; Bard\n- FS:F: Fighting Style; Fighter\n- FS:P: Fighting Style; Paladin\n- FS:R: Fighting Style; Ranger\n- MM: Metamagic\n- MV: Maneuver\n- MV:B: Maneuver, Battle Master\n- MV:C2-UA: Maneuver, Cavalier V2 (UA)\n- OR: Onomancy Resonant\n- OTH: Other\n- PB: Pact Boon\n- RN: Rune Knight Rune\n- RP: Renown Perk\n- TT: Traveler's Trick",
2458
2458
  "examples": [
2459
2459
  "ED",
2460
2460
  "EI",
@@ -2472,6 +2472,18 @@
2472
2472
  "AS",
2473
2473
  "PB",
2474
2474
  "AI",
2475
+ "OR",
2476
+ "RN",
2477
+ "AF",
2478
+ "TT",
2479
+ "RP"
2480
+ ]
2481
+ },
2482
+ "dataVehicleUpgradeType": {
2483
+ "type": "string",
2484
+ "description": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2485
+ "markdownDescription": "- IWM:A: Infernal War Machine Upgrade, Armor\n- IWM:G: Infernal War Machine Upgrade, Gadget\n- IWM:W: Infernal War Machine Variant, Weapon\n- SHP:F: Ship Upgrade, Figurehead\n- SHP:H: Ship Upgrade, Hull\n- SHP:M: Ship Upgrade, Movement\n- SHP:O: Ship Upgrade, Miscellaneous\n- SHP:W: Ship Upgrade, Weapon",
2486
+ "examples": [
2475
2487
  "SHP:H",
2476
2488
  "SHP:M",
2477
2489
  "SHP:W",
@@ -2479,12 +2491,7 @@
2479
2491
  "SHP:O",
2480
2492
  "IWM:W",
2481
2493
  "IWM:A",
2482
- "IWM:G",
2483
- "OR",
2484
- "RN",
2485
- "AF",
2486
- "TT",
2487
- "RP"
2494
+ "IWM:G"
2488
2495
  ]
2489
2496
  },
2490
2497
  "dataFeatCategory": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.9.1",
4
+ "version": "1.10.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -203,10 +203,12 @@
203
203
  "upgradeType": {
204
204
  "type": "array",
205
205
  "items": {
206
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
207
- "type": "string",
208
- "pattern": "^(SHP|IWM):.*"
209
- }
206
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
207
+ },
208
+ "minItems": 1
209
+ },
210
+ "cost": {
211
+ "$ref": "#/$defs/_vehicleCost"
210
212
  },
211
213
  "hasFluff": {
212
214
  "type": "boolean"
@@ -252,10 +254,12 @@
252
254
  "upgradeType": {
253
255
  "type": "array",
254
256
  "items": {
255
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
256
- "type": "string",
257
- "pattern": "^(SHP|IWM):.*"
258
- }
257
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
258
+ },
259
+ "minItems": 1
260
+ },
261
+ "cost": {
262
+ "$ref": "#/$defs/_vehicleCost"
259
263
  },
260
264
  "hasFluff": {
261
265
  "type": "boolean"
@@ -305,10 +309,12 @@
305
309
  "upgradeType": {
306
310
  "type": "array",
307
311
  "items": {
308
- "$ref": "util.json#/$defs/dataOptionalfeatureType",
309
- "type": "string",
310
- "pattern": "^(SHP|IWM):.*"
311
- }
312
+ "$ref": "util.json#/$defs/dataVehicleUpgradeType"
313
+ },
314
+ "minItems": 1
315
+ },
316
+ "cost": {
317
+ "$ref": "#/$defs/_vehicleCost"
312
318
  },
313
319
  "hasFluff": {
314
320
  "type": "boolean"