NetworkAccountDeletion network.account-deletion@1
Generated at from
openvibe-contracts v0.76.0 and
openvibe-sdk v0.20.1.
- Version
- 1.0.0
- Owner
- network
- Visibility
- first-party
- Status
- active
- Compatibility
- backward
- Decision
- ADR-033
- Schema
https://openvibe.network/contracts/network/account-deletion.v1.json
network.account-deletion@1 (OpenVibe.Network; roadmap WS-B task 7, ADR-033): a person's scheduled account deletion. POST /api/v1/account/deletion (a fresh sign-in, auth_time within 10 minutes, and the username typed out) schedules it 30 days ahead; GET answers it; DELETE cancels it before delete_after.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
deletion_id | string | yes |
| |
status | enum | yes |
| |
requested_at | string | yes |
| |
delete_after | string | yes | Nothing leaves Network before this time; the account works normally until then. |
|
cancelled_at | string |
| ||
deleted_at | string |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: scheduled
{
"deletion_id": "del_01JAB2C3D4E5F6G7H8J9K0MNPT",
"status": "scheduled",
"requested_at": "2026-09-27T21:00:00.000Z",
"delete_after": "2026-10-27T21:00:00.000Z"
}Rejected: no-date
{
"deletion_id": "del_01JAB2C3D4E5F6G7H8J9K0MNPT",
"status": "scheduled",
"requested_at": "2026-09-27T21:00:00.000Z"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('network.account-deletion@1', value); // { valid, errors: [{ path, message }] }