Define the source table once
Capture names, source types, nullability, keys, relationships, aliases, and provenance in Universal Metadata Format.
TABLESPEC / SOURCE CONTRACT
tablespec is for data engineers and platform teams who need source data ready for downstream work. It defines a source-semantic ingested bronze contract: the source meaning is preserved, while types, validation, keys, and relationships are declared. Then it compiles one Universal Metadata Format (UMF) spec into SQL, dbt, Lakeflow, schema, validation, Excel review workbooks, and static guidebook artifacts.
tables/claims/table.yamlclaims.ingest.sqlmodels/claims.sqlpipeline.ymlsuite.jsonindex.htmlEVALUATE
Capture names, source types, nullability, keys, relationships, aliases, and provenance in Universal Metadata Format.
Generate the SQL DDL, ingest transform, dbt model, Lakeflow pipeline, JSON Schema, Great Expectations suite, Excel workbook, and guidebook from that spec.
Run checks against raw source records and typed ingested tables before silver models add business rules.
WORKED EXAMPLE
Start with a split-format UMF directory for `medical_claims`: one table-level YAML file plus one YAML file per column. tablespec validates that source-table contract, then emits raw-to-ingested SQL, a dbt project, a Great Expectations suite, and a guidebook from the same spec.
Open the exampletablespec validate tables/
tablespec generate tables/medical_claims -f ingest > claims.ingest.sql
tablespec emit tables/ out/dbt --backend dbt --dialect databricks
tablespec validation-sync tables/medical_claims --out gx/
tablespec guidebook tables/ -o site/guidebookDECIDE
OPERATE
Install tablespec, write one UMF source-table spec, generate runtime artifacts, then inspect the bronze boundary before silver work begins.