forked from mdn/browser-compat-data
-
Notifications
You must be signed in to change notification settings - Fork 2
/
compat-data.schema.json
71 lines (63 loc) · 2.42 KB
/
compat-data.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"support_statement": {
"type": "object",
"properties": {
"support": { "type": ["string", "boolean", "null"] },
"notes": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": ["support"],
"additionalProperties": false
},
"status_statement": {
"type": "object",
"properties": {
"experimental": { "type": ["string", "boolean"] },
"standardized": { "type": ["string", "boolean"] },
"stable": { "type": ["string", "boolean"] },
"obsolete": { "type": ["string", "boolean"] }
},
"required": ["experimental", "standardized", "stable", "obsolete"],
"additionalProperties": false
},
"feature": {
"type": "object",
"properties": {
"Android": { "$ref": "#/definitions/support_statement" },
"Chrome": { "$ref": "#/definitions/support_statement" },
"Chrome for Android": { "$ref": "#/definitions/support_statement" },
"Edge": { "$ref": "#/definitions/support_statement" },
"Edge Mobile": { "$ref": "#/definitions/support_statement" },
"Firefox": { "$ref": "#/definitions/support_statement" },
"Firefox for Android": { "$ref": "#/definitions/support_statement" },
"IE Mobile": { "$ref": "#/definitions/support_statement" },
"Internet Explorer": { "$ref": "#/definitions/support_statement" },
"Node.js": { "$ref": "#/definitions/support_statement" },
"Opera": { "$ref": "#/definitions/support_statement" },
"Opera Mobile": { "$ref": "#/definitions/support_statement" },
"Safari": { "$ref": "#/definitions/support_statement" },
"Safari Mobile": { "$ref": "#/definitions/support_statement" },
"Servo": { "$ref": "#/definitions/support_statement" },
"status": { "$ref": "#/definitions/status_statement" }
},
"required": ["Chrome", "Opera", "Edge", "Firefox", "Firefox for Android"],
"additionalProperties": false
},
"feature_set": {
"type": "object",
"properties": {
"Basic support": { "$ref": "#/definitions/feature" }
},
"required": ["Basic support"],
"additionalProperties": { "$ref": "#/definitions/feature" }
}
},
"type": "object",
"additionalProperties": { "$ref": "#/definitions/feature_set" }
}