summaryrefslogtreecommitdiffstats
path: root/vid/src/main/resources/json/mso/request
diff options
context:
space:
mode:
Diffstat (limited to 'vid/src/main/resources/json/mso/request')
-rw-r--r--vid/src/main/resources/json/mso/request45
1 files changed, 45 insertions, 0 deletions
diff --git a/vid/src/main/resources/json/mso/request b/vid/src/main/resources/json/mso/request
new file mode 100644
index 00000000..7ea16282
--- /dev/null
+++ b/vid/src/main/resources/json/mso/request
@@ -0,0 +1,45 @@
+{
+ "$schema": "http://json-schema.org/draft-04/schema#",
+ "description": "request structure",
+ "type": "object",
+ "properties": {
+ "finishTime": {
+ "description": "Date and time the request was finished in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",
+ "type": "string"
+ },
+ "instanceIds": {},
+ "requestDetails": {},
+ "requestId": {
+ "description": "UUID for the request generated by the instantiation service",
+ "type": "string",
+ "pattern": "^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$"
+ },
+ "requestScope": {
+ "description": "short description of the entity being operated on",
+ "type": "string",
+ "enum": [
+ "network",
+ "service",
+ "vfModule",
+ "vnf",
+ "volumeGroup"
+ ]
+ },
+ "requestStatus": {},
+ "requestType": {
+ "description": "short description of the action being performed on the requestScope",
+ "type": "string",
+ "enum": [
+ "createInstance",
+ "deleteInstance",
+ "replaceInstance",
+ "updateInstance"
+ ]
+ },
+ "startTime": {
+ "description": "Date and time the request was created in GMT with the following sample format: Wed, 15 Oct 2014 13:01:52 GMT",
+ "type": "string"
+ }
+ },
+ "required": ["requestDetails", "requestId", "requestScope", "requestType", "startTime"]
+} \ No newline at end of file