NetworkAccountDataReceipt network.account-data-receipt@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-data-receipt.v1.json

network.account-data-receipt@1 (OpenVibe.Network; roadmap WS-B task 7, ADR-033): Network's answer to a service's export part (network.account.export.contribute) or deletion confirmation (network.account.deletion.confirm). replaced: this service had already sent one for the same job, and this one replaced it.

Fields

FieldTypeRequiredDescriptionConstraints
idstringyesThe export or deletion.
  • pattern ^(exp|del)_[0-9A-HJKMNP-TV-Z]{26}$
servicestringyes
  • pattern ^[a-z][a-z0-9-]{1,31}$
received_atstringyes
  • format date-time
replacedbooleanyes

Examples

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

Valid: export-part
{
  "id": "exp_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "service": "live",
  "received_at": "2026-09-27T21:01:00.000Z",
  "replaced": false
}
Rejected: merge-id
{
  "id": "mrg_01JAB2C3D4E5F6G7H8J9K0MNPS",
  "service": "live",
  "received_at": "2026-09-27T21:01:00.000Z",
  "replaced": false
}

Validate

const contracts = require('openvibe-contracts');
contracts.validate('network.account-data-receipt@1', value);   // { valid, errors: [{ path, message }] }