5etools-utils 0.9.42 → 0.9.44

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 (55) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/fluff-conditionsdiseases.json +11 -33
  3. package/schema/brew/fluff-languages.json +5 -32
  4. package/schema/brew/fluff-rewards.json +5 -32
  5. package/schema/brew/fluff-trapshazards.json +18 -0
  6. package/schema/brew/fluff-vehicles.json +5 -54
  7. package/schema/brew/homebrew.json +7 -1
  8. package/schema/brew/items.json +10 -1
  9. package/schema/brew/magicvariants.json +4 -1
  10. package/schema/brew/trapshazards.json +63 -20
  11. package/schema/brew-fast/fluff-conditionsdiseases.json +11 -33
  12. package/schema/brew-fast/fluff-languages.json +5 -32
  13. package/schema/brew-fast/fluff-rewards.json +5 -32
  14. package/schema/brew-fast/fluff-trapshazards.json +18 -0
  15. package/schema/brew-fast/fluff-vehicles.json +5 -54
  16. package/schema/brew-fast/homebrew.json +7 -1
  17. package/schema/brew-fast/items.json +10 -1
  18. package/schema/brew-fast/magicvariants.json +4 -1
  19. package/schema/brew-fast/trapshazards.json +63 -20
  20. package/schema/site/fluff-conditionsdiseases.json +11 -33
  21. package/schema/site/fluff-languages.json +5 -32
  22. package/schema/site/fluff-rewards.json +5 -32
  23. package/schema/site/fluff-trapshazards.json +18 -0
  24. package/schema/site/fluff-vehicles.json +5 -54
  25. package/schema/site/homebrew.json +7 -1
  26. package/schema/site/items.json +10 -1
  27. package/schema/site/magicvariants.json +4 -1
  28. package/schema/site/trapshazards.json +57 -20
  29. package/schema/site-fast/fluff-conditionsdiseases.json +11 -33
  30. package/schema/site-fast/fluff-languages.json +5 -32
  31. package/schema/site-fast/fluff-rewards.json +5 -32
  32. package/schema/site-fast/fluff-trapshazards.json +18 -0
  33. package/schema/site-fast/fluff-vehicles.json +5 -54
  34. package/schema/site-fast/homebrew.json +7 -1
  35. package/schema/site-fast/items.json +10 -1
  36. package/schema/site-fast/magicvariants.json +4 -1
  37. package/schema/site-fast/trapshazards.json +57 -20
  38. package/schema/ua/fluff-conditionsdiseases.json +11 -33
  39. package/schema/ua/fluff-languages.json +5 -32
  40. package/schema/ua/fluff-rewards.json +5 -32
  41. package/schema/ua/fluff-trapshazards.json +18 -0
  42. package/schema/ua/fluff-vehicles.json +5 -54
  43. package/schema/ua/homebrew.json +7 -1
  44. package/schema/ua/items.json +10 -1
  45. package/schema/ua/magicvariants.json +4 -1
  46. package/schema/ua/trapshazards.json +57 -20
  47. package/schema/ua-fast/fluff-conditionsdiseases.json +11 -33
  48. package/schema/ua-fast/fluff-languages.json +5 -32
  49. package/schema/ua-fast/fluff-rewards.json +5 -32
  50. package/schema/ua-fast/fluff-trapshazards.json +18 -0
  51. package/schema/ua-fast/fluff-vehicles.json +5 -54
  52. package/schema/ua-fast/homebrew.json +7 -1
  53. package/schema/ua-fast/items.json +10 -1
  54. package/schema/ua-fast/magicvariants.json +4 -1
  55. package/schema/ua-fast/trapshazards.json +57 -20
@@ -1,9 +1,35 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "trapshazards.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
+ "_trapTier": {
8
+ "type": "integer",
9
+ "minimum": 1,
10
+ "maximum": 4
11
+ },
12
+ "_trapLevel": {
13
+ "description": "Alternative to \"tier\" which allows for non-standard level ranges.",
14
+ "type": "object",
15
+ "properties": {
16
+ "min": {
17
+ "type": "integer"
18
+ },
19
+ "max": {
20
+ "type": "integer"
21
+ }
22
+ }
23
+ },
24
+ "_trapThreat": {
25
+ "type": "string",
26
+ "enum": [
27
+ "setback",
28
+ "moderate",
29
+ "dangerous",
30
+ "deadly"
31
+ ]
32
+ },
7
33
  "trap": {
8
34
  "oneOf": [
9
35
  {
@@ -33,11 +59,26 @@
33
59
  "$ref": "entry.json"
34
60
  }
35
61
  },
62
+ "tier": {
63
+ "$ref": "#/$defs/_trapTier"
64
+ },
65
+ "level": {
66
+ "$ref": "#/$defs/_trapLevel"
67
+ },
68
+ "threat": {
69
+ "$ref": "#/$defs/_trapThreat"
70
+ },
36
71
  "srd": {
37
72
  "$ref": "util.json#/$defs/srd"
38
73
  },
39
74
  "legacy": {
40
75
  "$ref": "util.json#/$defs/legacy"
76
+ },
77
+ "hasFluff": {
78
+ "type": "boolean"
79
+ },
80
+ "hasFluffImages": {
81
+ "type": "boolean"
41
82
  }
42
83
  },
43
84
  "additionalProperties": false,
@@ -75,29 +116,13 @@
75
116
  }
76
117
  },
77
118
  "tier": {
78
- "type": "integer",
79
- "minimum": 1,
80
- "maximum": 4
119
+ "$ref": "#/$defs/_trapTier"
81
120
  },
82
121
  "level": {
83
- "description": "Alternative to \"tier\" which allows for non-standard level ranges.",
84
- "type": "object",
85
- "properties": {
86
- "min": {
87
- "type": "integer"
88
- },
89
- "max": {
90
- "type": "integer"
91
- }
92
- }
122
+ "$ref": "#/$defs/_trapLevel"
93
123
  },
94
124
  "threat": {
95
- "type": "string",
96
- "enum": [
97
- "moderate",
98
- "dangerous",
99
- "deadly"
100
- ]
125
+ "$ref": "#/$defs/_trapThreat"
101
126
  },
102
127
  "trigger": {
103
128
  "type": "array",
@@ -152,6 +177,12 @@
152
177
  },
153
178
  "legacy": {
154
179
  "$ref": "util.json#/$defs/legacy"
180
+ },
181
+ "hasFluff": {
182
+ "type": "boolean"
183
+ },
184
+ "hasFluffImages": {
185
+ "type": "boolean"
155
186
  }
156
187
  },
157
188
  "additionalProperties": false,
@@ -204,6 +235,12 @@
204
235
  },
205
236
  "legacy": {
206
237
  "$ref": "util.json#/$defs/legacy"
238
+ },
239
+ "hasFluff": {
240
+ "type": "boolean"
241
+ },
242
+ "hasFluffImages": {
243
+ "type": "boolean"
207
244
  }
208
245
  },
209
246
  "additionalProperties": false,