{
  "id": "am_postal_code",
  "kind": "datatype",
  "status": "stable",
  "name": "Armenian Postal Code",
  "doc": "Armenian postal code used for mail delivery and addressing",
  "is_pii": true,
  "categories": [
    "geo"
  ],
  "country": [
    "AM"
  ],
  "langs": [
    "hy"
  ],
  "classification": "identifier",
  "regexp": "\\d{4}",
  "examples": [
    {
      "value": "0001",
      "description": "Example Armenian postal code (Yerevan)",
      "valid": true
    },
    {
      "value": "3101",
      "description": "Example Armenian postal code",
      "valid": true
    }
  ],
  "mappings": {
    "dpv": "pd:PostalCode",
    "schema_org": "postalCode"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Postal_codes_in_Armenia"
    }
  ],
  "translations": {
    "hy": {
      "name": "Փոստային ինդեքս",
      "doc": "Փոստային ինդեքս - Հայաստանում փոստային առաքման և հասցեավորման համար օգտագործվող 4-նիշ կոդ"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "ampostalcodefield",
        "type": "field",
        "match": "text",
        "file": "am/am_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "longer description",
      "anchored regexp",
      "negative example"
    ]
  },
  "source": {
    "path": "data/datatypes/AM/geo/am_postal_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/AM/geo/am_postal_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/AM/geo/am_postal_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/am_postal_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/am_postal_code.json"
  }
}