SSI Age Check Predicate
Description
A predicate for performing an age check. The specified age in years is compared to the threshold value (also in years) using the selected relation.
Example: To check if someone is over 18, set the attribute name to e.g.
Example: To check if someone is over 18, set the attribute name to e.g.
birthdate_dateint(where the attribute contains a date in the format YYYYMMDD), the predicate type to
GREATER_EQand the age threshold to 18.
Properties
Attribute name (
name) Description
The attribute checked by the predicate.
Attributes
String
Mandatory
Example
birthDate
Example
bestBeforeDate
Example
employmentStartDate
Predicate type (
type) Description
The type of the predicate.
Attributes
Enum
Mandatory
Age Threshold (
ageThreshold) Description
An age expressed in years.
Attributes
Integer
Mandatory
Provider Key (
providerKey) Description
The key which can be used for obtaining information on the verified predicate from the SSI Verification Data Provider.
Attributes
String
Mandatory
Example
over18
YAML Template (with default values)
type: AgePredicate
id: AgePredicate-xxxxxx
displayName:
comment:
properties:
ageThreshold:
name:
providerKey:
type: