-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpydantic_validation_errs.yaml
45 lines (45 loc) · 1.1 KB
/
pydantic_validation_errs.yaml
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
40
41
42
43
44
45
- ctx:
error: Contact person must have an email address.
input:
affiliation:
- contactPoint: []
includeInCitation: false
name: An Institution
roleName: []
schemaKey: Affiliation
identifier: 0000-0003-3456-2493
includeInCitation: true
name: Last, First
roleName:
- dcite:Author
- dcite:ContactPerson
schemaKey: Person
loc:
- contributor
- 0
- Person
msg: Value error, Contact person must have an email address.
type: value_error
url: https://errors.pydantic.dev/2.9/v/value_error
- ctx:
pattern: ^([\w\s\-\.']+),\s+([\w\s\-\.']+)$
input: lijasldkfj lkajsdlkfj
loc:
- contributor
- 3
- Person
- name
msg: String should match pattern '^([\w\s\-\.']+),\s+([\w\s\-\.']+)$'
type: string_pattern_mismatch
url: https://errors.pydantic.dev/2.9/v/string_pattern_mismatch
- ctx:
error: relative URL without a base
input: alksdjflkajsdlfkjasdlkjlkj
loc:
- contributor
- 3
- Person
- url
msg: Input should be a valid URL, relative URL without a base
type: url_parsing
url: https://errors.pydantic.dev/2.9/v/url_parsing