-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathschema.json
98 lines (98 loc) · 2.87 KB
/
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "array",
"title": "Contributors to the Coding Garden Community App",
"items": {
"$id": "#/items",
"type": "object",
"title": "The Contributor Schema",
"required": [
"name",
"github",
"image",
"countryCode",
"active",
"joined",
"teamIds"
],
"properties": {
"name": {
"$id": "#/items/properties/name",
"type": "string",
"title": "First and Last Name",
"default": "",
"examples": [
"CJ"
],
"pattern": "^(.*)$"
},
"github": {
"$id": "#/items/properties/github",
"type": "string",
"title": "Github Username",
"default": "",
"examples": [
"w3cj"
],
"pattern": "^(.*)$"
},
"image": {
"$id": "#/items/properties/image",
"type": "string",
"title": "Github Avatar",
"default": "",
"examples": [
"https://avatars1.githubusercontent.com/u/14241866"
],
"pattern": "^(.*)$"
},
"countryCode": {
"$id": "#/items/properties/countryCode",
"type": "string",
"title": "3 Letter Country Code",
"default": "",
"examples": [
"USA"
],
"pattern": "^(.*)$"
},
"active": {
"$id": "#/items/properties/active",
"type": "boolean",
"title": "Active Status",
"default": false,
"examples": [
true
]
},
"joined": {
"$id": "#/items/properties/joined",
"type": "string",
"title": "Date Joined",
"default": "",
"examples": [
"2018-12-16"
],
"pattern": "^(.*)$"
},
"teamIds": {
"$id": "#/items/properties/teamIds",
"type": "array",
"title": "",
"items": {
"$id": "#/items/properties/teamIds/items",
"type": "integer",
"title": "Teams",
"default": 0,
"examples": [
0,
1,
2,
3,
4
]
}
}
}
}
}