Skip to content

Instantly share code, notes, and snippets.

@impy88
Last active August 29, 2015 14:27
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/4497f372d9bf827805ec to your computer and use it in GitHub Desktop.
Save impy88/4497f372d9bf827805ec to your computer and use it in GitHub Desktop.
{
"ticket":{
"properties":{
"doc":{
"properties":{
"assetPosition":{
"type":"geo_point",
"store":true
},
"detectionID":{
"type":"string"
},
"detectionPosition":{
"type":"geo_point",
"store":true
},
"detectionTime":{
"type":"date",
"store":true,
"format":"date_time"
},
"detectionType":{
"type":"string"
},
"deviceID":{
"type":"string"
},
"operatorID":{
"type":"string"
},
"plates":{
"type":"string"
},
"area":{
"properties":{
"coordinates":{
"type":"long"
},
"type":{
"type":"string"
}
}
},
"rule":{
"properties":{
"activeTimes":{
"properties":{
"endDay":{
"type":"long"
},
"endTime":{
"type":"string"
},
"startDay":{
"type":"long"
},
"startTime":{
"type":"string"
}
}
},
"allowedDuration":{
"type":"long"
},
"offenceCode":{
"type":"string"
},
"rule":{
"type":"string"
}
}
},
"stats":{
"properties":{
"duration":{
"type":"long"
},
"lastDetectionTime":{
"type":"date",
"format":"dateOptionalTime"
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment