actually adding the files to the initial commit
[vid.git] / vid / src / main / resources / json / mso / request
diff --git a/vid/src/main/resources/json/mso/request b/vid/src/main/resources/json/mso/request
new file mode 100644 (file)
index 0000000..7ea1628
--- /dev/null
@@ -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