aboutsummaryrefslogtreecommitdiffstats
path: root/onap_data_provider/schemas/infra_1_1.schema
diff options
context:
space:
mode:
Diffstat (limited to 'onap_data_provider/schemas/infra_1_1.schema')
-rw-r--r--onap_data_provider/schemas/infra_1_1.schema30
1 files changed, 29 insertions, 1 deletions
diff --git a/onap_data_provider/schemas/infra_1_1.schema b/onap_data_provider/schemas/infra_1_1.schema
index 7514acc..063e78a 100644
--- a/onap_data_provider/schemas/infra_1_1.schema
+++ b/onap_data_provider/schemas/infra_1_1.schema
@@ -281,7 +281,35 @@ properties:
- required:
- name
- value
- inputs: *props
+ inputs: &inputs
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ type:
+ type: string
+ nested-input:
+ type: boolean
+ resource:
+ type: string
+ value:
+ type:
+ - string
+ - number
+ - boolean
+ anyOf:
+ - required:
+ - name
+ - type
+ - required:
+ - name
+ - value
+ - required:
+ - name
+ - nested-input
+ - resource
required:
- name
required: