Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New JSON Schema's with tests #88

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

New JSON Schema's with tests #88

wants to merge 3 commits into from

Conversation

mucke2701
Copy link
Collaborator

JSON-Schema for KfWs Open Project Location Model.
feature_project_schema.json <- Main Schema with geometries and project_data properties

project_core_schema.json <- Project_core contains all attributes which are relevant for all projects; referenced in feature_project_schema

dac5_schema.json <- schema for the dac5 purpose codes; referenced in project_core (extracted to schema for better oveview, maintenance in collaberation)

sector_location_schema.json <- schema for the sector and location_type pairs; referenced in project_core (extracted to schema for better oveview, maintenance in collaberation)

test_validate_feature_schema.py tests a json against the schema.

Schema is still under development some attributes like filenameOfAdditionalGeodata should be erased in the future as geojson itself is capable to represent complex geometries.

The structure of the Repo regarding folders and versioning can be solved in future PR's

@mucke2701 mucke2701 requested a review from fretchen January 3, 2025 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant