blob: dcb31128d6a0c60658f7b21848f2b19689a4015a [file] [log] [blame]
jimmydot3982f4f2017-05-07 14:58:24 -04001{
2 "$schema": "http://json-schema.org/draft-04/schema#",
3 "description": "fields describing the SDC entity being operated on by the request",
4 "type": "object",
5 "properties": {
6 "modelCustomizationName": {
7 "description": "reference to the customized set of parameters associated with a model in a given service context",
8 "type": "string"
9 },
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030010 "modelCustomizationId": {
11 "description": "reference to the customized set of parameters associated with a model in a given service context",
12 "type": "string"
13 },
jimmydot3982f4f2017-05-07 14:58:24 -040014 "modelInvariantId": {
15 "description": "Invariant UUID for the model name, irrespective of the version, as defined in SDC--authoritative",
16 "type": "string",
17 "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}$"
18 },
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030019 "modelVersionId": {
20 "description": "Version id for version",
21 "type": "string"
22 },
jimmydot3982f4f2017-05-07 14:58:24 -040023 "modelName": {
24 "description": "name of the model as defined in SDC--not authoritative",
25 "type": "string"
26 },
27 "modelNameVersionId": {
28 "description": "UUID for the model name and version combination as defined in SDC--authoritative",
29 "type": "string",
30 "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}$"
31 },
32 "modelType": {
33 "description": "short description of the entity being operated on",
34 "type": "string",
35 "enum": [
36 "network",
37 "service",
38 "vfModule",
39 "vnf",
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030040 "volumeGroup",
41 "configuration"
jimmydot3982f4f2017-05-07 14:58:24 -040042 ]
43 },
44 "modelVersion": {
45 "description": "the version of the model as defined in SDC--not authoritative",
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030046 "type": "string"
jimmydot3982f4f2017-05-07 14:58:24 -040047 }
48 },
49 "required": ["modelType"]
50}