fn: sgnd_dt_validate_schema
Purpose
Validate a pipe-delimited schema for nonempty unique column names.
Arguments
$1— Schema to check.
Side effects
Updates SGND_DT_SPLIT with the schema fields.
Returns
- 0 when the schema is nonempty and every column name is unique and nonempty; 1 otherwise.
Usage
sgnd_dt_validate_schema "name|role"
