blob: 95720bf915ee0d633f9f4494d759905788788c37 [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001{
2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "description": "request structure",
4 "type": "object",
5 "properties": {
6 "finishTime": {
7 "description": "Date and time the request was finished in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",
8 "type": "string"
9 },
10 "instanceIds": {},
11 "requestDetails": {},
12 "requestId": {
13 "description": "UUID for the request generated by the instantiation service",
14 "type": "string",
15 "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
16 },
17 "requestScope": {
18 "description": "short description of the entity being operated on",
19 "type": "string",
20 "enum": [
21 "network",
22 "service",
23 "vfModule",
24 "vnf",
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030025 "volumeGroup",
26 "unknown",
27 "configuration"
jimmydot3982f4f2017-05-07 14:58:24 -040028 ]
29 },
30 "requestStatus": {},
31 "requestType": {
32 "description": "short description of the action being performed on the requestScope",
33 "type": "string",
34 "enum": [
35 "createInstance",
36 "deleteInstance",
37 "replaceInstance",
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030038 "updateInstance",
39 "activateInstance",
40 "deactivateInstance",
41 "unknown",
42 "not provided"
jimmydot3982f4f2017-05-07 14:58:24 -040043 ]
44 },
45 "startTime": {
46 "description": "Date and time the request was created in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",
47 "type": "string"
48 }
49 },
50 "required": ["requestDetails", "requestId", "requestScope", "requestType", "startTime"]
51}