summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/resources/json/mso/requestStatus
blob: 9eacb6bb162bb500e28b122171d07285865beeba (plain)
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
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "fields describing the status of a request",
    "properties": {
        "percentProgress": {
            "description": "percentage complete estimate from 0 to 100",
            "type": "number"
        },
        "requestState": {
            "description": "short description of the instantiation state",
            "enum": [
                "complete",
                "failed",
                "inProgress"
            ],
            "type": "string"
        },
        "statusMessage": {
            "description": "additional descriptive information about the status",
            "type": "string"
        },
        "timestamp": {
            "description": "GMT Datetime the requestStatus was created e.g.: Wed, 15 Oct 2014 13:01:52 GMT",
            "type": "string"
        },
        "wasRolledBack": {
			"description": "true or false boolean indicating whether the request was rolled back",
			"type": "boolean"
		}
        
    },
    "required": [
        "requestState",
        "timestamp"
    ],
    "type": "object"
}