{
  "id": "gb_fhrs_id",
  "kind": "datatype",
  "status": "draft",
  "name": "UK Food Hygiene Rating Scheme establishment ID (FHRSID)",
  "doc": "Numeric identifier of a food business establishment in the food hygiene ratings open data and API of the UK Food Standards Agency, covering the Food Hygiene Rating Scheme (England, Wales, Northern Ireland) and the Food Hygiene Information Scheme (Scotland). It is used in the address ratings.food.gov.uk/business/<id>.",
  "is_pii": false,
  "categories": [
    "agriculture",
    "companies"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[1-9]\\d{0,7}$",
  "examples": [
    {
      "value": "544099",
      "description": "The Fat Duck; Wikidata example",
      "valid": true
    },
    {
      "value": "1610312",
      "description": "Jamaica Inn; Wikidata example",
      "valid": true
    },
    {
      "value": "1916465",
      "description": "Establishment in Westminster rated 5",
      "valid": true
    },
    {
      "value": "0544099",
      "description": "Leading zero",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P12523"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://api.ratings.food.gov.uk/help"
    },
    {
      "type": "doc",
      "url": "https://ratings.food.gov.uk/open-data"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P12523"
    }
  ],
  "translations": {
    "ru": {
      "name": "Идентификатор предприятия в рейтинге гигиены питания Великобритании (FHRSID)",
      "doc": "Числовой идентификатор предприятия общественного питания или торговли продуктами в открытых данных рейтинга гигиены питания Агентства по пищевым стандартам Великобритании (FSA)."
    }
  },
  "quality": {
    "score": 90,
    "missing": [
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/agriculture/gb_fhrs_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/agriculture/gb_fhrs_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/agriculture/gb_fhrs_id.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_fhrs_id",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_fhrs_id.json"
  }
}