5etools-utils 0.17.14 → 0.17.16

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.
@@ -1,9 +1,141 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "fluff-races.json",
4
- "version": "2.2.0",
4
+ "version": "2.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
+ "raceFluffMetaData": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "preserveName": {
14
+ "const": true
15
+ },
16
+ "source": {
17
+ "$ref": "util.json#/$defs/source"
18
+ },
19
+ "images": {
20
+ "oneOf": [
21
+ {
22
+ "type": "array",
23
+ "items": {
24
+ "$ref": "entry.json#/$defs/entryImage"
25
+ },
26
+ "minItems": 1,
27
+ "uniqueItems": true
28
+ },
29
+ {
30
+ "type": "null"
31
+ }
32
+ ]
33
+ },
34
+ "entries": {
35
+ "type": "array",
36
+ "items": {
37
+ "$ref": "entry.json"
38
+ }
39
+ },
40
+ "page": {
41
+ "$ref": "util.json#/$defs/page"
42
+ }
43
+ },
44
+ "additionalProperties": false
45
+ },
46
+ "raceFluffMeta": {
47
+ "anyOf": [
48
+ {
49
+ "type": "object",
50
+ "properties": {
51
+ "name": {
52
+ "type": "string"
53
+ },
54
+ "preserveName": {
55
+ "const": true
56
+ },
57
+ "source": {
58
+ "$ref": "util.json#/$defs/source"
59
+ },
60
+ "images": {
61
+ "oneOf": [
62
+ {
63
+ "type": "array",
64
+ "items": {
65
+ "$ref": "entry.json#/$defs/entryImage"
66
+ },
67
+ "minItems": 1,
68
+ "uniqueItems": true
69
+ },
70
+ {
71
+ "type": "null"
72
+ }
73
+ ]
74
+ },
75
+ "entries": {
76
+ "type": "array",
77
+ "items": {
78
+ "$ref": "entry.json"
79
+ }
80
+ },
81
+ "page": {
82
+ "$ref": "util.json#/$defs/page"
83
+ }
84
+ },
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "name",
88
+ "source",
89
+ "entries"
90
+ ]
91
+ },
92
+ {
93
+ "type": "object",
94
+ "properties": {
95
+ "name": {
96
+ "type": "string"
97
+ },
98
+ "preserveName": {
99
+ "const": true
100
+ },
101
+ "source": {
102
+ "$ref": "util.json#/$defs/source"
103
+ },
104
+ "images": {
105
+ "oneOf": [
106
+ {
107
+ "type": "array",
108
+ "items": {
109
+ "$ref": "entry.json#/$defs/entryImage"
110
+ },
111
+ "minItems": 1,
112
+ "uniqueItems": true
113
+ },
114
+ {
115
+ "type": "null"
116
+ }
117
+ ]
118
+ },
119
+ "entries": {
120
+ "type": "array",
121
+ "items": {
122
+ "$ref": "entry.json"
123
+ }
124
+ },
125
+ "page": {
126
+ "$ref": "util.json#/$defs/page"
127
+ },
128
+ "_copy": {
129
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
130
+ }
131
+ },
132
+ "additionalProperties": false,
133
+ "required": [
134
+ "_copy"
135
+ ]
136
+ }
137
+ ]
138
+ },
7
139
  "raceFluffData": {
8
140
  "type": "object",
9
141
  "properties": {
@@ -141,14 +273,11 @@
141
273
  }
142
274
  },
143
275
  "raceFluffMeta": {
144
- "type": "object",
145
- "properties": {
146
- "uncommon": {
147
- "$ref": "entry.json"
148
- },
149
- "monstrous": {
150
- "$ref": "entry.json"
151
- }
276
+ "type": "array",
277
+ "uniqueItems": true,
278
+ "minItems": 1,
279
+ "items": {
280
+ "$ref": "#/$defs/raceFluffMeta"
152
281
  }
153
282
  },
154
283
  "_meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
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": {
@@ -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.1",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -42,17 +42,8 @@
42
42
  "Piety Trait"
43
43
  ]
44
44
  },
45
- "ability": {
46
- "type": "object",
47
- "properties": {
48
- "entry": {
49
- "$ref": "entry.json"
50
- }
51
- },
52
- "required": [
53
- "entry"
54
- ],
55
- "additionalProperties": false
45
+ "abilityEntry": {
46
+ "$ref": "entry.json"
56
47
  },
57
48
  "rarity": {
58
49
  "$ref": "util.json#/$defs/rarity"
@@ -126,17 +117,8 @@
126
117
  "Piety Trait"
127
118
  ]
128
119
  },
129
- "ability": {
130
- "type": "object",
131
- "properties": {
132
- "entry": {
133
- "$ref": "entry.json"
134
- }
135
- },
136
- "required": [
137
- "entry"
138
- ],
139
- "additionalProperties": false
120
+ "abilityEntry": {
121
+ "$ref": "entry.json"
140
122
  },
141
123
  "rarity": {
142
124
  "$ref": "util.json#/$defs/rarity"
@@ -214,17 +196,8 @@
214
196
  "Piety Trait"
215
197
  ]
216
198
  },
217
- "ability": {
218
- "type": "object",
219
- "properties": {
220
- "entry": {
221
- "$ref": "entry.json"
222
- }
223
- },
224
- "required": [
225
- "entry"
226
- ],
227
- "additionalProperties": false
199
+ "abilityEntry": {
200
+ "$ref": "entry.json"
228
201
  },
229
202
  "rarity": {
230
203
  "$ref": "util.json#/$defs/rarity"
@@ -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.3.0",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "cultData": {
@@ -280,17 +280,8 @@
280
280
  "Demonic"
281
281
  ]
282
282
  },
283
- "ability": {
284
- "type": "object",
285
- "properties": {
286
- "entry": {
287
- "$ref": "entry.json"
288
- }
289
- },
290
- "required": [
291
- "entry"
292
- ],
293
- "additionalProperties": false
283
+ "abilityEntry": {
284
+ "$ref": "entry.json"
294
285
  },
295
286
  "signatureSpells": {
296
287
  "type": "object",
@@ -343,17 +334,8 @@
343
334
  "Demonic"
344
335
  ]
345
336
  },
346
- "ability": {
347
- "type": "object",
348
- "properties": {
349
- "entry": {
350
- "$ref": "entry.json"
351
- }
352
- },
353
- "required": [
354
- "entry"
355
- ],
356
- "additionalProperties": false
337
+ "abilityEntry": {
338
+ "$ref": "entry.json"
357
339
  },
358
340
  "signatureSpells": {
359
341
  "type": "object",
@@ -410,17 +392,8 @@
410
392
  "Demonic"
411
393
  ]
412
394
  },
413
- "ability": {
414
- "type": "object",
415
- "properties": {
416
- "entry": {
417
- "$ref": "entry.json"
418
- }
419
- },
420
- "required": [
421
- "entry"
422
- ],
423
- "additionalProperties": false
395
+ "abilityEntry": {
396
+ "$ref": "entry.json"
424
397
  },
425
398
  "signatureSpells": {
426
399
  "type": "object",
@@ -1,9 +1,141 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "fluff-races.json",
4
- "version": "2.2.0",
4
+ "version": "2.3.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
+ "raceFluffMetaData": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "preserveName": {
14
+ "const": true
15
+ },
16
+ "source": {
17
+ "$ref": "util.json#/$defs/source"
18
+ },
19
+ "images": {
20
+ "oneOf": [
21
+ {
22
+ "type": "array",
23
+ "items": {
24
+ "$ref": "entry.json#/$defs/entryImage"
25
+ },
26
+ "minItems": 1,
27
+ "uniqueItems": true
28
+ },
29
+ {
30
+ "type": "null"
31
+ }
32
+ ]
33
+ },
34
+ "entries": {
35
+ "type": "array",
36
+ "items": {
37
+ "$ref": "entry.json"
38
+ }
39
+ },
40
+ "page": {
41
+ "$ref": "util.json#/$defs/page"
42
+ }
43
+ },
44
+ "additionalProperties": false
45
+ },
46
+ "raceFluffMeta": {
47
+ "anyOf": [
48
+ {
49
+ "type": "object",
50
+ "properties": {
51
+ "name": {
52
+ "type": "string"
53
+ },
54
+ "preserveName": {
55
+ "const": true
56
+ },
57
+ "source": {
58
+ "$ref": "util.json#/$defs/source"
59
+ },
60
+ "images": {
61
+ "oneOf": [
62
+ {
63
+ "type": "array",
64
+ "items": {
65
+ "$ref": "entry.json#/$defs/entryImage"
66
+ },
67
+ "minItems": 1,
68
+ "uniqueItems": true
69
+ },
70
+ {
71
+ "type": "null"
72
+ }
73
+ ]
74
+ },
75
+ "entries": {
76
+ "type": "array",
77
+ "items": {
78
+ "$ref": "entry.json"
79
+ }
80
+ },
81
+ "page": {
82
+ "$ref": "util.json#/$defs/page"
83
+ }
84
+ },
85
+ "additionalProperties": false,
86
+ "required": [
87
+ "name",
88
+ "source",
89
+ "entries"
90
+ ]
91
+ },
92
+ {
93
+ "type": "object",
94
+ "properties": {
95
+ "name": {
96
+ "type": "string"
97
+ },
98
+ "preserveName": {
99
+ "const": true
100
+ },
101
+ "source": {
102
+ "$ref": "util.json#/$defs/source"
103
+ },
104
+ "images": {
105
+ "oneOf": [
106
+ {
107
+ "type": "array",
108
+ "items": {
109
+ "$ref": "entry.json#/$defs/entryImage"
110
+ },
111
+ "minItems": 1,
112
+ "uniqueItems": true
113
+ },
114
+ {
115
+ "type": "null"
116
+ }
117
+ ]
118
+ },
119
+ "entries": {
120
+ "type": "array",
121
+ "items": {
122
+ "$ref": "entry.json"
123
+ }
124
+ },
125
+ "page": {
126
+ "$ref": "util.json#/$defs/page"
127
+ },
128
+ "_copy": {
129
+ "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
130
+ }
131
+ },
132
+ "additionalProperties": false,
133
+ "required": [
134
+ "_copy"
135
+ ]
136
+ }
137
+ ]
138
+ },
7
139
  "raceFluffData": {
8
140
  "type": "object",
9
141
  "properties": {
@@ -141,14 +273,11 @@
141
273
  }
142
274
  },
143
275
  "raceFluffMeta": {
144
- "type": "object",
145
- "properties": {
146
- "uncommon": {
147
- "$ref": "entry.json"
148
- },
149
- "monstrous": {
150
- "$ref": "entry.json"
151
- }
276
+ "type": "array",
277
+ "uniqueItems": true,
278
+ "minItems": 1,
279
+ "items": {
280
+ "$ref": "#/$defs/raceFluffMeta"
152
281
  }
153
282
  },
154
283
  "_meta": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.2",
3
+ "version": "1.14.3",
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": {
@@ -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.1",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "rewardData": {
@@ -42,17 +42,8 @@
42
42
  "Piety Trait"
43
43
  ]
44
44
  },
45
- "ability": {
46
- "type": "object",
47
- "properties": {
48
- "entry": {
49
- "$ref": "entry.json"
50
- }
51
- },
52
- "required": [
53
- "entry"
54
- ],
55
- "additionalProperties": false
45
+ "abilityEntry": {
46
+ "$ref": "entry.json"
56
47
  },
57
48
  "rarity": {
58
49
  "$ref": "util.json#/$defs/rarity"
@@ -126,17 +117,8 @@
126
117
  "Piety Trait"
127
118
  ]
128
119
  },
129
- "ability": {
130
- "type": "object",
131
- "properties": {
132
- "entry": {
133
- "$ref": "entry.json"
134
- }
135
- },
136
- "required": [
137
- "entry"
138
- ],
139
- "additionalProperties": false
120
+ "abilityEntry": {
121
+ "$ref": "entry.json"
140
122
  },
141
123
  "rarity": {
142
124
  "$ref": "util.json#/$defs/rarity"
@@ -214,17 +196,8 @@
214
196
  "Piety Trait"
215
197
  ]
216
198
  },
217
- "ability": {
218
- "type": "object",
219
- "properties": {
220
- "entry": {
221
- "$ref": "entry.json"
222
- }
223
- },
224
- "required": [
225
- "entry"
226
- ],
227
- "additionalProperties": false
199
+ "abilityEntry": {
200
+ "$ref": "entry.json"
228
201
  },
229
202
  "rarity": {
230
203
  "$ref": "util.json#/$defs/rarity"
@@ -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.3.0",
4
+ "version": "1.4.0",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "cultData": {
@@ -280,17 +280,8 @@
280
280
  "Demonic"
281
281
  ]
282
282
  },
283
- "ability": {
284
- "type": "object",
285
- "properties": {
286
- "entry": {
287
- "$ref": "entry.json"
288
- }
289
- },
290
- "required": [
291
- "entry"
292
- ],
293
- "additionalProperties": false
283
+ "abilityEntry": {
284
+ "$ref": "entry.json"
294
285
  },
295
286
  "signatureSpells": {
296
287
  "type": "object",
@@ -343,17 +334,8 @@
343
334
  "Demonic"
344
335
  ]
345
336
  },
346
- "ability": {
347
- "type": "object",
348
- "properties": {
349
- "entry": {
350
- "$ref": "entry.json"
351
- }
352
- },
353
- "required": [
354
- "entry"
355
- ],
356
- "additionalProperties": false
337
+ "abilityEntry": {
338
+ "$ref": "entry.json"
357
339
  },
358
340
  "signatureSpells": {
359
341
  "type": "object",
@@ -410,17 +392,8 @@
410
392
  "Demonic"
411
393
  ]
412
394
  },
413
- "ability": {
414
- "type": "object",
415
- "properties": {
416
- "entry": {
417
- "$ref": "entry.json"
418
- }
419
- },
420
- "required": [
421
- "entry"
422
- ],
423
- "additionalProperties": false
395
+ "abilityEntry": {
396
+ "$ref": "entry.json"
424
397
  },
425
398
  "signatureSpells": {
426
399
  "type": "object",