{
  "id": "nanoid",
  "kind": "datatype",
  "status": "draft",
  "name": "Nano ID",
  "doc": "Random identifier of the Nano ID library. By default it is 21 characters of the URL-safe alphabet A-Z, a-z, 0-9, underscore and hyphen, which gives a collision probability similar to UUIDv4. Applications can choose another length or alphabet; the regexp covers only the default.",
  "is_pii": false,
  "categories": [
    "identifiers"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-Za-z0-9_-]{21}$",
  "examples": [
    {
      "value": "V1StGXR8_Z5jdHi6B-myT",
      "description": "Example of the Nano ID README",
      "valid": true
    },
    {
      "value": "IRFa-VaY2b",
      "description": "Nano ID with a custom size of 10, not covered",
      "valid": false
    },
    {
      "value": "V1StGXR8_Z5jdHi6B+myT",
      "description": "The plus sign is not in the default alphabet",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://github.com/ai/nanoid"
    }
  ],
  "translations": {
    "ru": {
      "name": "Идентификатор Nano ID"
    }
  },
  "quality": {
    "score": 73,
    "missing": [
      "second example",
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/identifiers/nanoid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/identifiers/nanoid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/identifiers/nanoid.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/nanoid",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/nanoid.json"
  }
}