{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "database.schema.json",
  "type": "array",
  "items": {
    "type": "object",
    "required": ["id", "engine", "host", "used_by", "backup_policy", "docs", "last_reviewed"],
    "properties": {
      "id": { "type": "string" },
      "engine": { "type": "string" },
      "version": { "type": "string" },
      "host": { "type": "string" },
      "used_by": { "type": "array", "items": { "type": "string" } },
      "backup_policy": { "type": "string" },
      "docs": { "type": "string" },
      "last_reviewed": { "type": "string" },
      "source_of_truth": { "type": "string" }
    },
    "additionalProperties": true
  }
}
