faux schema generate¶
Generate data from a schema file or a domain directory.
Syntax¶
Examples¶
File vs directory behavior¶
| Input | Result |
|---|---|
| Schema file | Generate one table |
| Directory | Generate every schema file in that directory in dependency order |
When to pass a directory¶
Pass a domain directory when:
- tables reference each other with
rel - you want shared context across related tables
- you want one command to build a full synthetic dataset slice
Output behavior¶
- output format comes from each schema file
- relative paths are resolved from the project root
- supported sinks are
csvandjson
Related command¶
Use faux config validate before generation when you
want to catch configuration issues first.