5etools-utils 0.14.0 → 0.14.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.
Files changed (152) hide show
  1. package/lib/TestData.js +18 -11
  2. package/package.json +1 -1
  3. package/schema/brew/actions.json +4 -1
  4. package/schema/brew/backgrounds.json +10 -1
  5. package/schema/brew/bestiary/bestiary.json +10 -1
  6. package/schema/brew/charcreationoptions.json +4 -1
  7. package/schema/brew/class/class.json +31 -1
  8. package/schema/brew/conditionsdiseases.json +7 -1
  9. package/schema/brew/cultsboons.json +7 -1
  10. package/schema/brew/deities.json +10 -1
  11. package/schema/brew/feats.json +10 -1
  12. package/schema/brew/items-base.json +10 -1
  13. package/schema/brew/items.json +19 -1
  14. package/schema/brew/languages.json +4 -1
  15. package/schema/brew/magicvariants.json +19 -1
  16. package/schema/brew/objects.json +4 -1
  17. package/schema/brew/optionalfeatures.json +10 -1
  18. package/schema/brew/psionics.json +4 -1
  19. package/schema/brew/races.json +19 -1
  20. package/schema/brew/recipes.json +10 -1
  21. package/schema/brew/rewards.json +4 -1
  22. package/schema/brew/spells/spells.json +10 -1
  23. package/schema/brew/tables.json +1 -1
  24. package/schema/brew/trapshazards.json +10 -1
  25. package/schema/brew/util.json +6 -3
  26. package/schema/brew/variantrules.json +4 -1
  27. package/schema/brew/vehicles.json +10 -1
  28. package/schema/brew-fast/actions.json +4 -1
  29. package/schema/brew-fast/backgrounds.json +10 -1
  30. package/schema/brew-fast/bestiary/bestiary.json +10 -1
  31. package/schema/brew-fast/charcreationoptions.json +4 -1
  32. package/schema/brew-fast/class/class.json +31 -1
  33. package/schema/brew-fast/conditionsdiseases.json +7 -1
  34. package/schema/brew-fast/cultsboons.json +7 -1
  35. package/schema/brew-fast/deities.json +10 -1
  36. package/schema/brew-fast/feats.json +10 -1
  37. package/schema/brew-fast/items-base.json +10 -1
  38. package/schema/brew-fast/items.json +19 -1
  39. package/schema/brew-fast/languages.json +4 -1
  40. package/schema/brew-fast/magicvariants.json +19 -1
  41. package/schema/brew-fast/objects.json +4 -1
  42. package/schema/brew-fast/optionalfeatures.json +10 -1
  43. package/schema/brew-fast/psionics.json +4 -1
  44. package/schema/brew-fast/races.json +19 -1
  45. package/schema/brew-fast/recipes.json +10 -1
  46. package/schema/brew-fast/rewards.json +4 -1
  47. package/schema/brew-fast/spells/spells.json +10 -1
  48. package/schema/brew-fast/tables.json +1 -1
  49. package/schema/brew-fast/trapshazards.json +10 -1
  50. package/schema/brew-fast/util.json +6 -3
  51. package/schema/brew-fast/variantrules.json +4 -1
  52. package/schema/brew-fast/vehicles.json +10 -1
  53. package/schema/site/actions.json +1 -1
  54. package/schema/site/backgrounds.json +1 -1
  55. package/schema/site/bestiary/bestiary.json +1 -1
  56. package/schema/site/charcreationoptions.json +1 -1
  57. package/schema/site/class/class.json +1 -1
  58. package/schema/site/conditionsdiseases.json +1 -1
  59. package/schema/site/cultsboons.json +1 -1
  60. package/schema/site/deities.json +1 -1
  61. package/schema/site/feats.json +1 -1
  62. package/schema/site/items-base.json +1 -1
  63. package/schema/site/items.json +1 -1
  64. package/schema/site/languages.json +1 -1
  65. package/schema/site/magicvariants.json +1 -1
  66. package/schema/site/objects.json +1 -1
  67. package/schema/site/optionalfeatures.json +1 -1
  68. package/schema/site/psionics.json +1 -1
  69. package/schema/site/races.json +1 -1
  70. package/schema/site/recipes.json +1 -1
  71. package/schema/site/rewards.json +1 -1
  72. package/schema/site/spells/spells.json +1 -1
  73. package/schema/site/tables.json +1 -1
  74. package/schema/site/trapshazards.json +1 -1
  75. package/schema/site/util.json +6 -3
  76. package/schema/site/variantrules.json +1 -1
  77. package/schema/site/vehicles.json +1 -1
  78. package/schema/site-fast/actions.json +1 -1
  79. package/schema/site-fast/backgrounds.json +1 -1
  80. package/schema/site-fast/bestiary/bestiary.json +1 -1
  81. package/schema/site-fast/charcreationoptions.json +1 -1
  82. package/schema/site-fast/class/class.json +1 -1
  83. package/schema/site-fast/conditionsdiseases.json +1 -1
  84. package/schema/site-fast/cultsboons.json +1 -1
  85. package/schema/site-fast/deities.json +1 -1
  86. package/schema/site-fast/feats.json +1 -1
  87. package/schema/site-fast/items-base.json +1 -1
  88. package/schema/site-fast/items.json +1 -1
  89. package/schema/site-fast/languages.json +1 -1
  90. package/schema/site-fast/magicvariants.json +1 -1
  91. package/schema/site-fast/objects.json +1 -1
  92. package/schema/site-fast/optionalfeatures.json +1 -1
  93. package/schema/site-fast/psionics.json +1 -1
  94. package/schema/site-fast/races.json +1 -1
  95. package/schema/site-fast/recipes.json +1 -1
  96. package/schema/site-fast/rewards.json +1 -1
  97. package/schema/site-fast/spells/spells.json +1 -1
  98. package/schema/site-fast/tables.json +1 -1
  99. package/schema/site-fast/trapshazards.json +1 -1
  100. package/schema/site-fast/util.json +6 -3
  101. package/schema/site-fast/variantrules.json +1 -1
  102. package/schema/site-fast/vehicles.json +1 -1
  103. package/schema/ua/actions.json +1 -1
  104. package/schema/ua/backgrounds.json +1 -1
  105. package/schema/ua/bestiary/bestiary.json +1 -1
  106. package/schema/ua/charcreationoptions.json +1 -1
  107. package/schema/ua/class/class.json +1 -1
  108. package/schema/ua/conditionsdiseases.json +1 -1
  109. package/schema/ua/cultsboons.json +1 -1
  110. package/schema/ua/deities.json +1 -1
  111. package/schema/ua/feats.json +1 -1
  112. package/schema/ua/items-base.json +1 -1
  113. package/schema/ua/items.json +1 -1
  114. package/schema/ua/languages.json +1 -1
  115. package/schema/ua/magicvariants.json +1 -1
  116. package/schema/ua/objects.json +1 -1
  117. package/schema/ua/optionalfeatures.json +1 -1
  118. package/schema/ua/psionics.json +1 -1
  119. package/schema/ua/races.json +1 -1
  120. package/schema/ua/recipes.json +1 -1
  121. package/schema/ua/rewards.json +1 -1
  122. package/schema/ua/spells/spells.json +1 -1
  123. package/schema/ua/tables.json +1 -1
  124. package/schema/ua/trapshazards.json +1 -1
  125. package/schema/ua/util.json +6 -3
  126. package/schema/ua/variantrules.json +1 -1
  127. package/schema/ua/vehicles.json +1 -1
  128. package/schema/ua-fast/actions.json +1 -1
  129. package/schema/ua-fast/backgrounds.json +1 -1
  130. package/schema/ua-fast/bestiary/bestiary.json +1 -1
  131. package/schema/ua-fast/charcreationoptions.json +1 -1
  132. package/schema/ua-fast/class/class.json +1 -1
  133. package/schema/ua-fast/conditionsdiseases.json +1 -1
  134. package/schema/ua-fast/cultsboons.json +1 -1
  135. package/schema/ua-fast/deities.json +1 -1
  136. package/schema/ua-fast/feats.json +1 -1
  137. package/schema/ua-fast/items-base.json +1 -1
  138. package/schema/ua-fast/items.json +1 -1
  139. package/schema/ua-fast/languages.json +1 -1
  140. package/schema/ua-fast/magicvariants.json +1 -1
  141. package/schema/ua-fast/objects.json +1 -1
  142. package/schema/ua-fast/optionalfeatures.json +1 -1
  143. package/schema/ua-fast/psionics.json +1 -1
  144. package/schema/ua-fast/races.json +1 -1
  145. package/schema/ua-fast/recipes.json +1 -1
  146. package/schema/ua-fast/rewards.json +1 -1
  147. package/schema/ua-fast/spells/spells.json +1 -1
  148. package/schema/ua-fast/tables.json +1 -1
  149. package/schema/ua-fast/trapshazards.json +1 -1
  150. package/schema/ua-fast/util.json +6 -3
  151. package/schema/ua-fast/variantrules.json +1 -1
  152. package/schema/ua-fast/vehicles.json +1 -1
package/lib/TestData.js CHANGED
@@ -4,12 +4,12 @@ import {ObjectWalker} from "./ObjectWalker.js";
4
4
 
5
5
  /** Runs multiple handlers on each file, to avoid re-reading each file for each handler */
6
6
  class _ParsedJsonChecker {
7
- static _CLAZZES_FILE_HANDLER = [];
7
+ static _FILE_HANDLERS = [];
8
8
 
9
9
  static _PRIMITIVE_HANDLERS = {};
10
10
 
11
- static registerFileHandler (Clazz) {
12
- _ParsedJsonChecker._CLAZZES_FILE_HANDLER.push(Clazz);
11
+ static registerFileHandler (fileHandler) {
12
+ this._FILE_HANDLERS.push(fileHandler);
13
13
  }
14
14
 
15
15
  static addPrimitiveHandler (primitiveType, handler) {
@@ -19,20 +19,22 @@ class _ParsedJsonChecker {
19
19
 
20
20
  /* -------------------------------------------- */
21
21
 
22
- static run (filePath, {fnIsIgnoredFile, fnIsIgnoredDirectory} = {}) {
23
- this._fileRecurse({
22
+ static async pRun (filePath, {fnIsIgnoredFile, fnIsIgnoredDirectory} = {}) {
23
+ await this._pFileRecurse({
24
24
  filePath,
25
25
  fnIsIgnoredFile,
26
26
  fnIsIgnoredDirectory,
27
27
  });
28
28
  }
29
29
 
30
- static _fileRecurse ({filePath, fnIsIgnoredFile, fnIsIgnoredDirectory}) {
30
+ static async _pFileRecurse ({filePath, fnIsIgnoredFile, fnIsIgnoredDirectory}) {
31
31
  if (fs.lstatSync(filePath).isDirectory()) {
32
32
  if (fnIsIgnoredDirectory && fnIsIgnoredDirectory(filePath)) return;
33
33
 
34
- return fs.readdirSync(filePath)
35
- .forEach(nxt => this._fileRecurse({filePath: `${filePath}/${nxt}`, fnIsIgnoredFile, fnIsIgnoredDirectory}));
34
+ for (const nxt of fs.readdirSync(filePath)) {
35
+ await this._pFileRecurse({filePath: `${filePath}/${nxt}`, fnIsIgnoredFile, fnIsIgnoredDirectory});
36
+ }
37
+ return;
36
38
  }
37
39
 
38
40
  if (!filePath.endsWith(".json") || (fnIsIgnoredFile && fnIsIgnoredFile(filePath))) return;
@@ -45,8 +47,11 @@ class _ParsedJsonChecker {
45
47
  primitiveHandlers: this._PRIMITIVE_HANDLERS,
46
48
  });
47
49
 
48
- this._CLAZZES_FILE_HANDLER.forEach(dataTester => dataTester.handleFile(filePath, contents));
49
- this._CLAZZES_FILE_HANDLER.forEach(dataTester => dataTester.addMessageBoundary());
50
+ for (const dataTester of this._FILE_HANDLERS) {
51
+ dataTester.handleFile(filePath, contents);
52
+ await dataTester.pHandleFile(filePath, contents);
53
+ dataTester.addMessageBoundary();
54
+ }
50
55
  }
51
56
  }
52
57
 
@@ -81,6 +86,8 @@ class DataTesterBase {
81
86
  /* -------------------------------------------- */
82
87
 
83
88
  handleFile (filePath, contents) { /* Implement as required */ }
89
+
90
+ async pHandleFile (filePath, contents) { /* Implement as required */ }
84
91
  }
85
92
 
86
93
  class BraceCheck extends DataTesterBase {
@@ -162,7 +169,7 @@ class DataTester {
162
169
  fnIsIgnoredDirectory,
163
170
  } = {},
164
171
  ) {
165
- _ParsedJsonChecker.run(filePath, {fnIsIgnoredFile, fnIsIgnoredDirectory});
172
+ await _ParsedJsonChecker.pRun(filePath, {fnIsIgnoredFile, fnIsIgnoredDirectory});
166
173
 
167
174
  for (const dataTester of dataTesters) {
168
175
  await dataTester.pRun();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "actions.json",
4
- "version": "1.2.7",
4
+ "version": "1.2.8",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "action": {
@@ -84,6 +84,9 @@
84
84
  "foundryImg": {
85
85
  "$ref": "util-foundry.json#/$defs/foundryImg"
86
86
  },
87
+ "foundryAdvice": {
88
+ "$ref": "entry.json"
89
+ },
87
90
  "_foundryMerge": {
88
91
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
89
92
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "backgrounds.json",
4
- "version": "1.3.12",
4
+ "version": "1.3.13",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "backgroundData": {
@@ -119,6 +119,9 @@
119
119
  "foundryImg": {
120
120
  "$ref": "util-foundry.json#/$defs/foundryImg"
121
121
  },
122
+ "foundryAdvice": {
123
+ "$ref": "entry.json"
124
+ },
122
125
  "foundryAdvancement": {
123
126
  "$ref": "util-foundry.json#/$defs/foundryAdvancementsArray"
124
127
  },
@@ -245,6 +248,9 @@
245
248
  "foundryImg": {
246
249
  "$ref": "util-foundry.json#/$defs/foundryImg"
247
250
  },
251
+ "foundryAdvice": {
252
+ "$ref": "entry.json"
253
+ },
248
254
  "foundryAdvancement": {
249
255
  "$ref": "util-foundry.json#/$defs/foundryAdvancementsArray"
250
256
  },
@@ -374,6 +380,9 @@
374
380
  "foundryImg": {
375
381
  "$ref": "util-foundry.json#/$defs/foundryImg"
376
382
  },
383
+ "foundryAdvice": {
384
+ "$ref": "entry.json"
385
+ },
377
386
  "foundryAdvancement": {
378
387
  "$ref": "util-foundry.json#/$defs/foundryAdvancementsArray"
379
388
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.52",
3
+ "version": "1.21.53",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1426,6 +1426,9 @@
1426
1426
  "foundryImg": {
1427
1427
  "$ref": "../util-foundry.json#/$defs/foundryImg"
1428
1428
  },
1429
+ "foundryAdvice": {
1430
+ "$ref": "../entry.json"
1431
+ },
1429
1432
  "foundryPrototypeToken": {
1430
1433
  "$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
1431
1434
  },
@@ -2758,6 +2761,9 @@
2758
2761
  "foundryImg": {
2759
2762
  "$ref": "../util-foundry.json#/$defs/foundryImg"
2760
2763
  },
2764
+ "foundryAdvice": {
2765
+ "$ref": "../entry.json"
2766
+ },
2761
2767
  "foundryPrototypeToken": {
2762
2768
  "$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
2763
2769
  },
@@ -4095,6 +4101,9 @@
4095
4101
  "foundryImg": {
4096
4102
  "$ref": "../util-foundry.json#/$defs/foundryImg"
4097
4103
  },
4104
+ "foundryAdvice": {
4105
+ "$ref": "../entry.json"
4106
+ },
4098
4107
  "foundryPrototypeToken": {
4099
4108
  "$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
4100
4109
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "charcreationoptions.json",
4
- "version": "1.2.5",
4
+ "version": "1.2.6",
5
5
  "title": "Character Creation Options",
6
6
  "type": "object",
7
7
  "$defs": {
@@ -74,6 +74,9 @@
74
74
  "foundryImg": {
75
75
  "$ref": "util-foundry.json#/$defs/foundryImg"
76
76
  },
77
+ "foundryAdvice": {
78
+ "$ref": "entry.json"
79
+ },
77
80
  "_foundryMerge": {
78
81
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
79
82
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.10",
3
+ "version": "2.12.11",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -253,6 +253,9 @@
253
253
  "foundryImg": {
254
254
  "$ref": "../util-foundry.json#/$defs/foundryImg"
255
255
  },
256
+ "foundryAdvice": {
257
+ "$ref": "../entry.json"
258
+ },
256
259
  "languageProficiencies": {
257
260
  "$ref": "../util.json#/$defs/languageProficiencies"
258
261
  },
@@ -366,6 +369,9 @@
366
369
  "foundryImg": {
367
370
  "$ref": "../util-foundry.json#/$defs/foundryImg"
368
371
  },
372
+ "foundryAdvice": {
373
+ "$ref": "../entry.json"
374
+ },
369
375
  "languageProficiencies": {
370
376
  "$ref": "../util.json#/$defs/languageProficiencies"
371
377
  },
@@ -473,6 +479,9 @@
473
479
  "foundryImg": {
474
480
  "$ref": "../util-foundry.json#/$defs/foundryImg"
475
481
  },
482
+ "foundryAdvice": {
483
+ "$ref": "../entry.json"
484
+ },
476
485
  "languageProficiencies": {
477
486
  "$ref": "../util.json#/$defs/languageProficiencies"
478
487
  },
@@ -588,6 +597,9 @@
588
597
  "foundryImg": {
589
598
  "$ref": "../util-foundry.json#/$defs/foundryImg"
590
599
  },
600
+ "foundryAdvice": {
601
+ "$ref": "../entry.json"
602
+ },
591
603
  "languageProficiencies": {
592
604
  "$ref": "../util.json#/$defs/languageProficiencies"
593
605
  },
@@ -924,6 +936,9 @@
924
936
  },
925
937
  "foundryImg": {
926
938
  "$ref": "../util-foundry.json#/$defs/foundryImg"
939
+ },
940
+ "foundryAdvice": {
941
+ "$ref": "../entry.json"
927
942
  }
928
943
  },
929
944
  "additionalProperties": false,
@@ -1133,6 +1148,9 @@
1133
1148
  "foundryImg": {
1134
1149
  "$ref": "../util-foundry.json#/$defs/foundryImg"
1135
1150
  },
1151
+ "foundryAdvice": {
1152
+ "$ref": "../entry.json"
1153
+ },
1136
1154
  "_copy": {
1137
1155
  "$ref": "../util-copy.json#/$defs/copyBlock_copy_generic"
1138
1156
  }
@@ -1340,6 +1358,9 @@
1340
1358
  },
1341
1359
  "foundryImg": {
1342
1360
  "$ref": "../util-foundry.json#/$defs/foundryImg"
1361
+ },
1362
+ "foundryAdvice": {
1363
+ "$ref": "../entry.json"
1343
1364
  }
1344
1365
  },
1345
1366
  "additionalProperties": false
@@ -1722,6 +1743,9 @@
1722
1743
  },
1723
1744
  "foundryImg": {
1724
1745
  "$ref": "../util-foundry.json#/$defs/foundryImg"
1746
+ },
1747
+ "foundryAdvice": {
1748
+ "$ref": "../entry.json"
1725
1749
  }
1726
1750
  },
1727
1751
  "additionalProperties": false,
@@ -2025,6 +2049,9 @@
2025
2049
  "foundryImg": {
2026
2050
  "$ref": "../util-foundry.json#/$defs/foundryImg"
2027
2051
  },
2052
+ "foundryAdvice": {
2053
+ "$ref": "../entry.json"
2054
+ },
2028
2055
  "_copy": {
2029
2056
  "$ref": "../util-copy.json#/$defs/copyBlock_copy_generic"
2030
2057
  }
@@ -2329,6 +2356,9 @@
2329
2356
  },
2330
2357
  "foundryImg": {
2331
2358
  "$ref": "../util-foundry.json#/$defs/foundryImg"
2359
+ },
2360
+ "foundryAdvice": {
2361
+ "$ref": "../entry.json"
2332
2362
  }
2333
2363
  },
2334
2364
  "additionalProperties": false,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "conditionsdiseases.json",
4
- "version": "1.2.10",
4
+ "version": "1.2.11",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "_conditionDiseaseBase": {
@@ -63,6 +63,9 @@
63
63
  "foundryImg": {
64
64
  "$ref": "util-foundry.json#/$defs/foundryImg"
65
65
  },
66
+ "foundryAdvice": {
67
+ "$ref": "entry.json"
68
+ },
66
69
  "_foundryMerge": {
67
70
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
68
71
  }
@@ -139,6 +142,9 @@
139
142
  "foundryImg": {
140
143
  "$ref": "util-foundry.json#/$defs/foundryImg"
141
144
  },
145
+ "foundryAdvice": {
146
+ "$ref": "entry.json"
147
+ },
142
148
  "_foundryMerge": {
143
149
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
144
150
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "cultsboons.json",
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "cult": {
@@ -91,6 +91,9 @@
91
91
  "foundryImg": {
92
92
  "$ref": "util-foundry.json#/$defs/foundryImg"
93
93
  },
94
+ "foundryAdvice": {
95
+ "$ref": "entry.json"
96
+ },
94
97
  "_foundryMerge": {
95
98
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
96
99
  }
@@ -172,6 +175,9 @@
172
175
  "foundryImg": {
173
176
  "$ref": "util-foundry.json#/$defs/foundryImg"
174
177
  },
178
+ "foundryAdvice": {
179
+ "$ref": "entry.json"
180
+ },
175
181
  "_foundryMerge": {
176
182
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
177
183
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "deities.json",
4
- "version": "1.2.13",
4
+ "version": "1.2.14",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deityData": {
@@ -171,6 +171,9 @@
171
171
  },
172
172
  "foundryImg": {
173
173
  "$ref": "util-foundry.json#/$defs/foundryImg"
174
+ },
175
+ "foundryAdvice": {
176
+ "$ref": "entry.json"
174
177
  }
175
178
  },
176
179
  "additionalProperties": false
@@ -344,6 +347,9 @@
344
347
  },
345
348
  "foundryImg": {
346
349
  "$ref": "util-foundry.json#/$defs/foundryImg"
350
+ },
351
+ "foundryAdvice": {
352
+ "$ref": "entry.json"
347
353
  }
348
354
  },
349
355
  "additionalProperties": false,
@@ -521,6 +527,9 @@
521
527
  "foundryImg": {
522
528
  "$ref": "util-foundry.json#/$defs/foundryImg"
523
529
  },
530
+ "foundryAdvice": {
531
+ "$ref": "entry.json"
532
+ },
524
533
  "_copy": {
525
534
  "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
526
535
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "feats.json",
4
- "version": "1.7.12",
4
+ "version": "1.7.13",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "featData": {
@@ -147,6 +147,9 @@
147
147
  "foundryImg": {
148
148
  "$ref": "util-foundry.json#/$defs/foundryImg"
149
149
  },
150
+ "foundryAdvice": {
151
+ "$ref": "entry.json"
152
+ },
150
153
  "_foundryMerge": {
151
154
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
152
155
  }
@@ -298,6 +301,9 @@
298
301
  "foundryImg": {
299
302
  "$ref": "util-foundry.json#/$defs/foundryImg"
300
303
  },
304
+ "foundryAdvice": {
305
+ "$ref": "entry.json"
306
+ },
301
307
  "_foundryMerge": {
302
308
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
303
309
  }
@@ -452,6 +458,9 @@
452
458
  "foundryImg": {
453
459
  "$ref": "util-foundry.json#/$defs/foundryImg"
454
460
  },
461
+ "foundryAdvice": {
462
+ "$ref": "entry.json"
463
+ },
455
464
  "_foundryMerge": {
456
465
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
457
466
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.6.15",
4
+ "version": "1.6.16",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -467,6 +467,9 @@
467
467
  "foundryImg": {
468
468
  "$ref": "util-foundry.json#/$defs/foundryImg"
469
469
  },
470
+ "foundryAdvice": {
471
+ "$ref": "entry.json"
472
+ },
470
473
  "_foundryMerge": {
471
474
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
472
475
  },
@@ -848,6 +851,9 @@
848
851
  "foundryImg": {
849
852
  "$ref": "util-foundry.json#/$defs/foundryImg"
850
853
  },
854
+ "foundryAdvice": {
855
+ "$ref": "entry.json"
856
+ },
851
857
  "_foundryMerge": {
852
858
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
853
859
  },
@@ -1233,6 +1239,9 @@
1233
1239
  "foundryImg": {
1234
1240
  "$ref": "util-foundry.json#/$defs/foundryImg"
1235
1241
  },
1242
+ "foundryAdvice": {
1243
+ "$ref": "entry.json"
1244
+ },
1236
1245
  "_foundryMerge": {
1237
1246
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
1238
1247
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items.json",
4
- "version": "1.14.26",
4
+ "version": "1.14.27",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemData": {
@@ -521,6 +521,9 @@
521
521
  "foundryImg": {
522
522
  "$ref": "util-foundry.json#/$defs/foundryImg"
523
523
  },
524
+ "foundryAdvice": {
525
+ "$ref": "entry.json"
526
+ },
524
527
  "_foundryMerge": {
525
528
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
526
529
  },
@@ -1055,6 +1058,9 @@
1055
1058
  "foundryImg": {
1056
1059
  "$ref": "util-foundry.json#/$defs/foundryImg"
1057
1060
  },
1061
+ "foundryAdvice": {
1062
+ "$ref": "entry.json"
1063
+ },
1058
1064
  "_foundryMerge": {
1059
1065
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
1060
1066
  },
@@ -1591,6 +1597,9 @@
1591
1597
  "foundryImg": {
1592
1598
  "$ref": "util-foundry.json#/$defs/foundryImg"
1593
1599
  },
1600
+ "foundryAdvice": {
1601
+ "$ref": "entry.json"
1602
+ },
1594
1603
  "_foundryMerge": {
1595
1604
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
1596
1605
  },
@@ -2125,6 +2134,9 @@
2125
2134
  "foundryImg": {
2126
2135
  "$ref": "util-foundry.json#/$defs/foundryImg"
2127
2136
  },
2137
+ "foundryAdvice": {
2138
+ "$ref": "entry.json"
2139
+ },
2128
2140
  "_foundryMerge": {
2129
2141
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
2130
2142
  },
@@ -2666,6 +2678,9 @@
2666
2678
  "foundryImg": {
2667
2679
  "$ref": "util-foundry.json#/$defs/foundryImg"
2668
2680
  },
2681
+ "foundryAdvice": {
2682
+ "$ref": "entry.json"
2683
+ },
2669
2684
  "_foundryMerge": {
2670
2685
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
2671
2686
  },
@@ -3204,6 +3219,9 @@
3204
3219
  "foundryImg": {
3205
3220
  "$ref": "util-foundry.json#/$defs/foundryImg"
3206
3221
  },
3222
+ "foundryAdvice": {
3223
+ "$ref": "entry.json"
3224
+ },
3207
3225
  "_foundryMerge": {
3208
3226
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
3209
3227
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "languages.json",
4
- "version": "1.1.15",
4
+ "version": "1.1.16",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "language": {
@@ -79,6 +79,9 @@
79
79
  },
80
80
  "foundryImg": {
81
81
  "$ref": "util-foundry.json#/$defs/foundryImg"
82
+ },
83
+ "foundryAdvice": {
84
+ "$ref": "entry.json"
82
85
  }
83
86
  },
84
87
  "required": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "magicvariants.json",
4
- "version": "1.9.16",
4
+ "version": "1.9.17",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "_magicvariantDataBase": {
@@ -613,6 +613,9 @@
613
613
  "foundryImg": {
614
614
  "$ref": "util-foundry.json#/$defs/foundryImg"
615
615
  },
616
+ "foundryAdvice": {
617
+ "$ref": "entry.json"
618
+ },
616
619
  "_foundryMerge": {
617
620
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
618
621
  }
@@ -1231,6 +1234,9 @@
1231
1234
  "foundryImg": {
1232
1235
  "$ref": "util-foundry.json#/$defs/foundryImg"
1233
1236
  },
1237
+ "foundryAdvice": {
1238
+ "$ref": "entry.json"
1239
+ },
1234
1240
  "_foundryMerge": {
1235
1241
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
1236
1242
  },
@@ -1853,6 +1859,9 @@
1853
1859
  "foundryImg": {
1854
1860
  "$ref": "util-foundry.json#/$defs/foundryImg"
1855
1861
  },
1862
+ "foundryAdvice": {
1863
+ "$ref": "entry.json"
1864
+ },
1856
1865
  "_foundryMerge": {
1857
1866
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
1858
1867
  }
@@ -2476,6 +2485,9 @@
2476
2485
  "foundryImg": {
2477
2486
  "$ref": "util-foundry.json#/$defs/foundryImg"
2478
2487
  },
2488
+ "foundryAdvice": {
2489
+ "$ref": "entry.json"
2490
+ },
2479
2491
  "_foundryMerge": {
2480
2492
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
2481
2493
  },
@@ -3100,6 +3112,9 @@
3100
3112
  "foundryImg": {
3101
3113
  "$ref": "util-foundry.json#/$defs/foundryImg"
3102
3114
  },
3115
+ "foundryAdvice": {
3116
+ "$ref": "entry.json"
3117
+ },
3103
3118
  "_foundryMerge": {
3104
3119
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
3105
3120
  },
@@ -3725,6 +3740,9 @@
3725
3740
  "foundryImg": {
3726
3741
  "$ref": "util-foundry.json#/$defs/foundryImg"
3727
3742
  },
3743
+ "foundryAdvice": {
3744
+ "$ref": "entry.json"
3745
+ },
3728
3746
  "_foundryMerge": {
3729
3747
  "$ref": "util-foundry.json#/$defs/foundryMergeObject"
3730
3748
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "objects.json",
4
- "version": "1.3.10",
4
+ "version": "1.3.11",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -162,6 +162,9 @@
162
162
  "foundryImg": {
163
163
  "$ref": "util-foundry.json#/$defs/foundryImg"
164
164
  },
165
+ "foundryAdvice": {
166
+ "$ref": "entry.json"
167
+ },
165
168
  "tokenUrl": {
166
169
  "$ref": "util-token.json#/$defs/tokenUrl"
167
170
  },