-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathfoodEvent.json
More file actions
90 lines (87 loc) · 2.2 KB
/
foodEvent.json
File metadata and controls
90 lines (87 loc) · 2.2 KB
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
/**
FoodEvent
* These are events that are food related (gathering, classes, etc.)
* ID: Should be a unique identifier.
** Probably autogenerated.
* Type: Type of metric.
** Could be class, party. See subtypes.
* Description: Description of the event.
* Date: Multiple date format.
* Location : An array of addresses or locations.
** Supports multiple addresses and locations with addresses and geocoding
** GeoJSON format: http://geojson.org/geojson-spec.html
* Contact: Who to contact.
* Attributes
** @TODO Not sure what the attributes would or should be yet.
*/
{
"ID": "",
"type": "class",
"description": "This is a description of the event.",
"date": {
// @TODO: Multiple date format here.
},
"location": [
{
"streetAddress": "21 2nd Street",
"city": "New York",
"state": "NY",
"postalCode": 10021,
{ "geometry": {
"type": "Point",
"coordinates": [97.03125, 39.7265625]
},
}
},
{
"streetAddress": "577 Airport Blvd",
"city": "Burlingame",
"state": "CA",
"postalCode": 94010,
{ "geometry": { "type": "Polygon",
"coordinates": [
[ [100.0, 0.0], [101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0] ],
[ [100.2, 0.2], [100.8, 0.2], [100.8, 0.8], [100.2, 0.8], [100.2, 0.2] ]
]
}
}
}
],
"contact" : [{ // Support multiple contacts. @TODO Check this is the most standard format for multiple contacts. How to add Social Media links?
"firstName": "John",
"lastName": "Smith",
"phoneNumbers": [
{
"type": "home",
"number": "203 555-1212"
},
{
"type": "cell",
"number": "403 555-2121"
}
]},
{
"firstName": "Jane",
"lastName": "Smith",
"phoneNumbers": [
{
"type": "home",
"number": "303 555-1212"
},
{
"type": "cell",
"number": "303 555-2121"
}
]},
"emails": [
janesmith@example.com,
janesmith@gmail.com
]
],
}
"attributes": {
{
"history": "This zucchini was from an overabundant harvest."
}
},
}