5etools-utils 0.12.5 → 0.12.7

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 (127) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/backgrounds.json +1 -1
  3. package/schema/brew/bestiary/bestiary.json +2 -2
  4. package/schema/brew/bestiary/legendarygroups.json +1 -1
  5. package/schema/brew/bestiary/template.json +4 -4
  6. package/schema/brew/class/class.json +2 -2
  7. package/schema/brew/decks.json +2 -2
  8. package/schema/brew/deities.json +1 -1
  9. package/schema/brew/feats.json +1 -1
  10. package/schema/brew/fluff-races.json +1 -1
  11. package/schema/brew/foundry-races.json +2 -2
  12. package/schema/brew/items-base.json +2 -2
  13. package/schema/brew/items.json +1075 -509
  14. package/schema/brew/optionalfeatures.json +1 -1
  15. package/schema/brew/races.json +8 -8
  16. package/schema/brew/recipes.json +1 -1
  17. package/schema/brew/sources-5etools.json +7 -0
  18. package/schema/brew/spells/spells.json +1 -1
  19. package/schema/brew/util-copy.json +960 -0
  20. package/schema/brew/util-foundry.json +8 -2
  21. package/schema/brew/util-token.json +7 -3
  22. package/schema/brew/util.json +2 -856
  23. package/schema/brew-fast/backgrounds.json +1 -1
  24. package/schema/brew-fast/bestiary/bestiary.json +2 -2
  25. package/schema/brew-fast/bestiary/legendarygroups.json +1 -1
  26. package/schema/brew-fast/bestiary/template.json +4 -4
  27. package/schema/brew-fast/class/class.json +2 -2
  28. package/schema/brew-fast/decks.json +2 -2
  29. package/schema/brew-fast/deities.json +1 -1
  30. package/schema/brew-fast/feats.json +1 -1
  31. package/schema/brew-fast/fluff-races.json +1 -1
  32. package/schema/brew-fast/foundry-races.json +2 -2
  33. package/schema/brew-fast/items-base.json +2 -2
  34. package/schema/brew-fast/items.json +1075 -509
  35. package/schema/brew-fast/optionalfeatures.json +1 -1
  36. package/schema/brew-fast/races.json +8 -8
  37. package/schema/brew-fast/recipes.json +1 -1
  38. package/schema/brew-fast/sources-5etools.json +7 -0
  39. package/schema/brew-fast/spells/spells.json +1 -1
  40. package/schema/brew-fast/util-copy.json +960 -0
  41. package/schema/brew-fast/util-foundry.json +8 -2
  42. package/schema/brew-fast/util-token.json +7 -3
  43. package/schema/brew-fast/util.json +2 -856
  44. package/schema/site/backgrounds.json +1 -1
  45. package/schema/site/bestiary/bestiary.json +2 -2
  46. package/schema/site/bestiary/legendarygroups.json +1 -1
  47. package/schema/site/bestiary/template.json +4 -4
  48. package/schema/site/class/class.json +2 -2
  49. package/schema/site/decks.json +2 -2
  50. package/schema/site/deities.json +1 -1
  51. package/schema/site/feats.json +1 -1
  52. package/schema/site/fluff-races.json +1 -1
  53. package/schema/site/foundry-races.json +2 -2
  54. package/schema/site/items-base.json +2 -2
  55. package/schema/site/items.json +1253 -728
  56. package/schema/site/optionalfeatures.json +1 -1
  57. package/schema/site/races.json +8 -8
  58. package/schema/site/recipes.json +1 -1
  59. package/schema/site/sources-5etools.json +7 -0
  60. package/schema/site/spells/spells.json +1 -1
  61. package/schema/site/util-copy.json +960 -0
  62. package/schema/site/util-foundry.json +8 -2
  63. package/schema/site/util-token.json +7 -3
  64. package/schema/site/util.json +2 -856
  65. package/schema/site-fast/backgrounds.json +1 -1
  66. package/schema/site-fast/bestiary/bestiary.json +2 -2
  67. package/schema/site-fast/bestiary/legendarygroups.json +1 -1
  68. package/schema/site-fast/bestiary/template.json +4 -4
  69. package/schema/site-fast/class/class.json +2 -2
  70. package/schema/site-fast/decks.json +2 -2
  71. package/schema/site-fast/deities.json +1 -1
  72. package/schema/site-fast/feats.json +1 -1
  73. package/schema/site-fast/fluff-races.json +1 -1
  74. package/schema/site-fast/foundry-races.json +2 -2
  75. package/schema/site-fast/items-base.json +2 -2
  76. package/schema/site-fast/items.json +1253 -728
  77. package/schema/site-fast/optionalfeatures.json +1 -1
  78. package/schema/site-fast/races.json +8 -8
  79. package/schema/site-fast/recipes.json +1 -1
  80. package/schema/site-fast/sources-5etools.json +7 -0
  81. package/schema/site-fast/spells/spells.json +1 -1
  82. package/schema/site-fast/util-copy.json +960 -0
  83. package/schema/site-fast/util-foundry.json +8 -2
  84. package/schema/site-fast/util-token.json +7 -3
  85. package/schema/site-fast/util.json +2 -856
  86. package/schema/ua/backgrounds.json +1 -1
  87. package/schema/ua/bestiary/bestiary.json +2 -2
  88. package/schema/ua/bestiary/legendarygroups.json +1 -1
  89. package/schema/ua/bestiary/template.json +4 -4
  90. package/schema/ua/class/class.json +2 -2
  91. package/schema/ua/decks.json +2 -2
  92. package/schema/ua/deities.json +1 -1
  93. package/schema/ua/feats.json +1 -1
  94. package/schema/ua/fluff-races.json +1 -1
  95. package/schema/ua/foundry-races.json +2 -2
  96. package/schema/ua/items-base.json +2 -2
  97. package/schema/ua/items.json +1257 -729
  98. package/schema/ua/optionalfeatures.json +1 -1
  99. package/schema/ua/races.json +8 -8
  100. package/schema/ua/recipes.json +1 -1
  101. package/schema/ua/sources-5etools.json +7 -0
  102. package/schema/ua/spells/spells.json +1 -1
  103. package/schema/ua/util-copy.json +960 -0
  104. package/schema/ua/util-foundry.json +8 -2
  105. package/schema/ua/util-token.json +7 -3
  106. package/schema/ua/util.json +2 -856
  107. package/schema/ua-fast/backgrounds.json +1 -1
  108. package/schema/ua-fast/bestiary/bestiary.json +2 -2
  109. package/schema/ua-fast/bestiary/legendarygroups.json +1 -1
  110. package/schema/ua-fast/bestiary/template.json +4 -4
  111. package/schema/ua-fast/class/class.json +2 -2
  112. package/schema/ua-fast/decks.json +2 -2
  113. package/schema/ua-fast/deities.json +1 -1
  114. package/schema/ua-fast/feats.json +1 -1
  115. package/schema/ua-fast/fluff-races.json +1 -1
  116. package/schema/ua-fast/foundry-races.json +2 -2
  117. package/schema/ua-fast/items-base.json +2 -2
  118. package/schema/ua-fast/items.json +1257 -729
  119. package/schema/ua-fast/optionalfeatures.json +1 -1
  120. package/schema/ua-fast/races.json +8 -8
  121. package/schema/ua-fast/recipes.json +1 -1
  122. package/schema/ua-fast/sources-5etools.json +7 -0
  123. package/schema/ua-fast/spells/spells.json +1 -1
  124. package/schema/ua-fast/util-copy.json +960 -0
  125. package/schema/ua-fast/util-foundry.json +8 -2
  126. package/schema/ua-fast/util-token.json +7 -3
  127. package/schema/ua-fast/util.json +2 -856
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.0.2",
5
+ "version": "1.0.3",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -86,7 +86,13 @@
86
86
  },
87
87
  "foundrySubEntitiesObject": {
88
88
  "description": "A 5etools-data-like object of additional entities to import.",
89
- "type": "object"
89
+ "type": "object",
90
+ "properties": {
91
+ "item": {
92
+ "$ref": "items.json#/$defs/subEntityItemArray"
93
+ }
94
+ },
95
+ "minProperties": 1
90
96
  },
91
97
  "_foundryEffectObject": {
92
98
  "type": "object",
@@ -1,13 +1,17 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-token.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "title": "Util: Token",
6
6
  "$defs": {
7
7
  "tokenUrl": {
8
8
  "deprecated": true,
9
- "description": "A full token URL for the entity. Prefer \"tokenHref\" instead.",
10
- "$ref": "util.json#/$defs/url"
9
+ "description": "A full token URL for the entity. Prefer \"tokenHref\" instead, or \"token\" for internal use.",
10
+ "$ref": "util.json#/$defs/url",
11
+ "not": {
12
+ "type": "string",
13
+ "pattern": "^https?://(5e\\.tools|5etools-mirror-\\d+\\.github\\.io)/"
14
+ }
11
15
  },
12
16
  "token": {
13
17
  "description": "A name/source pair used to construct a token URL for the entity. For example `\"name\": \"Goblin\", \"source\": \"MM\"` for a creature token would refer to the MM Goblin's token.",