5etools-utils 0.16.41 → 0.16.43

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.16.41",
3
+ "version": "0.16.43",
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": "corpus-shared.json",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -44,16 +44,35 @@
44
44
  "statblock": {
45
45
  "const": true
46
46
  },
47
+ "tag": {
48
+ "type": "string"
49
+ },
50
+ "uid": {
51
+ "type": "string"
52
+ },
47
53
  "index": {
48
54
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
49
55
  "type": "integer",
50
56
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
51
57
  }
52
58
  },
53
- "additionalProperties": false,
54
59
  "required": [
55
60
  "header"
56
- ]
61
+ ],
62
+ "dependentRequired": {
63
+ "source": [
64
+ "statblock"
65
+ ],
66
+ "tag": [
67
+ "statblock",
68
+ "uid"
69
+ ],
70
+ "uid": [
71
+ "statblock",
72
+ "tag"
73
+ ]
74
+ },
75
+ "additionalProperties": false
57
76
  }
58
77
  ]
59
78
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.10.1",
6
+ "version": "1.10.2",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -3285,6 +3285,67 @@
3285
3285
  ],
3286
3286
  "additionalProperties": false
3287
3287
  },
3288
+ {
3289
+ "type": "object",
3290
+ "properties": {
3291
+ "name": {
3292
+ "type": "string"
3293
+ },
3294
+ "type": {
3295
+ "type": "string",
3296
+ "const": "statblock"
3297
+ },
3298
+ "source": {
3299
+ "$ref": "util.json#/$defs/source"
3300
+ },
3301
+ "page": {
3302
+ "$ref": "util.json#/$defs/page"
3303
+ },
3304
+ "data": {
3305
+ "$ref": "#/$defs/_entryDataData"
3306
+ },
3307
+ "id": {
3308
+ "type": "string"
3309
+ },
3310
+ "displayName": {
3311
+ "type": "string"
3312
+ },
3313
+ "hash": {
3314
+ "type": "string"
3315
+ },
3316
+ "style": {
3317
+ "$ref": "#/$defs/_entryDataStyle"
3318
+ },
3319
+ "slotSize": {
3320
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3321
+ },
3322
+ "collapsed": {
3323
+ "const": true
3324
+ },
3325
+ "tag": {
3326
+ "const": "subclass"
3327
+ },
3328
+ "shortName": {
3329
+ "type": "string"
3330
+ },
3331
+ "className": {
3332
+ "type": "string"
3333
+ },
3334
+ "classSource": {
3335
+ "$ref": "util.json#/$defs/source"
3336
+ }
3337
+ },
3338
+ "required": [
3339
+ "type",
3340
+ "tag",
3341
+ "name",
3342
+ "shortName",
3343
+ "source",
3344
+ "className",
3345
+ "classSource"
3346
+ ],
3347
+ "additionalProperties": false
3348
+ },
3288
3349
  {
3289
3350
  "type": "object",
3290
3351
  "properties": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -67,6 +67,16 @@
67
67
  "$ref": "entry.json"
68
68
  }
69
69
  },
70
+ "seeAlsoFacility": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
75
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
76
+ },
77
+ "minItems": 1,
78
+ "uniqueItems": true
79
+ },
70
80
  "hasFluff": {
71
81
  "type": "boolean"
72
82
  },
@@ -162,6 +172,16 @@
162
172
  "$ref": "entry.json"
163
173
  }
164
174
  },
175
+ "seeAlsoFacility": {
176
+ "type": "array",
177
+ "items": {
178
+ "type": "string",
179
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
180
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
181
+ },
182
+ "minItems": 1,
183
+ "uniqueItems": true
184
+ },
165
185
  "hasFluff": {
166
186
  "type": "boolean"
167
187
  },
@@ -261,6 +281,16 @@
261
281
  "$ref": "entry.json"
262
282
  }
263
283
  },
284
+ "seeAlsoFacility": {
285
+ "type": "array",
286
+ "items": {
287
+ "type": "string",
288
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
289
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
290
+ },
291
+ "minItems": 1,
292
+ "uniqueItems": true
293
+ },
264
294
  "hasFluff": {
265
295
  "type": "boolean"
266
296
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -44,16 +44,35 @@
44
44
  "statblock": {
45
45
  "const": true
46
46
  },
47
+ "tag": {
48
+ "type": "string"
49
+ },
50
+ "uid": {
51
+ "type": "string"
52
+ },
47
53
  "index": {
48
54
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
49
55
  "type": "integer",
50
56
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
51
57
  }
52
58
  },
53
- "additionalProperties": false,
54
59
  "required": [
55
60
  "header"
56
- ]
61
+ ],
62
+ "dependentRequired": {
63
+ "source": [
64
+ "statblock"
65
+ ],
66
+ "tag": [
67
+ "statblock",
68
+ "uid"
69
+ ],
70
+ "uid": [
71
+ "statblock",
72
+ "tag"
73
+ ]
74
+ },
75
+ "additionalProperties": false
57
76
  }
58
77
  ]
59
78
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.10.1",
6
+ "version": "1.10.2",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -3285,6 +3285,67 @@
3285
3285
  ],
3286
3286
  "additionalProperties": false
3287
3287
  },
3288
+ {
3289
+ "type": "object",
3290
+ "properties": {
3291
+ "name": {
3292
+ "type": "string"
3293
+ },
3294
+ "type": {
3295
+ "type": "string",
3296
+ "const": "statblock"
3297
+ },
3298
+ "source": {
3299
+ "$ref": "util.json#/$defs/source"
3300
+ },
3301
+ "page": {
3302
+ "$ref": "util.json#/$defs/page"
3303
+ },
3304
+ "data": {
3305
+ "$ref": "#/$defs/_entryDataData"
3306
+ },
3307
+ "id": {
3308
+ "type": "string"
3309
+ },
3310
+ "displayName": {
3311
+ "type": "string"
3312
+ },
3313
+ "hash": {
3314
+ "type": "string"
3315
+ },
3316
+ "style": {
3317
+ "$ref": "#/$defs/_entryDataStyle"
3318
+ },
3319
+ "slotSize": {
3320
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3321
+ },
3322
+ "collapsed": {
3323
+ "const": true
3324
+ },
3325
+ "tag": {
3326
+ "const": "subclass"
3327
+ },
3328
+ "shortName": {
3329
+ "type": "string"
3330
+ },
3331
+ "className": {
3332
+ "type": "string"
3333
+ },
3334
+ "classSource": {
3335
+ "$ref": "util.json#/$defs/source"
3336
+ }
3337
+ },
3338
+ "required": [
3339
+ "type",
3340
+ "tag",
3341
+ "name",
3342
+ "shortName",
3343
+ "source",
3344
+ "className",
3345
+ "classSource"
3346
+ ],
3347
+ "additionalProperties": false
3348
+ },
3288
3349
  {
3289
3350
  "type": "object",
3290
3351
  "properties": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -67,6 +67,16 @@
67
67
  "$ref": "entry.json"
68
68
  }
69
69
  },
70
+ "seeAlsoFacility": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
75
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
76
+ },
77
+ "minItems": 1,
78
+ "uniqueItems": true
79
+ },
70
80
  "hasFluff": {
71
81
  "type": "boolean"
72
82
  },
@@ -162,6 +172,16 @@
162
172
  "$ref": "entry.json"
163
173
  }
164
174
  },
175
+ "seeAlsoFacility": {
176
+ "type": "array",
177
+ "items": {
178
+ "type": "string",
179
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
180
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
181
+ },
182
+ "minItems": 1,
183
+ "uniqueItems": true
184
+ },
165
185
  "hasFluff": {
166
186
  "type": "boolean"
167
187
  },
@@ -261,6 +281,16 @@
261
281
  "$ref": "entry.json"
262
282
  }
263
283
  },
284
+ "seeAlsoFacility": {
285
+ "type": "array",
286
+ "items": {
287
+ "type": "string",
288
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
289
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
290
+ },
291
+ "minItems": 1,
292
+ "uniqueItems": true
293
+ },
264
294
  "hasFluff": {
265
295
  "type": "boolean"
266
296
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -44,16 +44,35 @@
44
44
  "statblock": {
45
45
  "const": true
46
46
  },
47
+ "tag": {
48
+ "type": "string"
49
+ },
50
+ "uid": {
51
+ "type": "string"
52
+ },
47
53
  "index": {
48
54
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
49
55
  "type": "integer",
50
56
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
51
57
  }
52
58
  },
53
- "additionalProperties": false,
54
59
  "required": [
55
60
  "header"
56
- ]
61
+ ],
62
+ "dependentRequired": {
63
+ "source": [
64
+ "statblock"
65
+ ],
66
+ "tag": [
67
+ "statblock",
68
+ "uid"
69
+ ],
70
+ "uid": [
71
+ "statblock",
72
+ "tag"
73
+ ]
74
+ },
75
+ "additionalProperties": false
57
76
  }
58
77
  ]
59
78
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.10.1",
6
+ "version": "1.10.2",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -3747,6 +3747,79 @@
3747
3747
  ],
3748
3748
  "additionalProperties": false
3749
3749
  },
3750
+ {
3751
+ "type": "object",
3752
+ "properties": {
3753
+ "name": {
3754
+ "type": "string"
3755
+ },
3756
+ "type": {
3757
+ "type": "string",
3758
+ "const": "statblock"
3759
+ },
3760
+ "source": {
3761
+ "$ref": "util.json#/$defs/source"
3762
+ },
3763
+ "page": {
3764
+ "$ref": "util.json#/$defs/page"
3765
+ },
3766
+ "data": {
3767
+ "$ref": "#/$defs/_entryDataData"
3768
+ },
3769
+ "id": {
3770
+ "type": "string"
3771
+ },
3772
+ "srd": {
3773
+ "$ref": "util.json#/$defs/srd"
3774
+ },
3775
+ "srd52": {
3776
+ "$ref": "util.json#/$defs/srd"
3777
+ },
3778
+ "basicRules": {
3779
+ "$ref": "util.json#/$defs/basicRules"
3780
+ },
3781
+ "basicRules2024": {
3782
+ "$ref": "util.json#/$defs/basicRules"
3783
+ },
3784
+ "displayName": {
3785
+ "type": "string"
3786
+ },
3787
+ "hash": {
3788
+ "type": "string"
3789
+ },
3790
+ "style": {
3791
+ "$ref": "#/$defs/_entryDataStyle"
3792
+ },
3793
+ "slotSize": {
3794
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3795
+ },
3796
+ "collapsed": {
3797
+ "const": true
3798
+ },
3799
+ "tag": {
3800
+ "const": "subclass"
3801
+ },
3802
+ "shortName": {
3803
+ "type": "string"
3804
+ },
3805
+ "className": {
3806
+ "type": "string"
3807
+ },
3808
+ "classSource": {
3809
+ "$ref": "util.json#/$defs/source"
3810
+ }
3811
+ },
3812
+ "required": [
3813
+ "type",
3814
+ "tag",
3815
+ "name",
3816
+ "shortName",
3817
+ "source",
3818
+ "className",
3819
+ "classSource"
3820
+ ],
3821
+ "additionalProperties": false
3822
+ },
3750
3823
  {
3751
3824
  "type": "object",
3752
3825
  "properties": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -67,6 +67,16 @@
67
67
  "$ref": "entry.json"
68
68
  }
69
69
  },
70
+ "seeAlsoFacility": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
75
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
76
+ },
77
+ "minItems": 1,
78
+ "uniqueItems": true
79
+ },
70
80
  "hasFluff": {
71
81
  "type": "boolean"
72
82
  },
@@ -141,6 +151,16 @@
141
151
  "$ref": "entry.json"
142
152
  }
143
153
  },
154
+ "seeAlsoFacility": {
155
+ "type": "array",
156
+ "items": {
157
+ "type": "string",
158
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
159
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
160
+ },
161
+ "minItems": 1,
162
+ "uniqueItems": true
163
+ },
144
164
  "hasFluff": {
145
165
  "type": "boolean"
146
166
  },
@@ -219,6 +239,16 @@
219
239
  "$ref": "entry.json"
220
240
  }
221
241
  },
242
+ "seeAlsoFacility": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string",
246
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
247
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
248
+ },
249
+ "minItems": 1,
250
+ "uniqueItems": true
251
+ },
222
252
  "hasFluff": {
223
253
  "type": "boolean"
224
254
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -44,16 +44,35 @@
44
44
  "statblock": {
45
45
  "const": true
46
46
  },
47
+ "tag": {
48
+ "type": "string"
49
+ },
50
+ "uid": {
51
+ "type": "string"
52
+ },
47
53
  "index": {
48
54
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
49
55
  "type": "integer",
50
56
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
51
57
  }
52
58
  },
53
- "additionalProperties": false,
54
59
  "required": [
55
60
  "header"
56
- ]
61
+ ],
62
+ "dependentRequired": {
63
+ "source": [
64
+ "statblock"
65
+ ],
66
+ "tag": [
67
+ "statblock",
68
+ "uid"
69
+ ],
70
+ "uid": [
71
+ "statblock",
72
+ "tag"
73
+ ]
74
+ },
75
+ "additionalProperties": false
57
76
  }
58
77
  ]
59
78
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.10.1",
6
+ "version": "1.10.2",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -3747,6 +3747,79 @@
3747
3747
  ],
3748
3748
  "additionalProperties": false
3749
3749
  },
3750
+ {
3751
+ "type": "object",
3752
+ "properties": {
3753
+ "name": {
3754
+ "type": "string"
3755
+ },
3756
+ "type": {
3757
+ "type": "string",
3758
+ "const": "statblock"
3759
+ },
3760
+ "source": {
3761
+ "$ref": "util.json#/$defs/source"
3762
+ },
3763
+ "page": {
3764
+ "$ref": "util.json#/$defs/page"
3765
+ },
3766
+ "data": {
3767
+ "$ref": "#/$defs/_entryDataData"
3768
+ },
3769
+ "id": {
3770
+ "type": "string"
3771
+ },
3772
+ "srd": {
3773
+ "$ref": "util.json#/$defs/srd"
3774
+ },
3775
+ "srd52": {
3776
+ "$ref": "util.json#/$defs/srd"
3777
+ },
3778
+ "basicRules": {
3779
+ "$ref": "util.json#/$defs/basicRules"
3780
+ },
3781
+ "basicRules2024": {
3782
+ "$ref": "util.json#/$defs/basicRules"
3783
+ },
3784
+ "displayName": {
3785
+ "type": "string"
3786
+ },
3787
+ "hash": {
3788
+ "type": "string"
3789
+ },
3790
+ "style": {
3791
+ "$ref": "#/$defs/_entryDataStyle"
3792
+ },
3793
+ "slotSize": {
3794
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3795
+ },
3796
+ "collapsed": {
3797
+ "const": true
3798
+ },
3799
+ "tag": {
3800
+ "const": "subclass"
3801
+ },
3802
+ "shortName": {
3803
+ "type": "string"
3804
+ },
3805
+ "className": {
3806
+ "type": "string"
3807
+ },
3808
+ "classSource": {
3809
+ "$ref": "util.json#/$defs/source"
3810
+ }
3811
+ },
3812
+ "required": [
3813
+ "type",
3814
+ "tag",
3815
+ "name",
3816
+ "shortName",
3817
+ "source",
3818
+ "className",
3819
+ "classSource"
3820
+ ],
3821
+ "additionalProperties": false
3822
+ },
3750
3823
  {
3751
3824
  "type": "object",
3752
3825
  "properties": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -67,6 +67,16 @@
67
67
  "$ref": "entry.json"
68
68
  }
69
69
  },
70
+ "seeAlsoFacility": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
75
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
76
+ },
77
+ "minItems": 1,
78
+ "uniqueItems": true
79
+ },
70
80
  "hasFluff": {
71
81
  "type": "boolean"
72
82
  },
@@ -141,6 +151,16 @@
141
151
  "$ref": "entry.json"
142
152
  }
143
153
  },
154
+ "seeAlsoFacility": {
155
+ "type": "array",
156
+ "items": {
157
+ "type": "string",
158
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
159
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
160
+ },
161
+ "minItems": 1,
162
+ "uniqueItems": true
163
+ },
144
164
  "hasFluff": {
145
165
  "type": "boolean"
146
166
  },
@@ -219,6 +239,16 @@
219
239
  "$ref": "entry.json"
220
240
  }
221
241
  },
242
+ "seeAlsoFacility": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string",
246
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
247
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
248
+ },
249
+ "minItems": 1,
250
+ "uniqueItems": true
251
+ },
222
252
  "hasFluff": {
223
253
  "type": "boolean"
224
254
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -44,16 +44,35 @@
44
44
  "statblock": {
45
45
  "const": true
46
46
  },
47
+ "tag": {
48
+ "type": "string"
49
+ },
50
+ "uid": {
51
+ "type": "string"
52
+ },
47
53
  "index": {
48
54
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
49
55
  "type": "integer",
50
56
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
51
57
  }
52
58
  },
53
- "additionalProperties": false,
54
59
  "required": [
55
60
  "header"
56
- ]
61
+ ],
62
+ "dependentRequired": {
63
+ "source": [
64
+ "statblock"
65
+ ],
66
+ "tag": [
67
+ "statblock",
68
+ "uid"
69
+ ],
70
+ "uid": [
71
+ "statblock",
72
+ "tag"
73
+ ]
74
+ },
75
+ "additionalProperties": false
57
76
  }
58
77
  ]
59
78
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.10.1",
6
+ "version": "1.10.2",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -3230,6 +3230,67 @@
3230
3230
  ],
3231
3231
  "additionalProperties": false
3232
3232
  },
3233
+ {
3234
+ "type": "object",
3235
+ "properties": {
3236
+ "name": {
3237
+ "type": "string"
3238
+ },
3239
+ "type": {
3240
+ "type": "string",
3241
+ "const": "statblock"
3242
+ },
3243
+ "source": {
3244
+ "$ref": "util.json#/$defs/source"
3245
+ },
3246
+ "page": {
3247
+ "$ref": "util.json#/$defs/page"
3248
+ },
3249
+ "data": {
3250
+ "$ref": "#/$defs/_entryDataData"
3251
+ },
3252
+ "id": {
3253
+ "type": "string"
3254
+ },
3255
+ "displayName": {
3256
+ "type": "string"
3257
+ },
3258
+ "hash": {
3259
+ "type": "string"
3260
+ },
3261
+ "style": {
3262
+ "$ref": "#/$defs/_entryDataStyle"
3263
+ },
3264
+ "slotSize": {
3265
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3266
+ },
3267
+ "collapsed": {
3268
+ "const": true
3269
+ },
3270
+ "tag": {
3271
+ "const": "subclass"
3272
+ },
3273
+ "shortName": {
3274
+ "type": "string"
3275
+ },
3276
+ "className": {
3277
+ "type": "string"
3278
+ },
3279
+ "classSource": {
3280
+ "$ref": "util.json#/$defs/source"
3281
+ }
3282
+ },
3283
+ "required": [
3284
+ "type",
3285
+ "tag",
3286
+ "name",
3287
+ "shortName",
3288
+ "source",
3289
+ "className",
3290
+ "classSource"
3291
+ ],
3292
+ "additionalProperties": false
3293
+ },
3233
3294
  {
3234
3295
  "type": "object",
3235
3296
  "properties": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -67,6 +67,16 @@
67
67
  "$ref": "entry.json"
68
68
  }
69
69
  },
70
+ "seeAlsoFacility": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
75
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
76
+ },
77
+ "minItems": 1,
78
+ "uniqueItems": true
79
+ },
70
80
  "hasFluff": {
71
81
  "type": "boolean"
72
82
  },
@@ -141,6 +151,16 @@
141
151
  "$ref": "entry.json"
142
152
  }
143
153
  },
154
+ "seeAlsoFacility": {
155
+ "type": "array",
156
+ "items": {
157
+ "type": "string",
158
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
159
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
160
+ },
161
+ "minItems": 1,
162
+ "uniqueItems": true
163
+ },
144
164
  "hasFluff": {
145
165
  "type": "boolean"
146
166
  },
@@ -219,6 +239,16 @@
219
239
  "$ref": "entry.json"
220
240
  }
221
241
  },
242
+ "seeAlsoFacility": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string",
246
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
247
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
248
+ },
249
+ "minItems": 1,
250
+ "uniqueItems": true
251
+ },
222
252
  "hasFluff": {
223
253
  "type": "boolean"
224
254
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -44,16 +44,35 @@
44
44
  "statblock": {
45
45
  "const": true
46
46
  },
47
+ "tag": {
48
+ "type": "string"
49
+ },
50
+ "uid": {
51
+ "type": "string"
52
+ },
47
53
  "index": {
48
54
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
49
55
  "type": "integer",
50
56
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
51
57
  }
52
58
  },
53
- "additionalProperties": false,
54
59
  "required": [
55
60
  "header"
56
- ]
61
+ ],
62
+ "dependentRequired": {
63
+ "source": [
64
+ "statblock"
65
+ ],
66
+ "tag": [
67
+ "statblock",
68
+ "uid"
69
+ ],
70
+ "uid": [
71
+ "statblock",
72
+ "tag"
73
+ ]
74
+ },
75
+ "additionalProperties": false
57
76
  }
58
77
  ]
59
78
  }
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.10.1",
6
+ "version": "1.10.2",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -3230,6 +3230,67 @@
3230
3230
  ],
3231
3231
  "additionalProperties": false
3232
3232
  },
3233
+ {
3234
+ "type": "object",
3235
+ "properties": {
3236
+ "name": {
3237
+ "type": "string"
3238
+ },
3239
+ "type": {
3240
+ "type": "string",
3241
+ "const": "statblock"
3242
+ },
3243
+ "source": {
3244
+ "$ref": "util.json#/$defs/source"
3245
+ },
3246
+ "page": {
3247
+ "$ref": "util.json#/$defs/page"
3248
+ },
3249
+ "data": {
3250
+ "$ref": "#/$defs/_entryDataData"
3251
+ },
3252
+ "id": {
3253
+ "type": "string"
3254
+ },
3255
+ "displayName": {
3256
+ "type": "string"
3257
+ },
3258
+ "hash": {
3259
+ "type": "string"
3260
+ },
3261
+ "style": {
3262
+ "$ref": "#/$defs/_entryDataStyle"
3263
+ },
3264
+ "slotSize": {
3265
+ "$ref": "#/$defs/_entryStatblockSlotSize"
3266
+ },
3267
+ "collapsed": {
3268
+ "const": true
3269
+ },
3270
+ "tag": {
3271
+ "const": "subclass"
3272
+ },
3273
+ "shortName": {
3274
+ "type": "string"
3275
+ },
3276
+ "className": {
3277
+ "type": "string"
3278
+ },
3279
+ "classSource": {
3280
+ "$ref": "util.json#/$defs/source"
3281
+ }
3282
+ },
3283
+ "required": [
3284
+ "type",
3285
+ "tag",
3286
+ "name",
3287
+ "shortName",
3288
+ "source",
3289
+ "className",
3290
+ "classSource"
3291
+ ],
3292
+ "additionalProperties": false
3293
+ },
3233
3294
  {
3234
3295
  "type": "object",
3235
3296
  "properties": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "rewards.json",
4
- "version": "1.3.0",
4
+ "version": "1.3.1",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -67,6 +67,16 @@
67
67
  "$ref": "entry.json"
68
68
  }
69
69
  },
70
+ "seeAlsoFacility": {
71
+ "type": "array",
72
+ "items": {
73
+ "type": "string",
74
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
75
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
76
+ },
77
+ "minItems": 1,
78
+ "uniqueItems": true
79
+ },
70
80
  "hasFluff": {
71
81
  "type": "boolean"
72
82
  },
@@ -141,6 +151,16 @@
141
151
  "$ref": "entry.json"
142
152
  }
143
153
  },
154
+ "seeAlsoFacility": {
155
+ "type": "array",
156
+ "items": {
157
+ "type": "string",
158
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
159
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
160
+ },
161
+ "minItems": 1,
162
+ "uniqueItems": true
163
+ },
144
164
  "hasFluff": {
145
165
  "type": "boolean"
146
166
  },
@@ -219,6 +239,16 @@
219
239
  "$ref": "entry.json"
220
240
  }
221
241
  },
242
+ "seeAlsoFacility": {
243
+ "type": "array",
244
+ "items": {
245
+ "type": "string",
246
+ "description": "UIDs of \"facility\"s to be linked in a \"See Also\" footnote.\n\nEx.: \"arcane study|xdmg\".",
247
+ "markdownDescription": "UIDs of "facility"s to be linked in a "See Also" footnote.\n\nEx.: "arcane study|xdmg"."
248
+ },
249
+ "minItems": 1,
250
+ "uniqueItems": true
251
+ },
222
252
  "hasFluff": {
223
253
  "type": "boolean"
224
254
  },