Merge "1 Controller Design Studio"
[ccsdk/apps.git] / components / model-catalog / definition-type / starter-type / node_type / source-capability.json
1 {
2   "description": "This is Component Resource Source Node Type",
3   "version": "1.0.0",
4   "properties": {
5     "type": {
6       "required": true,
7       "type": "string",
8       "default": "JAVA-COMPONENT",
9       "constraints": [
10         {
11           "valid_values": [
12             "JAVA-COMPONENT",
13             "JYTHON-COMPONENT"
14           ]
15         }
16       ]
17     },
18     "instance-name": {
19       "description": "Capability component instance reference name.",
20       "required": true,
21       "type": "string"
22     },
23     "input-key-mapping": {
24       "description": "Context name to input parameters name mapping.",
25       "required": false,
26       "type": "map",
27       "entry_schema": {
28         "type": "string"
29       }
30     },
31     "output-key-mapping": {
32       "description": "Context name to output parameters name mapping.",
33       "required": false,
34       "type": "map",
35       "entry_schema": {
36         "type": "string"
37       }
38     },
39     "key-dependencies": {
40       "description": "Resource Resolution dependency dictionary names.",
41       "required": true,
42       "type": "list",
43       "entry_schema": {
44         "type": "string"
45       }
46     }
47   },
48   "derived_from": "tosca.nodes.ResourceSource"
49 }