Open Q&A
If there's no good subforum for your question - ask it here!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

New dashboard json schema?

tarjei_statkraf
Participant

Hi!

I cannot find anything about the new document (dashboard) json schema anywhere. Also I have found that the terraform validate pretty much accepts whatever valid json i provide within the content key in the terraform resource.

Would it be possible to share the json schema for dashboards somewhere?

2 REPLIES 2

p_devulapalli
DynaMight Leader
DynaMight Leader

sujit_k_singh
Leader

Hi @tarjei_statkraf 

There is no publicly published formal JSON Schema file for the new Dashboards app document format. 

What does exist is narrative documentation of the structure at: Dynatrace document structure - Dashboards — Dynatrace Docs

But this is prose + examples, not a machine-readable schema which is why Terraform's validate accepts any valid JSON inside content: the provider treats it as an opaque string and does no structural validation against a schema.

Best practical ways to discover the schema today - Export an existing dashboard via API (most reliable) or use the Terraform provider's export utility or Monaco export

Thanks,

Sujit

Dynatrace Professional Certified

Featured Posts