{"id":13929536,"url":"https://github.com/geojson/schema","last_synced_at":"2026-01-29T20:34:02.494Z","repository":{"id":42300709,"uuid":"123732406","full_name":"geojson/schema","owner":"geojson","description":"JSON Schema for GeoJSON","archived":false,"fork":false,"pushed_at":"2024-03-17T18:03:26.000Z","size":452,"stargazers_count":109,"open_issues_count":9,"forks_count":19,"subscribers_count":12,"default_branch":"main","last_synced_at":"2026-01-21T06:36:40.748Z","etag":null,"topics":["geojson","json-schema"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/geojson-schema","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/geojson.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-03T21:20:45.000Z","updated_at":"2025-12-20T19:30:27.000Z","dependencies_parsed_at":"2024-06-21T06:57:24.333Z","dependency_job_id":"64113978-5865-4627-9c89-7554c70cecc9","html_url":"https://github.com/geojson/schema","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/geojson/schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geojson%2Fschema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geojson%2Fschema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geojson%2Fschema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geojson%2Fschema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geojson","download_url":"https://codeload.github.com/geojson/schema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geojson%2Fschema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28861653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T22:56:21.783Z","status":"online","status_checked_at":"2026-01-29T02:00:06.714Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["geojson","json-schema"],"created_at":"2024-08-07T18:02:24.190Z","updated_at":"2026-01-29T20:34:02.477Z","avatar_url":"https://github.com/geojson.png","language":"JavaScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# GeoJSON Schema\n\nThis repository provides tools for building [JSON Schema](https://json-schema.org/) docs for [GeoJSON](https://geojson.org/).  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.\n\nSee JSON Schema docs for the GeoJSON types below:\n * [`FeatureCollection`](https://geojson.org/schema/FeatureCollection.json)\n * [`Feature`](https://geojson.org/schema/Feature.json)\n * [`Geometry`](https://geojson.org/schema/Geometry.json)\n * [`GeometryCollection`](https://geojson.org/schema/GeometryCollection.json)\n * [`MultiPolygon`](https://geojson.org/schema/MultiPolygon.json)\n * [`MultiLineString`](https://geojson.org/schema/MultiLineString.json)\n * [`MultiPoint`](https://geojson.org/schema/MultiPoint.json)\n * [`Polygon`](https://geojson.org/schema/Polygon.json)\n * [`LineString`](https://geojson.org/schema/LineString.json)\n * [`Point`](https://geojson.org/schema/Point.json)\n\nThe overall GeoJSON schema can be found at\n * [`GeoJSON`](https://geojson.org/schema/GeoJSON.json)\n\nThe schema files are also published to the [`geojson-schema` package](https://www.npmjs.com/package/geojson-schema) on npm.  You can add them as a dependency to your project with the following:\n\n    npm install geojson-schema\n\n## Limitations\n\nThe schema can not be used to validate that linear rings are closed or that they follow the right-hand rule.  These two elements of the [GeoJSON specification](https://datatracker.ietf.org/doc/html/rfc7946) cannot be represented in JSON Schema.  To enforce these two elements of linear ring validation, parsers must implement their own logic on top of JSON Schema validation.\n\n# Development\n\nInstall dependencies:\n\n    npm install\n\nTo build the schema docs:\n\n    make\n\nThe output will be in the `build` directory.\n\nA 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/\u003cname\u003e.json (e.g. https://geojson.org/schema/Point.json).\n\n![Status](https://github.com/geojson/schema/actions/workflows/test.yml/badge.svg)\n\n# Publishing\n\nTo publish the [`geojson-schema` package](https://www.npmjs.com/package/geojson-schema), run the following:\n\n    npm version minor # or major or patch\n    make build\n    git push --tags origin main\n    pushd build \u0026\u0026 npm publish \u0026\u0026 popd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeojson%2Fschema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeojson%2Fschema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeojson%2Fschema/lists"}