{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "domain.schema.json",
  "type": "array",
  "items": {
    "type": "object",
    "required": ["id", "fqdn", "status", "points_to", "used_by", "docs", "last_reviewed"],
    "properties": {
      "id": { "type": "string" },
      "fqdn": { "type": "string" },
      "status": { "type": "string" },
      "registrar": { "type": "string" },
      "dns_provider": { "type": "string" },
      "points_to": { "type": "array", "items": { "type": "string" } },
      "used_by": { "type": "array", "items": { "type": "string" } },
      "docs": { "type": "string" },
      "last_reviewed": { "type": "string" },
      "source_of_truth": { "type": "string" }
    },
    "additionalProperties": true
  }
}
