Thalweg · API reference ← Main docs

Crate twg_contract_odcs

Crate twg_contract_odcs 

Source
Expand description

ODCS v3.x parsing and loading (local/HTTP/object-store), translated into contract-core’s spec

Parsing/loading ODCS into the resolved spec is still scaffold. The write side — a serde model for emitting ODCS v3.1.0 — is implemented, used by the schema bridge to render a neutral schema as an ODCS contract (ADR-0064).

Modules§

model
A serde model for emitting ODCS (Open Data Contract Standard) v3.1.0 documents. This is the subset needed to serialise a data contract’s schema: the top-level contract fields, schema[] objects, their properties[] (with logicalTypeOptions, nested properties, and items), and schema-level relationships[] for cross-object references.