blob: 2504d517bf7f37f12a8a8e6ddb685e95b795c61b [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 },
10 "modelInvariantId": {
11 "description": "Invariant UUID for the model name, irrespective of the version, as defined in SDC--authoritative",
12 "type": "string",
13 "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}$"
14 },
15 "modelName": {
16 "description": "name of the model as defined in SDC--not authoritative",
17 "type": "string"
18 },
19 "modelNameVersionId": {
20 "description": "UUID for the model name and version combination as defined in SDC--authoritative",
21 "type": "string",
22 "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}$"
23 },
24 "modelType": {
25 "description": "short description of the entity being operated on",
26 "type": "string",
27 "enum": [
28 "network",
29 "service",
30 "vfModule",
31 "vnf",
32 "volumeGroup"
33 ]
34 },
35 "modelVersion": {
36 "description": "the version of the model as defined in SDC--not authoritative",
37 "type": "number"
38 }
39 },
40 "required": ["modelType"]
41}