{
  "id": "sg_uen",
  "kind": "datatype",
  "status": "draft",
  "name": "Singapore Unique Entity Number (UEN)",
  "doc": "Identification number that the government of Singapore gives to every entity that operates in Singapore: businesses, local companies, societies, charities and others. It has nine or ten characters in one of three formats: eight digits and a check letter for businesses, nine digits starting with the year of registration and a check letter for local companies, and for other entities a letter (R, S or T), two digits of the year, two letters for the entity type, four digits and a check letter.",
  "children": [
    "acra",
    "sg_charity_uen"
  ],
  "is_pii": false,
  "categories": [
    "companies"
  ],
  "country": [
    "SG"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:\\d{8}[A-Z]|\\d{9}[A-Z]|[RST]\\d{2}[A-Z]{2}\\d{4}[A-Z])$",
  "examples": [
    {
      "value": "198101793G",
      "description": "NCS Pte Ltd",
      "valid": true
    },
    {
      "value": "202120748H",
      "description": "SPH Media",
      "valid": true
    },
    {
      "value": "202134064M",
      "description": "Oh Baby Games",
      "valid": true
    },
    {
      "value": "00192200M",
      "description": "Business format, test value of python-stdnum",
      "valid": true
    },
    {
      "value": "S16FC0121D",
      "description": "Other entity format, test value of python-stdnum",
      "valid": true
    },
    {
      "value": "S16FC0121",
      "description": "The check letter is missing",
      "valid": false
    }
  ],
  "mappings": {
    "presidio": "SG_UEN",
    "stdnum": "sg.uen",
    "wikidata": "P13194"
  },
  "links": [
    {
      "type": "doc",
      "url": "https://www.uen.gov.sg/ueninternet/faces/pages/uenFAQ.jspx"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P13194"
    },
    {
      "type": "other",
      "url": "https://github.com/arthurdejong/python-stdnum/blob/master/stdnum/sg/uen.py"
    },
    {
      "type": "other",
      "url": "https://github.com/microsoft/presidio/blob/main/presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/singapore/sg_uen_recognizer.py"
    }
  ],
  "detected_by": {
    "tools": [
      "awsglue",
      "openmetadata",
      "presidio",
      "pythonstdnum",
      "snowflake"
    ]
  },
  "quality": {
    "score": 95,
    "missing": [
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/SG/companies/sg_uen.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/SG/companies/sg_uen.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/SG/companies/sg_uen.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/sg_uen",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/sg_uen.json"
  }
}