aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/resources/json/mso/modelInfo
blob: d368e3532d276e895846bb364a45579de9f0e776 (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
46
47
48
49
50
51
{
	"$schema": "http://json-schema.org/draft-04/schema#",
	"description": "fields describing the SDC entity being operated on by the request",
	"type": "object",
	"properties": {
		"modelCustomizationName": {
			"description": "reference to the customized set of parameters associated with a model in a given service context",
			"type": "string"
		},
		"modelCustomizationId": {
			"description": "reference to the customized set of parameters associated with a model in a given service context",
			"type": "string"
		},
		"modelInvariantId": {
			"description": "Invariant UUID for the model name, irrespective of the version, as defined in SDC--authoritative",
			"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}$"
		},
        "modelVersionId": {
                "description": "Version id for version",
                "type": "string"
            },
		"modelName": {
			"description": "name of the model as defined in SDC--not authoritative",
			"type": "string"
		},
		"modelNameVersionId": {
			"description": "UUID for the model name and version combination as defined in SDC--authoritative",
			"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}$"
		},
		"modelType": {
			"description": "short description of the entity being operated on",
			"type": "string",
			"enum": [
			    "pnf",
				"network",
				"service",
				"vfModule",
				"vnf",
				"volumeGroup",
				"configuration"
			]
		},
		"modelVersion": {
			"description": "the version of the model as defined in SDC--not authoritative",
			"type": "string"
		}
	},
	"required": ["modelType"]
}