Dashboard JSON schema

Where can I find JSON schema for dashboards?
Information on https://grafana.com/docs/reference/dashboard/#dashboard-json is not complete and I could not find one in the sourcecode on GitHub.

Can someone please guide me?

Hi vihangvk,

I think there is no documentation about it, the best thing you can do is create dashboards from the UI and export the JSON.

Thanks Daniel.

Exported JSON has many fields with default values which could be dropped if we have some way to validate it. Also JSON is not easy to edit, so I was planning to use YAML. If there is some official schema available it would be easy to validate those files against it.

I was here looking for the same thing. There seems to be no single source of truth about what fields are in which version.