Merge "Content for CDS Microservices"
[ccsdk/cds.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     "script-type": {
6       "required": true,
7       "type": "string",
8       "default": "kotlin",
9       "constraints": [
10         {
11           "valid_values": [
12             "kotlin",
13             "internal",
14             "jython"
15           ]
16         }
17       ]
18     },
19     "script-class-reference": {
20       "description": "Capability reference name for internal and kotlin, for jython script file path",
21       "required": true,
22       "type": "string"
23     },
24     "instance-dependencies": {
25       "required": false,
26       "description": "Instance dependency Names to Inject to Kotlin / Jython Script.",
27       "type": "list",
28       "entry_schema": {
29         "type": "string"
30       }
31     },
32     "key-dependencies": {
33       "description": "Resource Resolution dependency dictionary names.",
34       "required": true,
35       "type": "list",
36       "entry_schema": {
37         "type": "string"
38       }
39     }
40   },
41   "derived_from": "tosca.nodes.ResourceSource"
42 }