-
Notifications
You must be signed in to change notification settings - Fork 0
/
all-types-schema.json
76 lines (76 loc) · 2.12 KB
/
all-types-schema.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"schema": "http://json-schema.org/draft-07/schema#",
"id": "foo",
"title": "My schema",
"description": "Test schema description",
"properties": {
"top": {
"_jst": "boolean",
"name": "top",
"description": "Is a top developer ?",
"type": "boolean"
},
"birthdate": {
"_jst": "date",
"format": "date",
"name": "birthdate",
"description": "Birthdate ?",
"type": "string"
},
"interview_at": {
"_jst": "date-time",
"format": "date-time",
"name": "interview_at",
"description": "Interview planned for ?",
"type": "string"
},
"email": {
"_jst": "email",
"format": "email",
"name": "email",
"description": "Email address ?",
"type": "string"
},
"minimum_salary": {
"_jst": "integer",
"name": "minimum_salary",
"description": "Minimum salary ?",
"type": "integer",
"minimum": 100
},
"max_days_in_office": {
"_jst": "integer",
"name": "max_days_in_office",
"description": "Max number of days in office ?",
"type": "integer",
"maximum": 200
},
"address": {
"_jst": "object",
"name": "address",
"description": "Address",
"type": "object",
"properties": {
"street": {
"_jst": "string",
"name": "street",
"description": "Street",
"type": "string",
"min_length": 0
},
"city": {
"_jst": "string",
"name": "city",
"description": "City",
"type": "string",
"min_length": 0
}
}
}
},
"required": [
"birthdate",
"email",
"minimum_salary"
]
}