---
id: "github_username"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["pii", "persons", "useraccounts"]
langs: ["common"]
quality: 53
url: "http://registry.apicrafter.io/datatype/github_username"
---

# Github username (`github_username`)

Person/organization username in Github

- Parent datatype: `username`
- Personal data (PII): yes
- Categories: Personally identifiable information (pii), Person related (persons), User accounts in products and services (useraccounts)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
[0-9A-Za-z]([0-9A-Za-z\-]{0,37}[0-9A-Za-z])?
```

## Examples

- `google` — Google

## Mappings

- dpv: `pd:Username`
- wikidata: `P2037`

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P2037>

## Quality

Score 53/100. Missing: longer description, anchored regexp, second example, negative example, translation, detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/github_username.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/useraccounts/github_username.yaml>
