JSON Template Errors

Hi @paidcritic.

I saw your comments in the C18 thread, but didn’t have anything to offer. I wouldn’t pay much attention to these errors

  • should not have additional property: vconcat
  • should not have additional property: mark
  • should not have additional property: width
  • should match some schema in anyOf

as I think there is perhaps a Vega-Lite formatting rule that the integration into Power BI by Deneb doesn’t allow to be satisfied, yet the code works. I’ve yet to find the resource that explains these (and other) errors, and generally am only concerned with getting the formatting right (braces, square brackets, and commas) so that the [Repair and Format JSON] action doesn’t return an error.

In your file, I saw only 2 things that I’d change:

  • remove the [“type”: “temporal”] name-value pair from the [x2] specification (unneeded as temporal is already specified for “x” axis)
  • remove the [“config”]: name from [Config] specification → repeat not needed in Deneb’s [Config] section, and its removal allowed return to proper JSON formatting for Deneb’s interface

Hope this helps.
Greg