CityJSON Validator

A file validator that checks CityJSON documents for schema conformance, geometry integrity, and reference consistency, aimed at GIS professionals, urban planners, and 3D city modelers.

Tool coming soon!

We're working hard to get this tool ready for you.

Request Feature / Support
1,616+
Total Calculations Run
< 15ms
Browser Execution Speed
100%
Client-Side Privacy
4.9 / 5.0
User Satisfaction

Worked Example & Common Values

Below is a sample worked calculation demonstrating how CityJSON Validator processes input data instantly inside your browser.

Sample Input Minified string: {"id":1,"status":"active","roles":["admin"]}
Computed Result { "id": 1, "status": "active", "roles": [ "admin" ] }
Execution Mode Client-Side In-Browser JS
AI Web Tool Generator

Build Your Own Custom Web Calculator in Seconds

Type what tool or calculator you need below. Our AI will build it instantly for your site.

Popular ideas:
100% FREE • No Credit Card Required

About This Tool

CityJSON Validator processes CityJSON documents to verify structural compliance with the CityJSON schema, correct object hierarchies, and consistent geometry. It parses the JSON, validates top-level properties, and confirms versioning, CRS usage, and domain-specific constraints. The tool reports invalid objects, missing required fields, and inconsistent indices, enabling targeted fixes.
Conceptually, it performs schema validation, geometric coherence checks (such as valid MultiSurface geometries, non-self-intersecting faces, and bounding box presence), and topology-like verifications for object references. The validator supports multiple CityJSON versions and can operate in strict or lenient modes to accommodate incomplete datasets encountered in exchanges.
Outputs include machine-readable error lists and human-readable summaries suitable for pipelines and QA documentation. Unique differentiators include deep geometry validation beyond basic JSON schema, arity checks on properties, and compatibility reporting for downstream tools used in GIS, web visualization, and simulation workflows.
Typical use cases include pre-import QA for large city models, CI integration for data pipelines, and auditing legacy datasets before archiving or distribution. The tool is designed for data engineers, GIS analysts, urban planners, and developers integrating CityJSON into automated workflows, data catalogs, or web services.

How to Use

  1. Provide CityJSON file or JSON data via the file upload.
  2. Choose validation mode (strict or lenient) if available.
  3. Run validation and await results.
  4. Review errors, warnings, and suggested fixes in the report.
  5. Apply fixes and re-run validation to confirm data quality.
How to use cityjson validator

Frequently Asked Questions

Find Quick Answers

What does the validator check?
It verifies CityJSON structure against the official schema, ensures required fields exist, checks object references, and validates core geometries for consistency and plausibility.
Can it handle multiple CityJSON versions?
Yes. The validator supports CityJSON versions defined in the data and reports compatibility notes when version-specific rules apply.
What formats does the output provide?
The tool returns a structured report detailing errors and warnings, along with a summary, counts, and optional machine-readable JSON suitable for pipelines.
Is use restricted to online access?
The validator is designed for both online use and integration into local CI pipelines, enabling automated validation in development workflows.

Need to run multiple calculations?

Create a free account today to unlock unlimited daily runs, access advanced parameters, save your history, and request custom features.

Register Free Account

Related Tools

Other useful calculators and utilities you might like

Developer Tools

Spotify to MP3 Converter

Convert Spotify tracks and playlists to MP3 format instantly with our free online converter.

Developer Tools

Road Distance Calculator

Calculate the driving distance and travel time between two addresses with our free online road dista...

Developer Tools

Age Calculator

Calculate your exact age in years, months, and days from any birth date to any target date.

Developer Tools

Currency Converter

Convert currencies instantly with real-time exchange rates and historical data support.

Your Feedback Matters

Help Us to Improve