Validate resources before grafana-app-sdk saves them.
Recent revisions are kept. Restoring one creates a new revision.