|
143 | 143 | "$ref": "#/definitions/Discouraged" |
144 | 144 | } |
145 | 145 | }, |
146 | | - "required": ["name", "description", "description_html", "spec", "status"] |
| 146 | + "required": ["name", "description", "description_html", "spec", "status"], |
| 147 | + "additionalProperties": false |
147 | 148 | }, |
148 | 149 | "GroupData": { |
149 | 150 | "type": "object", |
|
208 | 209 | }, |
209 | 210 | "StatusHeadline": { |
210 | 211 | "type": "object", |
211 | | - "allOf": [ |
212 | | - { "$ref": "#/definitions/Status" }, |
213 | | - { |
| 212 | + "allOf": [{ "$ref": "#/definitions/Status" }], |
| 213 | + "properties": { |
| 214 | + "baseline": {}, |
| 215 | + "baseline_high_date": {}, |
| 216 | + "baseline_low_date": {}, |
| 217 | + "support": {}, |
| 218 | + "by_compat_key": { |
| 219 | + "description": "Statuses for each key in the feature's compat_features list, if applicable. Not available to the npm release of web-features.", |
214 | 220 | "type": "object", |
215 | | - "properties": { |
216 | | - "by_compat_key": { |
217 | | - "description": "Statuses for each key in the feature's compat_features list, if applicable. Not available to the npm release of web-features.", |
218 | | - "type": "object", |
219 | | - "additionalProperties": { |
220 | | - "$ref": "#/definitions/Status" |
221 | | - } |
222 | | - } |
| 221 | + "additionalProperties": { |
| 222 | + "$ref": "#/definitions/Status" |
223 | 223 | } |
224 | 224 | } |
225 | | - ], |
226 | | - "required": ["baseline", "support"] |
| 225 | + }, |
| 226 | + "required": ["baseline", "support"], |
| 227 | + "additionalProperties": false |
227 | 228 | }, |
228 | 229 | "Release": { |
229 | 230 | "description": "Browser release information", |
|
253 | 254 | "$ref": "#/definitions/URL" |
254 | 255 | } |
255 | 256 | }, |
256 | | - "required": ["name", "spec"] |
| 257 | + "required": ["name", "spec"], |
| 258 | + "additionalProperties": false |
257 | 259 | }, |
258 | 260 | "StringOrStrings": { |
259 | 261 | "oneOf": [ |
|
0 commit comments