{
  "id": "usssn",
  "kind": "datatype",
  "status": "stable",
  "name": "US Social Security Number",
  "doc": "In the United States, a Social Security number (SSN) is a nine-digit number issued to U.S. citizens, permanent residents, and temporary (working) residents under section 205(c)(2) of the Social Security Act, codified as 42 U.S.C. § 405(c)(2)",
  "aliases": [
    "ssn"
  ],
  "is_pii": true,
  "categories": [
    "pii",
    "persons"
  ],
  "country": [
    "US"
  ],
  "langs": [
    "en"
  ],
  "classification": "identifier",
  "regexp": "([0-9]{3})[- .]([0-9]{2})[- .]([0-9]{4})",
  "mappings": {
    "autotype": [
      "ssn",
      "ssn - new"
    ],
    "dpv": "pd:OfficialID",
    "fhir": "http://hl7.org/fhir/sid/us-ssn",
    "fta": "SSN",
    "google_dlp": "US_SOCIAL_SECURITY_NUMBER",
    "presidio": "US_SSN",
    "purview": "U.S. social security number (SSN)",
    "stdnum": "us.ssn"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Social_Security_number"
    }
  ],
  "detected_by": {
    "tools": [
      "alteryxdesignercloud",
      "amazonmacie",
      "autotype",
      "awscomprehend",
      "awsglue",
      "azureailanguage",
      "collibra",
      "databricks",
      "datahub",
      "dataprofiler",
      "fta",
      "googledlp",
      "greatexpectations",
      "ibmguardium",
      "ibmknowledgecatalog",
      "metacrafter",
      "microsoftpurview",
      "nightfall",
      "openmetadata",
      "oracleanalyticsdesktop",
      "oracledatasafe",
      "piicatcher",
      "presidio",
      "pythonstdnum",
      "snowflake",
      "sqldatacatalog",
      "talend"
    ],
    "metacrafter_rules": [
      {
        "rule": "enssnfield",
        "type": "field",
        "match": "text",
        "file": "pii/us/us_pii.yaml",
        "key": "ssn"
      },
      {
        "rule": "enssnvalue",
        "type": "data",
        "match": "ppr",
        "file": "pii/us/us_pii.yaml",
        "key": "ssn"
      },
      {
        "rule": "usssnfield",
        "type": "field",
        "match": "text",
        "file": "pii/us/us_pii.yaml"
      },
      {
        "rule": "usssnvalue",
        "type": "data",
        "match": "ppr",
        "file": "pii/us/us_pii.yaml"
      },
      {
        "rule": "us_persons_usssnfield",
        "type": "field",
        "match": "text",
        "file": "us/us_persons.yaml"
      },
      {
        "rule": "us_persons_usssnvalue",
        "type": "data",
        "match": "ppr",
        "file": "us/us_persons.yaml"
      }
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "anchored regexp",
      "examples",
      "negative example",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/US/persons/usssn.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/US/persons/usssn.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/US/persons/usssn.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/usssn",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/usssn.json"
  }
}