From 0a7c213c87d9b0916080d62d8e97ac4d47851688 Mon Sep 17 00:00:00 2001 From: Michal Jagiello Date: Tue, 12 Jul 2022 09:52:01 +0000 Subject: [CPS] Create CPS resources using data provider Create: - dataspace - anchor - schema set Issue-ID: INT-2135 Signed-off-by: Michal Jagiello Change-Id: I49fa9aa34bd4157372571275774c6a410d1bedcb --- onap_data_provider/schemas/infra_1_1.schema | 78 +++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) (limited to 'onap_data_provider/schemas/infra_1_1.schema') 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 -- cgit 1.2.3-korg