-
Notifications
You must be signed in to change notification settings - Fork 71
/
NYC_311_SR_2010-2020-sample-1M.csv.schema.json
564 lines (564 loc) · 13.1 KB
/
NYC_311_SR_2010-2020-sample-1M.csv.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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
{
"$schema": "https://json-schema.org/draft-07/schema",
"title": "JSON Schema for NYC_311_SR_2010-2020-sample-1M.csv",
"description": "Inferred JSON Schema from QSV schema command",
"type": "object",
"properties": {
"Unique Key": {
"description": "Unique Key column from NYC_311_SR_2010-2020-sample-1M.csv",
"minimum": 11465364,
"maximum": 48478173,
"type": [
"integer"
]
},
"Created Date": {
"description": "Created Date column from NYC_311_SR_2010-2020-sample-1M.csv",
"format": "date-time",
"type": [
"string"
]
},
"Closed Date": {
"description": "Closed Date column from NYC_311_SR_2010-2020-sample-1M.csv",
"format": "date-time",
"type": [
"string",
"null"
]
},
"Agency": {
"description": "Agency column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 3,
"maxLength": 42,
"type": [
"string"
],
"enum": [
"3-1-1",
"ACS",
"DCA",
"DCAS",
"DCP",
"DEP",
"DFTA",
"DHS",
"DOB",
"DOE",
"DOF",
"DOHMH",
"DOITT",
"DORIS",
"DOT",
"DPR",
"DSNY",
"DVS",
"EDC",
"FDNY",
"HPD",
"HRA",
"MAYORâS OFFICE OF SPECIAL ENFORCEMENT",
"MOC",
"NYCEM",
"NYPD",
"TAX",
"TLC"
]
},
"Agency Name": {
"description": "Agency Name column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 3,
"maxLength": 82,
"type": [
"string"
]
},
"Complaint Type": {
"description": "Complaint Type column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 3,
"maxLength": 41,
"type": [
"string"
]
},
"Descriptor": {
"description": "Descriptor column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 80,
"type": [
"string",
"null"
]
},
"Location Type": {
"description": "Location Type column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 36,
"type": [
"string",
"null"
]
},
"Incident Zip": {
"description": "Incident Zip column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 10,
"type": [
"string",
"null"
]
},
"Incident Address": {
"description": "Incident Address column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 55,
"type": [
"string",
"null"
]
},
"Street Name": {
"description": "Street Name column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 55,
"type": [
"string",
"null"
]
},
"Cross Street 1": {
"description": "Cross Street 1 column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 32,
"type": [
"string",
"null"
]
},
"Cross Street 2": {
"description": "Cross Street 2 column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 35,
"type": [
"string",
"null"
]
},
"Intersection Street 1": {
"description": "Intersection Street 1 column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 35,
"type": [
"string",
"null"
]
},
"Intersection Street 2": {
"description": "Intersection Street 2 column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 33,
"type": [
"string",
"null"
]
},
"Address Type": {
"description": "Address Type column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 12,
"type": [
"string",
"null"
],
"enum": [
"ADDRESS",
"BLOCKFACE",
"INTERSECTION",
"LATLONG",
"PLACENAME",
null
]
},
"City": {
"description": "City column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 22,
"type": [
"string",
"null"
]
},
"Landmark": {
"description": "Landmark column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 32,
"type": [
"string",
"null"
]
},
"Facility Type": {
"description": "Facility Type column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 15,
"type": [
"string",
"null"
],
"enum": [
"DSNY Garage",
"N/A",
"Precinct",
"School",
"School District",
null
]
},
"Status": {
"description": "Status column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 4,
"maxLength": 16,
"type": [
"string"
],
"enum": [
"Assigned",
"Closed",
"Closed - Testing",
"Email Sent",
"In Progress",
"Open",
"Pending",
"Started",
"Unassigned",
"Unspecified"
]
},
"Due Date": {
"description": "Due Date column from NYC_311_SR_2010-2020-sample-1M.csv",
"format": "date-time",
"type": [
"string",
"null"
]
},
"Resolution Description": {
"description": "Resolution Description column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 934,
"type": [
"string",
"null"
]
},
"Resolution Action Updated Date": {
"description": "Resolution Action Updated Date column from NYC_311_SR_2010-2020-sample-1M.csv",
"format": "date-time",
"type": [
"string",
"null"
]
},
"Community Board": {
"description": "Community Board column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 8,
"maxLength": 25,
"type": [
"string"
]
},
"BBL": {
"description": "BBL column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 10,
"type": [
"string",
"null"
]
},
"Borough": {
"description": "Borough column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 5,
"maxLength": 13,
"type": [
"string"
],
"enum": [
"BRONX",
"BROOKLYN",
"MANHATTAN",
"QUEENS",
"STATEN ISLAND",
"Unspecified"
]
},
"X Coordinate (State Plane)": {
"description": "X Coordinate (State Plane) column from NYC_311_SR_2010-2020-sample-1M.csv",
"minimum": 913281,
"maximum": 1067220,
"type": [
"integer",
"null"
]
},
"Y Coordinate (State Plane)": {
"description": "Y Coordinate (State Plane) column from NYC_311_SR_2010-2020-sample-1M.csv",
"minimum": 121152,
"maximum": 271876,
"type": [
"integer",
"null"
]
},
"Open Data Channel Type": {
"description": "Open Data Channel Type column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 5,
"maxLength": 7,
"type": [
"string"
],
"enum": [
"MOBILE",
"ONLINE",
"OTHER",
"PHONE",
"UNKNOWN"
]
},
"Park Facility Name": {
"description": "Park Facility Name column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 3,
"maxLength": 82,
"type": [
"string"
]
},
"Park Borough": {
"description": "Park Borough column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 5,
"maxLength": 13,
"type": [
"string"
],
"enum": [
"BRONX",
"BROOKLYN",
"MANHATTAN",
"QUEENS",
"STATEN ISLAND",
"Unspecified"
]
},
"Vehicle Type": {
"description": "Vehicle Type column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 23,
"type": [
"string",
"null"
],
"enum": [
"Ambulette / Paratransit",
"Car Service",
"Commuter Van",
"Green Taxi",
null
]
},
"Taxi Company Borough": {
"description": "Taxi Company Borough column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 13,
"type": [
"string",
"null"
],
"enum": [
"BRONX",
"BROOKLYN",
"Bronx",
"Brooklyn",
"MANHATTAN",
"Manhattan",
"QUEENS",
"Queens",
"STATEN ISLAND",
"Staten Island",
null
]
},
"Taxi Pick Up Location": {
"description": "Taxi Pick Up Location column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 60,
"type": [
"string",
"null"
]
},
"Bridge Highway Name": {
"description": "Bridge Highway Name column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 42,
"type": [
"string",
"null"
]
},
"Bridge Highway Direction": {
"description": "Bridge Highway Direction column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 33,
"type": [
"string",
"null"
],
"enum": [
"Bronx Bound",
"Bronx/North Bound",
"Brooklyn Bound",
"East Bound",
"East/Bronx Bound",
"East/Brooklyn Bound",
"East/Long Island Bound",
"East/Queens Bound",
"Eastbound",
"Eastbound/To Ocean Pkwy",
"From the Rockaways",
"Leaving Coney Island",
"Manhattan Bound",
"N/A",
"New Jersey Bound",
"North Bound",
"North/Bronx Bound",
"North/Eastbound",
"North/To Bayonne Br",
"North/Westbound (To GW Br)",
"North/Westchester County Bound",
"Northbound",
"Northbound/Uptown",
"Queens Bound",
"South Bound",
"South/Downtown",
"South/East (To Throgs Neck Br)",
"South/JFK Airport Bound",
"South/Long Island Bound",
"South/Manhattan Bound",
"South/New Jersey Bound",
"South/Queens Bound",
"South/Toward Triborough Br",
"Southbound",
"Southbound/Downtown",
"Southbound/To OuterBr Cr",
"Southbound/To RFK Triborough Br",
"Southbound/To Triborough Br",
"To FDR/East Side",
"To the Rockaways",
"West Bound",
"West/Brooklyn Bound",
"West/Manhattan Bound",
"West/Staten Island Bound",
"West/Toward RFK Triborough Bridge",
"West/Toward Triborough Br",
"Westbound",
"Westbound/To BQE",
"Westbound/To Goethals Br",
null
]
},
"Road Ramp": {
"description": "Road Ramp column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 7,
"type": [
"string",
"null"
],
"enum": [
"N/A",
"Ramp",
"Roadway",
null
]
},
"Bridge Highway Segment": {
"description": "Bridge Highway Segment column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 100,
"type": [
"string",
"null"
]
},
"Latitude": {
"description": "Latitude column from NYC_311_SR_2010-2020-sample-1M.csv",
"minimum": 40.1123853,
"maximum": 40.9128688,
"type": [
"number",
"null"
]
},
"Longitude": {
"description": "Longitude column from NYC_311_SR_2010-2020-sample-1M.csv",
"minimum": -77.5195844,
"maximum": -73.7005968,
"type": [
"number",
"null"
]
},
"Location": {
"description": "Location column from NYC_311_SR_2010-2020-sample-1M.csv",
"minLength": 0,
"maxLength": 40,
"type": [
"string",
"null"
]
}
},
"required": [
"Unique Key",
"Created Date",
"Closed Date",
"Agency",
"Agency Name",
"Complaint Type",
"Descriptor",
"Location Type",
"Incident Zip",
"Incident Address",
"Street Name",
"Cross Street 1",
"Cross Street 2",
"Intersection Street 1",
"Intersection Street 2",
"Address Type",
"City",
"Landmark",
"Facility Type",
"Status",
"Due Date",
"Resolution Description",
"Resolution Action Updated Date",
"Community Board",
"BBL",
"Borough",
"X Coordinate (State Plane)",
"Y Coordinate (State Plane)",
"Open Data Channel Type",
"Park Facility Name",
"Park Borough",
"Vehicle Type",
"Taxi Company Borough",
"Taxi Pick Up Location",
"Bridge Highway Name",
"Bridge Highway Direction",
"Road Ramp",
"Bridge Highway Segment",
"Latitude",
"Longitude",
"Location"
]
}