5etools-utils 0.16.18 → 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.
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.19",
6
+ "version": "1.9.20",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -38,6 +38,16 @@
38
38
  "narrow"
39
39
  ]
40
40
  },
41
+ "_entryStatblockSlotSize": {
42
+ "type": "string",
43
+ "enum": [
44
+ "extraSmall",
45
+ "small",
46
+ "medium",
47
+ "large",
48
+ "extraLarge"
49
+ ]
50
+ },
41
51
  "_entryDataData": {
42
52
  "description": "A generic object for storing special data for external use-cases. Keys prefixed with \"rd-\" should be added as \"data-\" HTML attributes when rendering to HTML.",
43
53
  "type": "object",
@@ -126,6 +136,9 @@
126
136
  "style": {
127
137
  "$ref": "#/$defs/_entryDataStyle"
128
138
  },
139
+ "slotSize": {
140
+ "$ref": "#/$defs/_entryStatblockSlotSize"
141
+ },
129
142
  "collapsed": {
130
143
  "const": true
131
144
  }
@@ -3046,6 +3059,9 @@
3046
3059
  "style": {
3047
3060
  "$ref": "#/$defs/_entryDataStyle"
3048
3061
  },
3062
+ "slotSize": {
3063
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3064
+ },
3049
3065
  "collapsed": {
3050
3066
  "const": true
3051
3067
  },
@@ -3091,6 +3107,9 @@
3091
3107
  "style": {
3092
3108
  "$ref": "#/$defs/_entryDataStyle"
3093
3109
  },
3110
+ "slotSize": {
3111
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3112
+ },
3094
3113
  "collapsed": {
3095
3114
  "const": true
3096
3115
  },
@@ -3139,6 +3158,9 @@
3139
3158
  "style": {
3140
3159
  "$ref": "#/$defs/_entryDataStyle"
3141
3160
  },
3161
+ "slotSize": {
3162
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3163
+ },
3142
3164
  "collapsed": {
3143
3165
  "const": true
3144
3166
  },
@@ -3187,6 +3209,9 @@
3187
3209
  "style": {
3188
3210
  "$ref": "#/$defs/_entryDataStyle"
3189
3211
  },
3212
+ "slotSize": {
3213
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3214
+ },
3190
3215
  "collapsed": {
3191
3216
  "const": true
3192
3217
  },
@@ -3235,6 +3260,9 @@
3235
3260
  "style": {
3236
3261
  "$ref": "#/$defs/_entryDataStyle"
3237
3262
  },
3263
+ "slotSize": {
3264
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3265
+ },
3238
3266
  "collapsed": {
3239
3267
  "const": true
3240
3268
  },
@@ -3280,6 +3308,9 @@
3280
3308
  "style": {
3281
3309
  "$ref": "#/$defs/_entryDataStyle"
3282
3310
  },
3311
+ "slotSize": {
3312
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3313
+ },
3283
3314
  "collapsed": {
3284
3315
  "const": true
3285
3316
  },
@@ -3338,6 +3369,9 @@
3338
3369
  "style": {
3339
3370
  "$ref": "#/$defs/_entryDataStyle"
3340
3371
  },
3372
+ "slotSize": {
3373
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3374
+ },
3341
3375
  "collapsed": {
3342
3376
  "const": true
3343
3377
  },
@@ -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"