1---
2name: fail-pattern-1
3desc:
4data:
5  email: foo(at)mail.com
6schema:
7  type: map
8  mapping:
9    email:
10      type: str
11      pattern: .+@.+
12errors:
13  - "Value 'foo(at)mail.com' does not match pattern '.+@.+'. Path: '/email'"
14---
15name: fail-pattern-2
16desc:
17data:
18  d: 'a'
19schema:
20  type: map
21  mapping:
22    d:
23      type: str
24      pattern: '[0-9]+'
25errors:
26  - "Value 'a' does not match pattern '[0-9]+'. Path: '/d'"
27