{
  "id": "lb_postcode",
  "kind": "pattern",
  "status": "draft",
  "name": "Lebanon postal code",
  "doc": "Postal code in Lebanon: four digits, or eight digits written as two groups of four with an optional space.",
  "semantic_type": "postindex",
  "is_pii": true,
  "categories": [
    "geo",
    "pii",
    "common"
  ],
  "country": [
    "LB"
  ],
  "langs": [
    "ar"
  ],
  "classification": "categorical",
  "regexp": "^(?:\\d{4})(?: ?(?:\\d{4}))?$",
  "examples": [
    {
      "value": "2038 3054",
      "valid": true
    },
    {
      "value": "1107 2810",
      "valid": true
    },
    {
      "value": "1000",
      "valid": true
    },
    {
      "value": "2038 305",
      "description": "too short",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "other",
      "url": "https://chromium-i18n.appspot.com/ssl-address/data/LB"
    }
  ],
  "quality": {
    "score": 68,
    "missing": [
      "authoritative source link",
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/LB/geo/lb_postcode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/LB/geo/lb_postcode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/LB/geo/lb_postcode.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/lb_postcode",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/lb_postcode.json"
  }
}