5etools-utils 0.17.16 → 0.17.17

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,287 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "fluff-races.json",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "type": "object",
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
- },
139
- "raceFluffData": {
140
- "type": "object",
141
- "properties": {
142
- "name": {
143
- "type": "string"
144
- },
145
- "source": {
146
- "$ref": "util.json#/$defs/source"
147
- },
148
- "images": {
149
- "oneOf": [
150
- {
151
- "type": "array",
152
- "items": {
153
- "$ref": "entry.json#/$defs/entryImage"
154
- }
155
- },
156
- {
157
- "type": "null"
158
- }
159
- ]
160
- },
161
- "entries": {
162
- "type": "array",
163
- "items": {
164
- "$ref": "entry.json"
165
- }
166
- },
167
- "uncommon": {
168
- "const": true
169
- },
170
- "monstrous": {
171
- "const": true
172
- }
173
- },
174
- "additionalProperties": false
175
- },
176
- "raceFluff": {
177
- "anyOf": [
178
- {
179
- "type": "object",
180
- "properties": {
181
- "name": {
182
- "type": "string"
183
- },
184
- "source": {
185
- "$ref": "util.json#/$defs/source"
186
- },
187
- "images": {
188
- "oneOf": [
189
- {
190
- "type": "array",
191
- "items": {
192
- "$ref": "entry.json#/$defs/entryImage"
193
- }
194
- },
195
- {
196
- "type": "null"
197
- }
198
- ]
199
- },
200
- "entries": {
201
- "type": "array",
202
- "items": {
203
- "$ref": "entry.json"
204
- }
205
- },
206
- "uncommon": {
207
- "const": true
208
- },
209
- "monstrous": {
210
- "const": true
211
- }
212
- },
213
- "additionalProperties": false,
214
- "required": [
215
- "name",
216
- "source"
217
- ]
218
- },
219
- {
220
- "type": "object",
221
- "$comment": "This is a custom pre-processor tag, which merges together the array of objects into one. This allows proper inheritance, which JSON schema don't really do.",
222
- "properties": {
223
- "name": {
224
- "type": "string"
225
- },
226
- "source": {
227
- "$ref": "util.json#/$defs/source"
228
- },
229
- "images": {
230
- "oneOf": [
231
- {
232
- "type": "array",
233
- "items": {
234
- "$ref": "entry.json#/$defs/entryImage"
235
- }
236
- },
237
- {
238
- "type": "null"
239
- }
240
- ]
241
- },
242
- "entries": {
243
- "type": "array",
244
- "items": {
245
- "$ref": "entry.json"
246
- }
247
- },
248
- "uncommon": {
249
- "const": true
250
- },
251
- "monstrous": {
252
- "const": true
253
- },
254
- "_copy": {
255
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
256
- }
257
- },
258
- "additionalProperties": false,
259
- "required": [
260
- "_copy"
261
- ]
262
- }
263
- ]
264
- }
265
- },
266
6
  "properties": {
267
- "raceFluff": {
268
- "type": "array",
269
- "uniqueItems": true,
270
- "minItems": 1,
271
- "items": {
272
- "$ref": "#/$defs/raceFluff"
273
- }
274
- },
275
- "raceFluffMeta": {
276
- "type": "array",
277
- "uniqueItems": true,
278
- "minItems": 1,
279
- "items": {
280
- "$ref": "#/$defs/raceFluffMeta"
281
- }
282
- },
283
7
  "_meta": {
284
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
285
12
  }
286
13
  },
287
14
  "additionalProperties": false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.3",
3
+ "version": "1.15.0",
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": {
@@ -762,9 +762,6 @@
762
762
  "raceFluff": {
763
763
  "$ref": "fluff-races.json#/properties/raceFluff"
764
764
  },
765
- "raceFluffMeta": {
766
- "$ref": "fluff-races.json#/properties/raceFluffMeta"
767
- },
768
765
  "recipe": {
769
766
  "$ref": "recipes.json#/properties/recipe"
770
767
  },
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.1.3",
5
+ "version": "1.1.4",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -1271,7 +1271,6 @@
1271
1271
  "foundryPsionicDisciplineActive",
1272
1272
  "foundryRace",
1273
1273
  "foundryRaceFeature",
1274
- "raceFluffMeta",
1275
1274
  "foundryReward",
1276
1275
  "foundryVehicleUpgrade",
1277
1276
  "spellList",
@@ -1,287 +1,14 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "fluff-races.json",
4
- "version": "2.3.0",
4
+ "version": "2.4.0",
5
5
  "type": "object",
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
- },
139
- "raceFluffData": {
140
- "type": "object",
141
- "properties": {
142
- "name": {
143
- "type": "string"
144
- },
145
- "source": {
146
- "$ref": "util.json#/$defs/source"
147
- },
148
- "images": {
149
- "oneOf": [
150
- {
151
- "type": "array",
152
- "items": {
153
- "$ref": "entry.json#/$defs/entryImage"
154
- }
155
- },
156
- {
157
- "type": "null"
158
- }
159
- ]
160
- },
161
- "entries": {
162
- "type": "array",
163
- "items": {
164
- "$ref": "entry.json"
165
- }
166
- },
167
- "uncommon": {
168
- "const": true
169
- },
170
- "monstrous": {
171
- "const": true
172
- }
173
- },
174
- "additionalProperties": false
175
- },
176
- "raceFluff": {
177
- "anyOf": [
178
- {
179
- "type": "object",
180
- "properties": {
181
- "name": {
182
- "type": "string"
183
- },
184
- "source": {
185
- "$ref": "util.json#/$defs/source"
186
- },
187
- "images": {
188
- "oneOf": [
189
- {
190
- "type": "array",
191
- "items": {
192
- "$ref": "entry.json#/$defs/entryImage"
193
- }
194
- },
195
- {
196
- "type": "null"
197
- }
198
- ]
199
- },
200
- "entries": {
201
- "type": "array",
202
- "items": {
203
- "$ref": "entry.json"
204
- }
205
- },
206
- "uncommon": {
207
- "const": true
208
- },
209
- "monstrous": {
210
- "const": true
211
- }
212
- },
213
- "additionalProperties": false,
214
- "required": [
215
- "name",
216
- "source"
217
- ]
218
- },
219
- {
220
- "type": "object",
221
- "$comment": "This is a custom pre-processor tag, which merges together the array of objects into one. This allows proper inheritance, which JSON schema don't really do.",
222
- "properties": {
223
- "name": {
224
- "type": "string"
225
- },
226
- "source": {
227
- "$ref": "util.json#/$defs/source"
228
- },
229
- "images": {
230
- "oneOf": [
231
- {
232
- "type": "array",
233
- "items": {
234
- "$ref": "entry.json#/$defs/entryImage"
235
- }
236
- },
237
- {
238
- "type": "null"
239
- }
240
- ]
241
- },
242
- "entries": {
243
- "type": "array",
244
- "items": {
245
- "$ref": "entry.json"
246
- }
247
- },
248
- "uncommon": {
249
- "const": true
250
- },
251
- "monstrous": {
252
- "const": true
253
- },
254
- "_copy": {
255
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
256
- }
257
- },
258
- "additionalProperties": false,
259
- "required": [
260
- "_copy"
261
- ]
262
- }
263
- ]
264
- }
265
- },
266
6
  "properties": {
267
- "raceFluff": {
268
- "type": "array",
269
- "uniqueItems": true,
270
- "minItems": 1,
271
- "items": {
272
- "$ref": "#/$defs/raceFluff"
273
- }
274
- },
275
- "raceFluffMeta": {
276
- "type": "array",
277
- "uniqueItems": true,
278
- "minItems": 1,
279
- "items": {
280
- "$ref": "#/$defs/raceFluffMeta"
281
- }
282
- },
283
7
  "_meta": {
284
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
285
12
  }
286
13
  },
287
14
  "additionalProperties": false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.14.3",
3
+ "version": "1.15.0",
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": {
@@ -762,9 +762,6 @@
762
762
  "raceFluff": {
763
763
  "$ref": "fluff-races.json#/properties/raceFluff"
764
764
  },
765
- "raceFluffMeta": {
766
- "$ref": "fluff-races.json#/properties/raceFluffMeta"
767
- },
768
765
  "recipe": {
769
766
  "$ref": "recipes.json#/properties/recipe"
770
767
  },
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.1.3",
5
+ "version": "1.1.4",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -1271,7 +1271,6 @@
1271
1271
  "foundryPsionicDisciplineActive",
1272
1272
  "foundryRace",
1273
1273
  "foundryRaceFeature",
1274
- "raceFluffMeta",
1275
1274
  "foundryReward",
1276
1275
  "foundryVehicleUpgrade",
1277
1276
  "spellList",