forked from LearningRegistry/LearningRegistry
/
node_service_description
executable file
·26 lines (26 loc) · 1.82 KB
/
node_service_description
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
{
"doc_type": "service_description", // the literal "node_description"
// required, immutable
"doc_version": "0.10.0", // the literal for the current version -- "0.10.0"
// required, immutable
"doc_scope": "node", // the literal "node"
// required, immutable
"active": boolean, // is the service active
// required, mutable from T to F only
"service_id": "string", // id of the service, required
// unique within scope of the LR
// immutable
"service_type": "string", // fixed vocabulary ["publish", "access",
// "distribute", "broker", "administrative"]
// required, immutable
"service_name": "string", // name of the service, optional
"service_description": "string", // description of the service, optional
"service_version": "string", // version number of the service description, required
// version is local to the Learning Registry
// not the version of some underlying spec for the service
"service_endpoint": "string", // URL of service, required
"service_auth": "string", // fixed vocabulary ["public"]
// required, mutable from public to a stronger auth
"service_data": {}, // service-specific name-value pairs
// optional
}