95720bf915ee0d633f9f4494d759905788788c37
[vid.git] / vid-app-common / src / main / resources / json / mso / request
1 {\r
2         "$schema": "http://json-schema.org/draft-04/schema#",\r
3         "description": "request structure",\r
4         "type": "object",\r
5         "properties": {\r
6                 "finishTime": {\r
7                         "description": "Date and time the request was finished in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",\r
8                         "type": "string"\r
9                 },\r
10                 "instanceIds": {},\r
11                 "requestDetails": {},\r
12                 "requestId": {\r
13                         "description": "UUID for the request generated by the instantiation service",\r
14                         "type": "string",\r
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}$"\r
16                 },\r
17                 "requestScope": {\r
18                         "description": "short description of the entity being operated on",\r
19                         "type": "string",\r
20                         "enum": [\r
21                                 "network",\r
22                                 "service",\r
23                                 "vfModule",\r
24                                 "vnf",\r
25                                 "volumeGroup",\r
26                                 "unknown",\r
27                                 "configuration"\r
28                         ]\r
29                 },\r
30                 "requestStatus": {},\r
31                 "requestType": {\r
32                         "description": "short description of the action being performed on the requestScope",\r
33                         "type": "string",\r
34                         "enum": [\r
35                                 "createInstance",\r
36                                 "deleteInstance",\r
37                                 "replaceInstance",\r
38                                 "updateInstance",\r
39                                 "activateInstance",\r
40                                 "deactivateInstance",\r
41                                 "unknown",\r
42                                 "not provided"\r
43                         ]\r
44                 },\r
45                 "startTime": {\r
46                         "description": "Date and time the request was created in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",\r
47                         "type": "string"\r
48                 }\r
49         },\r
50         "required": ["requestDetails", "requestId", "requestScope", "requestType", "startTime"]\r
51 }