{
  "id": "fr_sandre_zone_hydro_code",
  "kind": "datatype",
  "status": "draft",
  "name": "French hydrographic zone code (Sandre)",
  "doc": "Code of a hydrographic zone of the Sandre partition of France into hydrographic regions, sectors, sub-sectors and zones (circulaire 91-50 of 12 February 1991): the region letter and one digit for each lower level, so a zone code has four characters (K664). The regexp covers metropolitan France.",
  "is_pii": false,
  "categories": [
    "environment",
    "geo"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z]\\d{3}$",
  "examples": [
    {
      "value": "K664",
      "description": "Vigicrues station reference",
      "valid": true
    },
    {
      "value": "S520",
      "description": "Vigicrues station reference",
      "valid": true
    },
    {
      "value": "Y345",
      "description": "Vigicrues station reference",
      "valid": true
    },
    {
      "value": "K66",
      "description": "a sub-sector, not a zone",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.sandre.eaufrance.fr/sites/default/files/IMG/pdf/Point_Decoupage_AiresHydrographiques.pdf"
    }
  ],
  "translations": {
    "fr": {
      "name": "Code de la zone hydrographique"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frsandrezonehydrobyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_environment.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/environment/fr_sandre_zone_hydro_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/environment/fr_sandre_zone_hydro_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/environment/fr_sandre_zone_hydro_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_sandre_zone_hydro_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_sandre_zone_hydro_code.json"
  }
}