{
  "id": "gr_postcode",
  "kind": "pattern",
  "status": "draft",
  "name": "Greece postal code",
  "doc": "Postal code in Greece: five digits, written as three digits, a space and two digits; the space may be omitted.",
  "semantic_type": "postindex",
  "is_pii": true,
  "categories": [
    "geo",
    "pii",
    "common"
  ],
  "country": [
    "GR"
  ],
  "langs": [
    "el"
  ],
  "classification": "categorical",
  "regexp": "^\\d{3} ?\\d{2}$",
  "examples": [
    {
      "value": "151 24",
      "valid": true
    },
    {
      "value": "151 10",
      "valid": true
    },
    {
      "value": "101 88",
      "valid": true
    },
    {
      "value": "151 2",
      "description": "too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postal_codes_in_Greece"
    },
    {
      "type": "other",
      "url": "https://chromium-i18n.appspot.com/ssl-address/data/GR"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/GR/geo/gr_postcode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/GR/geo/gr_postcode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GR/geo/gr_postcode.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/gr_postcode",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/gr_postcode.json"
  }
}