summaryrefslogtreecommitdiff
path: root/tests/files/fail/test_nullable.yaml
blob: 8ce8259926d5562e3b656ff55d8f85ff40e4238e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
---
name: fail-nullable-1
desc:
data:
  - name:
    email: foo@mail.com
  - email: bar@mail.net
schema:
  type: seq
  sequence:
    - type: map
      mapping:
        name:
          type: str
          nullable: False
        email:
          type: str
errors:
  - "nullable.novalue : '/0/name'"