[VID-6] Initial rebase push
[vid.git] / vid-app-common / src / main / resources / json / mso / modelInfo
1 {\r
2         "$schema": "http://json-schema.org/draft-04/schema#",\r
3         "description": "fields describing the SDC entity being operated on by the request",\r
4         "type": "object",\r
5         "properties": {\r
6                 "modelCustomizationName": {\r
7                         "description": "reference to the customized set of parameters associated with a model in a given service context",\r
8                         "type": "string"\r
9                 },\r
10                 "modelInvariantId": {\r
11                         "description": "Invariant UUID for the model name, irrespective of the version, as defined in SDC--authoritative",\r
12                         "type": "string",\r
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}$"\r
14                 },\r
15                 "modelName": {\r
16                         "description": "name of the model as defined in SDC--not authoritative",\r
17                         "type": "string"\r
18                 },\r
19                 "modelNameVersionId": {\r
20                         "description": "UUID for the model name and version combination as defined in SDC--authoritative",\r
21                         "type": "string",\r
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}$"\r
23                 },\r
24                 "modelType": {\r
25                         "description": "short description of the entity being operated on",\r
26                         "type": "string",\r
27                         "enum": [\r
28                                 "network",\r
29                                 "service",\r
30                                 "vfModule",\r
31                                 "vnf",\r
32                                 "volumeGroup"\r
33                         ]\r
34                 },\r
35                 "modelVersion": {\r
36                         "description": "the version of the model as defined in SDC--not authoritative",\r
37                         "type": "number"\r
38                 }\r
39         },\r
40         "required": ["modelType"]\r
41 }