jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 1 | {
|
| 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 Sonsino | 1ba64a4 | 2017-09-20 14:08:19 +0300 | [diff] [blame] | 10 | "modelCustomizationId": {
|
| 11 | "description": "reference to the customized set of parameters associated with a model in a given service context",
|
| 12 | "type": "string"
|
| 13 | },
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 14 | "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 Sonsino | 1ba64a4 | 2017-09-20 14:08:19 +0300 | [diff] [blame] | 19 | "modelVersionId": {
|
| 20 | "description": "Version id for version",
|
| 21 | "type": "string"
|
| 22 | },
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 23 | "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 Sonsino | 1ba64a4 | 2017-09-20 14:08:19 +0300 | [diff] [blame] | 40 | "volumeGroup",
|
| 41 | "configuration"
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 42 | ]
|
| 43 | },
|
| 44 | "modelVersion": {
|
| 45 | "description": "the version of the model as defined in SDC--not authoritative",
|
Ofir Sonsino | 1ba64a4 | 2017-09-20 14:08:19 +0300 | [diff] [blame] | 46 | "type": "string"
|
jimmydot | 3982f4f | 2017-05-07 14:58:24 -0400 | [diff] [blame] | 47 | }
|
| 48 | },
|
| 49 | "required": ["modelType"]
|
| 50 | } |