GeoJSON and XYZ Encoding Schemas
As part of the work of the CSBWG, the CSB Schema project has provided JSON Schema documents describing the preferred encoding for data being sent to the IHO Data Center for Digital Bathymetry. These documents provide information on the required and preferred contents of both GeoJSON encoding of data, and of the metadata component of the files if the raw data is being sent as a Comma Separated Value (CSV) file instead.
In order to provide further documentation of the requirements, in addition to the machine-readable versions of the schemas that are provided with the CSB Schema installation, pre-rendered HTML pages for the various schemas are provided here. The schemas distinguish between GeoJSON and XYZ formats for data encoding (the metadata encoding is the same in each case), and have a version (3.0.0, 3.1.0, and the proposed 3.2.0 beta) and a modification date (YYYY-MM).
DCDB currently accept up to schema level 3.1.0, and recommend using the latest revision of the schema (2024-04). The 3.2.0 schema is currently proposed for developer consideration only, since it modifies some of the internal layout of the metadata to make it simpler to parse and structure for storage in relational databases, and would therefore fail to be parsed by archive ingestion at DCDB.
Examples of GeoJSON and XYZ files for the different schema variants (both valid and invalid) are available in the CSB Schema GitHub Repository.