11b285636a662c8ea7d57e0296faabe500a73120
[vid.git] / vid-app-common / src / main / resources / json / mso / requestStatus
1 {\r
2     "$schema": "http://json-schema.org/draft-04/schema#",\r
3     "description": "fields describing the status of a request",\r
4     "properties": {\r
5         "percentProgress": {\r
6             "description": "percentage complete estimate from 0 to 100",\r
7             "type": "number"\r
8         },\r
9         "requestState": {\r
10             "description": "short description of the instantiation state",\r
11             "enum": [\r
12                 "COMPLETE",\r
13                 "FAILED",\r
14                 "IN_PROGRESS",\r
15                 "PENDING",\r
16                 "UNLOCKED",\r
17                 "COMPLETED",\r
18                 ""\r
19             ],\r
20             "type": "string"\r
21         },\r
22         "statusMessage": {\r
23             "description": "additional descriptive information about the status",\r
24             "type": "string"\r
25         },\r
26         "timestamp": {\r
27             "description": "GMT Datetime the requestStatus was created e.g.: Wed, 15 Oct 2014 13:01:52 GMT",\r
28             "type": "string"\r
29         },\r
30         "wasRolledBack": {\r
31                         "description": "true or false boolean indicating whether the request was rolled back",\r
32                         "type": "boolean"\r
33                 }\r
34         \r
35     },\r
36     "required": [\r
37         "requestState",\r
38         "timestamp"\r
39     ],\r
40     "type": "object"\r
41 }\r