βοΈLawful Basis
Records the legal grounds for processing conversation data, with cryptographic proof and granular per-purpose consent.
What it is
When to use it
Spec surface
{
"type": "lawful_basis",
"encoding": "json",
"party": 0,
"dialog": 0,
"body": {
"lawful_basis": "consent",
"expiration": "2026-01-02T12:00:00Z",
"purpose_grants": [
{ "purpose": "recording", "granted": true, "granted_at": "2025-01-02T12:15:30Z" },
{ "purpose": "transcription", "granted": true, "granted_at": "2025-01-02T12:15:30Z" },
{ "purpose": "analysis", "granted": true, "granted_at": "2025-01-02T12:15:30Z" }
],
"proof_mechanisms": [
{
"mechanism_type": "audio_recording",
"dialog_index": 0,
"description": "Verbal consent captured at start of recording"
}
]
}
}Python helper
Synthetic-data pattern
See also
Last updated
Was this helpful?