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
  },
@@ -1411,6 +1438,33 @@
1411
1438
  "speed": {
1412
1439
  "$ref": "../util.json#/$defs/speed"
1413
1440
  },
1441
+ "initiative": {
1442
+ "oneOf": [
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "initiative": {
1447
+ "type": "number"
1448
+ },
1449
+ "proficient": {
1450
+ "const": true
1451
+ },
1452
+ "advantageMode": {
1453
+ "type": "string",
1454
+ "enum": [
1455
+ "adv",
1456
+ "dis"
1457
+ ]
1458
+ }
1459
+ },
1460
+ "minProperties": 1,
1461
+ "additionalProperties": false
1462
+ },
1463
+ {
1464
+ "type": "number"
1465
+ }
1466
+ ]
1467
+ },
1414
1468
  "str": {
1415
1469
  "$ref": "#/$defs/abilityScore"
1416
1470
  },
@@ -2504,6 +2558,33 @@
2504
2558
  "speed": {
2505
2559
  "$ref": "../util.json#/$defs/speed"
2506
2560
  },
2561
+ "initiative": {
2562
+ "oneOf": [
2563
+ {
2564
+ "type": "object",
2565
+ "properties": {
2566
+ "initiative": {
2567
+ "type": "number"
2568
+ },
2569
+ "proficient": {
2570
+ "const": true
2571
+ },
2572
+ "advantageMode": {
2573
+ "type": "string",
2574
+ "enum": [
2575
+ "adv",
2576
+ "dis"
2577
+ ]
2578
+ }
2579
+ },
2580
+ "minProperties": 1,
2581
+ "additionalProperties": false
2582
+ },
2583
+ {
2584
+ "type": "number"
2585
+ }
2586
+ ]
2587
+ },
2507
2588
  "str": {
2508
2589
  "$ref": "#/$defs/abilityScore"
2509
2590
  },
@@ -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",
@@ -974,15 +967,7 @@
974
967
  "proficiency": {
975
968
  "type": "array",
976
969
  "items": {
977
- "type": "string",
978
- "enum": [
979
- "str",
980
- "dex",
981
- "con",
982
- "int",
983
- "wis",
984
- "cha"
985
- ]
970
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
986
971
  }
987
972
  },
988
973
  "classTableGroups": {
@@ -1225,15 +1210,7 @@
1225
1210
  "proficiency": {
1226
1211
  "type": "array",
1227
1212
  "items": {
1228
- "type": "string",
1229
- "enum": [
1230
- "str",
1231
- "dex",
1232
- "con",
1233
- "int",
1234
- "wis",
1235
- "cha"
1236
- ]
1213
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1237
1214
  }
1238
1215
  },
1239
1216
  "classTableGroups": {
@@ -1479,15 +1456,7 @@
1479
1456
  "proficiency": {
1480
1457
  "type": "array",
1481
1458
  "items": {
1482
- "type": "string",
1483
- "enum": [
1484
- "str",
1485
- "dex",
1486
- "con",
1487
- "int",
1488
- "wis",
1489
- "cha"
1490
- ]
1459
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1491
1460
  }
1492
1461
  },
1493
1462
  "classTableGroups": {
@@ -1147,15 +1147,7 @@
1147
1147
  "attributes": {
1148
1148
  "type": "array",
1149
1149
  "items": {
1150
- "type": "string",
1151
- "enum": [
1152
- "str",
1153
- "dex",
1154
- "con",
1155
- "int",
1156
- "wis",
1157
- "cha"
1158
- ]
1150
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1159
1151
  }
1160
1152
  }
1161
1153
  },
@@ -3378,15 +3370,7 @@
3378
3370
  }
3379
3371
  },
3380
3372
  "ability": {
3381
- "type": "string",
3382
- "enum": [
3383
- "str",
3384
- "dex",
3385
- "con",
3386
- "int",
3387
- "wis",
3388
- "cha"
3389
- ]
3373
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
3390
3374
  },
3391
3375
  "displayAs": {
3392
3376
  "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": {
@@ -213,6 +213,17 @@
213
213
  "subclass"
214
214
  ]
215
215
  },
216
+ "abilityScoreAbbreviation": {
217
+ "type": "string",
218
+ "enum": [
219
+ "str",
220
+ "dex",
221
+ "con",
222
+ "int",
223
+ "wis",
224
+ "cha"
225
+ ]
226
+ },
216
227
  "languageNameLower": {
217
228
  "type": "string",
218
229
  "enum": [
@@ -1528,14 +1539,7 @@
1528
1539
  "from": {
1529
1540
  "type": "array",
1530
1541
  "items": {
1531
- "enum": [
1532
- "str",
1533
- "dex",
1534
- "con",
1535
- "int",
1536
- "wis",
1537
- "cha"
1538
- ]
1542
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1539
1543
  },
1540
1544
  "uniqueItems": true,
1541
1545
  "minItems": 1
@@ -1564,14 +1568,7 @@
1564
1568
  "from": {
1565
1569
  "type": "array",
1566
1570
  "items": {
1567
- "enum": [
1568
- "str",
1569
- "dex",
1570
- "con",
1571
- "int",
1572
- "wis",
1573
- "cha"
1574
- ]
1571
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1575
1572
  },
1576
1573
  "uniqueItems": true,
1577
1574
  "minItems": 1
@@ -3165,15 +3162,7 @@
3165
3162
  "choose": {
3166
3163
  "type": "array",
3167
3164
  "items": {
3168
- "type": "string",
3169
- "enum": [
3170
- "str",
3171
- "dex",
3172
- "con",
3173
- "int",
3174
- "wis",
3175
- "cha"
3176
- ]
3165
+ "$ref": "#/$defs/abilityScoreAbbreviation"
3177
3166
  },
3178
3167
  "uniqueItems": true
3179
3168
  }
@@ -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
  "P",
49
50
  "V",
@@ -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
  },
@@ -1411,6 +1438,33 @@
1411
1438
  "speed": {
1412
1439
  "$ref": "../util.json#/$defs/speed"
1413
1440
  },
1441
+ "initiative": {
1442
+ "oneOf": [
1443
+ {
1444
+ "type": "object",
1445
+ "properties": {
1446
+ "initiative": {
1447
+ "type": "number"
1448
+ },
1449
+ "proficient": {
1450
+ "const": true
1451
+ },
1452
+ "advantageMode": {
1453
+ "type": "string",
1454
+ "enum": [
1455
+ "adv",
1456
+ "dis"
1457
+ ]
1458
+ }
1459
+ },
1460
+ "minProperties": 1,
1461
+ "additionalProperties": false
1462
+ },
1463
+ {
1464
+ "type": "number"
1465
+ }
1466
+ ]
1467
+ },
1414
1468
  "str": {
1415
1469
  "$ref": "#/$defs/abilityScore"
1416
1470
  },
@@ -2504,6 +2558,33 @@
2504
2558
  "speed": {
2505
2559
  "$ref": "../util.json#/$defs/speed"
2506
2560
  },
2561
+ "initiative": {
2562
+ "oneOf": [
2563
+ {
2564
+ "type": "object",
2565
+ "properties": {
2566
+ "initiative": {
2567
+ "type": "number"
2568
+ },
2569
+ "proficient": {
2570
+ "const": true
2571
+ },
2572
+ "advantageMode": {
2573
+ "type": "string",
2574
+ "enum": [
2575
+ "adv",
2576
+ "dis"
2577
+ ]
2578
+ }
2579
+ },
2580
+ "minProperties": 1,
2581
+ "additionalProperties": false
2582
+ },
2583
+ {
2584
+ "type": "number"
2585
+ }
2586
+ ]
2587
+ },
2507
2588
  "str": {
2508
2589
  "$ref": "#/$defs/abilityScore"
2509
2590
  },
@@ -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",
@@ -974,15 +967,7 @@
974
967
  "proficiency": {
975
968
  "type": "array",
976
969
  "items": {
977
- "type": "string",
978
- "enum": [
979
- "str",
980
- "dex",
981
- "con",
982
- "int",
983
- "wis",
984
- "cha"
985
- ]
970
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
986
971
  }
987
972
  },
988
973
  "classTableGroups": {
@@ -1225,15 +1210,7 @@
1225
1210
  "proficiency": {
1226
1211
  "type": "array",
1227
1212
  "items": {
1228
- "type": "string",
1229
- "enum": [
1230
- "str",
1231
- "dex",
1232
- "con",
1233
- "int",
1234
- "wis",
1235
- "cha"
1236
- ]
1213
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1237
1214
  }
1238
1215
  },
1239
1216
  "classTableGroups": {
@@ -1479,15 +1456,7 @@
1479
1456
  "proficiency": {
1480
1457
  "type": "array",
1481
1458
  "items": {
1482
- "type": "string",
1483
- "enum": [
1484
- "str",
1485
- "dex",
1486
- "con",
1487
- "int",
1488
- "wis",
1489
- "cha"
1490
- ]
1459
+ "$ref": "../util.json#/$defs/abilityScoreAbbreviation"
1491
1460
  }
1492
1461
  },
1493
1462
  "classTableGroups": {
@@ -1147,15 +1147,7 @@
1147
1147
  "attributes": {
1148
1148
  "type": "array",
1149
1149
  "items": {
1150
- "type": "string",
1151
- "enum": [
1152
- "str",
1153
- "dex",
1154
- "con",
1155
- "int",
1156
- "wis",
1157
- "cha"
1158
- ]
1150
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1159
1151
  }
1160
1152
  }
1161
1153
  },
@@ -3378,15 +3370,7 @@
3378
3370
  }
3379
3371
  },
3380
3372
  "ability": {
3381
- "type": "string",
3382
- "enum": [
3383
- "str",
3384
- "dex",
3385
- "con",
3386
- "int",
3387
- "wis",
3388
- "cha"
3389
- ]
3373
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
3390
3374
  },
3391
3375
  "displayAs": {
3392
3376
  "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": {
@@ -213,6 +213,17 @@
213
213
  "subclass"
214
214
  ]
215
215
  },
216
+ "abilityScoreAbbreviation": {
217
+ "type": "string",
218
+ "enum": [
219
+ "str",
220
+ "dex",
221
+ "con",
222
+ "int",
223
+ "wis",
224
+ "cha"
225
+ ]
226
+ },
216
227
  "languageNameLower": {
217
228
  "type": "string",
218
229
  "enum": [
@@ -1528,14 +1539,7 @@
1528
1539
  "from": {
1529
1540
  "type": "array",
1530
1541
  "items": {
1531
- "enum": [
1532
- "str",
1533
- "dex",
1534
- "con",
1535
- "int",
1536
- "wis",
1537
- "cha"
1538
- ]
1542
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1539
1543
  },
1540
1544
  "uniqueItems": true,
1541
1545
  "minItems": 1
@@ -1564,14 +1568,7 @@
1564
1568
  "from": {
1565
1569
  "type": "array",
1566
1570
  "items": {
1567
- "enum": [
1568
- "str",
1569
- "dex",
1570
- "con",
1571
- "int",
1572
- "wis",
1573
- "cha"
1574
- ]
1571
+ "$ref": "#/$defs/abilityScoreAbbreviation"
1575
1572
  },
1576
1573
  "uniqueItems": true,
1577
1574
  "minItems": 1
@@ -3165,15 +3162,7 @@
3165
3162
  "choose": {
3166
3163
  "type": "array",
3167
3164
  "items": {
3168
- "type": "string",
3169
- "enum": [
3170
- "str",
3171
- "dex",
3172
- "con",
3173
- "int",
3174
- "wis",
3175
- "cha"
3176
- ]
3165
+ "$ref": "#/$defs/abilityScoreAbbreviation"
3177
3166
  },
3178
3167
  "uniqueItems": true
3179
3168
  }
@@ -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
  "P",
49
50
  "V",