summaryrefslogtreecommitdiffstats
path: root/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Invalid_Dictionary.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dictionaryvalidation/src/test/resources/yaml_schema/Custom_Invalid_Dictionary.yaml')
-rw-r--r--dictionaryvalidation/src/test/resources/yaml_schema/Custom_Invalid_Dictionary.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Invalid_Dictionary.yaml b/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Invalid_Dictionary.yaml
new file mode 100644
index 0000000..d5d12d6
--- /dev/null
+++ b/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Invalid_Dictionary.yaml
@@ -0,0 +1,56 @@
+---
+rootElement: { presence: required, structure: {
+ field1: {
+ presence: required,
+ comment: "field 1 description",
+ structure: {
+ field11:{
+ presence: required,
+ comment: "field 11 description"
+ },
+ field12: {
+ presence: required,
+ comment: "field 12 description"
+ },
+ field13: {
+ presence: optional,
+ value: [ X, Y, Z ],
+ comment: "field 13 description"
+ }
+ }
+ },
+ field2: {
+ presence: required,
+ comment: "field 2 description"
+ },
+ field3: {
+ presence: required,
+ value: [ 3, 30, 33 ],
+ comment: "field 2 description"
+ }
+}}
+...
+---
+rootElement:
+ field1:
+ field11: test11
+ field12: test12
+ field13: A
+ field2: test2
+ field3: 3
+...
+---
+rootElement:
+ field1:
+ field11: test11
+ field12: test12
+ field2: test2
+ field3: 300
+...
+---
+rootElement:
+ field1:
+ field11: test11
+ field12: test12
+ field3: 3
+...