Skip to content

Instantly share code, notes, and snippets.

@RyanMagnusson
Created July 14, 2015 21:37
Show Gist options
  • Save RyanMagnusson/85821b7fe212eec14d8b to your computer and use it in GitHub Desktop.
Save RyanMagnusson/85821b7fe212eec14d8b to your computer and use it in GitHub Desktop.
{
"type" : "record",
"name" : "geolocation",
"namespace" : "svds.trains",
"fields" : [ {
"name" : "type",
"type" : [ "null", "string" ],
"default" : null
}, {
"name" : "coordinates",
"type" : [ "null", {
"type" : "array",
"items" : "double"
} ],
"default" : null
}, {
"name" : "id",
"type" : [ "null", "string" ],
"default" : null,
"aliases" : [ "user", "userId", "user_id" ]
}, {
"name" : "longitude",
"type" : [ "null", "int", "long", "float", "double" ]
}, {
"name" : "latitude",
"type" : [ "null", "int", "long", "float", "double" ]
}, {
"name" : "accuracy",
"type" : [ "null", "int", "long", "float", "double" ]
}, {
"name" : "timestamp",
"type" : [ "null", "long", "int" ],
"aliases" : [ "epoch", "when" ]
}, {
"name" : "timestamp_millis",
"type" : [ "null", "long", "int" ],
"aliases" : [ "epoch_millis" ]
} ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment