5etools-utils 0.8.23 → 0.8.24

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.23",
3
+ "version": "0.8.24",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -2255,6 +2255,9 @@
2255
2255
  "type": {
2256
2256
  "const": "statblockInline"
2257
2257
  },
2258
+ "dependencies": {
2259
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2260
+ },
2258
2261
  "dataType": {
2259
2262
  "const": "monster"
2260
2263
  },
@@ -2281,6 +2284,9 @@
2281
2284
  "type": {
2282
2285
  "const": "statblockInline"
2283
2286
  },
2287
+ "dependencies": {
2288
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2289
+ },
2284
2290
  "dataType": {
2285
2291
  "const": "legendaryGroup"
2286
2292
  },
@@ -2307,6 +2313,9 @@
2307
2313
  "type": {
2308
2314
  "const": "statblockInline"
2309
2315
  },
2316
+ "dependencies": {
2317
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2318
+ },
2310
2319
  "dataType": {
2311
2320
  "const": "spell"
2312
2321
  },
@@ -2333,6 +2342,9 @@
2333
2342
  "type": {
2334
2343
  "const": "statblockInline"
2335
2344
  },
2345
+ "dependencies": {
2346
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2347
+ },
2336
2348
  "dataType": {
2337
2349
  "const": "action"
2338
2350
  },
@@ -2359,6 +2371,9 @@
2359
2371
  "type": {
2360
2372
  "const": "statblockInline"
2361
2373
  },
2374
+ "dependencies": {
2375
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2376
+ },
2362
2377
  "dataType": {
2363
2378
  "const": "item"
2364
2379
  },
@@ -2385,6 +2400,9 @@
2385
2400
  "type": {
2386
2401
  "const": "statblockInline"
2387
2402
  },
2403
+ "dependencies": {
2404
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2405
+ },
2388
2406
  "dataType": {
2389
2407
  "const": "background"
2390
2408
  },
@@ -2411,6 +2429,9 @@
2411
2429
  "type": {
2412
2430
  "const": "statblockInline"
2413
2431
  },
2432
+ "dependencies": {
2433
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2434
+ },
2414
2435
  "dataType": {
2415
2436
  "const": "charoption"
2416
2437
  },
@@ -2437,6 +2458,9 @@
2437
2458
  "type": {
2438
2459
  "const": "statblockInline"
2439
2460
  },
2461
+ "dependencies": {
2462
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2463
+ },
2440
2464
  "dataType": {
2441
2465
  "const": "condition"
2442
2466
  },
@@ -2463,6 +2487,9 @@
2463
2487
  "type": {
2464
2488
  "const": "statblockInline"
2465
2489
  },
2490
+ "dependencies": {
2491
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2492
+ },
2466
2493
  "dataType": {
2467
2494
  "const": "disease"
2468
2495
  },
@@ -2489,6 +2516,9 @@
2489
2516
  "type": {
2490
2517
  "const": "statblockInline"
2491
2518
  },
2519
+ "dependencies": {
2520
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2521
+ },
2492
2522
  "dataType": {
2493
2523
  "const": "status"
2494
2524
  },
@@ -2515,6 +2545,9 @@
2515
2545
  "type": {
2516
2546
  "const": "statblockInline"
2517
2547
  },
2548
+ "dependencies": {
2549
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2550
+ },
2518
2551
  "dataType": {
2519
2552
  "const": "cult"
2520
2553
  },
@@ -2541,6 +2574,9 @@
2541
2574
  "type": {
2542
2575
  "const": "statblockInline"
2543
2576
  },
2577
+ "dependencies": {
2578
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2579
+ },
2544
2580
  "dataType": {
2545
2581
  "const": "boon"
2546
2582
  },
@@ -2567,6 +2603,9 @@
2567
2603
  "type": {
2568
2604
  "const": "statblockInline"
2569
2605
  },
2606
+ "dependencies": {
2607
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2608
+ },
2570
2609
  "dataType": {
2571
2610
  "const": "deity"
2572
2611
  },
@@ -2593,6 +2632,9 @@
2593
2632
  "type": {
2594
2633
  "const": "statblockInline"
2595
2634
  },
2635
+ "dependencies": {
2636
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2637
+ },
2596
2638
  "dataType": {
2597
2639
  "const": "feat"
2598
2640
  },
@@ -2619,6 +2661,9 @@
2619
2661
  "type": {
2620
2662
  "const": "statblockInline"
2621
2663
  },
2664
+ "dependencies": {
2665
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2666
+ },
2622
2667
  "dataType": {
2623
2668
  "const": "language"
2624
2669
  },
@@ -2645,6 +2690,9 @@
2645
2690
  "type": {
2646
2691
  "const": "statblockInline"
2647
2692
  },
2693
+ "dependencies": {
2694
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2695
+ },
2648
2696
  "dataType": {
2649
2697
  "const": "object"
2650
2698
  },
@@ -2671,6 +2719,9 @@
2671
2719
  "type": {
2672
2720
  "const": "statblockInline"
2673
2721
  },
2722
+ "dependencies": {
2723
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2724
+ },
2674
2725
  "dataType": {
2675
2726
  "const": "optionalfeature"
2676
2727
  },
@@ -2697,6 +2748,9 @@
2697
2748
  "type": {
2698
2749
  "const": "statblockInline"
2699
2750
  },
2751
+ "dependencies": {
2752
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2753
+ },
2700
2754
  "dataType": {
2701
2755
  "const": "psionic"
2702
2756
  },
@@ -2723,6 +2777,9 @@
2723
2777
  "type": {
2724
2778
  "const": "statblockInline"
2725
2779
  },
2780
+ "dependencies": {
2781
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2782
+ },
2726
2783
  "dataType": {
2727
2784
  "const": "race"
2728
2785
  },
@@ -2749,6 +2806,9 @@
2749
2806
  "type": {
2750
2807
  "const": "statblockInline"
2751
2808
  },
2809
+ "dependencies": {
2810
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2811
+ },
2752
2812
  "dataType": {
2753
2813
  "const": "recipe"
2754
2814
  },
@@ -2775,6 +2835,9 @@
2775
2835
  "type": {
2776
2836
  "const": "statblockInline"
2777
2837
  },
2838
+ "dependencies": {
2839
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2840
+ },
2778
2841
  "dataType": {
2779
2842
  "const": "reward"
2780
2843
  },
@@ -2801,6 +2864,9 @@
2801
2864
  "type": {
2802
2865
  "const": "statblockInline"
2803
2866
  },
2867
+ "dependencies": {
2868
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2869
+ },
2804
2870
  "dataType": {
2805
2871
  "const": "table"
2806
2872
  },
@@ -2827,6 +2893,9 @@
2827
2893
  "type": {
2828
2894
  "const": "statblockInline"
2829
2895
  },
2896
+ "dependencies": {
2897
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2898
+ },
2830
2899
  "dataType": {
2831
2900
  "const": "trap"
2832
2901
  },
@@ -2853,6 +2922,9 @@
2853
2922
  "type": {
2854
2923
  "const": "statblockInline"
2855
2924
  },
2925
+ "dependencies": {
2926
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2927
+ },
2856
2928
  "dataType": {
2857
2929
  "const": "hazard"
2858
2930
  },
@@ -2879,6 +2951,9 @@
2879
2951
  "type": {
2880
2952
  "const": "statblockInline"
2881
2953
  },
2954
+ "dependencies": {
2955
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2956
+ },
2882
2957
  "dataType": {
2883
2958
  "const": "variantrule"
2884
2959
  },
@@ -2905,6 +2980,9 @@
2905
2980
  "type": {
2906
2981
  "const": "statblockInline"
2907
2982
  },
2983
+ "dependencies": {
2984
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2985
+ },
2908
2986
  "dataType": {
2909
2987
  "const": "vehicle"
2910
2988
  },
@@ -2931,6 +3009,9 @@
2931
3009
  "type": {
2932
3010
  "const": "statblockInline"
2933
3011
  },
3012
+ "dependencies": {
3013
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3014
+ },
2934
3015
  "dataType": {
2935
3016
  "const": "vehicleUpgrade"
2936
3017
  },
@@ -2957,6 +3038,9 @@
2957
3038
  "type": {
2958
3039
  "const": "statblockInline"
2959
3040
  },
3041
+ "dependencies": {
3042
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3043
+ },
2960
3044
  "dataType": {
2961
3045
  "const": "skill"
2962
3046
  },
@@ -2983,6 +3067,9 @@
2983
3067
  "type": {
2984
3068
  "const": "statblockInline"
2985
3069
  },
3070
+ "dependencies": {
3071
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3072
+ },
2986
3073
  "dataType": {
2987
3074
  "const": "sense"
2988
3075
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.9",
3
+ "version": "1.10.10",
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": {
@@ -240,7 +240,9 @@
240
240
  "type": "array",
241
241
  "items": {
242
242
  "type": "string"
243
- }
243
+ },
244
+ "minItems": 1,
245
+ "uniqueItems": true
244
246
  }
245
247
  }
246
248
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.3",
4
+ "version": "1.13.4",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -3,20 +3,24 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.20",
6
+ "version": "1.13.21",
7
7
  "$defs": {
8
+ "metaDependenciesArray": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ },
13
+ "minItems": 1,
14
+ "uniqueItems": true
15
+ },
8
16
  "metaBlock": {
9
17
  "type": "object",
10
18
  "properties": {
11
19
  "dependencies": {
12
20
  "type": "object",
13
- "properties": {
14
- "monster": {
15
- "type": "array",
16
- "items": {
17
- "type": "string"
18
- },
19
- "uniqueItems": true
21
+ "patternProperties": {
22
+ "^[a-zA-Z]+$": {
23
+ "$ref": "#/$defs/metaDependenciesArray"
20
24
  }
21
25
  }
22
26
  },
@@ -2255,6 +2255,9 @@
2255
2255
  "type": {
2256
2256
  "const": "statblockInline"
2257
2257
  },
2258
+ "dependencies": {
2259
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2260
+ },
2258
2261
  "dataType": {
2259
2262
  "const": "monster"
2260
2263
  },
@@ -2281,6 +2284,9 @@
2281
2284
  "type": {
2282
2285
  "const": "statblockInline"
2283
2286
  },
2287
+ "dependencies": {
2288
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2289
+ },
2284
2290
  "dataType": {
2285
2291
  "const": "legendaryGroup"
2286
2292
  },
@@ -2307,6 +2313,9 @@
2307
2313
  "type": {
2308
2314
  "const": "statblockInline"
2309
2315
  },
2316
+ "dependencies": {
2317
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2318
+ },
2310
2319
  "dataType": {
2311
2320
  "const": "spell"
2312
2321
  },
@@ -2333,6 +2342,9 @@
2333
2342
  "type": {
2334
2343
  "const": "statblockInline"
2335
2344
  },
2345
+ "dependencies": {
2346
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2347
+ },
2336
2348
  "dataType": {
2337
2349
  "const": "action"
2338
2350
  },
@@ -2359,6 +2371,9 @@
2359
2371
  "type": {
2360
2372
  "const": "statblockInline"
2361
2373
  },
2374
+ "dependencies": {
2375
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2376
+ },
2362
2377
  "dataType": {
2363
2378
  "const": "item"
2364
2379
  },
@@ -2385,6 +2400,9 @@
2385
2400
  "type": {
2386
2401
  "const": "statblockInline"
2387
2402
  },
2403
+ "dependencies": {
2404
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2405
+ },
2388
2406
  "dataType": {
2389
2407
  "const": "background"
2390
2408
  },
@@ -2411,6 +2429,9 @@
2411
2429
  "type": {
2412
2430
  "const": "statblockInline"
2413
2431
  },
2432
+ "dependencies": {
2433
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2434
+ },
2414
2435
  "dataType": {
2415
2436
  "const": "charoption"
2416
2437
  },
@@ -2437,6 +2458,9 @@
2437
2458
  "type": {
2438
2459
  "const": "statblockInline"
2439
2460
  },
2461
+ "dependencies": {
2462
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2463
+ },
2440
2464
  "dataType": {
2441
2465
  "const": "condition"
2442
2466
  },
@@ -2463,6 +2487,9 @@
2463
2487
  "type": {
2464
2488
  "const": "statblockInline"
2465
2489
  },
2490
+ "dependencies": {
2491
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2492
+ },
2466
2493
  "dataType": {
2467
2494
  "const": "disease"
2468
2495
  },
@@ -2489,6 +2516,9 @@
2489
2516
  "type": {
2490
2517
  "const": "statblockInline"
2491
2518
  },
2519
+ "dependencies": {
2520
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2521
+ },
2492
2522
  "dataType": {
2493
2523
  "const": "status"
2494
2524
  },
@@ -2515,6 +2545,9 @@
2515
2545
  "type": {
2516
2546
  "const": "statblockInline"
2517
2547
  },
2548
+ "dependencies": {
2549
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2550
+ },
2518
2551
  "dataType": {
2519
2552
  "const": "cult"
2520
2553
  },
@@ -2541,6 +2574,9 @@
2541
2574
  "type": {
2542
2575
  "const": "statblockInline"
2543
2576
  },
2577
+ "dependencies": {
2578
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2579
+ },
2544
2580
  "dataType": {
2545
2581
  "const": "boon"
2546
2582
  },
@@ -2567,6 +2603,9 @@
2567
2603
  "type": {
2568
2604
  "const": "statblockInline"
2569
2605
  },
2606
+ "dependencies": {
2607
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2608
+ },
2570
2609
  "dataType": {
2571
2610
  "const": "deity"
2572
2611
  },
@@ -2593,6 +2632,9 @@
2593
2632
  "type": {
2594
2633
  "const": "statblockInline"
2595
2634
  },
2635
+ "dependencies": {
2636
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2637
+ },
2596
2638
  "dataType": {
2597
2639
  "const": "feat"
2598
2640
  },
@@ -2619,6 +2661,9 @@
2619
2661
  "type": {
2620
2662
  "const": "statblockInline"
2621
2663
  },
2664
+ "dependencies": {
2665
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2666
+ },
2622
2667
  "dataType": {
2623
2668
  "const": "language"
2624
2669
  },
@@ -2645,6 +2690,9 @@
2645
2690
  "type": {
2646
2691
  "const": "statblockInline"
2647
2692
  },
2693
+ "dependencies": {
2694
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2695
+ },
2648
2696
  "dataType": {
2649
2697
  "const": "object"
2650
2698
  },
@@ -2671,6 +2719,9 @@
2671
2719
  "type": {
2672
2720
  "const": "statblockInline"
2673
2721
  },
2722
+ "dependencies": {
2723
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2724
+ },
2674
2725
  "dataType": {
2675
2726
  "const": "optionalfeature"
2676
2727
  },
@@ -2697,6 +2748,9 @@
2697
2748
  "type": {
2698
2749
  "const": "statblockInline"
2699
2750
  },
2751
+ "dependencies": {
2752
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2753
+ },
2700
2754
  "dataType": {
2701
2755
  "const": "psionic"
2702
2756
  },
@@ -2723,6 +2777,9 @@
2723
2777
  "type": {
2724
2778
  "const": "statblockInline"
2725
2779
  },
2780
+ "dependencies": {
2781
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2782
+ },
2726
2783
  "dataType": {
2727
2784
  "const": "race"
2728
2785
  },
@@ -2749,6 +2806,9 @@
2749
2806
  "type": {
2750
2807
  "const": "statblockInline"
2751
2808
  },
2809
+ "dependencies": {
2810
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2811
+ },
2752
2812
  "dataType": {
2753
2813
  "const": "recipe"
2754
2814
  },
@@ -2775,6 +2835,9 @@
2775
2835
  "type": {
2776
2836
  "const": "statblockInline"
2777
2837
  },
2838
+ "dependencies": {
2839
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2840
+ },
2778
2841
  "dataType": {
2779
2842
  "const": "reward"
2780
2843
  },
@@ -2801,6 +2864,9 @@
2801
2864
  "type": {
2802
2865
  "const": "statblockInline"
2803
2866
  },
2867
+ "dependencies": {
2868
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2869
+ },
2804
2870
  "dataType": {
2805
2871
  "const": "table"
2806
2872
  },
@@ -2827,6 +2893,9 @@
2827
2893
  "type": {
2828
2894
  "const": "statblockInline"
2829
2895
  },
2896
+ "dependencies": {
2897
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2898
+ },
2830
2899
  "dataType": {
2831
2900
  "const": "trap"
2832
2901
  },
@@ -2853,6 +2922,9 @@
2853
2922
  "type": {
2854
2923
  "const": "statblockInline"
2855
2924
  },
2925
+ "dependencies": {
2926
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2927
+ },
2856
2928
  "dataType": {
2857
2929
  "const": "hazard"
2858
2930
  },
@@ -2879,6 +2951,9 @@
2879
2951
  "type": {
2880
2952
  "const": "statblockInline"
2881
2953
  },
2954
+ "dependencies": {
2955
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2956
+ },
2882
2957
  "dataType": {
2883
2958
  "const": "variantrule"
2884
2959
  },
@@ -2905,6 +2980,9 @@
2905
2980
  "type": {
2906
2981
  "const": "statblockInline"
2907
2982
  },
2983
+ "dependencies": {
2984
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2985
+ },
2908
2986
  "dataType": {
2909
2987
  "const": "vehicle"
2910
2988
  },
@@ -2931,6 +3009,9 @@
2931
3009
  "type": {
2932
3010
  "const": "statblockInline"
2933
3011
  },
3012
+ "dependencies": {
3013
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3014
+ },
2934
3015
  "dataType": {
2935
3016
  "const": "vehicleUpgrade"
2936
3017
  },
@@ -2957,6 +3038,9 @@
2957
3038
  "type": {
2958
3039
  "const": "statblockInline"
2959
3040
  },
3041
+ "dependencies": {
3042
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3043
+ },
2960
3044
  "dataType": {
2961
3045
  "const": "skill"
2962
3046
  },
@@ -2983,6 +3067,9 @@
2983
3067
  "type": {
2984
3068
  "const": "statblockInline"
2985
3069
  },
3070
+ "dependencies": {
3071
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3072
+ },
2986
3073
  "dataType": {
2987
3074
  "const": "sense"
2988
3075
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.9",
3
+ "version": "1.10.10",
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": {
@@ -238,7 +238,9 @@
238
238
  "type": "array",
239
239
  "items": {
240
240
  "type": "string"
241
- }
241
+ },
242
+ "minItems": 1,
243
+ "uniqueItems": true
242
244
  }
243
245
  }
244
246
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.3",
4
+ "version": "1.13.4",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -3,20 +3,24 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.20",
6
+ "version": "1.13.21",
7
7
  "$defs": {
8
+ "metaDependenciesArray": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ },
13
+ "minItems": 1,
14
+ "uniqueItems": true
15
+ },
8
16
  "metaBlock": {
9
17
  "type": "object",
10
18
  "properties": {
11
19
  "dependencies": {
12
20
  "type": "object",
13
- "properties": {
14
- "monster": {
15
- "type": "array",
16
- "items": {
17
- "type": "string"
18
- },
19
- "uniqueItems": true
21
+ "patternProperties": {
22
+ "^[a-zA-Z]+$": {
23
+ "$ref": "#/$defs/metaDependenciesArray"
20
24
  }
21
25
  }
22
26
  },
@@ -2212,6 +2212,9 @@
2212
2212
  "type": {
2213
2213
  "const": "statblockInline"
2214
2214
  },
2215
+ "dependencies": {
2216
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2217
+ },
2215
2218
  "dataType": {
2216
2219
  "const": "monster"
2217
2220
  },
@@ -2238,6 +2241,9 @@
2238
2241
  "type": {
2239
2242
  "const": "statblockInline"
2240
2243
  },
2244
+ "dependencies": {
2245
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2246
+ },
2241
2247
  "dataType": {
2242
2248
  "const": "legendaryGroup"
2243
2249
  },
@@ -2264,6 +2270,9 @@
2264
2270
  "type": {
2265
2271
  "const": "statblockInline"
2266
2272
  },
2273
+ "dependencies": {
2274
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2275
+ },
2267
2276
  "dataType": {
2268
2277
  "const": "spell"
2269
2278
  },
@@ -2290,6 +2299,9 @@
2290
2299
  "type": {
2291
2300
  "const": "statblockInline"
2292
2301
  },
2302
+ "dependencies": {
2303
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2304
+ },
2293
2305
  "dataType": {
2294
2306
  "const": "action"
2295
2307
  },
@@ -2316,6 +2328,9 @@
2316
2328
  "type": {
2317
2329
  "const": "statblockInline"
2318
2330
  },
2331
+ "dependencies": {
2332
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2333
+ },
2319
2334
  "dataType": {
2320
2335
  "const": "item"
2321
2336
  },
@@ -2342,6 +2357,9 @@
2342
2357
  "type": {
2343
2358
  "const": "statblockInline"
2344
2359
  },
2360
+ "dependencies": {
2361
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2362
+ },
2345
2363
  "dataType": {
2346
2364
  "const": "background"
2347
2365
  },
@@ -2368,6 +2386,9 @@
2368
2386
  "type": {
2369
2387
  "const": "statblockInline"
2370
2388
  },
2389
+ "dependencies": {
2390
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2391
+ },
2371
2392
  "dataType": {
2372
2393
  "const": "charoption"
2373
2394
  },
@@ -2394,6 +2415,9 @@
2394
2415
  "type": {
2395
2416
  "const": "statblockInline"
2396
2417
  },
2418
+ "dependencies": {
2419
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2420
+ },
2397
2421
  "dataType": {
2398
2422
  "const": "condition"
2399
2423
  },
@@ -2420,6 +2444,9 @@
2420
2444
  "type": {
2421
2445
  "const": "statblockInline"
2422
2446
  },
2447
+ "dependencies": {
2448
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2449
+ },
2423
2450
  "dataType": {
2424
2451
  "const": "disease"
2425
2452
  },
@@ -2446,6 +2473,9 @@
2446
2473
  "type": {
2447
2474
  "const": "statblockInline"
2448
2475
  },
2476
+ "dependencies": {
2477
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2478
+ },
2449
2479
  "dataType": {
2450
2480
  "const": "status"
2451
2481
  },
@@ -2472,6 +2502,9 @@
2472
2502
  "type": {
2473
2503
  "const": "statblockInline"
2474
2504
  },
2505
+ "dependencies": {
2506
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2507
+ },
2475
2508
  "dataType": {
2476
2509
  "const": "cult"
2477
2510
  },
@@ -2498,6 +2531,9 @@
2498
2531
  "type": {
2499
2532
  "const": "statblockInline"
2500
2533
  },
2534
+ "dependencies": {
2535
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2536
+ },
2501
2537
  "dataType": {
2502
2538
  "const": "boon"
2503
2539
  },
@@ -2524,6 +2560,9 @@
2524
2560
  "type": {
2525
2561
  "const": "statblockInline"
2526
2562
  },
2563
+ "dependencies": {
2564
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2565
+ },
2527
2566
  "dataType": {
2528
2567
  "const": "deity"
2529
2568
  },
@@ -2550,6 +2589,9 @@
2550
2589
  "type": {
2551
2590
  "const": "statblockInline"
2552
2591
  },
2592
+ "dependencies": {
2593
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2594
+ },
2553
2595
  "dataType": {
2554
2596
  "const": "feat"
2555
2597
  },
@@ -2576,6 +2618,9 @@
2576
2618
  "type": {
2577
2619
  "const": "statblockInline"
2578
2620
  },
2621
+ "dependencies": {
2622
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2623
+ },
2579
2624
  "dataType": {
2580
2625
  "const": "language"
2581
2626
  },
@@ -2602,6 +2647,9 @@
2602
2647
  "type": {
2603
2648
  "const": "statblockInline"
2604
2649
  },
2650
+ "dependencies": {
2651
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2652
+ },
2605
2653
  "dataType": {
2606
2654
  "const": "object"
2607
2655
  },
@@ -2628,6 +2676,9 @@
2628
2676
  "type": {
2629
2677
  "const": "statblockInline"
2630
2678
  },
2679
+ "dependencies": {
2680
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2681
+ },
2631
2682
  "dataType": {
2632
2683
  "const": "optionalfeature"
2633
2684
  },
@@ -2654,6 +2705,9 @@
2654
2705
  "type": {
2655
2706
  "const": "statblockInline"
2656
2707
  },
2708
+ "dependencies": {
2709
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2710
+ },
2657
2711
  "dataType": {
2658
2712
  "const": "psionic"
2659
2713
  },
@@ -2680,6 +2734,9 @@
2680
2734
  "type": {
2681
2735
  "const": "statblockInline"
2682
2736
  },
2737
+ "dependencies": {
2738
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2739
+ },
2683
2740
  "dataType": {
2684
2741
  "const": "race"
2685
2742
  },
@@ -2706,6 +2763,9 @@
2706
2763
  "type": {
2707
2764
  "const": "statblockInline"
2708
2765
  },
2766
+ "dependencies": {
2767
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2768
+ },
2709
2769
  "dataType": {
2710
2770
  "const": "recipe"
2711
2771
  },
@@ -2732,6 +2792,9 @@
2732
2792
  "type": {
2733
2793
  "const": "statblockInline"
2734
2794
  },
2795
+ "dependencies": {
2796
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2797
+ },
2735
2798
  "dataType": {
2736
2799
  "const": "reward"
2737
2800
  },
@@ -2758,6 +2821,9 @@
2758
2821
  "type": {
2759
2822
  "const": "statblockInline"
2760
2823
  },
2824
+ "dependencies": {
2825
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2826
+ },
2761
2827
  "dataType": {
2762
2828
  "const": "table"
2763
2829
  },
@@ -2784,6 +2850,9 @@
2784
2850
  "type": {
2785
2851
  "const": "statblockInline"
2786
2852
  },
2853
+ "dependencies": {
2854
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2855
+ },
2787
2856
  "dataType": {
2788
2857
  "const": "trap"
2789
2858
  },
@@ -2810,6 +2879,9 @@
2810
2879
  "type": {
2811
2880
  "const": "statblockInline"
2812
2881
  },
2882
+ "dependencies": {
2883
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2884
+ },
2813
2885
  "dataType": {
2814
2886
  "const": "hazard"
2815
2887
  },
@@ -2836,6 +2908,9 @@
2836
2908
  "type": {
2837
2909
  "const": "statblockInline"
2838
2910
  },
2911
+ "dependencies": {
2912
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2913
+ },
2839
2914
  "dataType": {
2840
2915
  "const": "variantrule"
2841
2916
  },
@@ -2862,6 +2937,9 @@
2862
2937
  "type": {
2863
2938
  "const": "statblockInline"
2864
2939
  },
2940
+ "dependencies": {
2941
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2942
+ },
2865
2943
  "dataType": {
2866
2944
  "const": "vehicle"
2867
2945
  },
@@ -2888,6 +2966,9 @@
2888
2966
  "type": {
2889
2967
  "const": "statblockInline"
2890
2968
  },
2969
+ "dependencies": {
2970
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2971
+ },
2891
2972
  "dataType": {
2892
2973
  "const": "vehicleUpgrade"
2893
2974
  },
@@ -2914,6 +2995,9 @@
2914
2995
  "type": {
2915
2996
  "const": "statblockInline"
2916
2997
  },
2998
+ "dependencies": {
2999
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3000
+ },
2917
3001
  "dataType": {
2918
3002
  "const": "skill"
2919
3003
  },
@@ -2940,6 +3024,9 @@
2940
3024
  "type": {
2941
3025
  "const": "statblockInline"
2942
3026
  },
3027
+ "dependencies": {
3028
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3029
+ },
2943
3030
  "dataType": {
2944
3031
  "const": "sense"
2945
3032
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.9",
3
+ "version": "1.10.10",
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": {
@@ -240,7 +240,9 @@
240
240
  "type": "array",
241
241
  "items": {
242
242
  "type": "string"
243
- }
243
+ },
244
+ "minItems": 1,
245
+ "uniqueItems": true
244
246
  }
245
247
  }
246
248
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.3",
4
+ "version": "1.13.4",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -3,20 +3,24 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.20",
6
+ "version": "1.13.21",
7
7
  "$defs": {
8
+ "metaDependenciesArray": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ },
13
+ "minItems": 1,
14
+ "uniqueItems": true
15
+ },
8
16
  "metaBlock": {
9
17
  "type": "object",
10
18
  "properties": {
11
19
  "dependencies": {
12
20
  "type": "object",
13
- "properties": {
14
- "monster": {
15
- "type": "array",
16
- "items": {
17
- "type": "string"
18
- },
19
- "uniqueItems": true
21
+ "patternProperties": {
22
+ "^[a-zA-Z]+$": {
23
+ "$ref": "#/$defs/metaDependenciesArray"
20
24
  }
21
25
  }
22
26
  },
@@ -2212,6 +2212,9 @@
2212
2212
  "type": {
2213
2213
  "const": "statblockInline"
2214
2214
  },
2215
+ "dependencies": {
2216
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2217
+ },
2215
2218
  "dataType": {
2216
2219
  "const": "monster"
2217
2220
  },
@@ -2238,6 +2241,9 @@
2238
2241
  "type": {
2239
2242
  "const": "statblockInline"
2240
2243
  },
2244
+ "dependencies": {
2245
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2246
+ },
2241
2247
  "dataType": {
2242
2248
  "const": "legendaryGroup"
2243
2249
  },
@@ -2264,6 +2270,9 @@
2264
2270
  "type": {
2265
2271
  "const": "statblockInline"
2266
2272
  },
2273
+ "dependencies": {
2274
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2275
+ },
2267
2276
  "dataType": {
2268
2277
  "const": "spell"
2269
2278
  },
@@ -2290,6 +2299,9 @@
2290
2299
  "type": {
2291
2300
  "const": "statblockInline"
2292
2301
  },
2302
+ "dependencies": {
2303
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2304
+ },
2293
2305
  "dataType": {
2294
2306
  "const": "action"
2295
2307
  },
@@ -2316,6 +2328,9 @@
2316
2328
  "type": {
2317
2329
  "const": "statblockInline"
2318
2330
  },
2331
+ "dependencies": {
2332
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2333
+ },
2319
2334
  "dataType": {
2320
2335
  "const": "item"
2321
2336
  },
@@ -2342,6 +2357,9 @@
2342
2357
  "type": {
2343
2358
  "const": "statblockInline"
2344
2359
  },
2360
+ "dependencies": {
2361
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2362
+ },
2345
2363
  "dataType": {
2346
2364
  "const": "background"
2347
2365
  },
@@ -2368,6 +2386,9 @@
2368
2386
  "type": {
2369
2387
  "const": "statblockInline"
2370
2388
  },
2389
+ "dependencies": {
2390
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2391
+ },
2371
2392
  "dataType": {
2372
2393
  "const": "charoption"
2373
2394
  },
@@ -2394,6 +2415,9 @@
2394
2415
  "type": {
2395
2416
  "const": "statblockInline"
2396
2417
  },
2418
+ "dependencies": {
2419
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2420
+ },
2397
2421
  "dataType": {
2398
2422
  "const": "condition"
2399
2423
  },
@@ -2420,6 +2444,9 @@
2420
2444
  "type": {
2421
2445
  "const": "statblockInline"
2422
2446
  },
2447
+ "dependencies": {
2448
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2449
+ },
2423
2450
  "dataType": {
2424
2451
  "const": "disease"
2425
2452
  },
@@ -2446,6 +2473,9 @@
2446
2473
  "type": {
2447
2474
  "const": "statblockInline"
2448
2475
  },
2476
+ "dependencies": {
2477
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2478
+ },
2449
2479
  "dataType": {
2450
2480
  "const": "status"
2451
2481
  },
@@ -2472,6 +2502,9 @@
2472
2502
  "type": {
2473
2503
  "const": "statblockInline"
2474
2504
  },
2505
+ "dependencies": {
2506
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2507
+ },
2475
2508
  "dataType": {
2476
2509
  "const": "cult"
2477
2510
  },
@@ -2498,6 +2531,9 @@
2498
2531
  "type": {
2499
2532
  "const": "statblockInline"
2500
2533
  },
2534
+ "dependencies": {
2535
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2536
+ },
2501
2537
  "dataType": {
2502
2538
  "const": "boon"
2503
2539
  },
@@ -2524,6 +2560,9 @@
2524
2560
  "type": {
2525
2561
  "const": "statblockInline"
2526
2562
  },
2563
+ "dependencies": {
2564
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2565
+ },
2527
2566
  "dataType": {
2528
2567
  "const": "deity"
2529
2568
  },
@@ -2550,6 +2589,9 @@
2550
2589
  "type": {
2551
2590
  "const": "statblockInline"
2552
2591
  },
2592
+ "dependencies": {
2593
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2594
+ },
2553
2595
  "dataType": {
2554
2596
  "const": "feat"
2555
2597
  },
@@ -2576,6 +2618,9 @@
2576
2618
  "type": {
2577
2619
  "const": "statblockInline"
2578
2620
  },
2621
+ "dependencies": {
2622
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2623
+ },
2579
2624
  "dataType": {
2580
2625
  "const": "language"
2581
2626
  },
@@ -2602,6 +2647,9 @@
2602
2647
  "type": {
2603
2648
  "const": "statblockInline"
2604
2649
  },
2650
+ "dependencies": {
2651
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2652
+ },
2605
2653
  "dataType": {
2606
2654
  "const": "object"
2607
2655
  },
@@ -2628,6 +2676,9 @@
2628
2676
  "type": {
2629
2677
  "const": "statblockInline"
2630
2678
  },
2679
+ "dependencies": {
2680
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2681
+ },
2631
2682
  "dataType": {
2632
2683
  "const": "optionalfeature"
2633
2684
  },
@@ -2654,6 +2705,9 @@
2654
2705
  "type": {
2655
2706
  "const": "statblockInline"
2656
2707
  },
2708
+ "dependencies": {
2709
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2710
+ },
2657
2711
  "dataType": {
2658
2712
  "const": "psionic"
2659
2713
  },
@@ -2680,6 +2734,9 @@
2680
2734
  "type": {
2681
2735
  "const": "statblockInline"
2682
2736
  },
2737
+ "dependencies": {
2738
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2739
+ },
2683
2740
  "dataType": {
2684
2741
  "const": "race"
2685
2742
  },
@@ -2706,6 +2763,9 @@
2706
2763
  "type": {
2707
2764
  "const": "statblockInline"
2708
2765
  },
2766
+ "dependencies": {
2767
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2768
+ },
2709
2769
  "dataType": {
2710
2770
  "const": "recipe"
2711
2771
  },
@@ -2732,6 +2792,9 @@
2732
2792
  "type": {
2733
2793
  "const": "statblockInline"
2734
2794
  },
2795
+ "dependencies": {
2796
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2797
+ },
2735
2798
  "dataType": {
2736
2799
  "const": "reward"
2737
2800
  },
@@ -2758,6 +2821,9 @@
2758
2821
  "type": {
2759
2822
  "const": "statblockInline"
2760
2823
  },
2824
+ "dependencies": {
2825
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2826
+ },
2761
2827
  "dataType": {
2762
2828
  "const": "table"
2763
2829
  },
@@ -2784,6 +2850,9 @@
2784
2850
  "type": {
2785
2851
  "const": "statblockInline"
2786
2852
  },
2853
+ "dependencies": {
2854
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2855
+ },
2787
2856
  "dataType": {
2788
2857
  "const": "trap"
2789
2858
  },
@@ -2810,6 +2879,9 @@
2810
2879
  "type": {
2811
2880
  "const": "statblockInline"
2812
2881
  },
2882
+ "dependencies": {
2883
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2884
+ },
2813
2885
  "dataType": {
2814
2886
  "const": "hazard"
2815
2887
  },
@@ -2836,6 +2908,9 @@
2836
2908
  "type": {
2837
2909
  "const": "statblockInline"
2838
2910
  },
2911
+ "dependencies": {
2912
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2913
+ },
2839
2914
  "dataType": {
2840
2915
  "const": "variantrule"
2841
2916
  },
@@ -2862,6 +2937,9 @@
2862
2937
  "type": {
2863
2938
  "const": "statblockInline"
2864
2939
  },
2940
+ "dependencies": {
2941
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2942
+ },
2865
2943
  "dataType": {
2866
2944
  "const": "vehicle"
2867
2945
  },
@@ -2888,6 +2966,9 @@
2888
2966
  "type": {
2889
2967
  "const": "statblockInline"
2890
2968
  },
2969
+ "dependencies": {
2970
+ "$ref": "util.json#/$defs/metaDependenciesArray"
2971
+ },
2891
2972
  "dataType": {
2892
2973
  "const": "vehicleUpgrade"
2893
2974
  },
@@ -2914,6 +2995,9 @@
2914
2995
  "type": {
2915
2996
  "const": "statblockInline"
2916
2997
  },
2998
+ "dependencies": {
2999
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3000
+ },
2917
3001
  "dataType": {
2918
3002
  "const": "skill"
2919
3003
  },
@@ -2940,6 +3024,9 @@
2940
3024
  "type": {
2941
3025
  "const": "statblockInline"
2942
3026
  },
3027
+ "dependencies": {
3028
+ "$ref": "util.json#/$defs/metaDependenciesArray"
3029
+ },
2943
3030
  "dataType": {
2944
3031
  "const": "sense"
2945
3032
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.9",
3
+ "version": "1.10.10",
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": {
@@ -238,7 +238,9 @@
238
238
  "type": "array",
239
239
  "items": {
240
240
  "type": "string"
241
- }
241
+ },
242
+ "minItems": 1,
243
+ "uniqueItems": true
242
244
  }
243
245
  }
244
246
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.13.3",
4
+ "version": "1.13.4",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -3,20 +3,24 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.20",
6
+ "version": "1.13.21",
7
7
  "$defs": {
8
+ "metaDependenciesArray": {
9
+ "type": "array",
10
+ "items": {
11
+ "type": "string"
12
+ },
13
+ "minItems": 1,
14
+ "uniqueItems": true
15
+ },
8
16
  "metaBlock": {
9
17
  "type": "object",
10
18
  "properties": {
11
19
  "dependencies": {
12
20
  "type": "object",
13
- "properties": {
14
- "monster": {
15
- "type": "array",
16
- "items": {
17
- "type": "string"
18
- },
19
- "uniqueItems": true
21
+ "patternProperties": {
22
+ "^[a-zA-Z]+$": {
23
+ "$ref": "#/$defs/metaDependenciesArray"
20
24
  }
21
25
  }
22
26
  },