Skip to content

biometric.attestation

A user’s answer to the device’s biometric consent question. Emitted by zk-push 3.4 when the clock uploads a consent record, which it does after the user answers the question at the device. Not biometric data itself: it is kept whether or not the endpoint collects biometrics.

Schema id: urn:houradvantage:events:3:biometric.attestation

Fields

FieldTypeRequiredDescription
user_idstringyesThe user’s id on the device.
consent"given" \"refused" \"unanswered" \
namestringThe user’s name as the device holds it with the answer; "" when it sent none.
local_timestringWhen it was answered, device wall-clock time, “YYYY-MM-DD HH:MM:SS”. Absent when the device’s time cannot be read. pattern ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
vendorobjectWhat the device said in its own terms, under one key naming the vendor or package (“zk”, “brightlink”). Not part of this contract: see the package’s documentation. Absent when the package adds nothing.

Example

{
"user_id": "1001",
"consent": "given",
"name": "Ana Diaz",
"local_time": "2026-10-01 08:00:00",
"vendor": {
"zk": {
"finger_result": 1,
"verify_time": "2026:10:01 08:00:00"
}
}
}

JSON Schema

biometric.attestation.json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:houradvantage:events:3:biometric.attestation",
"title": "biometric.attestation: data",
"description": "A user's answer to the device's biometric consent question. Emitted by zk-push 3.4 when the clock uploads a consent record, which it does after the user answers the question at the device. Not biometric data itself: it is kept whether or not the endpoint collects biometrics.",
"type": "object",
"properties": {
"user_id": {
"type": "string",
"description": "The user's id on the device."
},
"consent": {
"description": "The answer: given, refused, unanswered (the question was put and not answered), or unknown for an answer code the package cannot read.",
"enum": [
"given",
"refused",
"unanswered",
"unknown"
]
},
"name": {
"type": "string",
"description": "The user's name as the device holds it with the answer; \"\" when it sent none."
},
"local_time": {
"type": "string",
"description": "When it was answered, device wall-clock time, \"YYYY-MM-DD HH:MM:SS\". Absent when the device's time cannot be read.",
"pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$"
},
"vendor": {
"description": "What the device said in its own terms, under one key naming the vendor or package (\"zk\", \"brightlink\"). Not part of this contract: see the package's documentation. Absent when the package adds nothing.",
"type": "object",
"minProperties": 1,
"maxProperties": 1,
"additionalProperties": {
"type": "object"
}
}
},
"required": [
"user_id",
"consent"
],
"examples": [
{
"user_id": "1001",
"consent": "given",
"name": "Ana Diaz",
"local_time": "2026-10-01 08:00:00",
"vendor": {
"zk": {
"finger_result": 1,
"verify_time": "2026:10:01 08:00:00"
}
}
}
]
}