ChatPersonMemoryPreferencesResult chat.person-memory-preferences-result@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- chat
- Visibility
- public
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/chat/person-memory-preferences-result.v1.json
chat.person-memory-preferences-result@1: the person's delete or opt-out result.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
opted_out | boolean | yes | ||
deleted | boolean |
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: opt-out
{
"opted_out": true,
"deleted": true
}Rejected: no-preference
{
"deleted": true
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('chat.person-memory-preferences-result@1', value); // { valid, errors: [{ path, message }] }