summaryrefslogtreecommitdiffstats
path: root/onap_data_provider/schemas/infra_1_1.schema
diff options
context:
space:
mode:
authorMichal Jagiello <michal.jagiello@t-mobile.pl>2022-07-12 09:52:01 +0000
committerMichal Jagiello <michal.jagiello@t-mobile.pl>2022-07-18 09:49:01 +0000
commit0a7c213c87d9b0916080d62d8e97ac4d47851688 (patch)
tree4599fc1da6a74decdd789f70d01b057e8f426308 /onap_data_provider/schemas/infra_1_1.schema
parentdc0b8a7349225066f0e8e55c8decc0049696b21f (diff)
[CPS] Create CPS resources using data provider0.7.0
Create: - dataspace - anchor - schema set Issue-ID: INT-2135 Signed-off-by: Michal Jagiello <michal.jagiello@t-mobile.pl> Change-Id: I49fa9aa34bd4157372571275774c6a410d1bedcb
Diffstat (limited to 'onap_data_provider/schemas/infra_1_1.schema')
-rw-r--r--onap_data_provider/schemas/infra_1_1.schema78
1 files changed, 78 insertions, 0 deletions
diff --git a/onap_data_provider/schemas/infra_1_1.schema b/onap_data_provider/schemas/infra_1_1.schema
index 9135569..d2480c6 100644
--- a/onap_data_provider/schemas/infra_1_1.schema
+++ b/onap_data_provider/schemas/infra_1_1.schema
@@ -677,3 +677,81 @@ properties:
- resource-type
- resource-id
- data-file
+ cps-dataspaces:
+ type: array
+ items:
+ - type: object
+ properties:
+ cps-dataspace:
+ type: object
+ properties:
+ dataspace-name:
+ type: string
+ schema-sets:
+ type: array
+ items:
+ - type: object
+ properties:
+ schema-set-name:
+ type: string
+ schema-set-file:
+ type: string
+ required:
+ - schema-set-name
+ - schema-set-file
+ anchors:
+ type: array
+ items:
+ - type: object
+ properties:
+ anchor-name:
+ type: string
+ schema-set-name:
+ type: string
+ required:
+ - anchor-name
+ - schema-set-name
+ required:
+ - dataspace-name
+ required:
+ - cps-dataspace
+ cps-schema-sets:
+ type: array
+ items:
+ - type: object
+ properties:
+ cps-schema-set:
+ type: object
+ properties:
+ schema-set-name:
+ type: string
+ schema-set-file:
+ type: string
+ dataspace-name:
+ type: string
+ required:
+ - schema-set-name
+ - schema-set-file
+ - dataspace-name
+ required:
+ - cps-schema-set
+ cps-anchors:
+ type: array
+ items:
+ - type: object
+ properties:
+ cps-anchor:
+ type: object
+ properties:
+ anchor-name:
+ type: string
+ dataspace-name:
+ type: string
+ schema-set-name:
+ type: string
+ required:
+ - anchor-name
+ - dataspace-name
+ - schema-set-name
+ required:
+ - cps-anchor