-
Notifications
You must be signed in to change notification settings - Fork 5
/
schema.json
181 lines (181 loc) · 4.1 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://raw.githubusercontent.com/DCgov/civic.json/master/schemas/schema-v1.json",
"type": "object",
"required": [
"status",
"name",
"tags"
],
"properties": {
"name": {
"title": "name",
"description": "Project name",
"type": "string",
"minLength": 1
},
"status": {
"title": "status",
"description": "Project status",
"type": "string",
"default": "Alpha",
"enum": [
"Ideation",
"Alpha",
"Beta",
"Production",
"Archival"
]
},
"contact": {
"required": [
"name"
],
"title": "contact",
"type": "object",
"properties": {
"name": {
"title": "name",
"description": "Contact name",
"type": "string",
"minLength": 1
},
"email": {
"title": "email",
"description": "Contact email",
"type": "string"
},
"url": {
"title": "URL",
"description": "Contact URL",
"type": "string"
}
}
},
"partners": {
"title": "partners",
"description": "Project partners",
"type": "array",
"items": {
"required": [
"name"
],
"title": "partner",
"type": "object",
"properties": {
"name": {
"title": "name",
"description": "Partner name",
"type": "string",
"minLength": 1
},
"email": {
"title": "email",
"description": "Partner email",
"type": "string"
},
"url": {
"title": "URL",
"description": "Partner URL",
"type": "string"
}
}
}
},
"description": {
"title": "description",
"description": "Project description",
"type": "string"
},
"type": {
"title": "type",
"description": "Project type",
"type": "string"
},
"license": {
"title": "license",
"description": "Project license identifier",
"type": "string"
},
"homepage": {
"title": "homepage URL",
"description": "Project homepage URL",
"type": "string"
},
"thumbnail": {
"title": "thumbnail URL",
"description": "Project thumbnail image URL",
"type": "string"
},
"repository": {
"title": "repository URL",
"description": "Project repository URL",
"type": "string"
},
"geography": {
"title": "geographic tags",
"description": "Project geographic/location tags",
"type": "array",
"items": {
"title": "tag",
"type": "string"
}
},
"data": {
"title": "data",
"description": "Data sets used in project",
"type": "array",
"items": {
"required": [
"name",
"url"
],
"type": "object",
"properties": {
"name": {
"title": "name",
"description": "Data set name",
"type": "string"
},
"url": {
"title": "direct URL",
"description": "Data set URL",
"type": "string"
},
"metadata": {
"title": "metadata URL",
"description": "Data set metadata URL",
"type": "string"
}
}
},
"uniqueItems": true
},
"tags": {
"title": "tags",
"description": "Project tags",
"type": "array",
"items": {
"title": "tag",
"type": "string"
},
"uniqueItems": true
},
"links": {
"title": "links",
"description": "Project links",
"type": "array",
"items": {
"title": "URL",
"type": "string"
},
"uniqueItems": true
},
"id": {
"title": "schema URL",
"description": "Civic.json schema URL",
"type": "string",
"default": "https://raw.githubusercontent.com/DCgov/civic.json/master/schemas/schema-v1.json"
}
}
}