-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathagents.json
42 lines (42 loc) · 1.49 KB
/
agents.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Ably Agents Definition",
"type": "object",
"properties": {
"agents": {
"type": "array",
"description": "An array containing all Ably agent identifiers and their properties.",
"items": {
"type": "object",
"properties": {
"identifier": {
"description": "The identifier (product name) as it appears in the Ably-Agent string. See RSC7d in the Ably Features spec for more information.",
"type": "string"
},
"versioned": {
"type": "boolean",
"description": "If true, indicates that the identifier will have an associated version."
},
"type": {
"type": "string",
"description": "The software layer where the identifier is located.",
"enum": ["os", "sdk", "wrapper", "runtime"]
}
},
"required": ["identifier", "versioned", "type"]
}
},
"ablyLibMappings": {
"type": "object",
"description": "An explicit mapping from x-ably-lib library and variant identifiers to ably-agent strings",
"patternProperties": {
"/.*/": {
"description": "A format string which defines how the associated x-ably-lib prefix should be translated to an ably-agent string, for example 'ably-js/${version}'",
"type": "string"
}
}
}
},
"additionalProperties": false,
"required": ["agents", "ablyLibMappings"]
}