Skip to main content

Module export

Module export 

Source
Available on crate feature contract only.
Expand description

Machine-readable contract exports: JSON Schema and an OpenLineage SchemaDatasetFacet. Pure functions over a ContractSpec — no I/O. Used by faucet contract --export …; available to library callers too.

Constants§

OPENLINEAGE_SCHEMA_FACET_URL
Pinned OpenLineage SchemaDatasetFacet schema URL used by to_openlineage_facet.

Functions§

to_json_schema
Render the contract as a standalone JSON Schema (draft 2020-12) document.
to_openlineage_facet
Render the contract as an OpenLineage SchemaDatasetFacet — the same facet shape faucet-lineage attaches to dataset events, so downstream OpenLineage consumers can ingest the contract as a schema promise.