5etools-utils 0.9.9 → 0.9.11

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 (103) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/backgrounds.json +8 -0
  3. package/schema/brew/bestiary/bestiary.json +8 -0
  4. package/schema/brew/bestiary/legendarygroups.json +8 -0
  5. package/schema/brew/bestiary/template.json +8 -0
  6. package/schema/brew/class/class.json +16 -0
  7. package/schema/brew/class/foundry.json +5 -53
  8. package/schema/brew/decks.json +35 -1
  9. package/schema/brew/deities.json +8 -0
  10. package/schema/brew/fluff-races.json +8 -0
  11. package/schema/brew/foundry-races.json +348 -40
  12. package/schema/brew/foundry-shared.json +54 -0
  13. package/schema/brew/homebrew.json +4 -1
  14. package/schema/brew/items-base.json +8 -0
  15. package/schema/brew/items.json +8 -0
  16. package/schema/brew/races.json +16 -0
  17. package/schema/brew/spells/spells.json +8 -0
  18. package/schema/brew/util.json +17 -1
  19. package/schema/brew-fast/backgrounds.json +8 -0
  20. package/schema/brew-fast/bestiary/bestiary.json +8 -0
  21. package/schema/brew-fast/bestiary/legendarygroups.json +8 -0
  22. package/schema/brew-fast/bestiary/template.json +8 -0
  23. package/schema/brew-fast/class/class.json +16 -0
  24. package/schema/brew-fast/class/foundry.json +5 -53
  25. package/schema/brew-fast/decks.json +35 -1
  26. package/schema/brew-fast/deities.json +8 -0
  27. package/schema/brew-fast/fluff-races.json +8 -0
  28. package/schema/brew-fast/foundry-races.json +348 -40
  29. package/schema/brew-fast/foundry-shared.json +54 -0
  30. package/schema/brew-fast/homebrew.json +4 -1
  31. package/schema/brew-fast/items-base.json +8 -0
  32. package/schema/brew-fast/items.json +8 -0
  33. package/schema/brew-fast/races.json +16 -0
  34. package/schema/brew-fast/spells/spells.json +8 -0
  35. package/schema/brew-fast/util.json +17 -1
  36. package/schema/site/backgrounds.json +8 -0
  37. package/schema/site/bestiary/bestiary.json +8 -0
  38. package/schema/site/bestiary/legendarygroups.json +8 -0
  39. package/schema/site/bestiary/template.json +8 -0
  40. package/schema/site/class/class.json +16 -0
  41. package/schema/site/class/foundry.json +5 -53
  42. package/schema/site/decks.json +35 -1
  43. package/schema/site/deities.json +8 -0
  44. package/schema/site/fluff-races.json +8 -0
  45. package/schema/site/foundry-races.json +348 -40
  46. package/schema/site/foundry-shared.json +54 -0
  47. package/schema/site/homebrew.json +4 -1
  48. package/schema/site/items-base.json +8 -0
  49. package/schema/site/items.json +8 -0
  50. package/schema/site/races.json +16 -0
  51. package/schema/site/spells/spells.json +8 -0
  52. package/schema/site/util.json +17 -1
  53. package/schema/site-fast/backgrounds.json +8 -0
  54. package/schema/site-fast/bestiary/bestiary.json +8 -0
  55. package/schema/site-fast/bestiary/legendarygroups.json +8 -0
  56. package/schema/site-fast/bestiary/template.json +8 -0
  57. package/schema/site-fast/class/class.json +16 -0
  58. package/schema/site-fast/class/foundry.json +5 -53
  59. package/schema/site-fast/decks.json +35 -1
  60. package/schema/site-fast/deities.json +8 -0
  61. package/schema/site-fast/fluff-races.json +8 -0
  62. package/schema/site-fast/foundry-races.json +348 -40
  63. package/schema/site-fast/foundry-shared.json +54 -0
  64. package/schema/site-fast/homebrew.json +4 -1
  65. package/schema/site-fast/items-base.json +8 -0
  66. package/schema/site-fast/items.json +8 -0
  67. package/schema/site-fast/races.json +16 -0
  68. package/schema/site-fast/spells/spells.json +8 -0
  69. package/schema/site-fast/util.json +17 -1
  70. package/schema/ua/backgrounds.json +8 -0
  71. package/schema/ua/bestiary/bestiary.json +8 -0
  72. package/schema/ua/bestiary/legendarygroups.json +8 -0
  73. package/schema/ua/bestiary/template.json +8 -0
  74. package/schema/ua/class/class.json +16 -0
  75. package/schema/ua/class/foundry.json +5 -53
  76. package/schema/ua/decks.json +35 -1
  77. package/schema/ua/deities.json +8 -0
  78. package/schema/ua/fluff-races.json +8 -0
  79. package/schema/ua/foundry-races.json +348 -40
  80. package/schema/ua/foundry-shared.json +54 -0
  81. package/schema/ua/homebrew.json +4 -1
  82. package/schema/ua/items-base.json +8 -0
  83. package/schema/ua/items.json +8 -0
  84. package/schema/ua/races.json +16 -0
  85. package/schema/ua/spells/spells.json +8 -0
  86. package/schema/ua/util.json +17 -1
  87. package/schema/ua-fast/backgrounds.json +8 -0
  88. package/schema/ua-fast/bestiary/bestiary.json +8 -0
  89. package/schema/ua-fast/bestiary/legendarygroups.json +8 -0
  90. package/schema/ua-fast/bestiary/template.json +8 -0
  91. package/schema/ua-fast/class/class.json +16 -0
  92. package/schema/ua-fast/class/foundry.json +5 -53
  93. package/schema/ua-fast/decks.json +35 -1
  94. package/schema/ua-fast/deities.json +8 -0
  95. package/schema/ua-fast/fluff-races.json +8 -0
  96. package/schema/ua-fast/foundry-races.json +348 -40
  97. package/schema/ua-fast/foundry-shared.json +54 -0
  98. package/schema/ua-fast/homebrew.json +4 -1
  99. package/schema/ua-fast/items-base.json +8 -0
  100. package/schema/ua-fast/items.json +8 -0
  101. package/schema/ua-fast/races.json +16 -0
  102. package/schema/ua-fast/spells/spells.json +8 -0
  103. package/schema/ua-fast/util.json +17 -1
@@ -1,56 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "foundry-class.json",
4
- "version": "1.4.3",
4
+ "version": "1.4.4",
5
5
  "type": "object",
6
- "$defs": {
7
- "entryDataObject": {
8
- "description": "Additional \"5etools-type\" data to be stored on the entry.",
9
- "type": "object",
10
- "properties": {
11
- "languageProficiencies": {
12
- "$ref": "../util.json#/$defs/languageProficiencies"
13
- },
14
- "skillProficiencies": {
15
- "$ref": "../util.json#/$defs/skillProficiencies"
16
- },
17
- "weaponProficiencies": {
18
- "$ref": "../util.json#/$defs/weaponProficiencies"
19
- },
20
- "armorProficiencies": {
21
- "$ref": "../util.json#/$defs/armorProficiencies"
22
- },
23
- "toolProficiencies": {
24
- "$ref": "../util.json#/$defs/toolProficiencies"
25
- },
26
- "savingThrowProficiencies": {
27
- "$ref": "../util.json#/$defs/savingThrowProficiencies"
28
- },
29
- "expertise": {
30
- "$ref": "../util.json#/$defs/expertise"
31
- },
32
- "resist": {
33
- "$ref": "../util.json#/$defs/damageResistArrayPlayer"
34
- },
35
- "immune": {
36
- "$ref": "../util.json#/$defs/damageImmunityArrayPlayer"
37
- },
38
- "vulnerable": {
39
- "$ref": "../util.json#/$defs/damageVulnerabilityArrayPlayer"
40
- },
41
- "conditionImmune": {
42
- "$ref": "../util.json#/$defs/conditionImmunityArrayPlayer"
43
- },
44
- "resources": {
45
- "$ref": "../util.json#/$defs/resourcesArray"
46
- },
47
- "senses": {
48
- "$ref": "../util.json#/$defs/sensesArray"
49
- }
50
- },
51
- "additionalProperties": false
52
- }
53
- },
54
6
  "properties": {
55
7
  "class": {
56
8
  "type": "array",
@@ -86,7 +38,7 @@
86
38
  }
87
39
  },
88
40
  "entryData": {
89
- "$ref": "#/$defs/entryDataObject"
41
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
90
42
  },
91
43
  "advancement": {
92
44
  "$ref": "../util.json#/$defs/foundryAdvancementsArray"
@@ -173,7 +125,7 @@
173
125
  }
174
126
  },
175
127
  "entryData": {
176
- "$ref": "#/$defs/entryDataObject"
128
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
177
129
  },
178
130
  "advancement": {
179
131
  "$ref": "../util.json#/$defs/foundryAdvancementsArray"
@@ -260,7 +212,7 @@
260
212
  }
261
213
  },
262
214
  "entryData": {
263
- "$ref": "#/$defs/entryDataObject"
215
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
264
216
  },
265
217
  "chooseSystem": {
266
218
  "type": "array",
@@ -352,7 +304,7 @@
352
304
  }
353
305
  },
354
306
  "entryData": {
355
- "$ref": "#/$defs/entryDataObject"
307
+ "$ref": "../foundry-shared.json#/$defs/entryDataObject"
356
308
  },
357
309
  "chooseSystem": {
358
310
  "type": "array",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "decks.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deckData": {
@@ -16,6 +16,9 @@
16
16
  "source": {
17
17
  "$ref": "util.json#/$defs/source"
18
18
  },
19
+ "otherSources": {
20
+ "$ref": "util.json#/$defs/otherSources"
21
+ },
19
22
  "page": {
20
23
  "$ref": "util.json#/$defs/page"
21
24
  },
@@ -83,6 +86,9 @@
83
86
  "source": {
84
87
  "$ref": "util.json#/$defs/source"
85
88
  },
89
+ "otherSources": {
90
+ "$ref": "util.json#/$defs/otherSources"
91
+ },
86
92
  "page": {
87
93
  "$ref": "util.json#/$defs/page"
88
94
  },
@@ -153,6 +159,9 @@
153
159
  "source": {
154
160
  "$ref": "util.json#/$defs/source"
155
161
  },
162
+ "otherSources": {
163
+ "$ref": "util.json#/$defs/otherSources"
164
+ },
156
165
  "page": {
157
166
  "$ref": "util.json#/$defs/page"
158
167
  },
@@ -228,6 +237,14 @@
228
237
  "description": "Used in subclass data",
229
238
  "$ref": "util.json#/$defs/source"
230
239
  },
240
+ "raceName": {
241
+ "description": "Used in race feature data",
242
+ "type": "string"
243
+ },
244
+ "raceSource": {
245
+ "description": "Used in race feature data",
246
+ "$ref": "util.json#/$defs/source"
247
+ },
231
248
  "_mod": {
232
249
  "$ref": "util.json#/$defs/_modObject"
233
250
  },
@@ -281,6 +298,9 @@
281
298
  "source": {
282
299
  "$ref": "util.json#/$defs/source"
283
300
  },
301
+ "otherSources": {
302
+ "$ref": "util.json#/$defs/otherSources"
303
+ },
284
304
  "set": {
285
305
  "type": "string"
286
306
  },
@@ -328,6 +348,9 @@
328
348
  "source": {
329
349
  "$ref": "util.json#/$defs/source"
330
350
  },
351
+ "otherSources": {
352
+ "$ref": "util.json#/$defs/otherSources"
353
+ },
331
354
  "set": {
332
355
  "type": "string"
333
356
  },
@@ -378,6 +401,9 @@
378
401
  "source": {
379
402
  "$ref": "util.json#/$defs/source"
380
403
  },
404
+ "otherSources": {
405
+ "$ref": "util.json#/$defs/otherSources"
406
+ },
381
407
  "set": {
382
408
  "type": "string"
383
409
  },
@@ -433,6 +459,14 @@
433
459
  "description": "Used in subclass data",
434
460
  "$ref": "util.json#/$defs/source"
435
461
  },
462
+ "raceName": {
463
+ "description": "Used in race feature data",
464
+ "type": "string"
465
+ },
466
+ "raceSource": {
467
+ "description": "Used in race feature data",
468
+ "$ref": "util.json#/$defs/source"
469
+ },
436
470
  "_mod": {
437
471
  "$ref": "util.json#/$defs/_modObject"
438
472
  },
@@ -417,6 +417,14 @@
417
417
  "description": "Used in subclass data",
418
418
  "$ref": "util.json#/$defs/source"
419
419
  },
420
+ "raceName": {
421
+ "description": "Used in race feature data",
422
+ "type": "string"
423
+ },
424
+ "raceSource": {
425
+ "description": "Used in race feature data",
426
+ "$ref": "util.json#/$defs/source"
427
+ },
420
428
  "_mod": {
421
429
  "$ref": "util.json#/$defs/_modObject"
422
430
  },
@@ -144,6 +144,14 @@
144
144
  "description": "Used in subclass data",
145
145
  "$ref": "util.json#/$defs/source"
146
146
  },
147
+ "raceName": {
148
+ "description": "Used in race feature data",
149
+ "type": "string"
150
+ },
151
+ "raceSource": {
152
+ "description": "Used in race feature data",
153
+ "$ref": "util.json#/$defs/source"
154
+ },
147
155
  "_mod": {
148
156
  "$ref": "util.json#/$defs/_modObject"
149
157
  },
@@ -1,57 +1,365 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "foundry-races.json",
4
- "version": "1.1.1",
4
+ "version": "1.2.0",
5
5
  "type": "object",
6
+ "$defs": {
7
+ "raceData": {
8
+ "type": "object",
9
+ "additionalProperties": false,
10
+ "properties": {
11
+ "name": {
12
+ "type": "string"
13
+ },
14
+ "source": {
15
+ "$ref": "util.json#/$defs/source"
16
+ },
17
+ "system": {
18
+ "$ref": "util.json#/$defs/foundrySystemObject"
19
+ },
20
+ "effects": {
21
+ "type": "array",
22
+ "items": {
23
+ "$ref": "util.json#/$defs/foundryEffectObject"
24
+ }
25
+ },
26
+ "flags": {
27
+ "$ref": "util.json#/$defs/foundryFlagsObject"
28
+ },
29
+ "img": {
30
+ "type": "string"
31
+ },
32
+ "entryData": {
33
+ "$ref": "foundry-shared.json#/$defs/entryDataObject"
34
+ }
35
+ },
36
+ "required": [
37
+ "name",
38
+ "source"
39
+ ]
40
+ },
41
+ "race": {
42
+ "anyOf": [
43
+ {
44
+ "$ref": "#/$defs/raceData"
45
+ },
46
+ {
47
+ "type": "object",
48
+ "additionalProperties": false,
49
+ "properties": {
50
+ "name": {
51
+ "type": "string"
52
+ },
53
+ "source": {
54
+ "$ref": "util.json#/$defs/source"
55
+ },
56
+ "system": {
57
+ "$ref": "util.json#/$defs/foundrySystemObject"
58
+ },
59
+ "effects": {
60
+ "type": "array",
61
+ "items": {
62
+ "$ref": "util.json#/$defs/foundryEffectObject"
63
+ }
64
+ },
65
+ "flags": {
66
+ "$ref": "util.json#/$defs/foundryFlagsObject"
67
+ },
68
+ "img": {
69
+ "type": "string"
70
+ },
71
+ "entryData": {
72
+ "$ref": "foundry-shared.json#/$defs/entryDataObject"
73
+ },
74
+ "_copy": {
75
+ "type": "object",
76
+ "properties": {
77
+ "name": {
78
+ "type": "string"
79
+ },
80
+ "source": {
81
+ "$ref": "util.json#/$defs/source"
82
+ },
83
+ "pantheon": {
84
+ "description": "Used in deity data",
85
+ "type": "string"
86
+ },
87
+ "shortName": {
88
+ "description": "Used in subclass data",
89
+ "type": "string"
90
+ },
91
+ "className": {
92
+ "description": "Used in subclass data",
93
+ "type": "string"
94
+ },
95
+ "classSource": {
96
+ "description": "Used in subclass data",
97
+ "$ref": "util.json#/$defs/source"
98
+ },
99
+ "raceName": {
100
+ "description": "Used in race feature data",
101
+ "type": "string"
102
+ },
103
+ "raceSource": {
104
+ "description": "Used in race feature data",
105
+ "$ref": "util.json#/$defs/source"
106
+ },
107
+ "_mod": {
108
+ "$ref": "util.json#/$defs/_modObject"
109
+ },
110
+ "_trait": {
111
+ "type": "object",
112
+ "properties": {
113
+ "name": {
114
+ "type": "string"
115
+ },
116
+ "source": {
117
+ "$ref": "util.json#/$defs/source"
118
+ }
119
+ },
120
+ "required": [
121
+ "name",
122
+ "source"
123
+ ]
124
+ },
125
+ "_preserve": {
126
+ "type": "object",
127
+ "patternProperties": {
128
+ ".*": {
129
+ "const": true
130
+ }
131
+ }
132
+ }
133
+ },
134
+ "required": [
135
+ "name",
136
+ "source"
137
+ ],
138
+ "additionalProperties": false
139
+ }
140
+ },
141
+ "required": [
142
+ "name",
143
+ "source",
144
+ "_copy"
145
+ ]
146
+ }
147
+ ]
148
+ },
149
+ "raceFeatureData": {
150
+ "type": "object",
151
+ "additionalProperties": false,
152
+ "properties": {
153
+ "name": {
154
+ "type": "string"
155
+ },
156
+ "source": {
157
+ "$ref": "util.json#/$defs/source"
158
+ },
159
+ "system": {
160
+ "$ref": "util.json#/$defs/foundrySystemObject"
161
+ },
162
+ "effects": {
163
+ "type": "array",
164
+ "items": {
165
+ "$ref": "util.json#/$defs/foundryEffectObject"
166
+ }
167
+ },
168
+ "flags": {
169
+ "$ref": "util.json#/$defs/foundryFlagsObject"
170
+ },
171
+ "img": {
172
+ "type": "string"
173
+ },
174
+ "raceName": {
175
+ "description": "The full name of the race, with subrace parts/etc. applied.",
176
+ "type": "string"
177
+ },
178
+ "raceSource": {
179
+ "description": "The source of the subrace or race.",
180
+ "$ref": "util.json#/$defs/source"
181
+ }
182
+ },
183
+ "required": [
184
+ "name",
185
+ "source"
186
+ ]
187
+ },
188
+ "raceFeature": {
189
+ "anyOf": [
190
+ {
191
+ "type": "object",
192
+ "additionalProperties": false,
193
+ "properties": {
194
+ "name": {
195
+ "type": "string"
196
+ },
197
+ "source": {
198
+ "$ref": "util.json#/$defs/source"
199
+ },
200
+ "system": {
201
+ "$ref": "util.json#/$defs/foundrySystemObject"
202
+ },
203
+ "effects": {
204
+ "type": "array",
205
+ "items": {
206
+ "$ref": "util.json#/$defs/foundryEffectObject"
207
+ }
208
+ },
209
+ "flags": {
210
+ "$ref": "util.json#/$defs/foundryFlagsObject"
211
+ },
212
+ "img": {
213
+ "type": "string"
214
+ },
215
+ "raceName": {
216
+ "description": "The full name of the race, with subrace parts/etc. applied.",
217
+ "type": "string"
218
+ },
219
+ "raceSource": {
220
+ "description": "The source of the subrace or race.",
221
+ "$ref": "util.json#/$defs/source"
222
+ }
223
+ },
224
+ "required": [
225
+ "name",
226
+ "source",
227
+ "raceName",
228
+ "raceSource"
229
+ ]
230
+ },
231
+ {
232
+ "type": "object",
233
+ "additionalProperties": false,
234
+ "properties": {
235
+ "name": {
236
+ "type": "string"
237
+ },
238
+ "source": {
239
+ "$ref": "util.json#/$defs/source"
240
+ },
241
+ "system": {
242
+ "$ref": "util.json#/$defs/foundrySystemObject"
243
+ },
244
+ "effects": {
245
+ "type": "array",
246
+ "items": {
247
+ "$ref": "util.json#/$defs/foundryEffectObject"
248
+ }
249
+ },
250
+ "flags": {
251
+ "$ref": "util.json#/$defs/foundryFlagsObject"
252
+ },
253
+ "img": {
254
+ "type": "string"
255
+ },
256
+ "raceName": {
257
+ "description": "The full name of the race, with subrace parts/etc. applied.",
258
+ "type": "string"
259
+ },
260
+ "raceSource": {
261
+ "description": "The source of the subrace or race.",
262
+ "$ref": "util.json#/$defs/source"
263
+ },
264
+ "_copy": {
265
+ "type": "object",
266
+ "properties": {
267
+ "name": {
268
+ "type": "string"
269
+ },
270
+ "source": {
271
+ "$ref": "util.json#/$defs/source"
272
+ },
273
+ "pantheon": {
274
+ "description": "Used in deity data",
275
+ "type": "string"
276
+ },
277
+ "shortName": {
278
+ "description": "Used in subclass data",
279
+ "type": "string"
280
+ },
281
+ "className": {
282
+ "description": "Used in subclass data",
283
+ "type": "string"
284
+ },
285
+ "classSource": {
286
+ "description": "Used in subclass data",
287
+ "$ref": "util.json#/$defs/source"
288
+ },
289
+ "raceName": {
290
+ "description": "Used in race feature data",
291
+ "type": "string"
292
+ },
293
+ "raceSource": {
294
+ "description": "Used in race feature data",
295
+ "$ref": "util.json#/$defs/source"
296
+ },
297
+ "_mod": {
298
+ "$ref": "util.json#/$defs/_modObject"
299
+ },
300
+ "_trait": {
301
+ "type": "object",
302
+ "properties": {
303
+ "name": {
304
+ "type": "string"
305
+ },
306
+ "source": {
307
+ "$ref": "util.json#/$defs/source"
308
+ }
309
+ },
310
+ "required": [
311
+ "name",
312
+ "source"
313
+ ]
314
+ },
315
+ "_preserve": {
316
+ "type": "object",
317
+ "patternProperties": {
318
+ ".*": {
319
+ "const": true
320
+ }
321
+ }
322
+ }
323
+ },
324
+ "required": [
325
+ "name",
326
+ "source"
327
+ ],
328
+ "additionalProperties": false
329
+ }
330
+ },
331
+ "required": [
332
+ "name",
333
+ "source",
334
+ "_copy"
335
+ ]
336
+ }
337
+ ]
338
+ }
339
+ },
6
340
  "properties": {
341
+ "_meta": {
342
+ "$ref": "util.json#/$defs/metaBlock"
343
+ },
344
+ "race": {
345
+ "type": "array",
346
+ "minItems": 1,
347
+ "uniqueItems": true,
348
+ "items": {
349
+ "$ref": "#/$defs/race"
350
+ }
351
+ },
7
352
  "raceFeature": {
8
353
  "type": "array",
9
354
  "minItems": 1,
10
355
  "uniqueItems": true,
11
356
  "items": {
12
- "type": "object",
13
- "required": [
14
- "name",
15
- "source",
16
- "raceName",
17
- "raceSource"
18
- ],
19
- "additionalProperties": false,
20
- "properties": {
21
- "name": {
22
- "type": "string"
23
- },
24
- "source": {
25
- "$ref": "util.json#/$defs/source"
26
- },
27
- "system": {
28
- "$ref": "util.json#/$defs/foundrySystemObject"
29
- },
30
- "effects": {
31
- "type": "array",
32
- "items": {
33
- "$ref": "util.json#/$defs/foundryEffectObject"
34
- }
35
- },
36
- "flags": {
37
- "$ref": "util.json#/$defs/foundryFlagsObject"
38
- },
39
- "img": {
40
- "type": "string"
41
- },
42
- "raceName": {
43
- "description": "The full name of the race, with subrace parts/etc. applied.",
44
- "type": "string"
45
- },
46
- "raceSource": {
47
- "description": "The source of the subrace or race.",
48
- "$ref": "util.json#/$defs/source"
49
- }
50
- }
357
+ "$ref": "#/$defs/raceFeature"
51
358
  }
52
359
  }
53
360
  },
54
361
  "required": [
362
+ "race",
55
363
  "raceFeature"
56
364
  ],
57
365
  "additionalProperties": false
@@ -0,0 +1,54 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-shared.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "$defs": {
7
+ "entryDataObject": {
8
+ "description": "Additional \"5etools-type\" data to be stored on the entry.",
9
+ "type": "object",
10
+ "properties": {
11
+ "languageProficiencies": {
12
+ "$ref": "util.json#/$defs/languageProficiencies"
13
+ },
14
+ "skillProficiencies": {
15
+ "$ref": "util.json#/$defs/skillProficiencies"
16
+ },
17
+ "weaponProficiencies": {
18
+ "$ref": "util.json#/$defs/weaponProficiencies"
19
+ },
20
+ "armorProficiencies": {
21
+ "$ref": "util.json#/$defs/armorProficiencies"
22
+ },
23
+ "toolProficiencies": {
24
+ "$ref": "util.json#/$defs/toolProficiencies"
25
+ },
26
+ "savingThrowProficiencies": {
27
+ "$ref": "util.json#/$defs/savingThrowProficiencies"
28
+ },
29
+ "expertise": {
30
+ "$ref": "util.json#/$defs/expertise"
31
+ },
32
+ "resist": {
33
+ "$ref": "util.json#/$defs/damageResistArrayPlayer"
34
+ },
35
+ "immune": {
36
+ "$ref": "util.json#/$defs/damageImmunityArrayPlayer"
37
+ },
38
+ "vulnerable": {
39
+ "$ref": "util.json#/$defs/damageVulnerabilityArrayPlayer"
40
+ },
41
+ "conditionImmune": {
42
+ "$ref": "util.json#/$defs/conditionImmunityArrayPlayer"
43
+ },
44
+ "resources": {
45
+ "$ref": "util.json#/$defs/resourcesArray"
46
+ },
47
+ "senses": {
48
+ "$ref": "util.json#/$defs/sensesArray"
49
+ }
50
+ },
51
+ "additionalProperties": false
52
+ }
53
+ }
54
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.10.12",
3
+ "version": "1.10.13",
4
4
  "type": "object",
5
5
  "description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
6
6
  "$defs": {
@@ -569,6 +569,9 @@
569
569
  "subrace": {
570
570
  "$ref": "races.json#/properties/subrace"
571
571
  },
572
+ "foundryRace": {
573
+ "$ref": "foundry-races.json#/properties/race"
574
+ },
572
575
  "foundryRaceFeature": {
573
576
  "$ref": "foundry-races.json#/properties/raceFeature"
574
577
  },