---
title: "chat.command-registration-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/chat.command-registration-result"
updated: null
---

# chat.command-registration-result@1 · OpenVibe.Services

HTML: [chat.command-registration-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/chat.command-registration-result)

# Chat command registration result `chat.command-registration-result@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: chat
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/chat/command-registration-result.v1.json`](/docs/contracts/chat.command-registration-result.json)

chat.command-registration-result@1: the command Chat stored for an approved app or Actor agent, with source and application\_id derived from the verified service token.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `command` | [chat.command](/docs/contracts/chat.command) | yes |  |  |

## Examples

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

 Valid: hello

~~~~
{
  "command": {
    "name": "hello",
    "description": "Say hello",
    "options": [],
    "source": "app",
    "application_id": "app:app_01J8Z3Q4R5S6T7V8W9X0Y1Z2A3"
  }
}
~~~~

Rejected: no-command

~~~~
{}
~~~~

## Validate

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