[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / tools / install / database / schemaTemplates / composition / deployment.ftl
1 {
2     "$schema": "http://json-schema.org/draft-04/schema#",
3     "type": "object",
4     "properties": {
5       "model": {
6         "type": "string",
7          "maxLength": 30,
8          "pattern": "^[A-Za-z0-9_,-]*$"
9         },
10       "description": {
11         "type": "string",
12
13          "maxLength": 300
14         },
15       "featureGroupId":{
16         "type": "string",
17         "enum": [<#if featureGroupIds??> <#list featureGroupIds as featureGroupId>
18         "${featureGroupId}"<#sep>,</#list> </#if>
19           ]
20       },
21      "componentComputeAssociations": {
22        "type": "array",
23         "properties": {
24             "vfcid": {
25                "type": "string"
26              },
27             "computeFlavorid": {
28                "type": "string"
29              }
30         },
31      "additionalProperties": false
32       }
33
34     },
35    "additionalProperties": false,
36    "required": [
37       "model"
38     ]
39 }