{
  "id": "se_postcode",
  "kind": "pattern",
  "status": "draft",
  "name": "Swedish postal code",
  "doc": "Postal code (postnummer) in Sweden: five digits, written as three digits, a space and two digits.",
  "semantic_type": "postindex",
  "is_pii": true,
  "categories": [
    "geo",
    "pii",
    "common"
  ],
  "country": [
    "SE"
  ],
  "langs": [
    "sv"
  ],
  "classification": "categorical",
  "regexp": "^[1-9]\\d{2} ?\\d{2}$",
  "examples": [
    {
      "value": "111 20",
      "description": "Stockholm",
      "valid": true
    },
    {
      "value": "211 20",
      "description": "Malmö",
      "valid": true
    },
    {
      "value": "11120",
      "description": "written without the space",
      "valid": true
    },
    {
      "value": "011 20",
      "valid": false
    }
  ],
  "mappings": {
    "fta": "POSTAL_CODE.POSTAL_CODE_SE",
    "stdnum": "se.postnummer"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postal_codes_in_Sweden"
    },
    {
      "type": "other",
      "url": "https://github.com/tsegall/fta/blob/main/SemanticTypes.md"
    }
  ],
  "translations": {
    "ru": {
      "name": "Почтовый индекс Швеции"
    }
  },
  "detected_by": {
    "tools": [
      "fta",
      "pythonstdnum"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/SE/geo/se_postcode.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/SE/geo/se_postcode.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/SE/geo/se_postcode.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/se_postcode",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/se_postcode.json"
  }
}