Entity Types
Worka PII ships with a set of built-in entity types for common identifiers. Additional types can be defined as custom entities.
Built-in types
- Phone
- IpAddress (IPv4)
- Ipv6
- CreditCard
- Iban
- Ssn
- Itin
- TaxId
- Passport
- DriverLicense
- BankAccount
- RoutingNumber
- CryptoAddress
- MacAddress
- Uuid
- Vin
- Imei
- Url
- Domain
- Hostname
NER-dependent types
The following types are supported when a NER engine is available:
- Person
- Location
- Organization
Custom types
Use EntityType::Custom("Name".to_string()) for domain-specific IDs. Attach a regex or validator recognizer to make it first-class in the pipeline.