summaryrefslogtreecommitdiff
path: root/tests/files/success/test_type_bool.yaml
blob: 4857690b05ffa7d1ea20b11b88f8e7c4f89556df (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: bool1
desc: Test simples bool value
data: True
schema:
  type: bool
---
name: bool2
desc: Test bool value inside list
data:
  - True
  - False
schema:
  type: seq
  sequence:
    - type: bool
---
name: bool3
desc: Test bool value in mapping
data:
    foo: True
schema:
  type: map
  mapping:
    foo:
      type: bool
---
name: bool4
desc: Test bool inside nested map & seq
data:
  foo:
    - True
schema:
  type: map
  mapping:
    foo:
      type: seq
      sequence:
        - type: bool