AgentTrigger agent.trigger@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- actor
- Visibility
- public
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/agent/trigger.v1.json
Immutable source event. Source-local actor identity grants no cross-source authority. Accepting an id twice creates one ticket.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | string | yes |
| |
source | string | yes |
| |
actor | object | yes |
| |
actor.source | string | yes |
| |
actor.id | string | yes |
| |
actor.kind | enum | yes |
| |
source_scope | string | yes |
| |
threads | array of string | yes |
| |
occurred_at | string | yes |
| |
text | string | yes |
| |
read_pointer | string |
| ||
addresses_agent | enum |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: example
{
"id": "trg_1",
"source": "github",
"actor": {
"source": "github",
"id": "owner",
"kind": "person"
},
"source_scope": "issues",
"threads": [
"issue:1"
],
"occurred_at": "2026-11-09T12:00:00Z",
"text": "Fix the bug"
}Rejected: unknown
{
"id": "trg_1",
"source": "github",
"actor": {
"source": "github",
"id": "owner",
"kind": "person"
},
"source_scope": "issues",
"threads": [
"issue:1"
],
"occurred_at": "2026-11-09T12:00:00Z",
"text": "Fix the bug",
"unexpected": true
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('agent.trigger@1', value); // { valid, errors: [{ path, message }] }