validate_visual_format
Validate Power BI visual format JSON against the registry for a visual type, returning advisory warnings for unknown properties and type mismatches without applying changes.
Instructions
Validate a formatJson against the registry for a given visualType WITHOUT applying it. formatJson is the set_visual_format shape ({vcObjects:{card:{prop:val}}, objects:{card:{prop:val}}}) or a bare {card:{prop:val}} map. Returns non-fatal warnings: unknown cards, unknown properties, and type/enum/range mismatches. Custom visuals and newer properties legitimately fall outside the catalogue, so warnings are advisory, not errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formatJson | Yes | JSON: { vcObjects:{card:{prop:value}}, objects:{card:{prop:value}} } or a bare {card:{prop:value}} map | |
| visualType | Yes | a canonical visualType key, e.g. lineChart |