[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / tools / install / database / schemaTemplates / composition / component.ftl
1 {
2   "$schema": "http://json-schema.org/draft-04/schema#",
3   "type": "object",
4   "properties": {
5     "name": {
6       "type": "string"<#if !manual>,
7       "enum": [
8         "${component.name}"
9       ],
10       "default": "${component.name}"</#if>
11     },
12     "displayName": {
13       "type": "string"<#if !manual && component.displayName??>,
14       "enum": [
15         "${component.displayName}"
16       ],
17       "default": "${component.displayName}"</#if>
18     },
19     "vfcCode": {
20       "type": "string"
21     },
22 "nfcCode": {
23 "type": "string"
24 },
25 "nfcFunction": {
26 "type": "string"
27 },
28 "description": {
29       "type": "string"
30     }
31   },
32   "additionalProperties": false,
33   "required": [
34     "name"<#if !manual && component.displayName??>,
35     "displayName"</#if>
36   ]
37 }