jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 1 | {
|
| 2 | "$schema": "http://json-schema.org/draft-04/schema#",
|
| 3 | "description": "fields describing the status of a request",
|
| 4 | "properties": {
|
| 5 | "percentProgress": {
|
| 6 | "description": "percentage complete estimate from 0 to 100",
|
| 7 | "type": "number"
|
| 8 | },
|
| 9 | "requestState": {
|
| 10 | "description": "short description of the instantiation state",
|
| 11 | "enum": [
|
| 12 | "complete",
|
| 13 | "failed",
|
| 14 | "inProgress"
|
| 15 | ],
|
| 16 | "type": "string"
|
| 17 | },
|
| 18 | "statusMessage": {
|
| 19 | "description": "additional descriptive information about the status",
|
| 20 | "type": "string"
|
| 21 | },
|
| 22 | "timestamp": {
|
| 23 | "description": "GMT Datetime the requestStatus was created e.g.: Wed, 15 Oct 2014 13:01:52 GMT",
|
| 24 | "type": "string"
|
| 25 | },
|
| 26 | "wasRolledBack": {
|
| 27 | "description": "true or false boolean indicating whether the request was rolled back",
|
| 28 | "type": "boolean"
|
| 29 | }
|
| 30 |
|
| 31 | },
|
| 32 | "required": [
|
| 33 | "requestState",
|
| 34 | "timestamp"
|
| 35 | ],
|
| 36 | "type": "object"
|
| 37 | }
|