summaryrefslogtreecommitdiff
path: root/tests/files/success/test_type_map.yaml
blob: 010b0e93c413ff7072804c3270fcfd050cea0889 (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
---
name: type-map-1
desc: Test the most basic case for map
data:
  foo: bar
schema:
  type: map
  mapping:
    foo:
      type: str
---
name: type-map-2
desc: 
data:
  - foo: bar
  - foo: bar
schema:
  type: seq
  sequence:
    - type: map
      mapping:
        foo:
          type: str
---
name: type-map-3
desc: Test bool inside nested map & seq
data:
  foo:
    - bar: foobar
schema:
  type: map
  mapping:
    foo:
      type: seq
      sequence:
        - type: map
          mapping:
            bar:
              type: str