5etools-utils 0.8.20 → 0.8.22

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.8.20",
3
+ "version": "0.8.22",
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": "2.11.3",
3
+ "version": "2.11.4",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -394,6 +394,10 @@
394
394
  "type": "string"
395
395
  }
396
396
  },
397
+ "toolProficiencies": {
398
+ "description": "Well-structured tool proficiency data, used by e.g. Plutonium.",
399
+ "$ref": "../util.json#/$defs/toolProficiencies"
400
+ },
397
401
  "skills": {
398
402
  "$ref": "../util.json#/$defs/skillProficiencies"
399
403
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.5",
4
+ "version": "1.9.6",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -15,18 +15,7 @@
15
15
  "type": "integer"
16
16
  },
17
17
  "school": {
18
- "type": "string",
19
- "examples": [
20
- "A",
21
- "V",
22
- "E",
23
- "I",
24
- "D",
25
- "N",
26
- "T",
27
- "C",
28
- "P"
29
- ]
18
+ "$ref": "../util.json#/$defs/spellSchool"
30
19
  },
31
20
  "meta": {
32
21
  "type": "object",
@@ -584,18 +573,7 @@
584
573
  "type": "integer"
585
574
  },
586
575
  "school": {
587
- "type": "string",
588
- "examples": [
589
- "A",
590
- "V",
591
- "E",
592
- "I",
593
- "D",
594
- "N",
595
- "T",
596
- "C",
597
- "P"
598
- ]
576
+ "$ref": "../util.json#/$defs/spellSchool"
599
577
  },
600
578
  "meta": {
601
579
  "type": "object",
@@ -1161,18 +1139,7 @@
1161
1139
  "type": "integer"
1162
1140
  },
1163
1141
  "school": {
1164
- "type": "string",
1165
- "examples": [
1166
- "A",
1167
- "V",
1168
- "E",
1169
- "I",
1170
- "D",
1171
- "N",
1172
- "T",
1173
- "C",
1174
- "P"
1175
- ]
1142
+ "$ref": "../util.json#/$defs/spellSchool"
1176
1143
  },
1177
1144
  "meta": {
1178
1145
  "type": "object",
@@ -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.13.18",
6
+ "version": "1.13.20",
7
7
  "$defs": {
8
8
  "metaBlock": {
9
9
  "type": "object",
@@ -292,11 +292,26 @@
292
292
  "disguise kit",
293
293
  "forgery kit",
294
294
  "gaming set",
295
+ "dragonchess set",
296
+ "dice set",
297
+ "three-dragon ante set",
295
298
  "herbalism kit",
296
299
  "musical instrument",
300
+ "bagpipes",
301
+ "drum",
302
+ "dulcimer",
303
+ "flute",
304
+ "horn",
305
+ "lute",
306
+ "lyre",
307
+ "pan flute",
308
+ "shawm",
309
+ "viol",
297
310
  "navigator's tools",
298
311
  "thieves' tools",
299
312
  "poisoner's kit",
313
+ "vehicles",
314
+ "vehicles (air)",
300
315
  "vehicles (land)",
301
316
  "vehicles (water)",
302
317
  "vehicles (space)"
@@ -376,12 +391,54 @@
376
391
  "gaming set": {
377
392
  "const": true
378
393
  },
394
+ "dragonchess set": {
395
+ "const": true
396
+ },
397
+ "dice set": {
398
+ "const": true
399
+ },
400
+ "three-dragon ante set": {
401
+ "const": true
402
+ },
379
403
  "herbalism kit": {
380
404
  "const": true
381
405
  },
406
+ "anyMusicalInstrument": {
407
+ "type": "integer"
408
+ },
382
409
  "musical instrument": {
383
410
  "const": true
384
411
  },
412
+ "bagpipes": {
413
+ "const": true
414
+ },
415
+ "drum": {
416
+ "const": true
417
+ },
418
+ "dulcimer": {
419
+ "const": true
420
+ },
421
+ "flute": {
422
+ "const": true
423
+ },
424
+ "horn": {
425
+ "const": true
426
+ },
427
+ "lute": {
428
+ "const": true
429
+ },
430
+ "lyre": {
431
+ "const": true
432
+ },
433
+ "pan flute": {
434
+ "const": true
435
+ },
436
+ "shawm": {
437
+ "const": true
438
+ },
439
+ "viol": {
440
+ "const": true
441
+ },
385
442
  "navigator's tools": {
386
443
  "const": true
387
444
  },
@@ -391,6 +448,12 @@
391
448
  "poisoner's kit": {
392
449
  "const": true
393
450
  },
451
+ "vehicles": {
452
+ "const": true
453
+ },
454
+ "vehicles (air)": {
455
+ "const": true
456
+ },
394
457
  "vehicles (land)": {
395
458
  "const": true
396
459
  },
@@ -413,7 +476,8 @@
413
476
  {
414
477
  "type": "string",
415
478
  "enum": [
416
- "anyArtisansTool"
479
+ "anyArtisansTool",
480
+ "anyMusicalInstrument"
417
481
  ]
418
482
  }
419
483
  ]
@@ -659,12 +723,54 @@
659
723
  "gaming set": {
660
724
  "const": true
661
725
  },
726
+ "dragonchess set": {
727
+ "const": true
728
+ },
729
+ "dice set": {
730
+ "const": true
731
+ },
732
+ "three-dragon ante set": {
733
+ "const": true
734
+ },
662
735
  "herbalism kit": {
663
736
  "const": true
664
737
  },
738
+ "anyMusicalInstrument": {
739
+ "type": "integer"
740
+ },
665
741
  "musical instrument": {
666
742
  "const": true
667
743
  },
744
+ "bagpipes": {
745
+ "const": true
746
+ },
747
+ "drum": {
748
+ "const": true
749
+ },
750
+ "dulcimer": {
751
+ "const": true
752
+ },
753
+ "flute": {
754
+ "const": true
755
+ },
756
+ "horn": {
757
+ "const": true
758
+ },
759
+ "lute": {
760
+ "const": true
761
+ },
762
+ "lyre": {
763
+ "const": true
764
+ },
765
+ "pan flute": {
766
+ "const": true
767
+ },
768
+ "shawm": {
769
+ "const": true
770
+ },
771
+ "viol": {
772
+ "const": true
773
+ },
668
774
  "navigator's tools": {
669
775
  "const": true
670
776
  },
@@ -674,6 +780,12 @@
674
780
  "poisoner's kit": {
675
781
  "const": true
676
782
  },
783
+ "vehicles": {
784
+ "const": true
785
+ },
786
+ "vehicles (air)": {
787
+ "const": true
788
+ },
677
789
  "vehicles (land)": {
678
790
  "const": true
679
791
  },
@@ -766,6 +878,7 @@
766
878
  "anySkill",
767
879
  "anyTool",
768
880
  "anyArtisansTool",
881
+ "anyMusicalInstrument",
769
882
  "anyLanguage",
770
883
  "anyStandardLanguage"
771
884
  ]
@@ -1183,18 +1296,63 @@
1183
1296
  "gaming set": {
1184
1297
  "const": true
1185
1298
  },
1299
+ "dragonchess set": {
1300
+ "const": true
1301
+ },
1302
+ "dice set": {
1303
+ "const": true
1304
+ },
1305
+ "three-dragon ante set": {
1306
+ "const": true
1307
+ },
1186
1308
  "herbalism kit": {
1187
1309
  "const": true
1188
1310
  },
1189
1311
  "musical instrument": {
1190
1312
  "const": true
1191
1313
  },
1314
+ "bagpipes": {
1315
+ "const": true
1316
+ },
1317
+ "drum": {
1318
+ "const": true
1319
+ },
1320
+ "dulcimer": {
1321
+ "const": true
1322
+ },
1323
+ "flute": {
1324
+ "const": true
1325
+ },
1326
+ "horn": {
1327
+ "const": true
1328
+ },
1329
+ "lute": {
1330
+ "const": true
1331
+ },
1332
+ "lyre": {
1333
+ "const": true
1334
+ },
1335
+ "pan flute": {
1336
+ "const": true
1337
+ },
1338
+ "shawm": {
1339
+ "const": true
1340
+ },
1341
+ "viol": {
1342
+ "const": true
1343
+ },
1192
1344
  "navigator's tools": {
1193
1345
  "const": true
1194
1346
  },
1195
1347
  "thieves' tools": {
1196
1348
  "const": true
1197
1349
  },
1350
+ "vehicles": {
1351
+ "const": true
1352
+ },
1353
+ "vehicles (air)": {
1354
+ "const": true
1355
+ },
1198
1356
  "vehicles (land)": {
1199
1357
  "const": true
1200
1358
  },
@@ -2369,6 +2527,20 @@
2369
2527
  "T"
2370
2528
  ]
2371
2529
  },
2530
+ "spellSchool": {
2531
+ "type": "string",
2532
+ "examples": [
2533
+ "A",
2534
+ "V",
2535
+ "E",
2536
+ "I",
2537
+ "D",
2538
+ "N",
2539
+ "T",
2540
+ "C",
2541
+ "P"
2542
+ ]
2543
+ },
2372
2544
  "genericFluffArrayItemData": {
2373
2545
  "type": "object",
2374
2546
  "properties": {
@@ -3893,6 +4065,31 @@
3893
4065
  "spellListSpellRef": {
3894
4066
  "description": "A reference to a spell or an existing spell list, linked by name and source. Assumes PHB as the source, if none is provided.",
3895
4067
  "oneOf": [
4068
+ {
4069
+ "description": "A group spell list",
4070
+ "type": "object",
4071
+ "properties": {
4072
+ "groupName": {
4073
+ "type": "string"
4074
+ },
4075
+ "groupSource": {
4076
+ "type": "string"
4077
+ },
4078
+ "spellSchools": {
4079
+ "type": "array",
4080
+ "items": {
4081
+ "$ref": "#/$defs/spellSchool"
4082
+ },
4083
+ "minItems": 1,
4084
+ "uniqueItems": true
4085
+ }
4086
+ },
4087
+ "required": [
4088
+ "groupName",
4089
+ "groupSource"
4090
+ ],
4091
+ "additionalProperties": false
4092
+ },
3896
4093
  {
3897
4094
  "description": "Another class's spell list",
3898
4095
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.11.3",
3
+ "version": "2.11.4",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -394,6 +394,10 @@
394
394
  "type": "string"
395
395
  }
396
396
  },
397
+ "toolProficiencies": {
398
+ "description": "Well-structured tool proficiency data, used by e.g. Plutonium.",
399
+ "$ref": "../util.json#/$defs/toolProficiencies"
400
+ },
397
401
  "skills": {
398
402
  "$ref": "../util.json#/$defs/skillProficiencies"
399
403
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "spells.json",
4
- "version": "1.9.5",
4
+ "version": "1.9.6",
5
5
  "title": "Spells",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -15,18 +15,7 @@
15
15
  "type": "integer"
16
16
  },
17
17
  "school": {
18
- "type": "string",
19
- "examples": [
20
- "A",
21
- "V",
22
- "E",
23
- "I",
24
- "D",
25
- "N",
26
- "T",
27
- "C",
28
- "P"
29
- ]
18
+ "$ref": "../util.json#/$defs/spellSchool"
30
19
  },
31
20
  "meta": {
32
21
  "type": "object",
@@ -584,18 +573,7 @@
584
573
  "type": "integer"
585
574
  },
586
575
  "school": {
587
- "type": "string",
588
- "examples": [
589
- "A",
590
- "V",
591
- "E",
592
- "I",
593
- "D",
594
- "N",
595
- "T",
596
- "C",
597
- "P"
598
- ]
576
+ "$ref": "../util.json#/$defs/spellSchool"
599
577
  },
600
578
  "meta": {
601
579
  "type": "object",
@@ -1161,18 +1139,7 @@
1161
1139
  "type": "integer"
1162
1140
  },
1163
1141
  "school": {
1164
- "type": "string",
1165
- "examples": [
1166
- "A",
1167
- "V",
1168
- "E",
1169
- "I",
1170
- "D",
1171
- "N",
1172
- "T",
1173
- "C",
1174
- "P"
1175
- ]
1142
+ "$ref": "../util.json#/$defs/spellSchool"
1176
1143
  },
1177
1144
  "meta": {
1178
1145
  "type": "object",