# VersionReference

A pointer to one exact version of a definition: its id and version number.

**Kind:** an object, used in requests and responses.

## Fields

Every field is present in a response; empty ones are `null`.

| Field | Type | Description |
|---|---|---|
| `id` | `uuid` | The definition's id. Constraints: required (empty or whitespace-only strings are rejected). |
| `version` | `integer` | The version number (1 or more). Constraints: range: 1..2147483647, required (empty or whitespace-only strings are rejected). |

## Example

```json
{
  "id": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
  "version": 0
}
```

## Where it's used

- Inside [`AgentCreateRequest`](https://docs.maitento.com/reference/types/agent-create-request.md)
- Inside [`AgentUpdateRequest`](https://docs.maitento.com/reference/types/agent-update-request.md)
- Inside [`AgentVersion`](https://docs.maitento.com/reference/types/agent-version.md)
- Inside [`AppProcess`](https://docs.maitento.com/reference/types/app-process.md)
- Inside [`AppProcessStartConfig`](https://docs.maitento.com/reference/types/app-process-start-config.md)
- Inside [`AppProcessWithDetails`](https://docs.maitento.com/reference/types/app-process-with-details.md)
- Inside [`CapsuleProcess`](https://docs.maitento.com/reference/types/capsule-process.md)
- Inside [`CapsuleProcessStartConfig`](https://docs.maitento.com/reference/types/capsule-process-start-config.md)
- Inside [`CapsuleProcessWithDetails`](https://docs.maitento.com/reference/types/capsule-process-with-details.md)
- Inside [`CodePipelineProcess`](https://docs.maitento.com/reference/types/code-pipeline-process.md)
- Inside [`CodePipelineProcessStartConfig`](https://docs.maitento.com/reference/types/code-pipeline-process-start-config.md)
- Inside [`InteractionAgentBinding`](https://docs.maitento.com/reference/types/interaction-agent-binding.md)
- Inside [`InteractionMessageStartConfig`](https://docs.maitento.com/reference/types/interaction-message-start-config.md)
- Inside [`InteractionProcess`](https://docs.maitento.com/reference/types/interaction-process.md)
- Inside [`InteractionProcessStartConfig`](https://docs.maitento.com/reference/types/interaction-process-start-config.md)
- Inside [`InteractionProcessWithDetails`](https://docs.maitento.com/reference/types/interaction-process-with-details.md)
- Inside [`InteractionRoutingDecision`](https://docs.maitento.com/reference/types/interaction-routing-decision.md)
- Inside [`InteractionSwarmAwait`](https://docs.maitento.com/reference/types/interaction-swarm-await.md)
- Inside [`ManagedInteractionAgentBinding`](https://docs.maitento.com/reference/types/managed-interaction-agent-binding.md)
