diff options
author | 2022-12-19 08:38:11 +0000 | |
---|---|---|
committer | 2023-01-24 09:42:05 +0000 | |
commit | 2af8eed99a00371db238c1021fbe110df59fd476 (patch) | |
tree | e1d90b7b270a37da7920be8a43cce2f18da3f36c /onap_data_provider/schemas | |
parent | 3a6c1f7f293956d6b0cff1593ca248b19e63334f (diff) |
Create CPS anchor nodes using ODP
Added required anchor-name and dataspace-name for schema
Issue-ID: INT-2179
Signed-off-by: paweldenst <pawel.denst@external.t-mobile.pl>
Change-Id: I98d3b25a724af16adf4943bcd832054ed43c69f0
Diffstat (limited to 'onap_data_provider/schemas')
-rw-r--r-- | onap_data_provider/schemas/infra_1_1.schema | 20 | ||||
-rw-r--r-- | onap_data_provider/schemas/infra_2_0.schema | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/onap_data_provider/schemas/infra_1_1.schema b/onap_data_provider/schemas/infra_1_1.schema index d2480c6..e521f8e 100644 --- a/onap_data_provider/schemas/infra_1_1.schema +++ b/onap_data_provider/schemas/infra_1_1.schema @@ -755,3 +755,23 @@ properties: - schema-set-name required: - cps-anchor + cps-anchor-nodes: + type: array + items: + - type: object + properties: + cps-anchor-node: + type: object + properties: + anchor-name: + type: string + dataspace-name: + type: string + node-data: + type: string + required: + - node-data + - anchor-name + - dataspace-name + required: + - cps-anchor-node
\ No newline at end of file diff --git a/onap_data_provider/schemas/infra_2_0.schema b/onap_data_provider/schemas/infra_2_0.schema index 59c6298..7ca55df 100644 --- a/onap_data_provider/schemas/infra_2_0.schema +++ b/onap_data_provider/schemas/infra_2_0.schema @@ -755,3 +755,23 @@ properties: - schema-set-name required: - cps-anchor + cps-anchor-nodes: + type: array + items: + - type: object + properties: + cps-anchor-node: + type: object + properties: + anchor-name: + type: string + dataspace-name: + type: string + node-data: + type: string + required: + - node-data + - anchor-name + - dataspace-name + required: + - cps-anchor-node
\ No newline at end of file |