aboutsummaryrefslogtreecommitdiffstats
path: root/onap_data_provider/schemas
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-07-08 14:52:31 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-07-11 08:47:42 +0000
commitdc0b8a7349225066f0e8e55c8decc0049696b21f (patch)
treecd790771ff4992d4c6a12ac2f5688a8f32e929fd /onap_data_provider/schemas
parent4b3b475ae1adfebba77db54924b457ddde7cb0ca (diff)
CDS blueprint and blueprint's resource template resources
Add 2 more resources: - CDS blueprint - CDS blueprint's resource template Both added into 1.1 schema Change the version into 0.7.0 Issue-ID: INT-2134 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I4dfb343f233922a2f8a524dc135f7eec051e69aa
Diffstat (limited to 'onap_data_provider/schemas')
-rw-r--r--onap_data_provider/schemas/infra_1_1.schema65
1 files changed, 65 insertions, 0 deletions
diff --git a/onap_data_provider/schemas/infra_1_1.schema b/onap_data_provider/schemas/infra_1_1.schema
index c5cde66..9135569 100644
--- a/onap_data_provider/schemas/infra_1_1.schema
+++ b/onap_data_provider/schemas/infra_1_1.schema
@@ -612,3 +612,68 @@ properties:
- file-path
required:
- data-dictionaries
+ blueprints:
+ type: array
+ items:
+ - type: object
+ properties:
+ blueprint:
+ type: object
+ properites:
+ blueprint-file-path:
+ type: string
+ required:
+ - blueprint-file-path
+ required:
+ - blueprint
+ blueprint-resource-templates:
+ type: array
+ items:
+ - type: object
+ properties:
+ blueprint-resource-template:
+ type: object
+ properties:
+ blueprint-name:
+ type: string
+ blueprint-version:
+ type: string
+ artifact-name:
+ type: string
+ resolution-key:
+ type: string
+ resource-type:
+ type: string
+ resource-id:
+ type: string
+ data:
+ type: string
+ data-file:
+ type: string
+ anyOf:
+ - required:
+ - blueprint-name
+ - blueprint-version
+ - artifact-name
+ - resolution-key
+ - data
+ - required:
+ - blueprint-name
+ - blueprint-version
+ - artifact-name
+ - resource-type
+ - resource-id
+ - data
+ - required:
+ - blueprint-name
+ - blueprint-version
+ - artifact-name
+ - resolution-key
+ - data-file
+ - required:
+ - blueprint-name
+ - blueprint-version
+ - artifact-name
+ - resource-type
+ - resource-id
+ - data-file