listing_schema

geodetic_engine.catalog.listing_schema()[source]

The JSON Schema of Listing.to_json_dict().

Draft-07, like PROJJSON’s own schema, which it refers to for id, bbox and every definition. Published at LISTING_SCHEMA_URL; this is the copy shipped in the package, for validating offline.

Return type:

dict[str, Any]

Example

>>> from geodetic_engine import catalog
>>> catalog.listing_schema()["$id"] == catalog.LISTING_SCHEMA_URL
True