5etools-utils 0.12.26 → 0.12.28

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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/bestiary/bestiary.json +82 -1
  3. package/schema/brew/class/class.json +4 -35
  4. package/schema/brew/entry.json +2 -18
  5. package/schema/brew/skills.json +4 -1
  6. package/schema/brew/util.json +14 -25
  7. package/schema/brew/variantrules.json +3 -2
  8. package/schema/brew-fast/bestiary/bestiary.json +82 -1
  9. package/schema/brew-fast/class/class.json +4 -35
  10. package/schema/brew-fast/entry.json +2 -18
  11. package/schema/brew-fast/skills.json +4 -1
  12. package/schema/brew-fast/util.json +14 -25
  13. package/schema/brew-fast/variantrules.json +3 -2
  14. package/schema/site/bestiary/bestiary.json +82 -1
  15. package/schema/site/class/class.json +4 -35
  16. package/schema/site/entry.json +2 -18
  17. package/schema/site/skills.json +4 -1
  18. package/schema/site/util.json +14 -25
  19. package/schema/site/variantrules.json +3 -2
  20. package/schema/site-fast/bestiary/bestiary.json +82 -1
  21. package/schema/site-fast/class/class.json +4 -35
  22. package/schema/site-fast/entry.json +2 -18
  23. package/schema/site-fast/skills.json +4 -1
  24. package/schema/site-fast/util.json +14 -25
  25. package/schema/site-fast/variantrules.json +3 -2
  26. package/schema/ua/bestiary/bestiary.json +82 -1
  27. package/schema/ua/class/class.json +4 -35
  28. package/schema/ua/entry.json +2 -18
  29. package/schema/ua/skills.json +4 -1
  30. package/schema/ua/util.json +14 -25
  31. package/schema/ua/variantrules.json +3 -2
  32. package/schema/ua-fast/bestiary/bestiary.json +82 -1
  33. package/schema/ua-fast/class/class.json +4 -35
  34. package/schema/ua-fast/entry.json +2 -18
  35. package/schema/ua-fast/skills.json +4 -1
  36. package/schema/ua-fast/util.json +14 -25
  37. package/schema/ua-fast/variantrules.json +3 -2
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.32",
3
+ "version": "1.21.33",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -323,6 +323,33 @@
323
323
  "speed": {
324
324
  "$ref": "../util.json#/$defs/speed"
325
325
  },
326
+ "initiative": {
327
+ "oneOf": [
328
+ {
329
+ "type": "object",
330
+ "properties": {
331
+ "initiative": {
332
+ "type": "number"
333
+ },
334
+ "proficient": {
335
+ "const": true
336
+ },
337
+ "advantageMode": {
338
+ "type": "string",
339
+ "enum": [
340
+ "adv",
341
+ "dis"
342
+ ]
343
+ }
344
+ },
345
+ "minProperties": 1,
346
+ "additionalProperties": false
347
+ },
348
+ {
349
+ "type": "number"
350
+ }
351
+ ]
352
+ },
326
353
  "str": {
327
354
  "$ref": "#/$defs/abilityScore"
328
355
  },
@@ -1402,6 +1429,33 @@
1402
1429
  "speed": {
1403
1430
  "$ref": "../util.json#/$defs/speed"
1404
1431
  },
1432
+ "initiative": {
1433
+ "oneOf": [
1434
+ {
1435
+ "type": "object",
1436
+ "properties": {
1437
+ "initiative": {
1438
+ "type": "number"
1439
+ },
1440
+ "proficient": {
1441
+ "const": true
1442
+ },
1443
+ "advantageMode": {
1444
+ "type": "string",
1445
+ "enum": [
1446
+ "adv",
1447
+ "dis"
1448
+ ]
1449
+ }
1450
+ },
1451
+ "minProperties": 1,
1452
+ "additionalProperties": false
1453
+ },
1454
+ {
1455
+ "type": "number"
1456
+ }
1457
+ ]
1458
+ },
1405
1459
  "str": {
1406
1460
  "$ref": "#/$defs/abilityScore"
1407
1461
  },
@@ -2486,6 +2540,33 @@
2486
2540
  "speed": {
2487
2541
  "$ref": "../util.json#/$defs/speed"
2488
2542
  },
2543
+ "initiative": {
2544
+ "oneOf": [
2545
+ {
2546
+ "type": "object",
2547
+ "properties": {
2548
+ "initiative": {
2549
+ "type": "number"
2550
+ },
2551
+ "proficient": {
2552
+ "const": true
2553
+ },
2554
+ "advantageMode": {
2555
+ "type": "string",
2556
+ "enum": [
2557
+ "adv",
2558
+ "dis"
2559
+ ]
2560
+ }
2561
+ },
2562
+ "minProperties": 1,
2563
+ "additionalProperties": false
2564
+ },
2565
+ {
2566
+ "type": "number"
2567
+ }
2568
+ ]
2569
+ },
2489
2570
  "str": {
2490
2571
  "$ref": "#/$defs/abilityScore"
2491
2572
  },
@@ -102,14 +102,7 @@
102
102
  ]
103
103
  },
104
104
  "spellcastingAbility": {
105
- "enum": [
106
- "str",
107
- "dex",
108
- "con",
109
- "int",
110
- "wis",
111
- "cha"
112
- ]
105
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
113
106
  },
114
107
  "cantripProgression": {
115
108
  "type": "array",
@@ -902,15 +895,7 @@
902
895
  "proficiency": {
903
896
  "type": "array",
904
897
  "items": {
905
- "type": "string",
906
- "enum": [
907
- "str",
908
- "dex",
909
- "con",
910
- "int",
911
- "wis",
912
- "cha"
913
- ]
898
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
914
899
  }
915
900
  },
916
901
  "classTableGroups": {
@@ -1144,15 +1129,7 @@
1144
1129
  "proficiency": {
1145
1130
  "type": "array",
1146
1131
  "items": {
1147
- "type": "string",
1148
- "enum": [
1149
- "str",
1150
- "dex",
1151
- "con",
1152
- "int",
1153
- "wis",
1154
- "cha"
1155
- ]
1132
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1156
1133
  }
1157
1134
  },
1158
1135
  "classTableGroups": {
@@ -1389,15 +1366,7 @@
1389
1366
  "proficiency": {
1390
1367
  "type": "array",
1391
1368
  "items": {
1392
- "type": "string",
1393
- "enum": [
1394
- "str",
1395
- "dex",
1396
- "con",
1397
- "int",
1398
- "wis",
1399
- "cha"
1400
- ]
1369
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1401
1370
  }
1402
1371
  },
1403
1372
  "classTableGroups": {
@@ -1148,15 +1148,7 @@
1148
1148
  "attributes": {
1149
1149
  "type": "array",
1150
1150
  "items": {
1151
- "type": "string",
1152
- "enum": [
1153
- "str",
1154
- "dex",
1155
- "con",
1156
- "int",
1157
- "wis",
1158
- "cha"
1159
- ]
1151
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1160
1152
  }
1161
1153
  }
1162
1154
  },
@@ -3379,15 +3371,7 @@
3379
3371
  }
3380
3372
  },
3381
3373
  "ability": {
3382
- "type": "string",
3383
- "enum": [
3384
- "str",
3385
- "dex",
3386
- "con",
3387
- "int",
3388
- "wis",
3389
- "cha"
3390
- ]
3374
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
3391
3375
  },
3392
3376
  "displayAs": {
3393
3377
  "description": "Implicitly \"trait\"",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "skills.json",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "skill": {
@@ -22,6 +22,9 @@
22
22
  "basicRules": {
23
23
  "$ref": "util.json#/$defs/basicRules"
24
24
  },
25
+ "ability": {
26
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
27
+ },
25
28
  "entries": {
26
29
  "type": "array",
27
30
  "items": {
@@ -202,6 +202,17 @@
202
202
  "subclass"
203
203
  ]
204
204
  },
205
+ "abilityScoreAbbreviation": {
206
+ "type": "string",
207
+ "enum": [
208
+ "str",
209
+ "dex",
210
+ "con",
211
+ "int",
212
+ "wis",
213
+ "cha"
214
+ ]
215
+ },
205
216
  "languageNameLower": {
206
217
  "type": "string",
207
218
  "enum": [
@@ -1517,14 +1528,7 @@
1517
1528
  "from": {
1518
1529
  "type": "array",
1519
1530
  "items": {
1520
- "enum": [
1521
- "str",
1522
- "dex",
1523
- "con",
1524
- "int",
1525
- "wis",
1526
- "cha"
1527
- ]
1531
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1528
1532
  },
1529
1533
  "uniqueItems": true,
1530
1534
  "minItems": 1
@@ -1553,14 +1557,7 @@
1553
1557
  "from": {
1554
1558
  "type": "array",
1555
1559
  "items": {
1556
- "enum": [
1557
- "str",
1558
- "dex",
1559
- "con",
1560
- "int",
1561
- "wis",
1562
- "cha"
1563
- ]
1560
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1564
1561
  },
1565
1562
  "uniqueItems": true,
1566
1563
  "minItems": 1
@@ -3154,15 +3151,7 @@
3154
3151
  "choose": {
3155
3152
  "type": "array",
3156
3153
  "items": {
3157
- "type": "string",
3158
- "enum": [
3159
- "str",
3160
- "dex",
3161
- "con",
3162
- "int",
3163
- "wis",
3164
- "cha"
3165
- ]
3154
+ "$ref": "#/$defs/abilityScoreAbbreviation"
3166
3155
  },
3167
3156
  "uniqueItems": true
3168
3157
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "variantrules.json",
4
- "version": "1.1.6",
4
+ "version": "1.1.7",
5
5
  "title": "RulesArray",
6
6
  "type": "object",
7
7
  "properties": {
@@ -41,9 +41,10 @@
41
41
  "$ref": "util.json#/$defs/page"
42
42
  },
43
43
  "ruleType": {
44
- "description": "O: Optional\n P: Prerelease\n V: Variant\n VO: Variant Optional\n VV: Variant Variant",
44
+ "description": "C: Core\n O: Optional\n P: Prerelease\n V: Variant\n VO: Variant Optional\n VV: Variant Variant",
45
45
  "type": "string",
46
46
  "enum": [
47
+ "C",
47
48
  "O",
48
49
  "V",
49
50
  "VO",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.32",
3
+ "version": "1.21.33",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -323,6 +323,33 @@
323
323
  "speed": {
324
324
  "$ref": "../util.json#/$defs/speed"
325
325
  },
326
+ "initiative": {
327
+ "oneOf": [
328
+ {
329
+ "type": "object",
330
+ "properties": {
331
+ "initiative": {
332
+ "type": "number"
333
+ },
334
+ "proficient": {
335
+ "const": true
336
+ },
337
+ "advantageMode": {
338
+ "type": "string",
339
+ "enum": [
340
+ "adv",
341
+ "dis"
342
+ ]
343
+ }
344
+ },
345
+ "minProperties": 1,
346
+ "additionalProperties": false
347
+ },
348
+ {
349
+ "type": "number"
350
+ }
351
+ ]
352
+ },
326
353
  "str": {
327
354
  "$ref": "#/$defs/abilityScore"
328
355
  },
@@ -1402,6 +1429,33 @@
1402
1429
  "speed": {
1403
1430
  "$ref": "../util.json#/$defs/speed"
1404
1431
  },
1432
+ "initiative": {
1433
+ "oneOf": [
1434
+ {
1435
+ "type": "object",
1436
+ "properties": {
1437
+ "initiative": {
1438
+ "type": "number"
1439
+ },
1440
+ "proficient": {
1441
+ "const": true
1442
+ },
1443
+ "advantageMode": {
1444
+ "type": "string",
1445
+ "enum": [
1446
+ "adv",
1447
+ "dis"
1448
+ ]
1449
+ }
1450
+ },
1451
+ "minProperties": 1,
1452
+ "additionalProperties": false
1453
+ },
1454
+ {
1455
+ "type": "number"
1456
+ }
1457
+ ]
1458
+ },
1405
1459
  "str": {
1406
1460
  "$ref": "#/$defs/abilityScore"
1407
1461
  },
@@ -2486,6 +2540,33 @@
2486
2540
  "speed": {
2487
2541
  "$ref": "../util.json#/$defs/speed"
2488
2542
  },
2543
+ "initiative": {
2544
+ "oneOf": [
2545
+ {
2546
+ "type": "object",
2547
+ "properties": {
2548
+ "initiative": {
2549
+ "type": "number"
2550
+ },
2551
+ "proficient": {
2552
+ "const": true
2553
+ },
2554
+ "advantageMode": {
2555
+ "type": "string",
2556
+ "enum": [
2557
+ "adv",
2558
+ "dis"
2559
+ ]
2560
+ }
2561
+ },
2562
+ "minProperties": 1,
2563
+ "additionalProperties": false
2564
+ },
2565
+ {
2566
+ "type": "number"
2567
+ }
2568
+ ]
2569
+ },
2489
2570
  "str": {
2490
2571
  "$ref": "#/$defs/abilityScore"
2491
2572
  },
@@ -102,14 +102,7 @@
102
102
  ]
103
103
  },
104
104
  "spellcastingAbility": {
105
- "enum": [
106
- "str",
107
- "dex",
108
- "con",
109
- "int",
110
- "wis",
111
- "cha"
112
- ]
105
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
113
106
  },
114
107
  "cantripProgression": {
115
108
  "type": "array",
@@ -902,15 +895,7 @@
902
895
  "proficiency": {
903
896
  "type": "array",
904
897
  "items": {
905
- "type": "string",
906
- "enum": [
907
- "str",
908
- "dex",
909
- "con",
910
- "int",
911
- "wis",
912
- "cha"
913
- ]
898
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
914
899
  }
915
900
  },
916
901
  "classTableGroups": {
@@ -1144,15 +1129,7 @@
1144
1129
  "proficiency": {
1145
1130
  "type": "array",
1146
1131
  "items": {
1147
- "type": "string",
1148
- "enum": [
1149
- "str",
1150
- "dex",
1151
- "con",
1152
- "int",
1153
- "wis",
1154
- "cha"
1155
- ]
1132
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1156
1133
  }
1157
1134
  },
1158
1135
  "classTableGroups": {
@@ -1389,15 +1366,7 @@
1389
1366
  "proficiency": {
1390
1367
  "type": "array",
1391
1368
  "items": {
1392
- "type": "string",
1393
- "enum": [
1394
- "str",
1395
- "dex",
1396
- "con",
1397
- "int",
1398
- "wis",
1399
- "cha"
1400
- ]
1369
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1401
1370
  }
1402
1371
  },
1403
1372
  "classTableGroups": {
@@ -1148,15 +1148,7 @@
1148
1148
  "attributes": {
1149
1149
  "type": "array",
1150
1150
  "items": {
1151
- "type": "string",
1152
- "enum": [
1153
- "str",
1154
- "dex",
1155
- "con",
1156
- "int",
1157
- "wis",
1158
- "cha"
1159
- ]
1151
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1160
1152
  }
1161
1153
  }
1162
1154
  },
@@ -3379,15 +3371,7 @@
3379
3371
  }
3380
3372
  },
3381
3373
  "ability": {
3382
- "type": "string",
3383
- "enum": [
3384
- "str",
3385
- "dex",
3386
- "con",
3387
- "int",
3388
- "wis",
3389
- "cha"
3390
- ]
3374
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
3391
3375
  },
3392
3376
  "displayAs": {
3393
3377
  "description": "Implicitly \"trait\"",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "skills.json",
4
- "version": "1.0.1",
4
+ "version": "1.0.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "skill": {
@@ -22,6 +22,9 @@
22
22
  "basicRules": {
23
23
  "$ref": "util.json#/$defs/basicRules"
24
24
  },
25
+ "ability": {
26
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
27
+ },
25
28
  "entries": {
26
29
  "type": "array",
27
30
  "items": {
@@ -202,6 +202,17 @@
202
202
  "subclass"
203
203
  ]
204
204
  },
205
+ "abilityScoreAbbreviation": {
206
+ "type": "string",
207
+ "enum": [
208
+ "str",
209
+ "dex",
210
+ "con",
211
+ "int",
212
+ "wis",
213
+ "cha"
214
+ ]
215
+ },
205
216
  "languageNameLower": {
206
217
  "type": "string",
207
218
  "enum": [
@@ -1517,14 +1528,7 @@
1517
1528
  "from": {
1518
1529
  "type": "array",
1519
1530
  "items": {
1520
- "enum": [
1521
- "str",
1522
- "dex",
1523
- "con",
1524
- "int",
1525
- "wis",
1526
- "cha"
1527
- ]
1531
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1528
1532
  },
1529
1533
  "uniqueItems": true,
1530
1534
  "minItems": 1
@@ -1553,14 +1557,7 @@
1553
1557
  "from": {
1554
1558
  "type": "array",
1555
1559
  "items": {
1556
- "enum": [
1557
- "str",
1558
- "dex",
1559
- "con",
1560
- "int",
1561
- "wis",
1562
- "cha"
1563
- ]
1560
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1564
1561
  },
1565
1562
  "uniqueItems": true,
1566
1563
  "minItems": 1
@@ -3154,15 +3151,7 @@
3154
3151
  "choose": {
3155
3152
  "type": "array",
3156
3153
  "items": {
3157
- "type": "string",
3158
- "enum": [
3159
- "str",
3160
- "dex",
3161
- "con",
3162
- "int",
3163
- "wis",
3164
- "cha"
3165
- ]
3154
+ "$ref": "#/$defs/abilityScoreAbbreviation"
3166
3155
  },
3167
3156
  "uniqueItems": true
3168
3157
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "variantrules.json",
4
- "version": "1.1.6",
4
+ "version": "1.1.7",
5
5
  "title": "RulesArray",
6
6
  "type": "object",
7
7
  "properties": {
@@ -41,9 +41,10 @@
41
41
  "$ref": "util.json#/$defs/page"
42
42
  },
43
43
  "ruleType": {
44
- "description": "O: Optional\n P: Prerelease\n V: Variant\n VO: Variant Optional\n VV: Variant Variant",
44
+ "description": "C: Core\n O: Optional\n P: Prerelease\n V: Variant\n VO: Variant Optional\n VV: Variant Variant",
45
45
  "type": "string",
46
46
  "enum": [
47
+ "C",
47
48
  "O",
48
49
  "V",
49
50
  "VO",