GeoJSON Schema
This repository provides tools for building JSON Schema docs for GeoJSON. A schema is generated for each of the GeoJSON object types, and each individual doc is complete (without $ref
s to other documents). So applications can consume just what they need and avoid extra fetching.
See JSON Schema docs for the GeoJSON types below:
FeatureCollection
Feature
Geometry
GeometryCollection
MultiPolygon
MultiLineString
MultiPoint
Polygon
LineString
Point
The overall GeoJSON schema can be found at
build
To build the schema docs:
make
The output will be in the build
directory.
deploy
A CI job builds commits pushed to main
. After a successful build, artifacts are pushed to the gh-pages
branch and will be accessible at geojson.org/schema/.json (e.g. http://geojson.org/schema/Point.json).