summaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/resources/json/mso/request
blob: 3aaadbfbc6b21ee398b19aea58b32e0d17e864d3 (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
42
43
44
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"]
}