Skip to content

Instantly share code, notes, and snippets.

@impy88
Created June 23, 2015 20:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save impy88/ea4d96f49f8331ff5ea6 to your computer and use it in GitHub Desktop.
Save impy88/ea4d96f49f8331ff5ea6 to your computer and use it in GitHub Desktop.
Demo ticket schema
{
"rules":[
{
"rules":[
{
"activeTimes":{
"startDay":3,
"endDay":5,
"startTime":"10:00",
"endTime":"17:00"
},
"allowedDuration":10,
"rule":"Wusli usceizi ijevegked mi wanjum.",
"offenceCode":"1.982"
}
],
"region":{
"type":"Polygon",
"coordinates":[
[
[
1,
1
],
[
1,
4
],
[
4,
4
],
[
4,
1
],
[
1,
1
]
]
]
},
"stats":{
"stayDuration":{
"duration":60,
"type":"minutes"
}
}
}
],
"detection":{
"detectionID":"732bdcb0-18c0-11e5-a270-f7a5f22ef254",
"deviceID":"7f944f8b-2607-4286-a2f8-9c66f3d35d02",
"operatorID":"bd47922f-9419-43a6-90d5-6d31f2a19a56",
"detectionType":"ANPR",
"detectionTime":"2015-06-25T16:55:14.971+0000",
"plates":[
"XY000XX"
],
"images":[
],
"assetPosition":{
"type":"Point",
"coordinates":[
0,
0
]
},
"detectionPosition":{
"type":"Point",
"coordinates":[
1,
1
]
},
"warnings":[
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment