inspect_geocroissant
Inspect a GeoCroissant document to validate its schema and get a structured digest of metadata, geospatial details, distributions, and records. Understand dataset readiness before loading or comparing.
Instructions
Inspects a Croissant/GeoCroissant document and returns a structured summary.
Parses the document through the ``mlcroissant`` library (which also acts as
a strict syntax/schema check - invalid documents are rejected) and returns
a structured digest: core metadata, GeoCroissant extension properties
(CRS, resolutions, band configuration, spectral bands, record endpoint...),
distribution entries (FileObjects/FileSets with URLs, formats, hashes),
and every RecordSet with its Fields (data types, array shapes,
source/extract/transform chains).
Usage: Use this tool to READ and UNDERSTAND a dataset description before
consuming it, comparing datasets, or planning how to load records.
Returns:
--------
Dictionary containing:
- name/description/license/version/conformsTo and other core metadata.
- geospatial: All declared `geocr:` extension properties.
- distribution: FileObject/FileSet entries.
- record_sets: RecordSets with nested fields and geo properties.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jsonld_url | No | URL of a Croissant/GeoCroissant JSON-LD document. | |
| jsonld_path | No | Path to a local Croissant/GeoCroissant file. | |
| jsonld_content | No | Raw JSON string of a Croissant document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||