Home / Market / stac catalog validation

stac catalog validation

Validate STAC Items, Catalogs, and Collections offline across 1.0.0 and 1.1.0 schemas, temporal rules, geometry/bbox bounds, collection links, local assets, and extensions.

skill★ 509080 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: stac-catalog-validation description: "Validate STAC Items, Catalogs, and Collections offline across 1.0.0 and 1.1.0 schemas, temporal rules, geometry/bbox bounds, collection links, local assets, and extensions." category: data risk: safe source: self source_type: self date_added: "2026-12-01" author: Koushik-Katkam tags: [stac, geospatial, metadata, json-schema, validation, earth-observation]

---

STAC Catalog Validation

Overview

Run a version-aware, offline-capable validation workflow for SpatioTemporal Asset Catalog (STAC) Catalog, Collection, and Item JSON documents (1.0.0 and 1.1.0). The workflow separates specification violations, cross-entity consistency findings, partial extension checks, and unverified remote resources so static catalogs and metadata pipelines fail deterministically on broken temporal or spatial invariants without treating unprobed URLs, unpinned schemas, or unsupported versions as valid.

Distinction from related geospatial skills:

This skill validates the STAC metadata graph and contracts wrapping geospatial assets before downstream array loading or catalog indexing.

When to Use

Prerequisites

How It Works

1. Pin STAC version and distinguish full vs. subset schemas

  1. Parse JSON safely and verify the root document is a JSON object (dict). Return structured specification findings on malformed JSON, non-object documents, or null structural fields (properties: null, links: null, assets: null) rather than crashing.
  2. Inspect stac_version and type ("Catalog", "Collection", "Feature"). Treat unrecognized stac_version values as unverified rather than substituting a 1.0.0 or 1.1.0 schema.
  3. Note version-specific rules documented in version and extension rules:
  1. Load official local JSON Schemas via referencing.Registry when full schema compliance is required. If running only the self-contained subset rules from stac validation harness, record extension checks explicitly as partial checks (partial_checks) and unpinned schemas as unverified.

2. Run layered checks and classify findings cleanly

Evaluate every document and local catalog graph across four layers, keeping the output categories strictly separate:

  1. Specification violations (spec_violations — core schema & invariant failures):
  1. Additional consistency findings (consistency_findings — structural & cross-entity checks):
  1. Partial checks & Unverified remote resources (partial_checks, unverified_remote_resources):

3. Verify results without overstating coverage

Report exact counts for spec_violations, consistency_findings, partial_checks, and unverified_remote_resources per inspected document. Never report a partial-schema run or a run with unverified remote resources as full official specification compliance.

Examples

Run the self-contained offline STAC suite in stac validation harness:

User request: "Validate our static STAC 1.1.0 collection and items before publishing."
Inputs: Local catalog directory with collection.json, item.json files, and local asset files.
Expected result: Valid 1.1.0 items report 0 specification violations and 0 consistency findings while
  explicitly flagging remote https:// assets under unverified_remote_resources and subset Projection checks
  under partial_checks. Invalid fixtures catch malformed JSON, properties: null, geometry type "Bogus",
  datetime: null with missing end_datetime, Item intervals ending outside Collection temporal extent,
  Items outside Collection spatial extent, and paths escaping the catalog root.

Limitations

Safety and Side Effects

Sources and related skills