{
  "id": "fr_pacage",
  "kind": "datatype",
  "status": "draft",
  "name": "French PACAGE number of a farm",
  "doc": "Number that identifies a farm for the aids of the common agricultural policy in France. The departmental office of the Ministry of Agriculture (DDT, DDTM or DAAF) of the department where the farm has its seat assigns it, and the farmer uses it to file aid applications on Telepac. It has nine characters, the number of the department written in three (014, 02B for Haute-Corse) and an order number of six digits. A farm that moves its seat to another department gets a new number. The number of a farm run by one person identifies that person.",
  "parent": "id",
  "is_pii": true,
  "categories": [
    "agriculture",
    "identifiers"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:0(?:0[1-9]|[1-9]\\d|2[AB])|97[1-6])\\d{6}$",
  "examples": [
    {
      "value": "02B000000",
      "description": "The form of a number of Haute-Corse, with a made-up order number",
      "valid": true
    },
    {
      "value": "014000000",
      "description": "The form of a number of Calvados, with a made-up order number",
      "valid": true
    },
    {
      "value": "2B0000000",
      "description": "The department must be written in three characters",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.telepac.agriculture.gouv.fr/telepac/pdf/tde/Exploitation_demande-attribution-numero-pacage.pdf"
    }
  ],
  "translations": {
    "fr": {
      "name": "Numéro PACAGE"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frpacagebyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_environment.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/agriculture/fr_pacage.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/agriculture/fr_pacage.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/agriculture/fr_pacage.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_pacage",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_pacage.json"
  }
}