-
Notifications
You must be signed in to change notification settings - Fork 1
/
features.json
53 lines (53 loc) · 1.46 KB
/
features.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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://launchdarkly.com/sdk-meta/features.json",
"title": "SDK Features",
"description": "List of SDK features",
"type": "object",
"$defs": {
"SDKFeatureMap" : {
"type": "object",
"description": "Map of individual features for a particular SDK",
"patternProperties": {
"^[a-z0-9-]+$" : {
"$ref" : "#/$defs/SDKFeature"
}
}
},
"SDKFeature" : {
"type": "object",
"description": "A single feature definition",
"required" : ["introduced"],
"properties": {
"introduced": {
"description": "The version that the feature was introduced",
"$ref": "#/$defs/SDKVersion"
},
"deprecated": {
"description": "The version that the feature was deprecated",
"anyOf": [
{ "$ref": "#/$defs/SDKVersion" },
{ "type": "null" }
]
},
"removed": {
"description": "The version that the feature was removed",
"anyOf": [
{ "$ref": "#/$defs/SDKVersion" },
{ "type": "null" }
]
}
}
},
"SDKVersion" : {
"type" : "string",
"description" : "A version string",
"pattern" : "^[0-9]+\\.[0-9]+$"
}
},
"patternProperties" : {
"^[a-z-]+$" : {
"$ref" : "#/$defs/SDKFeatureMap"
}
}
}