Quick Start
Validate a Datagraph Schema definition and read back the join analysis of its relations:Endpoints
Full request and response schemas are in the API reference.
Definition Format
Theschema body field is an array of tables.
Column:
VirtualColumn adds a required query expression to the Column fields, minus default.
Relation:
Validation Response
POST /datagraph/schemas/validate performs structural validation first, then analyses relations only when the definition is structurally valid.
A structurally invalid definition returns 200 with validation.success set to false and an empty relations array:
validation.success is true, validation.data holds the normalised definition and relations holds one entry per relation column pair:
matchCount is the smaller of the two distinct counts, and matchPercentage is matchCount / max(fromDistinctCount, toDistinctCount) * 100. The UI treats anything below 50 as a weak join. A per-relation error is returned when a Datasource cannot be resolved, and the counts are then null.