AngocA
(Andres Gomez Casanova)
February 9, 2024, 2:58pm
1
Hi everyone.
Is there any public JSON Schema for the files retrieved from Overpass to validate them?
1 Like
AngocA
(Andres Gomez Casanova)
February 16, 2024, 1:44pm
2
I have created a JSON schema for Overpass output:
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/OSMLatam/OSM-Notes-profile/blob/main/json-schema/osm-jsonschema.json",
"title": "JSON schema for OSM json files from Overpass",
"description": "This is the JSON schema for the files retrieved from an Overpass query",
"type": "object",
"properties": {
"version": {
"description": "OpenStreetMap API version",
"type": "number",
"exclusiveMinimum": 0
},
"generator": {
"description": "Overpass version",
"type": "string"
},
"osm3s": {
"description": "Description of Overpass operation (OSM Server Side Scripting)",
"type": "object",
"properties": {
This file has been truncated. show original
I invite everyone interested to check it, and provide any correction or improvement.
Also, if this could be hosted in a another place, I am open to listen.