5etools-utils 0.17.15 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.17.15",
3
+ "version": "0.17.16",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -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": {
@@ -123,14 +255,11 @@
123
255
  }
124
256
  },
125
257
  "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
258
+ "type": "array",
259
+ "uniqueItems": true,
260
+ "minItems": 1,
261
+ "items": {
262
+ "$ref": "#/$defs/raceFluffMeta"
134
263
  }
135
264
  },
136
265
  "_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,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": {
@@ -123,14 +255,11 @@
123
255
  }
124
256
  },
125
257
  "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
258
+ "type": "array",
259
+ "uniqueItems": true,
260
+ "minItems": 1,
261
+ "items": {
262
+ "$ref": "#/$defs/raceFluffMeta"
134
263
  }
135
264
  },
136
265
  "_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,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,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,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": {
@@ -123,14 +255,11 @@
123
255
  }
124
256
  },
125
257
  "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
258
+ "type": "array",
259
+ "uniqueItems": true,
260
+ "minItems": 1,
261
+ "items": {
262
+ "$ref": "#/$defs/raceFluffMeta"
134
263
  }
135
264
  },
136
265
  "_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,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": {
@@ -123,14 +255,11 @@
123
255
  }
124
256
  },
125
257
  "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
258
+ "type": "array",
259
+ "uniqueItems": true,
260
+ "minItems": 1,
261
+ "items": {
262
+ "$ref": "#/$defs/raceFluffMeta"
134
263
  }
135
264
  },
136
265
  "_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": {