summaryrefslogtreecommitdiffstats
path: root/dictionaryvalidation/src/test/resources/yaml_schema/Custom_Valid_Dictionary.yaml
blob: 4193b0d9df64c1b7ab6e122485804357dabee1fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
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
...