summaryrefslogtreecommitdiffstats
path: root/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2021-05-06 10:14:57 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2021-05-06 10:52:21 +0200
commit0fce7537299e6af0d2b1fdb1d5c01654ce9573c0 (patch)
treeeb7e726f921fe96738443be684bc77e05f6d76c5 /dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml
parent1ff8bc0e7475934c1ad463571444d7b46c7b5761 (diff)
Rename PM_Dictionary_Validator to Dictionary_Validatoristanbul
Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Icb65e6f832804aa4a958e530422d35e079ffe3c1 Issue-ID: VNFSDK-769
Diffstat (limited to 'dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml')
-rw-r--r--dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml58
1 files changed, 58 insertions, 0 deletions
diff --git a/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml b/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml
new file mode 100644
index 0000000..4193b0d
--- /dev/null
+++ b/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml
@@ -0,0 +1,58 @@
+---
+rootElement1: { presence: required, structure: {
+ field11: {
+ presence: required,
+ value: [X, Y, Z],
+ comment: "field 11 description"
+ },
+ field12: {
+ presence: required,
+ comment: "field 12 description"
+ }
+}}
+rootElement2: { presence: required, structure: {
+ field21: {
+ presence: required,
+ value: [22, 222, 2222],
+ comment: "field 21 description"
+ },
+ field22: {
+ presence: optional,
+ value: [ A,B,C ],
+ comment: "field 22 description"
+ }
+}}
+rootElement3: { presence: optional, structure: {
+ field3: {
+ presence: required,
+ comment: "field 3 description"
+ }
+}}
+...
+---
+rootElement1:
+ field11: X
+ field12: test
+rootElement2:
+ field21: 22
+ field22: B
+...
+---
+rootElement1:
+ field11: X
+ field12: test12
+rootElement2:
+ field21: 22
+rootElement3:
+ field3: test3
+...
+---
+rootElement1:
+ field11: Y
+ field12: testing12
+rootElement2:
+ field21: 222
+ field22: A
+rootElement3:
+ field3: testing3
+...