Add an email address to the authenticated person's account identity.email-add-request@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- network
- Visibility
- public
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/identity/email-add-request.v1.json
A single email address the account owner wants to verify and attach to their own account.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
email | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: add
{
"email": "[email protected]"
}Rejected: missing-email
{}Validate
const contracts = require('openvibe-contracts');
contracts.validate('identity.email-add-request@1', value); // { valid, errors: [{ path, message }] }