summaryrefslogtreecommitdiffstats
path: root/openecomp-be/tools/install/database/schemaTemplates/composition/component.ftl
blob: e2953b83d049d872e3b3d2df327c887f1a536977 (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
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"<#if !manual>,
      "enum": [
        "${component.name}"
      ],
      "default": "${component.name}"</#if>
    },
    "displayName": {
      "type": "string"<#if !manual && component.displayName??>,
      "enum": [
        "${component.displayName}"
      ],
      "default": "${component.displayName}"</#if>
    },
    "vfcCode": {
      "type": "string"
    },
"nfcCode": {
"type": "string"
},
"nfcFunction": {
"type": "string"
},
"description": {
      "type": "string"
    }
  },
  "additionalProperties": false,
  "required": [
    "name"<#if !manual && component.displayName??>,
    "displayName"</#if>
  ]
}