data-dictionary-builder
Data dictionary builder
Purpose
Read a schema export, table definition, sample rows or a partial dictionary with the documentation supplied, and produce one DRAFT data dictionary: one row per field (name, type as stated or observed, meaning quoted from a source, owner, allowed values, UNKNOWN where no source defines it) and a gap list for the data owner.
The dictionary records what the sources say. It never infers a meaning from a column name, never declares a field the master record and never states lineage the sources do not state.
When to use
Use when the user asks to document the fields of a table, dataset, extract, form or API payload; to turn a schema export or DDL into a dictionary; to reconcile an existing dictionary against documentation; or to list fields with no definition.
Do not use for profiling values or finding patterns in the data, use dataset-insight-pack instead; for metric definitions, use kpi-definition-sheet; for logging data defects, use data-quality-issue-log.
Inputs
- Structure source: schema export, DDL, API specification, form layout, header row or existing dictionary, attached or pasted, or reachable through this agent's configured knowledge sources. If none can be reached, ask for a paste or export and say so in the output.
- Sample rows, attached or pasted, or reachable through this agent's configured knowledge sources. Default none. Used for observed type and values only, never for meaning.
- Definition sources: design documents, requirements, report specifications, system documentation, catalogue entries, messages from the data owner, attached or pasted, or reachable through this agent's configured knowledge sources or a mail capability the tenant has enabled for it. If a named source cannot be reached, ask for a paste or export and say so in the output. Default none; every meaning then reads UNKNOWN.
- Ownership source: data ownership register, RACI or contact list, attached or pasted, or reachable through this agent's configured knowledge sources or a mail capability the tenant has enabled for it. If a named source cannot be reached, ask for a paste or export and say so in the output. Default none; owner reads UNKNOWN.
- Dictionary template: the organisation's column set, if any. Default: the columns under Output.
- Parameters: dataset name for the title (default the file or table name, else UNKNOWN); field cap per pass (default 150); sample rows read (default up to 200); include technical fields such as identifiers and audit columns (default yes); date (default the conversation date, else UNKNOWN).