{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://dpone.dev/schemas/schema-migration/evidence-registry-query.schema.json",
  "title": "dpone schema migration evidence registry query",
  "type": "object",
  "required": ["schema_version", "store_backend", "query"],
  "additionalProperties": true,
  "properties": {
    "schema_version": {"const": "dpone.schema_migration_evidence_registry_query.v1"},
    "store_backend": {"enum": ["local_json", "sqlite"]},
    "query": {"type": "object"},
    "record_count": {"type": "integer", "minimum": 0},
    "records": {"type": "array", "items": {"type": "object"}},
    "record": {"type": ["object", "null"]},
    "recommendations": {"type": "array", "items": {"type": "string"}}
  }
}
