NetworkAgentTaskCreatedPayload network.agent.task.created@1

Generated at from openvibe-contracts v0.419.0 and openvibe-sdk v0.161.0.

Version
1.0.0
Owner
network
Visibility
first-party
Status
active
Compatibility
backward
Schema
https://openvibe.network/contracts/events/payloads/network.agent.task.created.v1.json

Agent task was created.

Fields

FieldTypeRequiredDescriptionConstraints
task_idstringyes
  • pattern ^[a-z]{3}_[A-Za-z0-9_-]{8,80}$
threadstringyes
  • pattern ^[a-z]{3}_[A-Za-z0-9_-]{8,80}$
fromstringyes
  • pattern ^agt_[0-9A-HJKMNP-TV-Z]{26}$
tostringyes
  • pattern ^agt_[0-9A-HJKMNP-TV-Z]{26}$
atstringyes
  • format date-time

Examples

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

Valid: example
{
  "task_id": "tsk_12345678",
  "thread": "thr_12345678",
  "from": "agt_AAAAAAAAAAAAAAAAAAAAAAAAAA",
  "to": "agt_BBBBBBBBBBBBBBBBBBBBBBBBBB",
  "at": "2026-11-11T00:00:00Z"
}
Rejected: example
{}

Validate

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