aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/resources/json/mso/requestStatus
diff options
context:
space:
mode:
Diffstat (limited to 'vid-app-common/src/main/resources/json/mso/requestStatus')
-rwxr-xr-xvid-app-common/src/main/resources/json/mso/requestStatus37
1 files changed, 37 insertions, 0 deletions
diff --git a/vid-app-common/src/main/resources/json/mso/requestStatus b/vid-app-common/src/main/resources/json/mso/requestStatus
new file mode 100755
index 00000000..9eacb6bb
--- /dev/null
+++ b/vid-app-common/src/main/resources/json/mso/requestStatus
@@ -0,0 +1,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"
+}