You are viewing documentation for an older version.
ID Types
less than a minute
You can use id_types to list the type of identifiers used in an ID stitcher. You can also use this parameter for creating entity_var and input_var. The data type of these identifiers must be string.
id_types:
- name: id_type_name
filters:
- type: include/exclude
value: "value"
- type: include/exclude
regex: "regex expression"| Field | Description |
|---|---|
nameRequired | Name of the ID type. |
filters | Filter(s) the ID types to include/exclude specific values. The filters are processed in the listed order. |
type | Filter type - accepted values are include or exclude. |
value | Specify the value that should be matched exactly. |
regex | Regular expression to match. |
Example
entities:
- name: user
id_column_name: user_rud_id
id_types:
- user_id
- anonymous_id
- email
id_types:
- name: user_id
- name: anonymous_id
extends: user_id
filters:
- type: exclude
value: "unknown"
- type: exclude
value: "NaN"
- name: email
filters:
- type: include
regex: "[A-Za-z0-9+_.-]+@(.+)"