---
title: "agent.attention@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/agent.attention"
updated: null
---

# agent.attention@1 · OpenVibe.Services

HTML: [agent.attention@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/agent.attention)

# AgentAttention `agent.attention@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: actor
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/agent/attention.v1.json`](/docs/contracts/agent.attention.json)

One structured question awaiting a person. Authorized independent work may continue.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  | - `minLength 1` |
| `ticket_id` | string | yes |  | - `minLength 1` |
| `question` | string | yes |  | - `minLength 1` |
| `state` | enum | yes |  | - `one of "open", "answered", "dismissed"` |
| `created_at` | string | yes |  | - `format date-time` |
| `answer` | string |  |  | - `minLength 1` |

## Examples

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

 Valid: example

~~~~
{
  "id": "att_1",
  "ticket_id": "tkt_1",
  "question": "Which target?",
  "state": "open",
  "created_at": "2026-11-09T12:00:00Z"
}
~~~~

Rejected: unknown

~~~~
{
  "id": "att_1",
  "ticket_id": "tkt_1",
  "question": "Which target?",
  "state": "open",
  "created_at": "2026-11-09T12:00:00Z",
  "unexpected": true
}
~~~~

## Validate

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