summaryrefslogtreecommitdiff
path: root/tests/files/success/test_type_seq.yaml
blob: 5eb1b163cf3d4bee636dc3868d5ff4040d941a62 (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
---
name: type-seq-1
desc: Test the most basic case for seq
data:
  - foo
schema:
  type: seq
  sequence:
    - type: str
---
name: type-seq-2
desc: Test that seq in seq works
data:
  - - True
  - - False
schema:
  type: seq
  sequence:
    - type: seq
      sequence:
        - type: bool
---
name: type-seq-3
desc: Test bool inside nested map & seq
data:
  - foo:
      - True
schema:
  type: seq
  sequence:
    - type: map
      mapping:
        foo:
          type: seq
          sequence:
            - type: bool