Skip to content

Instantly share code, notes, and snippets.

@panchicore
Created March 18, 2018 10:52
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 panchicore/18e37c50975906f4179fa2d9d22e3065 to your computer and use it in GitHub Desktop.
Save panchicore/18e37c50975906f4179fa2d9d22e3065 to your computer and use it in GitHub Desktop.
{
"type": "record",
"name": "kontext_event",
"namespace": "com.panchicore.simba",
"fields": [
{
"name": "Identifier",
"type": "string"
},
{
"name": "Source",
"type": {
"type": "record",
"name": "Source",
"fields": [
{
"name": "Index",
"type": "string"
},
{
"name": "Text",
"type": "string"
},
{
"name": "Name",
"type": "string"
},
{
"name": "Identifier",
"type": "string"
}
]
}
},
{
"name": "Pipeline",
"type": {
"type": "array",
"items": {
"type": "record",
"name": "Pipeline",
"fields": [
{
"name": "Action",
"type": "string"
},
{
"name": "Timestamp",
"type": "string"
}
]
}
}
},
{
"name": "Events",
"type": {
"type": "array",
"items": {
"type": "record",
"name": "Events",
"fields": [
{
"name": "Identifier",
"type": "string"
},
{
"name": "Space",
"type": {
"type": "record",
"name": "Space",
"fields": [
{
"name": "Geoshape",
"type": {
"type": "record",
"name": "Geoshape",
"fields": [
{
"name": "coordinates",
"type": {
"type": "array",
"items": "double"
}
},
{
"name": "type",
"type": "string"
}
]
}
},
{
"name": "Geonames",
"type": {
"type": "array",
"items": {
"type": "record",
"name": "Geonames",
"fields": [
{
"name": "Order",
"type": "long"
},
{
"name": "Relation",
"type": "string"
},
{
"name": "Shape",
"type": "string"
},
{
"name": "Distance",
"type": "long"
},
{
"name": "Feature",
"type": "string"
},
{
"name": "GeonamesId",
"type": "string"
},
{
"name": "Tags",
"type": {
"type": "array",
"items": "string"
}
}
]
}
}
}
]
}
},
{
"name": "Time",
"type": {
"type": "record",
"name": "Time",
"fields": [
{
"name": "gte",
"type": "string"
},
{
"name": "lte",
"type": "string"
}
]
}
},
{
"name": "Entities",
"type": {
"type": "array",
"items": {
"type": "record",
"name": "Entities",
"fields": [
{
"name": "Value",
"type": "string"
},
{
"name": "Class",
"type": "string"
}
]
}
}
}
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment