5etools-utils 0.7.0 → 0.7.2
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/README.md
CHANGED
package/lib/BrewTester.js
CHANGED
|
@@ -3,6 +3,7 @@ import {Command} from "commander";
|
|
|
3
3
|
import Um from "./UtilMisc.js";
|
|
4
4
|
import {JsonTester} from "./TestJson.js";
|
|
5
5
|
import {listJsonFiles} from "./UtilFs.js";
|
|
6
|
+
import * as pathlib from "path";
|
|
6
7
|
|
|
7
8
|
class _BrewTesterJson {
|
|
8
9
|
static _LOG_TAG = "JSON";
|
|
@@ -23,7 +24,8 @@ class _BrewTesterJson {
|
|
|
23
24
|
if (program.args[0]) {
|
|
24
25
|
results = jsonTester.getFileErrors({filePath: program.args[0]});
|
|
25
26
|
} else if (opts.dir) {
|
|
26
|
-
const fileList = listJsonFiles(opts.dir)
|
|
27
|
+
const fileList = listJsonFiles(opts.dir)
|
|
28
|
+
.filter(it => pathlib.basename(it) !== "index.json");
|
|
27
29
|
results = await jsonTester.pGetErrorsOnDirsWorkers({isFailFast: !this._IS_FAIL_SLOW, fileList: fileList});
|
|
28
30
|
} else {
|
|
29
31
|
results = await jsonTester.pGetErrorsOnDirsWorkers({isFailFast: !this._IS_FAIL_SLOW});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.15",
|
|
4
4
|
"title": "Bestiary Schema",
|
|
5
5
|
"$id": "bestiary.json",
|
|
6
6
|
"type": "object",
|
|
@@ -88,6 +88,28 @@
|
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
|
+
"abilityScore": {
|
|
92
|
+
"oneOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": [
|
|
95
|
+
"integer",
|
|
96
|
+
"null"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"special": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"special"
|
|
108
|
+
],
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
91
113
|
"creatureData": {
|
|
92
114
|
"type": "object",
|
|
93
115
|
"properties": {
|
|
@@ -299,40 +321,22 @@
|
|
|
299
321
|
"$ref": "../util.json#/$defs/speed"
|
|
300
322
|
},
|
|
301
323
|
"str": {
|
|
302
|
-
"
|
|
303
|
-
"integer",
|
|
304
|
-
"null"
|
|
305
|
-
]
|
|
324
|
+
"$ref": "#/$defs/abilityScore"
|
|
306
325
|
},
|
|
307
326
|
"dex": {
|
|
308
|
-
"
|
|
309
|
-
"integer",
|
|
310
|
-
"null"
|
|
311
|
-
]
|
|
327
|
+
"$ref": "#/$defs/abilityScore"
|
|
312
328
|
},
|
|
313
329
|
"con": {
|
|
314
|
-
"
|
|
315
|
-
"integer",
|
|
316
|
-
"null"
|
|
317
|
-
]
|
|
330
|
+
"$ref": "#/$defs/abilityScore"
|
|
318
331
|
},
|
|
319
332
|
"int": {
|
|
320
|
-
"
|
|
321
|
-
"integer",
|
|
322
|
-
"null"
|
|
323
|
-
]
|
|
333
|
+
"$ref": "#/$defs/abilityScore"
|
|
324
334
|
},
|
|
325
335
|
"wis": {
|
|
326
|
-
"
|
|
327
|
-
"integer",
|
|
328
|
-
"null"
|
|
329
|
-
]
|
|
336
|
+
"$ref": "#/$defs/abilityScore"
|
|
330
337
|
},
|
|
331
338
|
"cha": {
|
|
332
|
-
"
|
|
333
|
-
"integer",
|
|
334
|
-
"null"
|
|
335
|
-
]
|
|
339
|
+
"$ref": "#/$defs/abilityScore"
|
|
336
340
|
},
|
|
337
341
|
"save": {
|
|
338
342
|
"type": "object",
|
|
@@ -1472,40 +1476,22 @@
|
|
|
1472
1476
|
"$ref": "../util.json#/$defs/speed"
|
|
1473
1477
|
},
|
|
1474
1478
|
"str": {
|
|
1475
|
-
"
|
|
1476
|
-
"integer",
|
|
1477
|
-
"null"
|
|
1478
|
-
]
|
|
1479
|
+
"$ref": "#/$defs/abilityScore"
|
|
1479
1480
|
},
|
|
1480
1481
|
"dex": {
|
|
1481
|
-
"
|
|
1482
|
-
"integer",
|
|
1483
|
-
"null"
|
|
1484
|
-
]
|
|
1482
|
+
"$ref": "#/$defs/abilityScore"
|
|
1485
1483
|
},
|
|
1486
1484
|
"con": {
|
|
1487
|
-
"
|
|
1488
|
-
"integer",
|
|
1489
|
-
"null"
|
|
1490
|
-
]
|
|
1485
|
+
"$ref": "#/$defs/abilityScore"
|
|
1491
1486
|
},
|
|
1492
1487
|
"int": {
|
|
1493
|
-
"
|
|
1494
|
-
"integer",
|
|
1495
|
-
"null"
|
|
1496
|
-
]
|
|
1488
|
+
"$ref": "#/$defs/abilityScore"
|
|
1497
1489
|
},
|
|
1498
1490
|
"wis": {
|
|
1499
|
-
"
|
|
1500
|
-
"integer",
|
|
1501
|
-
"null"
|
|
1502
|
-
]
|
|
1491
|
+
"$ref": "#/$defs/abilityScore"
|
|
1503
1492
|
},
|
|
1504
1493
|
"cha": {
|
|
1505
|
-
"
|
|
1506
|
-
"integer",
|
|
1507
|
-
"null"
|
|
1508
|
-
]
|
|
1494
|
+
"$ref": "#/$defs/abilityScore"
|
|
1509
1495
|
},
|
|
1510
1496
|
"save": {
|
|
1511
1497
|
"type": "object",
|
|
@@ -2660,40 +2646,22 @@
|
|
|
2660
2646
|
"$ref": "../util.json#/$defs/speed"
|
|
2661
2647
|
},
|
|
2662
2648
|
"str": {
|
|
2663
|
-
"
|
|
2664
|
-
"integer",
|
|
2665
|
-
"null"
|
|
2666
|
-
]
|
|
2649
|
+
"$ref": "#/$defs/abilityScore"
|
|
2667
2650
|
},
|
|
2668
2651
|
"dex": {
|
|
2669
|
-
"
|
|
2670
|
-
"integer",
|
|
2671
|
-
"null"
|
|
2672
|
-
]
|
|
2652
|
+
"$ref": "#/$defs/abilityScore"
|
|
2673
2653
|
},
|
|
2674
2654
|
"con": {
|
|
2675
|
-
"
|
|
2676
|
-
"integer",
|
|
2677
|
-
"null"
|
|
2678
|
-
]
|
|
2655
|
+
"$ref": "#/$defs/abilityScore"
|
|
2679
2656
|
},
|
|
2680
2657
|
"int": {
|
|
2681
|
-
"
|
|
2682
|
-
"integer",
|
|
2683
|
-
"null"
|
|
2684
|
-
]
|
|
2658
|
+
"$ref": "#/$defs/abilityScore"
|
|
2685
2659
|
},
|
|
2686
2660
|
"wis": {
|
|
2687
|
-
"
|
|
2688
|
-
"integer",
|
|
2689
|
-
"null"
|
|
2690
|
-
]
|
|
2661
|
+
"$ref": "#/$defs/abilityScore"
|
|
2691
2662
|
},
|
|
2692
2663
|
"cha": {
|
|
2693
|
-
"
|
|
2694
|
-
"integer",
|
|
2695
|
-
"null"
|
|
2696
|
-
]
|
|
2664
|
+
"$ref": "#/$defs/abilityScore"
|
|
2697
2665
|
},
|
|
2698
2666
|
"save": {
|
|
2699
2667
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.15",
|
|
4
4
|
"title": "Bestiary Schema",
|
|
5
5
|
"$id": "bestiary.json",
|
|
6
6
|
"type": "object",
|
|
@@ -88,6 +88,28 @@
|
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
|
+
"abilityScore": {
|
|
92
|
+
"oneOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": [
|
|
95
|
+
"integer",
|
|
96
|
+
"null"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"special": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"special"
|
|
108
|
+
],
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
91
113
|
"creatureData": {
|
|
92
114
|
"type": "object",
|
|
93
115
|
"properties": {
|
|
@@ -299,40 +321,22 @@
|
|
|
299
321
|
"$ref": "../util.json#/$defs/speed"
|
|
300
322
|
},
|
|
301
323
|
"str": {
|
|
302
|
-
"
|
|
303
|
-
"integer",
|
|
304
|
-
"null"
|
|
305
|
-
]
|
|
324
|
+
"$ref": "#/$defs/abilityScore"
|
|
306
325
|
},
|
|
307
326
|
"dex": {
|
|
308
|
-
"
|
|
309
|
-
"integer",
|
|
310
|
-
"null"
|
|
311
|
-
]
|
|
327
|
+
"$ref": "#/$defs/abilityScore"
|
|
312
328
|
},
|
|
313
329
|
"con": {
|
|
314
|
-
"
|
|
315
|
-
"integer",
|
|
316
|
-
"null"
|
|
317
|
-
]
|
|
330
|
+
"$ref": "#/$defs/abilityScore"
|
|
318
331
|
},
|
|
319
332
|
"int": {
|
|
320
|
-
"
|
|
321
|
-
"integer",
|
|
322
|
-
"null"
|
|
323
|
-
]
|
|
333
|
+
"$ref": "#/$defs/abilityScore"
|
|
324
334
|
},
|
|
325
335
|
"wis": {
|
|
326
|
-
"
|
|
327
|
-
"integer",
|
|
328
|
-
"null"
|
|
329
|
-
]
|
|
336
|
+
"$ref": "#/$defs/abilityScore"
|
|
330
337
|
},
|
|
331
338
|
"cha": {
|
|
332
|
-
"
|
|
333
|
-
"integer",
|
|
334
|
-
"null"
|
|
335
|
-
]
|
|
339
|
+
"$ref": "#/$defs/abilityScore"
|
|
336
340
|
},
|
|
337
341
|
"save": {
|
|
338
342
|
"type": "object",
|
|
@@ -1472,40 +1476,22 @@
|
|
|
1472
1476
|
"$ref": "../util.json#/$defs/speed"
|
|
1473
1477
|
},
|
|
1474
1478
|
"str": {
|
|
1475
|
-
"
|
|
1476
|
-
"integer",
|
|
1477
|
-
"null"
|
|
1478
|
-
]
|
|
1479
|
+
"$ref": "#/$defs/abilityScore"
|
|
1479
1480
|
},
|
|
1480
1481
|
"dex": {
|
|
1481
|
-
"
|
|
1482
|
-
"integer",
|
|
1483
|
-
"null"
|
|
1484
|
-
]
|
|
1482
|
+
"$ref": "#/$defs/abilityScore"
|
|
1485
1483
|
},
|
|
1486
1484
|
"con": {
|
|
1487
|
-
"
|
|
1488
|
-
"integer",
|
|
1489
|
-
"null"
|
|
1490
|
-
]
|
|
1485
|
+
"$ref": "#/$defs/abilityScore"
|
|
1491
1486
|
},
|
|
1492
1487
|
"int": {
|
|
1493
|
-
"
|
|
1494
|
-
"integer",
|
|
1495
|
-
"null"
|
|
1496
|
-
]
|
|
1488
|
+
"$ref": "#/$defs/abilityScore"
|
|
1497
1489
|
},
|
|
1498
1490
|
"wis": {
|
|
1499
|
-
"
|
|
1500
|
-
"integer",
|
|
1501
|
-
"null"
|
|
1502
|
-
]
|
|
1491
|
+
"$ref": "#/$defs/abilityScore"
|
|
1503
1492
|
},
|
|
1504
1493
|
"cha": {
|
|
1505
|
-
"
|
|
1506
|
-
"integer",
|
|
1507
|
-
"null"
|
|
1508
|
-
]
|
|
1494
|
+
"$ref": "#/$defs/abilityScore"
|
|
1509
1495
|
},
|
|
1510
1496
|
"save": {
|
|
1511
1497
|
"type": "object",
|
|
@@ -2660,40 +2646,22 @@
|
|
|
2660
2646
|
"$ref": "../util.json#/$defs/speed"
|
|
2661
2647
|
},
|
|
2662
2648
|
"str": {
|
|
2663
|
-
"
|
|
2664
|
-
"integer",
|
|
2665
|
-
"null"
|
|
2666
|
-
]
|
|
2649
|
+
"$ref": "#/$defs/abilityScore"
|
|
2667
2650
|
},
|
|
2668
2651
|
"dex": {
|
|
2669
|
-
"
|
|
2670
|
-
"integer",
|
|
2671
|
-
"null"
|
|
2672
|
-
]
|
|
2652
|
+
"$ref": "#/$defs/abilityScore"
|
|
2673
2653
|
},
|
|
2674
2654
|
"con": {
|
|
2675
|
-
"
|
|
2676
|
-
"integer",
|
|
2677
|
-
"null"
|
|
2678
|
-
]
|
|
2655
|
+
"$ref": "#/$defs/abilityScore"
|
|
2679
2656
|
},
|
|
2680
2657
|
"int": {
|
|
2681
|
-
"
|
|
2682
|
-
"integer",
|
|
2683
|
-
"null"
|
|
2684
|
-
]
|
|
2658
|
+
"$ref": "#/$defs/abilityScore"
|
|
2685
2659
|
},
|
|
2686
2660
|
"wis": {
|
|
2687
|
-
"
|
|
2688
|
-
"integer",
|
|
2689
|
-
"null"
|
|
2690
|
-
]
|
|
2661
|
+
"$ref": "#/$defs/abilityScore"
|
|
2691
2662
|
},
|
|
2692
2663
|
"cha": {
|
|
2693
|
-
"
|
|
2694
|
-
"integer",
|
|
2695
|
-
"null"
|
|
2696
|
-
]
|
|
2664
|
+
"$ref": "#/$defs/abilityScore"
|
|
2697
2665
|
},
|
|
2698
2666
|
"save": {
|
|
2699
2667
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.15",
|
|
4
4
|
"title": "Bestiary Schema",
|
|
5
5
|
"$id": "bestiary.json",
|
|
6
6
|
"type": "object",
|
|
@@ -88,6 +88,28 @@
|
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
|
+
"abilityScore": {
|
|
92
|
+
"oneOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": [
|
|
95
|
+
"integer",
|
|
96
|
+
"null"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"special": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"special"
|
|
108
|
+
],
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
91
113
|
"creatureData": {
|
|
92
114
|
"type": "object",
|
|
93
115
|
"properties": {
|
|
@@ -299,40 +321,22 @@
|
|
|
299
321
|
"$ref": "../util.json#/$defs/speed"
|
|
300
322
|
},
|
|
301
323
|
"str": {
|
|
302
|
-
"
|
|
303
|
-
"integer",
|
|
304
|
-
"null"
|
|
305
|
-
]
|
|
324
|
+
"$ref": "#/$defs/abilityScore"
|
|
306
325
|
},
|
|
307
326
|
"dex": {
|
|
308
|
-
"
|
|
309
|
-
"integer",
|
|
310
|
-
"null"
|
|
311
|
-
]
|
|
327
|
+
"$ref": "#/$defs/abilityScore"
|
|
312
328
|
},
|
|
313
329
|
"con": {
|
|
314
|
-
"
|
|
315
|
-
"integer",
|
|
316
|
-
"null"
|
|
317
|
-
]
|
|
330
|
+
"$ref": "#/$defs/abilityScore"
|
|
318
331
|
},
|
|
319
332
|
"int": {
|
|
320
|
-
"
|
|
321
|
-
"integer",
|
|
322
|
-
"null"
|
|
323
|
-
]
|
|
333
|
+
"$ref": "#/$defs/abilityScore"
|
|
324
334
|
},
|
|
325
335
|
"wis": {
|
|
326
|
-
"
|
|
327
|
-
"integer",
|
|
328
|
-
"null"
|
|
329
|
-
]
|
|
336
|
+
"$ref": "#/$defs/abilityScore"
|
|
330
337
|
},
|
|
331
338
|
"cha": {
|
|
332
|
-
"
|
|
333
|
-
"integer",
|
|
334
|
-
"null"
|
|
335
|
-
]
|
|
339
|
+
"$ref": "#/$defs/abilityScore"
|
|
336
340
|
},
|
|
337
341
|
"save": {
|
|
338
342
|
"type": "object",
|
|
@@ -1376,40 +1380,22 @@
|
|
|
1376
1380
|
"$ref": "../util.json#/$defs/speed"
|
|
1377
1381
|
},
|
|
1378
1382
|
"str": {
|
|
1379
|
-
"
|
|
1380
|
-
"integer",
|
|
1381
|
-
"null"
|
|
1382
|
-
]
|
|
1383
|
+
"$ref": "#/$defs/abilityScore"
|
|
1383
1384
|
},
|
|
1384
1385
|
"dex": {
|
|
1385
|
-
"
|
|
1386
|
-
"integer",
|
|
1387
|
-
"null"
|
|
1388
|
-
]
|
|
1386
|
+
"$ref": "#/$defs/abilityScore"
|
|
1389
1387
|
},
|
|
1390
1388
|
"con": {
|
|
1391
|
-
"
|
|
1392
|
-
"integer",
|
|
1393
|
-
"null"
|
|
1394
|
-
]
|
|
1389
|
+
"$ref": "#/$defs/abilityScore"
|
|
1395
1390
|
},
|
|
1396
1391
|
"int": {
|
|
1397
|
-
"
|
|
1398
|
-
"integer",
|
|
1399
|
-
"null"
|
|
1400
|
-
]
|
|
1392
|
+
"$ref": "#/$defs/abilityScore"
|
|
1401
1393
|
},
|
|
1402
1394
|
"wis": {
|
|
1403
|
-
"
|
|
1404
|
-
"integer",
|
|
1405
|
-
"null"
|
|
1406
|
-
]
|
|
1395
|
+
"$ref": "#/$defs/abilityScore"
|
|
1407
1396
|
},
|
|
1408
1397
|
"cha": {
|
|
1409
|
-
"
|
|
1410
|
-
"integer",
|
|
1411
|
-
"null"
|
|
1412
|
-
]
|
|
1398
|
+
"$ref": "#/$defs/abilityScore"
|
|
1413
1399
|
},
|
|
1414
1400
|
"save": {
|
|
1415
1401
|
"type": "object",
|
|
@@ -2468,40 +2454,22 @@
|
|
|
2468
2454
|
"$ref": "../util.json#/$defs/speed"
|
|
2469
2455
|
},
|
|
2470
2456
|
"str": {
|
|
2471
|
-
"
|
|
2472
|
-
"integer",
|
|
2473
|
-
"null"
|
|
2474
|
-
]
|
|
2457
|
+
"$ref": "#/$defs/abilityScore"
|
|
2475
2458
|
},
|
|
2476
2459
|
"dex": {
|
|
2477
|
-
"
|
|
2478
|
-
"integer",
|
|
2479
|
-
"null"
|
|
2480
|
-
]
|
|
2460
|
+
"$ref": "#/$defs/abilityScore"
|
|
2481
2461
|
},
|
|
2482
2462
|
"con": {
|
|
2483
|
-
"
|
|
2484
|
-
"integer",
|
|
2485
|
-
"null"
|
|
2486
|
-
]
|
|
2463
|
+
"$ref": "#/$defs/abilityScore"
|
|
2487
2464
|
},
|
|
2488
2465
|
"int": {
|
|
2489
|
-
"
|
|
2490
|
-
"integer",
|
|
2491
|
-
"null"
|
|
2492
|
-
]
|
|
2466
|
+
"$ref": "#/$defs/abilityScore"
|
|
2493
2467
|
},
|
|
2494
2468
|
"wis": {
|
|
2495
|
-
"
|
|
2496
|
-
"integer",
|
|
2497
|
-
"null"
|
|
2498
|
-
]
|
|
2469
|
+
"$ref": "#/$defs/abilityScore"
|
|
2499
2470
|
},
|
|
2500
2471
|
"cha": {
|
|
2501
|
-
"
|
|
2502
|
-
"integer",
|
|
2503
|
-
"null"
|
|
2504
|
-
]
|
|
2472
|
+
"$ref": "#/$defs/abilityScore"
|
|
2505
2473
|
},
|
|
2506
2474
|
"save": {
|
|
2507
2475
|
"type": "object",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.15",
|
|
4
4
|
"title": "Bestiary Schema",
|
|
5
5
|
"$id": "bestiary.json",
|
|
6
6
|
"type": "object",
|
|
@@ -88,6 +88,28 @@
|
|
|
88
88
|
}
|
|
89
89
|
]
|
|
90
90
|
},
|
|
91
|
+
"abilityScore": {
|
|
92
|
+
"oneOf": [
|
|
93
|
+
{
|
|
94
|
+
"type": [
|
|
95
|
+
"integer",
|
|
96
|
+
"null"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "object",
|
|
101
|
+
"properties": {
|
|
102
|
+
"special": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
"required": [
|
|
107
|
+
"special"
|
|
108
|
+
],
|
|
109
|
+
"additionalProperties": false
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
},
|
|
91
113
|
"creatureData": {
|
|
92
114
|
"type": "object",
|
|
93
115
|
"properties": {
|
|
@@ -299,40 +321,22 @@
|
|
|
299
321
|
"$ref": "../util.json#/$defs/speed"
|
|
300
322
|
},
|
|
301
323
|
"str": {
|
|
302
|
-
"
|
|
303
|
-
"integer",
|
|
304
|
-
"null"
|
|
305
|
-
]
|
|
324
|
+
"$ref": "#/$defs/abilityScore"
|
|
306
325
|
},
|
|
307
326
|
"dex": {
|
|
308
|
-
"
|
|
309
|
-
"integer",
|
|
310
|
-
"null"
|
|
311
|
-
]
|
|
327
|
+
"$ref": "#/$defs/abilityScore"
|
|
312
328
|
},
|
|
313
329
|
"con": {
|
|
314
|
-
"
|
|
315
|
-
"integer",
|
|
316
|
-
"null"
|
|
317
|
-
]
|
|
330
|
+
"$ref": "#/$defs/abilityScore"
|
|
318
331
|
},
|
|
319
332
|
"int": {
|
|
320
|
-
"
|
|
321
|
-
"integer",
|
|
322
|
-
"null"
|
|
323
|
-
]
|
|
333
|
+
"$ref": "#/$defs/abilityScore"
|
|
324
334
|
},
|
|
325
335
|
"wis": {
|
|
326
|
-
"
|
|
327
|
-
"integer",
|
|
328
|
-
"null"
|
|
329
|
-
]
|
|
336
|
+
"$ref": "#/$defs/abilityScore"
|
|
330
337
|
},
|
|
331
338
|
"cha": {
|
|
332
|
-
"
|
|
333
|
-
"integer",
|
|
334
|
-
"null"
|
|
335
|
-
]
|
|
339
|
+
"$ref": "#/$defs/abilityScore"
|
|
336
340
|
},
|
|
337
341
|
"save": {
|
|
338
342
|
"type": "object",
|
|
@@ -1376,40 +1380,22 @@
|
|
|
1376
1380
|
"$ref": "../util.json#/$defs/speed"
|
|
1377
1381
|
},
|
|
1378
1382
|
"str": {
|
|
1379
|
-
"
|
|
1380
|
-
"integer",
|
|
1381
|
-
"null"
|
|
1382
|
-
]
|
|
1383
|
+
"$ref": "#/$defs/abilityScore"
|
|
1383
1384
|
},
|
|
1384
1385
|
"dex": {
|
|
1385
|
-
"
|
|
1386
|
-
"integer",
|
|
1387
|
-
"null"
|
|
1388
|
-
]
|
|
1386
|
+
"$ref": "#/$defs/abilityScore"
|
|
1389
1387
|
},
|
|
1390
1388
|
"con": {
|
|
1391
|
-
"
|
|
1392
|
-
"integer",
|
|
1393
|
-
"null"
|
|
1394
|
-
]
|
|
1389
|
+
"$ref": "#/$defs/abilityScore"
|
|
1395
1390
|
},
|
|
1396
1391
|
"int": {
|
|
1397
|
-
"
|
|
1398
|
-
"integer",
|
|
1399
|
-
"null"
|
|
1400
|
-
]
|
|
1392
|
+
"$ref": "#/$defs/abilityScore"
|
|
1401
1393
|
},
|
|
1402
1394
|
"wis": {
|
|
1403
|
-
"
|
|
1404
|
-
"integer",
|
|
1405
|
-
"null"
|
|
1406
|
-
]
|
|
1395
|
+
"$ref": "#/$defs/abilityScore"
|
|
1407
1396
|
},
|
|
1408
1397
|
"cha": {
|
|
1409
|
-
"
|
|
1410
|
-
"integer",
|
|
1411
|
-
"null"
|
|
1412
|
-
]
|
|
1398
|
+
"$ref": "#/$defs/abilityScore"
|
|
1413
1399
|
},
|
|
1414
1400
|
"save": {
|
|
1415
1401
|
"type": "object",
|
|
@@ -2468,40 +2454,22 @@
|
|
|
2468
2454
|
"$ref": "../util.json#/$defs/speed"
|
|
2469
2455
|
},
|
|
2470
2456
|
"str": {
|
|
2471
|
-
"
|
|
2472
|
-
"integer",
|
|
2473
|
-
"null"
|
|
2474
|
-
]
|
|
2457
|
+
"$ref": "#/$defs/abilityScore"
|
|
2475
2458
|
},
|
|
2476
2459
|
"dex": {
|
|
2477
|
-
"
|
|
2478
|
-
"integer",
|
|
2479
|
-
"null"
|
|
2480
|
-
]
|
|
2460
|
+
"$ref": "#/$defs/abilityScore"
|
|
2481
2461
|
},
|
|
2482
2462
|
"con": {
|
|
2483
|
-
"
|
|
2484
|
-
"integer",
|
|
2485
|
-
"null"
|
|
2486
|
-
]
|
|
2463
|
+
"$ref": "#/$defs/abilityScore"
|
|
2487
2464
|
},
|
|
2488
2465
|
"int": {
|
|
2489
|
-
"
|
|
2490
|
-
"integer",
|
|
2491
|
-
"null"
|
|
2492
|
-
]
|
|
2466
|
+
"$ref": "#/$defs/abilityScore"
|
|
2493
2467
|
},
|
|
2494
2468
|
"wis": {
|
|
2495
|
-
"
|
|
2496
|
-
"integer",
|
|
2497
|
-
"null"
|
|
2498
|
-
]
|
|
2469
|
+
"$ref": "#/$defs/abilityScore"
|
|
2499
2470
|
},
|
|
2500
2471
|
"cha": {
|
|
2501
|
-
"
|
|
2502
|
-
"integer",
|
|
2503
|
-
"null"
|
|
2504
|
-
]
|
|
2472
|
+
"$ref": "#/$defs/abilityScore"
|
|
2505
2473
|
},
|
|
2506
2474
|
"save": {
|
|
2507
2475
|
"type": "object",
|