aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools/install/database/schemaTemplates/composition/deployment.ftl
blob: 67271c79e2ec78044a502dcfb6df4e9407e916c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
      "model": {
        "type": "string",
         "maxLength": 30,
         "pattern": "^[A-Za-z0-9_,-]*$"
        },
      "description": {
        "type": "string",

         "maxLength": 300
        },
      "featureGroupId":{
        "type": "string",
        "enum": [<#if featureGroupIds??> <#list featureGroupIds as featureGroupId>
        "${featureGroupId}"<#sep>,</#list> </#if>
          ]
      },
     "componentComputeAssociations": {
       "type": "array",
        "properties": {
            "vfcid": {
               "type": "string"
             },
            "computeFlavorid": {
               "type": "string"
             }
        },
     "additionalProperties": false
      }

    },
   "additionalProperties": false,
   "required": [
      "model"
    ]
}