ActorTaskViewTicket actor.task-view-ticket@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
- Decision
- ADR-044
- Schema
https://openvibe.network/contracts/actor/task-view-ticket.v1.json
actor.task-view-ticket@1: a reusable read-only view of one task for its owner, valid for 15 minutes. The URL contains a bearer credential; never log it or forward it in a referrer.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
url | string | yes |
| |
expires_at | string | yes |
|
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: view
{
"url": "https://openvibe.actor/embed/task/tsk_example?t=tvt_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"expires_at": "2026-11-08T12:15:00Z"
}Rejected: missing-expiry
{
"url": "https://openvibe.actor/"
}Rejected: wrong-ticket
{
"url": "https://openvibe.actor/embed/task/tsk_example?t=wpt_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"expires_at": "2026-11-08T12:15:00Z"
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('actor.task-view-ticket@1', value); // { valid, errors: [{ path, message }] }