Skip to content

STAC custom types for CWL

The schema is available at https://raw.githubusercontent.com/eoap/schemas/main/stac.yaml and 1:1 reflects the SpatioTemporal Asset Catalogs schemas.

The schema defines:

  • A Catalog record, which describes a Catalog;
  • A Collection record, which describes a Collection;
  • An Item record, which describes an Item.

How to use this schema

Users have to import the schema in the CWL description via the SchemaDefRequirement:

cwlVersion: v1.2
class: CommandLineTool
requirements:
  ...
  SchemaDefRequirement:
    types:
    - $import: https://raw.githubusercontent.com/eoap/schemas/main/stac.yaml