generated from GovStackWorkingGroup/bb-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
service.json
39 lines (39 loc) · 1.14 KB
/
service.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
{
"$id": "http://govstack.global/schemas/IM/service.json",
"$schema": "http://json-schema.org/draft-07/schema",
"default": {},
"description": "The schema describing Service in GovStack Information Mediator Building Block",
"examples": [
{
"serviceCode": "RegistrationAPI",
"descriptionURL": "in.example.com/some/path/to/spec",
"serviceURL": "in.example.com/some/path/to/execution"
}
],
"required": ["serviceCode"],
"title": "Service",
"type": "object",
"properties": {
"serviceCode": {
"description": "Code that uniquely identifies a service offered by given member or application."
"examples": ["RegistrationAPI"],
"title": "Code",
"type": "string"
},
"descriptionURL": {
"default": "",
"description": "OpenAPI spec URL."
"examples": ["in.example.com/some/path/to/spec"],
"title": "API",
"type": "string"
},
"serviceURL": {
"default": "",
"description": "Location of API endpoints."
"examples": ["in.example.com/some/path/to/execution"],
"title": "path",
"type": "string"
}
},
"additionalProperties": true
}