aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/resources/json/mso/requestStatus
blob: 11b285636a662c8ea7d57e0296faabe500a73120 (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
38
39
40
41
{
    "$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",
                "IN_PROGRESS",
                "PENDING",
                "UNLOCKED",
                "COMPLETED",
                ""
            ],
            "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"
}