-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfoodInteraction.json
72 lines (68 loc) · 1.9 KB
/
foodInteraction.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
/**
FoodInteractionJSON
http://foodshed.codeforamerica.org/index.php/MetaData/Data_Standards_Projects#FoodInteraction Specification
* Item {What is being interacted with?}
* ID
* Type {example: distribution, exchange, purchase, waste pickup }
* Transit Time {How long it takes for something to get from point to point}
* Transit Mode {How the item traveled}
* Exchange Unit {What the item was exchanged for}
* Route {This item can be repeated to create a path.}
**Status
***Start | Finish
**CarrierName
**SourceName
**FoodResourceID
**ID
**Geometry: Lat/Lon | Path | Shape
**/
// This is an example of a donation of zucchini, passed between three people.
{
"item":"Zucchini",
"ID":"",
"type":"donation",
"exchangeUnit":"free",
"route":
[
{
{ "status":"departed", },
{ "carrierName":"Chach", },
{ "sourceName":"Chach's garden", },
{ "foodResourceID":"", },
{ "transitTime":"159000",},
{ "startTime":"2010-10-20T00:00:00+02:00", }
{ "endTime":"2010-10-20T00:02:39+02:00", }
{ "duration" : "159000", }
{ "transitTime":"0", }
{ "waitingTime":"0", }
{ "distance":"145.154004849819", }
{ "transitMode":"",},
{ "ID":"", },
{ "geometry": {
"type": "Point",
"coordinates": [97.03125, 39.7265625]
},
}
},
{
{ "status":"in transit", },
{ "carrierName":"Alan", },
{ "sourceName":"Chach's garden", },
{ "foodResourceID":"", },
// { "transitTime":"159000",},
// { "startTime":"2010-10-20T00:00:00+02:00", }
// { "endTime":"2010-10-20T00:02:39+02:00", }
// { "duration" : "159000", }
// { "transitTime":"0", }
// { "waitingTime":"0", }
// { "distance":"145.154004849819", }
{ "transitMode":"",},
{ "ID":"", },
{ "geometry": {
"type": "Point",
"coordinates": [98.03125, 40.7265625]
},
}
},
]
}