AiModelDirectoryEntry ai.model-directory-entry@1
Generated at from
openvibe-contracts v0.419.0 and
openvibe-sdk v0.161.0.
- Version
- 1.0.0
- Owner
- ai
- Visibility
- public
- Status
- active
- Compatibility
- backward
- Schema
https://openvibe.network/contracts/ai/model-directory-entry.v1.json
ai.model-directory-entry@1: one public model, including provider-listed models with routing off and sourced pre-list sightings. Spotted never means available.
Fields
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
id | string | yes |
| |
provider | string | yes |
| |
provider_name | string | null | |||
model | string | yes |
| |
name | string | yes |
| |
family | string | null | |||
version | string | null | |||
status | enum | yes |
| |
routing_enabled | boolean | yes | ||
context_window | integer | null |
| ||
max_output | integer | null |
| ||
type | string | |||
modalities | array of string | |||
price | object | |||
price.input_per_million | number | null |
| ||
price.output_per_million | number | null |
| ||
price.cached_per_million | number | null |
| ||
price.source | string | null |
| ||
price.checked_at | string | null | |||
source | string | null |
| ||
sources | array of object | |||
sources[].url | string | yes |
| |
sources[].observed_at | string | yes | ||
sources[].published_at | string | |||
first_seen_at | string | null | |||
updated_at | string | null | |||
retired_at | string | null |
Examples
From the contract's own test fixtures: valid ones validate, rejected ones must fail.
Valid: spotted
{
"id": "arena/anonymous-silver",
"provider": "arena",
"model": "anonymous-silver",
"name": "anonymous-silver",
"status": "spotted",
"routing_enabled": false,
"sources": [
{
"url": "https://lmarena.ai/leaderboard/text",
"observed_at": "2026-11-11T00:00:00Z"
}
]
}Rejected: spotted-routable
{
"id": "arena/anonymous-silver",
"provider": "arena",
"model": "anonymous-silver",
"name": "anonymous-silver",
"status": "spotted",
"routing_enabled": true
}Validate
const contracts = require('openvibe-contracts');
contracts.validate('ai.model-directory-entry@1', value); // { valid, errors: [{ path, message }] }