Special Field Types¶
Special field types are prefixed with double underscores. These special sections are validated during schema validation:
__description__¶
It is used to identify the table description for the schema.
__table_description__¶
It can also be used to identify the table description for the schema.
__foreign_keys__¶
Defines foreign key relationships:
__depends_on__¶
Specifies schema dependencies for generation order:
This ensures that Product and Customer data are generated before the current schema.
Special Template-Related Fields¶
For schemas that generate unstructured document outputs:
__template__¶
It can be set to true or a string value to enable template generation.
__template_source__¶
It is used to specify the path to the template file.
__input_file_type__¶
It is used to specify the input file type.
__output_file_type__¶
It is used to specify the output file type.
These fields enable document generation from templates with the synthetic data.
Important: When
__template__is set totrue, the__template_source__field is required. Schema validation will fail if this relationship is not maintained.