5etools-utils 0.17.18 → 0.17.19

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.
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.11.0",
6
+ "version": "1.11.1",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1378,199 +1378,406 @@
1378
1378
  "additionalProperties": false
1379
1379
  },
1380
1380
  "abilityGeneric": {
1381
- "type": "object",
1382
- "properties": {
1383
- "name": {
1384
- "type": "string"
1385
- },
1386
- "type": {
1387
- "type": "string",
1388
- "const": "abilityGeneric"
1389
- },
1390
- "source": {
1391
- "$ref": "util.json#/$defs/source"
1392
- },
1393
- "page": {
1394
- "$ref": "util.json#/$defs/page"
1395
- },
1396
- "data": {
1397
- "$ref": "#/$defs/_entryDataData"
1398
- },
1399
- "id": {
1400
- "type": "string"
1401
- },
1402
- "srd": {
1403
- "$ref": "util.json#/$defs/srd"
1404
- },
1405
- "srd52": {
1406
- "$ref": "util.json#/$defs/srd"
1407
- },
1408
- "basicRules": {
1409
- "$ref": "util.json#/$defs/basicRules"
1410
- },
1411
- "basicRules2024": {
1412
- "$ref": "util.json#/$defs/basicRules"
1413
- },
1414
- "text": {
1415
- "type": "string"
1381
+ "anyOf": [
1382
+ {
1383
+ "type": "object",
1384
+ "deprecated": true,
1385
+ "properties": {
1386
+ "name": {
1387
+ "type": "string"
1388
+ },
1389
+ "type": {
1390
+ "type": "string",
1391
+ "const": "abilityGeneric"
1392
+ },
1393
+ "source": {
1394
+ "$ref": "util.json#/$defs/source"
1395
+ },
1396
+ "page": {
1397
+ "$ref": "util.json#/$defs/page"
1398
+ },
1399
+ "data": {
1400
+ "$ref": "#/$defs/_entryDataData"
1401
+ },
1402
+ "id": {
1403
+ "type": "string"
1404
+ },
1405
+ "srd": {
1406
+ "$ref": "util.json#/$defs/srd"
1407
+ },
1408
+ "srd52": {
1409
+ "$ref": "util.json#/$defs/srd"
1410
+ },
1411
+ "basicRules": {
1412
+ "$ref": "util.json#/$defs/basicRules"
1413
+ },
1414
+ "basicRules2024": {
1415
+ "$ref": "util.json#/$defs/basicRules"
1416
+ },
1417
+ "text": {
1418
+ "type": "string"
1419
+ },
1420
+ "attributes": {
1421
+ "type": "array",
1422
+ "items": {
1423
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1424
+ }
1425
+ }
1426
+ },
1427
+ "required": [
1428
+ "type",
1429
+ "text"
1430
+ ],
1431
+ "additionalProperties": false
1416
1432
  },
1417
- "attributes": {
1418
- "type": "array",
1419
- "items": {
1420
- "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1421
- }
1433
+ {
1434
+ "type": "object",
1435
+ "properties": {
1436
+ "name": {
1437
+ "type": "string"
1438
+ },
1439
+ "type": {
1440
+ "type": "string",
1441
+ "const": "abilityGeneric"
1442
+ },
1443
+ "source": {
1444
+ "$ref": "util.json#/$defs/source"
1445
+ },
1446
+ "page": {
1447
+ "$ref": "util.json#/$defs/page"
1448
+ },
1449
+ "data": {
1450
+ "$ref": "#/$defs/_entryDataData"
1451
+ },
1452
+ "id": {
1453
+ "type": "string"
1454
+ },
1455
+ "srd": {
1456
+ "$ref": "util.json#/$defs/srd"
1457
+ },
1458
+ "srd52": {
1459
+ "$ref": "util.json#/$defs/srd"
1460
+ },
1461
+ "basicRules": {
1462
+ "$ref": "util.json#/$defs/basicRules"
1463
+ },
1464
+ "basicRules2024": {
1465
+ "$ref": "util.json#/$defs/basicRules"
1466
+ },
1467
+ "entry": {
1468
+ "type": "string"
1469
+ },
1470
+ "attributes": {
1471
+ "type": "array",
1472
+ "items": {
1473
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1474
+ }
1475
+ }
1476
+ },
1477
+ "required": [
1478
+ "type",
1479
+ "entry"
1480
+ ],
1481
+ "additionalProperties": false
1422
1482
  }
1423
- },
1424
- "required": [
1425
- "type",
1426
- "text"
1427
1483
  ],
1428
- "additionalProperties": false
1484
+ "$comment": "Ditto \"entryStatblockInline\"."
1429
1485
  },
1430
1486
  "entryLink": {
1431
- "type": "object",
1432
- "properties": {
1433
- "name": {
1434
- "type": "string"
1435
- },
1436
- "type": {
1437
- "type": "string",
1438
- "const": "link"
1439
- },
1440
- "source": {
1441
- "$ref": "util.json#/$defs/source"
1442
- },
1443
- "page": {
1444
- "$ref": "util.json#/$defs/page"
1445
- },
1446
- "data": {
1447
- "$ref": "#/$defs/_entryDataData"
1448
- },
1449
- "id": {
1450
- "type": "string"
1451
- },
1452
- "srd": {
1453
- "$ref": "util.json#/$defs/srd"
1454
- },
1455
- "srd52": {
1456
- "$ref": "util.json#/$defs/srd"
1457
- },
1458
- "basicRules": {
1459
- "$ref": "util.json#/$defs/basicRules"
1460
- },
1461
- "basicRules2024": {
1462
- "$ref": "util.json#/$defs/basicRules"
1463
- },
1464
- "text": {
1465
- "type": "string"
1466
- },
1467
- "href": {
1468
- "oneOf": [
1469
- {
1470
- "type": "object",
1471
- "properties": {
1472
- "type": {
1473
- "const": "internal"
1474
- },
1475
- "path": {
1476
- "type": "string"
1477
- },
1478
- "hash": {
1479
- "type": "string"
1480
- },
1481
- "hashPreEncoded": {
1482
- "type": "boolean"
1483
- },
1484
- "subhashes": {
1485
- "type": "array",
1486
- "items": {
1487
- "oneOf": [
1488
- {
1489
- "type": "object",
1490
- "properties": {
1491
- "key": {
1492
- "type": "string"
1493
- },
1494
- "values": {
1495
- "type": "array",
1496
- "items": {
1497
- "type": "string"
1498
- }
1487
+ "anyOf": [
1488
+ {
1489
+ "type": "object",
1490
+ "deprecated": true,
1491
+ "properties": {
1492
+ "name": {
1493
+ "type": "string"
1494
+ },
1495
+ "type": {
1496
+ "type": "string",
1497
+ "const": "link"
1498
+ },
1499
+ "source": {
1500
+ "$ref": "util.json#/$defs/source"
1501
+ },
1502
+ "page": {
1503
+ "$ref": "util.json#/$defs/page"
1504
+ },
1505
+ "data": {
1506
+ "$ref": "#/$defs/_entryDataData"
1507
+ },
1508
+ "id": {
1509
+ "type": "string"
1510
+ },
1511
+ "srd": {
1512
+ "$ref": "util.json#/$defs/srd"
1513
+ },
1514
+ "srd52": {
1515
+ "$ref": "util.json#/$defs/srd"
1516
+ },
1517
+ "basicRules": {
1518
+ "$ref": "util.json#/$defs/basicRules"
1519
+ },
1520
+ "basicRules2024": {
1521
+ "$ref": "util.json#/$defs/basicRules"
1522
+ },
1523
+ "text": {
1524
+ "type": "string"
1525
+ },
1526
+ "href": {
1527
+ "oneOf": [
1528
+ {
1529
+ "type": "object",
1530
+ "properties": {
1531
+ "type": {
1532
+ "const": "internal"
1533
+ },
1534
+ "path": {
1535
+ "type": "string"
1536
+ },
1537
+ "hash": {
1538
+ "type": "string"
1539
+ },
1540
+ "hashPreEncoded": {
1541
+ "type": "boolean"
1542
+ },
1543
+ "subhashes": {
1544
+ "type": "array",
1545
+ "items": {
1546
+ "oneOf": [
1547
+ {
1548
+ "type": "object",
1549
+ "properties": {
1550
+ "key": {
1551
+ "type": "string"
1552
+ },
1553
+ "values": {
1554
+ "type": "array",
1555
+ "items": {
1556
+ "type": "string"
1557
+ }
1558
+ },
1559
+ "preEncoded": {
1560
+ "type": "boolean"
1561
+ }
1562
+ },
1563
+ "required": [
1564
+ "key",
1565
+ "values"
1566
+ ],
1567
+ "additionalProperties": false
1499
1568
  },
1500
- "preEncoded": {
1501
- "type": "boolean"
1569
+ {
1570
+ "type": "object",
1571
+ "properties": {
1572
+ "key": {
1573
+ "type": "string"
1574
+ },
1575
+ "value": {
1576
+ "type": "string"
1577
+ },
1578
+ "preEncoded": {
1579
+ "type": "boolean"
1580
+ }
1581
+ },
1582
+ "required": [
1583
+ "key",
1584
+ "value"
1585
+ ],
1586
+ "additionalProperties": false
1502
1587
  }
1588
+ ]
1589
+ }
1590
+ },
1591
+ "hover": {
1592
+ "type": "object",
1593
+ "properties": {
1594
+ "page": {
1595
+ "$ref": "util.json#/$defs/page"
1503
1596
  },
1504
- "required": [
1505
- "key",
1506
- "values"
1507
- ],
1508
- "additionalProperties": false
1509
- },
1510
- {
1511
- "type": "object",
1512
- "properties": {
1513
- "key": {
1514
- "type": "string"
1515
- },
1516
- "value": {
1517
- "type": "string"
1518
- },
1519
- "preEncoded": {
1520
- "type": "boolean"
1521
- }
1597
+ "source": {
1598
+ "$ref": "util.json#/$defs/source"
1522
1599
  },
1523
- "required": [
1524
- "key",
1525
- "value"
1526
- ],
1527
- "additionalProperties": false
1528
- }
1529
- ]
1530
- }
1600
+ "hash": {
1601
+ "description": "Optional; overrides the href hash for hover handlers.",
1602
+ "type": "string",
1603
+ "markdownDescription": "Optional; overrides the href hash for hover handlers."
1604
+ },
1605
+ "hashPreEncoded": {
1606
+ "type": "boolean"
1607
+ }
1608
+ },
1609
+ "additionalProperties": false,
1610
+ "required": [
1611
+ "page",
1612
+ "source"
1613
+ ]
1614
+ }
1615
+ },
1616
+ "required": [
1617
+ "path"
1618
+ ],
1619
+ "additionalProperties": false
1531
1620
  },
1532
- "hover": {
1621
+ {
1622
+ "$ref": "#/$defs/mediaHrefExternal"
1623
+ }
1624
+ ]
1625
+ }
1626
+ },
1627
+ "required": [
1628
+ "type",
1629
+ "text",
1630
+ "href"
1631
+ ],
1632
+ "additionalProperties": false
1633
+ },
1634
+ {
1635
+ "type": "object",
1636
+ "properties": {
1637
+ "name": {
1638
+ "type": "string"
1639
+ },
1640
+ "type": {
1641
+ "type": "string",
1642
+ "const": "link"
1643
+ },
1644
+ "source": {
1645
+ "$ref": "util.json#/$defs/source"
1646
+ },
1647
+ "page": {
1648
+ "$ref": "util.json#/$defs/page"
1649
+ },
1650
+ "data": {
1651
+ "$ref": "#/$defs/_entryDataData"
1652
+ },
1653
+ "id": {
1654
+ "type": "string"
1655
+ },
1656
+ "srd": {
1657
+ "$ref": "util.json#/$defs/srd"
1658
+ },
1659
+ "srd52": {
1660
+ "$ref": "util.json#/$defs/srd"
1661
+ },
1662
+ "basicRules": {
1663
+ "$ref": "util.json#/$defs/basicRules"
1664
+ },
1665
+ "basicRules2024": {
1666
+ "$ref": "util.json#/$defs/basicRules"
1667
+ },
1668
+ "entry": {
1669
+ "type": "string"
1670
+ },
1671
+ "href": {
1672
+ "oneOf": [
1673
+ {
1533
1674
  "type": "object",
1534
1675
  "properties": {
1535
- "page": {
1536
- "$ref": "util.json#/$defs/page"
1676
+ "type": {
1677
+ "const": "internal"
1537
1678
  },
1538
- "source": {
1539
- "$ref": "util.json#/$defs/source"
1679
+ "path": {
1680
+ "type": "string"
1540
1681
  },
1541
1682
  "hash": {
1542
- "description": "Optional; overrides the href hash for hover handlers.",
1543
- "type": "string",
1544
- "markdownDescription": "Optional; overrides the href hash for hover handlers."
1683
+ "type": "string"
1545
1684
  },
1546
1685
  "hashPreEncoded": {
1547
1686
  "type": "boolean"
1687
+ },
1688
+ "subhashes": {
1689
+ "type": "array",
1690
+ "items": {
1691
+ "oneOf": [
1692
+ {
1693
+ "type": "object",
1694
+ "properties": {
1695
+ "key": {
1696
+ "type": "string"
1697
+ },
1698
+ "values": {
1699
+ "type": "array",
1700
+ "items": {
1701
+ "type": "string"
1702
+ }
1703
+ },
1704
+ "preEncoded": {
1705
+ "type": "boolean"
1706
+ }
1707
+ },
1708
+ "required": [
1709
+ "key",
1710
+ "values"
1711
+ ],
1712
+ "additionalProperties": false
1713
+ },
1714
+ {
1715
+ "type": "object",
1716
+ "properties": {
1717
+ "key": {
1718
+ "type": "string"
1719
+ },
1720
+ "value": {
1721
+ "type": "string"
1722
+ },
1723
+ "preEncoded": {
1724
+ "type": "boolean"
1725
+ }
1726
+ },
1727
+ "required": [
1728
+ "key",
1729
+ "value"
1730
+ ],
1731
+ "additionalProperties": false
1732
+ }
1733
+ ]
1734
+ }
1735
+ },
1736
+ "hover": {
1737
+ "type": "object",
1738
+ "properties": {
1739
+ "page": {
1740
+ "$ref": "util.json#/$defs/page"
1741
+ },
1742
+ "source": {
1743
+ "$ref": "util.json#/$defs/source"
1744
+ },
1745
+ "hash": {
1746
+ "description": "Optional; overrides the href hash for hover handlers.",
1747
+ "type": "string",
1748
+ "markdownDescription": "Optional; overrides the href hash for hover handlers."
1749
+ },
1750
+ "hashPreEncoded": {
1751
+ "type": "boolean"
1752
+ }
1753
+ },
1754
+ "additionalProperties": false,
1755
+ "required": [
1756
+ "page",
1757
+ "source"
1758
+ ]
1548
1759
  }
1549
1760
  },
1550
- "additionalProperties": false,
1551
1761
  "required": [
1552
- "page",
1553
- "source"
1554
- ]
1762
+ "path"
1763
+ ],
1764
+ "additionalProperties": false
1765
+ },
1766
+ {
1767
+ "$ref": "#/$defs/mediaHrefExternal"
1555
1768
  }
1556
- },
1557
- "required": [
1558
- "path"
1559
- ],
1560
- "additionalProperties": false
1561
- },
1562
- {
1563
- "$ref": "#/$defs/mediaHrefExternal"
1769
+ ]
1564
1770
  }
1565
- ]
1771
+ },
1772
+ "required": [
1773
+ "type",
1774
+ "entry",
1775
+ "href"
1776
+ ],
1777
+ "additionalProperties": false
1566
1778
  }
1567
- },
1568
- "required": [
1569
- "type",
1570
- "text",
1571
- "href"
1572
1779
  ],
1573
- "additionalProperties": false
1780
+ "$comment": "Ditto \"entryStatblockInline\"."
1574
1781
  },
1575
1782
  "entryOptFeature": {
1576
1783
  "description": "For e.g. Eldritch Invocations which require prerequisite text. Deprecated; prefer \"refOptionalfeature\" or \"statblock\" entries instead.",