diff options
author | 2020-07-02 15:07:04 +0200 | |
---|---|---|
committer | 2020-07-14 11:40:35 +0200 | |
commit | b93e6a61eb52c364c43190f40c33aa9045ad90d2 (patch) | |
tree | 1461e12c4c7285dc5fbb630a12b3daa54e88ab11 /csarvalidation/src/test/resources/yaml_schema/Simple_Invalid_Schema_LazyLoading.yaml | |
parent | acc4f065bea5608a4e812f6126c102abe8206748 (diff) |
Convert yaml schema into tree structure
Issue-ID: VNFSDK-594
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Change-Id: I071095347fbdf824205e63ab9771cdf47d2ad29d
Diffstat (limited to 'csarvalidation/src/test/resources/yaml_schema/Simple_Invalid_Schema_LazyLoading.yaml')
-rw-r--r-- | csarvalidation/src/test/resources/yaml_schema/Simple_Invalid_Schema_LazyLoading.yaml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/csarvalidation/src/test/resources/yaml_schema/Simple_Invalid_Schema_LazyLoading.yaml b/csarvalidation/src/test/resources/yaml_schema/Simple_Invalid_Schema_LazyLoading.yaml new file mode 100644 index 0000000..7f9f946 --- /dev/null +++ b/csarvalidation/src/test/resources/yaml_schema/Simple_Invalid_Schema_LazyLoading.yaml @@ -0,0 +1,39 @@ +--- +pmMetaData: { presence: required, structure: { + pmHeader: { + presence: required, + structure: { + nfType: { + presence: required, + comment: "nfType comment" + } + } + }, + pmFields: { + presence: required, + structure: [ + -measChangeType: { + presence: required, + value: [added, modified, deleted], + comment: "measChangeType comment" + }, + -measAdditionalFields: { + presence: required, + comment: "measAdditionalFields comment", + structure: { + vendorField1: { + presence: required, + value: [X, Y, Z], + comment: "vendorField1 comment" + }, + vendorField2: { + presence: optional, + value: [A, B], + comment: "vendorField2 comment" + } + } + } + ] + } +}} +... |