Schema metadata types
View as MarkdownIdentity
Section titled “Identity”Server input types from @sapporta/server; normalized wire types from
@sapporta/shared/contracts.
Contract
Section titled “Contract”TableOptions,TableDef,SapportaMeta, andSapportaTableInputMetadescribe authored and joined server table definitions.ColumnMetaandChildMetadescribe nested authored metadata.TableValidationValue,TableValidationField, andTableValidationContextdescribe the top-level application-validation callback.TableSchema,ColumnSchema, andChildSchemadescribe serialized metadata consumed by browser code.- Every serialized
ColumnSchemahas a required semantickind. Schema extraction uses a factory-declared kind or derives one from the Drizzle data type, and the frontend parses the metadata response before rendering controls. - Serialized columns use public SQL names and expose select options derived from
the Drizzle column plus
apiWritablewrite policy when declared. - The authored and normalized shapes are distinct contracts and should not be cast interchangeably.