blob: d368e3532d276e895846bb364a45579de9f0e776 [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": [
Ofir Sonsino1cfb0872018-01-31 17:19:00 +020036 "pnf",
jimmydot3982f4f2017-05-07 14:58:24 -040037 "network",
38 "service",
39 "vfModule",
40 "vnf",
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030041 "volumeGroup",
42 "configuration"
jimmydot3982f4f2017-05-07 14:58:24 -040043 ]
44 },
45 "modelVersion": {
46 "description": "the version of the model as defined in SDC--not authoritative",
Ofir Sonsino1ba64a42017-09-20 14:08:19 +030047 "type": "string"
jimmydot3982f4f2017-05-07 14:58:24 -040048 }
49 },
50 "required": ["modelType"]
51}