{
  "id": "gb_epc_rating",
  "kind": "datatype",
  "status": "draft",
  "name": "Energy performance certificate rating band",
  "doc": "Energy efficiency band of a building on a UK energy performance certificate or display energy certificate, A (most efficient, A+ for net zero on a DEC) to G. EPC open data has the current and potential band (CURRENT_ENERGY_RATING).",
  "is_pii": false,
  "categories": [
    "realestate",
    "energy"
  ],
  "country": [
    "GB"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "regexp": "^(?:A\\+?|[B-G])$",
  "examples": [
    {
      "value": "D",
      "description": "Typical existing dwelling",
      "valid": true
    },
    {
      "value": "A",
      "description": "Most efficient band",
      "valid": true
    },
    {
      "value": "G",
      "description": "Least efficient band",
      "valid": true
    },
    {
      "value": "H",
      "description": "No such band",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Energy_Performance_Certificate"
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gbepcratingfield",
        "type": "field",
        "match": "regex",
        "file": "gb/gb_realestate.yaml"
      }
    ]
  },
  "quality": {
    "score": 85,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/GB/realestate/gb_epc_rating.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GB/realestate/gb_epc_rating.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/realestate/gb_epc_rating.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gb_epc_rating",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gb_epc_rating.json"
  }
}