Skip to content

Instantly share code, notes, and snippets.

@juanmav
Created May 13, 2016 20:31
Show Gist options
  • Select an option

  • Save juanmav/3ac500f4d89e7fe9ab1c9bf29092c787 to your computer and use it in GitHub Desktop.

Select an option

Save juanmav/3ac500f4d89e7fe9ab1c9bf29092c787 to your computer and use it in GitHub Desktop.
schema json example
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"colorCielo": {
"type": "string"
},
"route": {
"type": "string"
},
"point": {
"title": "Point",
"type": "object",
"format": "point",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
}
},
"linestring": {
"title": "linestring",
"type": "array",
"format": "linestring",
"items": {
"type": "object",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
}
}
},
"polygon": {
"title": "Polygon",
"type": "array",
"format": "polygon",
"items": {
"type": "object",
"properties": {
"latitude": {
"type": "number"
},
"longitude": {
"type": "number"
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment