{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://landscapearchive.org/schemas/orbits/tla-hydro.required.schema.json",
  "title": "TLA-Hydro required-keys smoke (Draft — not normative)",
  "description": "Required-key + enum smoke for la.archive.hydrozone.v1 golden examples. Not a full normative schema; not Archive Seal.",
  "type": "object",
  "additionalProperties": true,
  "required": [
    "schema_id",
    "schema_version",
    "pack_id",
    "created_at",
    "hydrozone",
    "tla185_refs"
  ],
  "properties": {
    "schema_id": { "const": "la.archive.hydrozone.v1" },
    "schema_version": { "type": "integer", "const": 1 },
    "pack_id": { "type": "string", "minLength": 1 },
    "created_at": { "type": "string", "minLength": 1 },
    "hydrozone": {
      "type": "object",
      "required": ["zone_id", "irrigation_method", "water_source", "water_budget"],
      "properties": {
        "zone_id": { "type": "string", "minLength": 1 },
        "irrigation_method": {
          "type": "string",
          "enum": ["none", "drip", "spray", "subsurface", "passive", "mixed", "other"]
        },
        "water_source": {
          "type": "string",
          "enum": ["municipal", "harvested", "recycled", "groundwater", "other", "unknown"]
        },
        "water_budget": {
          "type": "object",
          "required": ["annual_mm"],
          "properties": {
            "annual_mm": { "type": "number" }
          }
        }
      }
    },
    "tla185_refs": { "type": "object" }
  }
}
