-
Notifications
You must be signed in to change notification settings - Fork 83
/
Copy pathInterfaceDescriptor.json
44 lines (44 loc) · 1.09 KB
/
InterfaceDescriptor.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "InterfaceDescriptor.json",
"title": "InterfaceDescriptor",
"description": "An interface that a module can provide",
"type": "object",
"additionalProperties" : false,
"properties": {
"id": {
"description": "Interface ID",
"type": "string"
},
"version": {
"description": "Interface version in major.minor format",
"type": "string"
},
"interfaceType": {
"description": "Type: proxy (default), system, internal, multiple",
"type": ["string", "null"]
},
"handlers": {
"description": "Handler entries for this interface",
"type": ["array", "null"],
"items": {
"$ref": "RoutingEntry.json"
}
},
"permissionSets": {
"description": "Permissions for this interface",
"type": ["array", "null"],
"items": {
"$ref": "Permission.json"
}
},
"scope" : {
"description" : "Interface scope",
"type" : "array",
"items": {
"type": "string"
}
}
},
"required": ["id", "version"]
}