{
  "id": "faostat_item_code",
  "kind": "datatype",
  "status": "draft",
  "name": "FAOSTAT item code",
  "doc": "Numeric code of a commodity or other item in FAOSTAT (the Item Code column of its downloads): 15 wheat, 56 maize, 3010 total population in the population domain.",
  "is_pii": false,
  "categories": [
    "agriculture"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[1-9]\\d{0,4}$",
  "examples": [
    {
      "value": "15",
      "description": "Wheat",
      "valid": true
    },
    {
      "value": "56",
      "description": "Maize",
      "valid": true
    },
    {
      "value": "3010",
      "description": "Population",
      "valid": true
    },
    {
      "value": "0111",
      "description": "A CPC code with a leading zero",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.fao.org/faostat/en/#definitions"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код показателя (item) FAOSTAT"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "faostatitemcodebyname",
        "type": "field",
        "match": "regex",
        "file": "common/research_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/agriculture/faostat_item_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/agriculture/faostat_item_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/agriculture/faostat_item_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/faostat_item_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/faostat_item_code.json"
  }
}