---
title: "vision.consent-request@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/vision.consent-request"
updated: null
---

# vision.consent-request@1 · OpenVibe.Services

HTML: [vision.consent-request@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/vision.consent-request)

# VisionConsentRequest `vision.consent-request@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: vision
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/vision/consent-request.v1.json`](/docs/contracts/vision.consent-request.json)

vision.consent-request@1: POST /api/v1/faces/consents/:feature. The caller signs the current text (\`text\_version\` must match this server's), names themself (\`signed\_name\`), and for cast must confirm they are an adult; library grouping is refused outside the host's allowed regions. A repeat of an active consent changes nothing.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `signed_name` | string | yes |  | - `minLength 1`<br>- `maxLength 160` |
| `text_version` | string | yes |  | - `maxLength 80` |
| `modality` | enum |  |  | - `one of "face", "voice"` |
| `feature` | enum |  | Echo of the :feature path segment. | - `one of "verify", "find", "cast", "library", "voice"` |
| `channel` | string |  |  | - `pattern ^[a-zA-Z0-9][a-zA-Z0-9:_-]{1,119}$` |
| `adult` | boolean |  |  |  |
| `region` | string |  |  | - `maxLength 10` |

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: one

~~~~
{
  "signed_name": "Ana Ruiz",
  "text_version": "face-cast-2026-10-28",
  "feature": "cast",
  "channel": "live:one",
  "adult": true
}
~~~~

Rejected: one

~~~~
{
  "signed_name": "",
  "text_version": "face-cast-2026-10-28"
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('vision.consent-request@1', value);   // { valid, errors: [{ path, message }] }
~~~~
