diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..4c15457e1493adbbdaa6231959adbdcd720d3b0b --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ +## 0.1.0 (2024-09-03) + +### initial table-schema, readme & changelog + +- init diff --git a/schema.json b/schema.json new file mode 100644 index 0000000000000000000000000000000000000000..d82d635cdab523952c2b3fbd8e06472aa32a82e7 --- /dev/null +++ b/schema.json @@ -0,0 +1,163 @@ +{ + "$ref": "https://geojson.org/schema/FeatureCollection.json", + "name": "schema-parkflächen-elmshorn", + "description": "Parkzonen im Bereich der Stadt Elmshorn mit Bezeichnung und Parkvorschriften Koordinatensystem: EPSG Code 25832", + "countryCode": "DE", + "homepage": "https://opendata.schleswig-holstein.de/dataset/parkzonen-im-bereich-der-stadt-elmshorn", + "path": "https://code.schleswig-holstein.de/api/v4/projects/136/repository/files/schema.json/raw/?ref=0.1.0", + "resources": [ + { + "title": "GeoJSON", + "path": "https://opendata.schleswig-holstein.de/data/elmshorn/Parkzonen/Parkzonen_JSON.json" + } + ], + "created": "2024-09-08", + "lastModified": "2024-13-08", + "version": "0.1.0", + "type": "object", + "required": ["type", "features"], + "properties": { + "type": { + "type": "string", + "enum": ["FeatureCollection"] + }, + "features": { + "type": "array", + "items": { + "title": "GeoJSON Feature", + "type": "object", + "required": ["type", "properties", "geometry"], + "properties": { + "type": { + "type": "string", + "enum": ["Feature"] + }, + "id": { + "oneOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] + }, + "properties": { + "type": "object", + "properties": { + "FID": { + "type": "integer", + "description": "eindeutiger Identifikator", + "examples": [86120] + }, + "AREA": { + "type": "float", + "description": "Größe der Parkzone in m³", + "examples": [105117.91763121] + }, + "ART": { + "type": "integer", + "description": "", + "examples": [1] + }, + "INFORMATION": { + "type": "string", + "description": "Informationen über die Parkfläche", + "examples": [ + "Bewohnerparken \r\n+ Parkscheibe (2 Std.)\r\n+ Parkgebühren" + ] + } + }, + "required": ["ID", "AREA", "ART", "INFORMATION"] + }, + "geometry": { + "oneOf": [ + { + "title": "GeoJSON Polygon", + "type": "object", + "required": ["type", "coordinates"], + "properties": { + "type": { + "type": "string", + "enum": ["Polygon"] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + }, + + { + "title": "GeoJSON MultiPolygon", + "type": "object", + "required": ["type", "coordinates"], + "properties": { + "type": { + "type": "string", + "enum": ["MultiPolygon"] + }, + "coordinates": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "array", + "minItems": 4, + "items": { + "type": "array", + "minItems": 2, + "items": { + "type": "number" + } + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + } + ] + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } + } + }, + "bbox": { + "type": "array", + "minItems": 4, + "items": { + "type": "number" + } + } + } +} diff --git a/schema/.gitkeep b/schema/.gitkeep deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/schema/parkraumzonen_geojson_schema.json b/schema/parkraumzonen_geojson_schema.json deleted file mode 100644 index 49ce9df81089125cb9b45bb85fce39efd2df73d8..0000000000000000000000000000000000000000 --- a/schema/parkraumzonen_geojson_schema.json +++ /dev/null @@ -1,195 +0,0 @@ -{ - "$ref": "https://geojson.org/schema/FeatureCollection.json", - "name": "schema-parkflächen-elmshorn", - "description": "Parkzonen im Bereich der Stadt Elmshorn mit Bezeichnung und Parkvorschriften Koordinatensystem: EPSG Code 25832", - "countryCode": "DE", - "homepage": "https://opendata.schleswig-holstein.de/dataset/parkzonen-im-bereich-der-stadt-elmshorn", - "path": "https://opendata.schleswig-holstein.de/dataset/parkzonen-im-bereich-der-stadt-elmshorn", - "resources": [ - { - "title": "GeoJSON", - "path": "https://opendata.schleswig-holstein.de/data/elmshorn/Parkzonen/Parkzonen_JSON.json" - } - ], - "created": "2024-09-08", - "lastModified": "2024-13-08", - "version": "1.0", - "type": "object", - "required": [ - "type", - "features" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "FeatureCollection" - ] - }, - "features": { - "type": "array", - "items": { - "title": "GeoJSON Feature", - "type": "object", - "required": [ - "type", - "properties", - "geometry" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Feature" - ] - }, - "id": { - "oneOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] - }, - "properties": { - "type": "object", - "properties": { - "FID":{ - "type":"integer", - "description": "eindeutiger Identifikator", - "examples": [ - 86120 - ] - }, - "AREA":{ - "type":"float", - "description": "Größe der Parkzone in m³", - "examples": [ - 105117.91763121 - ] - }, - "ART":{ - "type":"integer", - "description": "", - "examples": [ - 1 - ] - }, - "INFORMATION":{ - "type":"string", - "description": "Informationen über die Parkfläche", - "examples": [ - "Bewohnerparken \r\n+ Parkscheibe (2 Std.)\r\n+ Parkgebühren" - ] - } - }, - "required": [ - "ID", - "AREA", - "ART", - "INFORMATION" - ] - }, - "geometry": { - "oneOf": [ - { - "title": "GeoJSON Polygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "Polygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - - { - "title": "GeoJSON MultiPolygon", - "type": "object", - "required": [ - "type", - "coordinates" - ], - "properties": { - "type": { - "type": "string", - "enum": [ - "MultiPolygon" - ] - }, - "coordinates": { - "type": "array", - "items": { - "type": "array", - "items": { - "type": "array", - "minItems": 4, - "items": { - "type": "array", - "minItems": 2, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - }, - ] - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } - } - }, - "bbox": { - "type": "array", - "minItems": 4, - "items": { - "type": "number" - } - } - } -} \ No newline at end of file