5etools-utils 0.17.15 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.17.15",
3
+ "version": "0.17.17",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,140 +1,14 @@
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.4.0",
5
5
  "type": "object",
6
- "$defs": {
7
- "raceFluffData": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "$ref": "util.json#/$defs/source"
15
- },
16
- "images": {
17
- "oneOf": [
18
- {
19
- "type": "array",
20
- "items": {
21
- "$ref": "entry.json#/$defs/entryImage"
22
- }
23
- },
24
- {
25
- "type": "null"
26
- }
27
- ]
28
- },
29
- "entries": {
30
- "type": "array",
31
- "items": {
32
- "$ref": "entry.json"
33
- }
34
- }
35
- },
36
- "additionalProperties": false
37
- },
38
- "raceFluff": {
39
- "anyOf": [
40
- {
41
- "type": "object",
42
- "properties": {
43
- "name": {
44
- "type": "string"
45
- },
46
- "source": {
47
- "$ref": "util.json#/$defs/source"
48
- },
49
- "images": {
50
- "oneOf": [
51
- {
52
- "type": "array",
53
- "items": {
54
- "$ref": "entry.json#/$defs/entryImage"
55
- }
56
- },
57
- {
58
- "type": "null"
59
- }
60
- ]
61
- },
62
- "entries": {
63
- "type": "array",
64
- "items": {
65
- "$ref": "entry.json"
66
- }
67
- }
68
- },
69
- "additionalProperties": false,
70
- "required": [
71
- "name",
72
- "source"
73
- ]
74
- },
75
- {
76
- "type": "object",
77
- "$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.",
78
- "properties": {
79
- "name": {
80
- "type": "string"
81
- },
82
- "source": {
83
- "$ref": "util.json#/$defs/source"
84
- },
85
- "images": {
86
- "oneOf": [
87
- {
88
- "type": "array",
89
- "items": {
90
- "$ref": "entry.json#/$defs/entryImage"
91
- }
92
- },
93
- {
94
- "type": "null"
95
- }
96
- ]
97
- },
98
- "entries": {
99
- "type": "array",
100
- "items": {
101
- "$ref": "entry.json"
102
- }
103
- },
104
- "_copy": {
105
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
106
- }
107
- },
108
- "additionalProperties": false,
109
- "required": [
110
- "_copy"
111
- ]
112
- }
113
- ]
114
- }
115
- },
116
6
  "properties": {
117
- "raceFluff": {
118
- "type": "array",
119
- "uniqueItems": true,
120
- "minItems": 1,
121
- "items": {
122
- "$ref": "#/$defs/raceFluff"
123
- }
124
- },
125
- "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
134
- }
135
- },
136
7
  "_meta": {
137
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
138
12
  }
139
13
  },
140
14
  "additionalProperties": false
@@ -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.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,140 +1,14 @@
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.4.0",
5
5
  "type": "object",
6
- "$defs": {
7
- "raceFluffData": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "$ref": "util.json#/$defs/source"
15
- },
16
- "images": {
17
- "oneOf": [
18
- {
19
- "type": "array",
20
- "items": {
21
- "$ref": "entry.json#/$defs/entryImage"
22
- }
23
- },
24
- {
25
- "type": "null"
26
- }
27
- ]
28
- },
29
- "entries": {
30
- "type": "array",
31
- "items": {
32
- "$ref": "entry.json"
33
- }
34
- }
35
- },
36
- "additionalProperties": false
37
- },
38
- "raceFluff": {
39
- "anyOf": [
40
- {
41
- "type": "object",
42
- "properties": {
43
- "name": {
44
- "type": "string"
45
- },
46
- "source": {
47
- "$ref": "util.json#/$defs/source"
48
- },
49
- "images": {
50
- "oneOf": [
51
- {
52
- "type": "array",
53
- "items": {
54
- "$ref": "entry.json#/$defs/entryImage"
55
- }
56
- },
57
- {
58
- "type": "null"
59
- }
60
- ]
61
- },
62
- "entries": {
63
- "type": "array",
64
- "items": {
65
- "$ref": "entry.json"
66
- }
67
- }
68
- },
69
- "additionalProperties": false,
70
- "required": [
71
- "name",
72
- "source"
73
- ]
74
- },
75
- {
76
- "type": "object",
77
- "$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.",
78
- "properties": {
79
- "name": {
80
- "type": "string"
81
- },
82
- "source": {
83
- "$ref": "util.json#/$defs/source"
84
- },
85
- "images": {
86
- "oneOf": [
87
- {
88
- "type": "array",
89
- "items": {
90
- "$ref": "entry.json#/$defs/entryImage"
91
- }
92
- },
93
- {
94
- "type": "null"
95
- }
96
- ]
97
- },
98
- "entries": {
99
- "type": "array",
100
- "items": {
101
- "$ref": "entry.json"
102
- }
103
- },
104
- "_copy": {
105
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
106
- }
107
- },
108
- "additionalProperties": false,
109
- "required": [
110
- "_copy"
111
- ]
112
- }
113
- ]
114
- }
115
- },
116
6
  "properties": {
117
- "raceFluff": {
118
- "type": "array",
119
- "uniqueItems": true,
120
- "minItems": 1,
121
- "items": {
122
- "$ref": "#/$defs/raceFluff"
123
- }
124
- },
125
- "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
134
- }
135
- },
136
7
  "_meta": {
137
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
138
12
  }
139
13
  },
140
14
  "additionalProperties": false
@@ -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.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,158 +1,14 @@
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.4.0",
5
5
  "type": "object",
6
- "$defs": {
7
- "raceFluffData": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "$ref": "util.json#/$defs/source"
15
- },
16
- "images": {
17
- "oneOf": [
18
- {
19
- "type": "array",
20
- "items": {
21
- "$ref": "entry.json#/$defs/entryImage"
22
- }
23
- },
24
- {
25
- "type": "null"
26
- }
27
- ]
28
- },
29
- "entries": {
30
- "type": "array",
31
- "items": {
32
- "$ref": "entry.json"
33
- }
34
- },
35
- "uncommon": {
36
- "const": true
37
- },
38
- "monstrous": {
39
- "const": true
40
- }
41
- },
42
- "additionalProperties": false
43
- },
44
- "raceFluff": {
45
- "anyOf": [
46
- {
47
- "type": "object",
48
- "properties": {
49
- "name": {
50
- "type": "string"
51
- },
52
- "source": {
53
- "$ref": "util.json#/$defs/source"
54
- },
55
- "images": {
56
- "oneOf": [
57
- {
58
- "type": "array",
59
- "items": {
60
- "$ref": "entry.json#/$defs/entryImage"
61
- }
62
- },
63
- {
64
- "type": "null"
65
- }
66
- ]
67
- },
68
- "entries": {
69
- "type": "array",
70
- "items": {
71
- "$ref": "entry.json"
72
- }
73
- },
74
- "uncommon": {
75
- "const": true
76
- },
77
- "monstrous": {
78
- "const": true
79
- }
80
- },
81
- "additionalProperties": false,
82
- "required": [
83
- "name",
84
- "source"
85
- ]
86
- },
87
- {
88
- "type": "object",
89
- "$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.",
90
- "properties": {
91
- "name": {
92
- "type": "string"
93
- },
94
- "source": {
95
- "$ref": "util.json#/$defs/source"
96
- },
97
- "images": {
98
- "oneOf": [
99
- {
100
- "type": "array",
101
- "items": {
102
- "$ref": "entry.json#/$defs/entryImage"
103
- }
104
- },
105
- {
106
- "type": "null"
107
- }
108
- ]
109
- },
110
- "entries": {
111
- "type": "array",
112
- "items": {
113
- "$ref": "entry.json"
114
- }
115
- },
116
- "uncommon": {
117
- "const": true
118
- },
119
- "monstrous": {
120
- "const": true
121
- },
122
- "_copy": {
123
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
124
- }
125
- },
126
- "additionalProperties": false,
127
- "required": [
128
- "_copy"
129
- ]
130
- }
131
- ]
132
- }
133
- },
134
6
  "properties": {
135
- "raceFluff": {
136
- "type": "array",
137
- "uniqueItems": true,
138
- "minItems": 1,
139
- "items": {
140
- "$ref": "#/$defs/raceFluff"
141
- }
142
- },
143
- "raceFluffMeta": {
144
- "type": "object",
145
- "properties": {
146
- "uncommon": {
147
- "$ref": "entry.json"
148
- },
149
- "monstrous": {
150
- "$ref": "entry.json"
151
- }
152
- }
153
- },
154
7
  "_meta": {
155
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
156
12
  }
157
13
  },
158
14
  "additionalProperties": false
@@ -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.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,158 +1,14 @@
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.4.0",
5
5
  "type": "object",
6
- "$defs": {
7
- "raceFluffData": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "$ref": "util.json#/$defs/source"
15
- },
16
- "images": {
17
- "oneOf": [
18
- {
19
- "type": "array",
20
- "items": {
21
- "$ref": "entry.json#/$defs/entryImage"
22
- }
23
- },
24
- {
25
- "type": "null"
26
- }
27
- ]
28
- },
29
- "entries": {
30
- "type": "array",
31
- "items": {
32
- "$ref": "entry.json"
33
- }
34
- },
35
- "uncommon": {
36
- "const": true
37
- },
38
- "monstrous": {
39
- "const": true
40
- }
41
- },
42
- "additionalProperties": false
43
- },
44
- "raceFluff": {
45
- "anyOf": [
46
- {
47
- "type": "object",
48
- "properties": {
49
- "name": {
50
- "type": "string"
51
- },
52
- "source": {
53
- "$ref": "util.json#/$defs/source"
54
- },
55
- "images": {
56
- "oneOf": [
57
- {
58
- "type": "array",
59
- "items": {
60
- "$ref": "entry.json#/$defs/entryImage"
61
- }
62
- },
63
- {
64
- "type": "null"
65
- }
66
- ]
67
- },
68
- "entries": {
69
- "type": "array",
70
- "items": {
71
- "$ref": "entry.json"
72
- }
73
- },
74
- "uncommon": {
75
- "const": true
76
- },
77
- "monstrous": {
78
- "const": true
79
- }
80
- },
81
- "additionalProperties": false,
82
- "required": [
83
- "name",
84
- "source"
85
- ]
86
- },
87
- {
88
- "type": "object",
89
- "$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.",
90
- "properties": {
91
- "name": {
92
- "type": "string"
93
- },
94
- "source": {
95
- "$ref": "util.json#/$defs/source"
96
- },
97
- "images": {
98
- "oneOf": [
99
- {
100
- "type": "array",
101
- "items": {
102
- "$ref": "entry.json#/$defs/entryImage"
103
- }
104
- },
105
- {
106
- "type": "null"
107
- }
108
- ]
109
- },
110
- "entries": {
111
- "type": "array",
112
- "items": {
113
- "$ref": "entry.json"
114
- }
115
- },
116
- "uncommon": {
117
- "const": true
118
- },
119
- "monstrous": {
120
- "const": true
121
- },
122
- "_copy": {
123
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
124
- }
125
- },
126
- "additionalProperties": false,
127
- "required": [
128
- "_copy"
129
- ]
130
- }
131
- ]
132
- }
133
- },
134
6
  "properties": {
135
- "raceFluff": {
136
- "type": "array",
137
- "uniqueItems": true,
138
- "minItems": 1,
139
- "items": {
140
- "$ref": "#/$defs/raceFluff"
141
- }
142
- },
143
- "raceFluffMeta": {
144
- "type": "object",
145
- "properties": {
146
- "uncommon": {
147
- "$ref": "entry.json"
148
- },
149
- "monstrous": {
150
- "$ref": "entry.json"
151
- }
152
- }
153
- },
154
7
  "_meta": {
155
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
156
12
  }
157
13
  },
158
14
  "additionalProperties": false
@@ -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.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,140 +1,14 @@
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.4.0",
5
5
  "type": "object",
6
- "$defs": {
7
- "raceFluffData": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "$ref": "util.json#/$defs/source"
15
- },
16
- "images": {
17
- "oneOf": [
18
- {
19
- "type": "array",
20
- "items": {
21
- "$ref": "entry.json#/$defs/entryImage"
22
- }
23
- },
24
- {
25
- "type": "null"
26
- }
27
- ]
28
- },
29
- "entries": {
30
- "type": "array",
31
- "items": {
32
- "$ref": "entry.json"
33
- }
34
- }
35
- },
36
- "additionalProperties": false
37
- },
38
- "raceFluff": {
39
- "anyOf": [
40
- {
41
- "type": "object",
42
- "properties": {
43
- "name": {
44
- "type": "string"
45
- },
46
- "source": {
47
- "$ref": "util.json#/$defs/source"
48
- },
49
- "images": {
50
- "oneOf": [
51
- {
52
- "type": "array",
53
- "items": {
54
- "$ref": "entry.json#/$defs/entryImage"
55
- }
56
- },
57
- {
58
- "type": "null"
59
- }
60
- ]
61
- },
62
- "entries": {
63
- "type": "array",
64
- "items": {
65
- "$ref": "entry.json"
66
- }
67
- }
68
- },
69
- "additionalProperties": false,
70
- "required": [
71
- "name",
72
- "source"
73
- ]
74
- },
75
- {
76
- "type": "object",
77
- "$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.",
78
- "properties": {
79
- "name": {
80
- "type": "string"
81
- },
82
- "source": {
83
- "$ref": "util.json#/$defs/source"
84
- },
85
- "images": {
86
- "oneOf": [
87
- {
88
- "type": "array",
89
- "items": {
90
- "$ref": "entry.json#/$defs/entryImage"
91
- }
92
- },
93
- {
94
- "type": "null"
95
- }
96
- ]
97
- },
98
- "entries": {
99
- "type": "array",
100
- "items": {
101
- "$ref": "entry.json"
102
- }
103
- },
104
- "_copy": {
105
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
106
- }
107
- },
108
- "additionalProperties": false,
109
- "required": [
110
- "_copy"
111
- ]
112
- }
113
- ]
114
- }
115
- },
116
6
  "properties": {
117
- "raceFluff": {
118
- "type": "array",
119
- "uniqueItems": true,
120
- "minItems": 1,
121
- "items": {
122
- "$ref": "#/$defs/raceFluff"
123
- }
124
- },
125
- "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
134
- }
135
- },
136
7
  "_meta": {
137
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
138
12
  }
139
13
  },
140
14
  "additionalProperties": false
@@ -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.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,140 +1,14 @@
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.4.0",
5
5
  "type": "object",
6
- "$defs": {
7
- "raceFluffData": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "$ref": "util.json#/$defs/source"
15
- },
16
- "images": {
17
- "oneOf": [
18
- {
19
- "type": "array",
20
- "items": {
21
- "$ref": "entry.json#/$defs/entryImage"
22
- }
23
- },
24
- {
25
- "type": "null"
26
- }
27
- ]
28
- },
29
- "entries": {
30
- "type": "array",
31
- "items": {
32
- "$ref": "entry.json"
33
- }
34
- }
35
- },
36
- "additionalProperties": false
37
- },
38
- "raceFluff": {
39
- "anyOf": [
40
- {
41
- "type": "object",
42
- "properties": {
43
- "name": {
44
- "type": "string"
45
- },
46
- "source": {
47
- "$ref": "util.json#/$defs/source"
48
- },
49
- "images": {
50
- "oneOf": [
51
- {
52
- "type": "array",
53
- "items": {
54
- "$ref": "entry.json#/$defs/entryImage"
55
- }
56
- },
57
- {
58
- "type": "null"
59
- }
60
- ]
61
- },
62
- "entries": {
63
- "type": "array",
64
- "items": {
65
- "$ref": "entry.json"
66
- }
67
- }
68
- },
69
- "additionalProperties": false,
70
- "required": [
71
- "name",
72
- "source"
73
- ]
74
- },
75
- {
76
- "type": "object",
77
- "$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.",
78
- "properties": {
79
- "name": {
80
- "type": "string"
81
- },
82
- "source": {
83
- "$ref": "util.json#/$defs/source"
84
- },
85
- "images": {
86
- "oneOf": [
87
- {
88
- "type": "array",
89
- "items": {
90
- "$ref": "entry.json#/$defs/entryImage"
91
- }
92
- },
93
- {
94
- "type": "null"
95
- }
96
- ]
97
- },
98
- "entries": {
99
- "type": "array",
100
- "items": {
101
- "$ref": "entry.json"
102
- }
103
- },
104
- "_copy": {
105
- "$ref": "util-copy.json#/$defs/copyBlock_copy_generic"
106
- }
107
- },
108
- "additionalProperties": false,
109
- "required": [
110
- "_copy"
111
- ]
112
- }
113
- ]
114
- }
115
- },
116
6
  "properties": {
117
- "raceFluff": {
118
- "type": "array",
119
- "uniqueItems": true,
120
- "minItems": 1,
121
- "items": {
122
- "$ref": "#/$defs/raceFluff"
123
- }
124
- },
125
- "raceFluffMeta": {
126
- "type": "object",
127
- "properties": {
128
- "uncommon": {
129
- "$ref": "entry.json"
130
- },
131
- "monstrous": {
132
- "$ref": "entry.json"
133
- }
134
- }
135
- },
136
7
  "_meta": {
137
8
  "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "raceFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
138
12
  }
139
13
  },
140
14
  "additionalProperties": false
@@ -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.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",