create_semantic_model_from_schema
Validates a declarative schema and generates a TMDL semantic model, returning validation results for dry runs or atomically writing PBIP files for deployment.
Instructions
Generate a TMDL semantic model from a declarative spec.
Validates the spec (Pydantic + dangling-reference check + basic DAX
lint) and either returns the validation result (dry_run=True) or
atomically writes the PBIP layout (dry_run=False). Output contains
tables_created, relationships_created, hierarchies_created
and any lint_findings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| spec_json | No | ||
| spec_yaml | No | ||
| output_pbip_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||