---
title: "codes.app-manifest@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/codes.app-manifest"
updated: null
---

# codes.app-manifest@1 · OpenVibe.Services

HTML: [codes.app-manifest@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/codes.app-manifest)

# AppManifest `codes.app-manifest@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: codes
- Visibility: public
- Status: retired
- Compatibility: backward
- Decision: [ADR-014](/docs/adr/ADR-014)
- Schema: [`https://openvibe.network/contracts/codes/app-manifest.v1.json`](/docs/contracts/codes.app-manifest.json)

Deprecated since 0.113.0; use services.app-manifest@1. Removed after 1.0.0. the developer portal (manifests, releases, trust, playgrounds) moves from OpenVibe.Codes to OpenVibe.Services (owner 2026-10-08; Codes becomes the open coding-agent harness); retired at once, kept loadable for historical events and compatibility

PROPOSAL (OpenVibe.Codes, roadmap Wave 20): an app release as the platform knows it. The app is a Network developer app (ADR-014): its id is the Network app id, its capabilities are only a request (the grants in Network are the authority), and trust tiers are metadata that never change a grant check. OpenVibe.Codes validates with this schema, loaded into openvibe-contracts' validator, until Contracts publishes it as codes.app-manifest@1.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes | The Network app id (its client\_id). Its principal subject is app:<id>. | - `pattern ^app_[0-9A-HJKMNP-TV-Z]{26}$` |
| `name` | string | yes |  | - `minLength 1`<br>- `maxLength 80` |
| `version` | string | yes | Semantic version of this release. | - `pattern ^(0\|[1-9][0-9]*)\.(0\|[1-9][0-9]*)\.(0\|[1-9][0-9]*)(-[0-9A-Za-z.-]+)?$` |
| `description` | string |  |  | - `maxLength 1000` |
| `publisher` | [identity.subject-ref](/docs/contracts/identity.subject-ref) | yes | Who publishes the release: the app itself or a member of its project. |  |
| `project_id` | string | yes | The Network project that owns the app. Tenancy in other services is keyed by it (ADR-014). | - `pattern ^prj_[0-9A-HJKMNP-TV-Z]{26}$` |
| `environment` | enum |  | The app's environment. Apps never change environment. | - `one of "sandbox", "production"` |
| `capabilities` | array of string | yes | Capability ids the app asks for (3+ segments). Only active public (or partner, by staff allowance) capabilities can ever be granted to apps. | - `maxItems 64`<br>- `unique items`<br>- `items: pattern ^[a-z][a-z0-9_]*(\.[a-z0-9_]+){2,}$` |
| `events` | object |  |  | - `no other fields` |
| `events.consumes` | array of string |  | Event types (or a trailing .\* family) the app subscribes to. | - `maxItems 64`<br>- `unique items`<br>- `items: pattern ^[a-z][a-z0-9_]*(\.[a-z0-9_]+)*(\.\*)?$` |
| `redirect_uris` | array of string |  | Informational copy of the redirect URIs registered in Network (Network's list is the authority). | - `maxItems 10`<br>- `unique items`<br>- `items: maxLength 500` |
| `homepage` | string |  |  | - `pattern ^https://[^\s]{1,2000}$` |
| `repository` | string |  |  | - `pattern ^https://[^\s]{1,2000}$` |
| `license` | string |  | SPDX license expression. | - `minLength 1`<br>- `maxLength 100` |
| `compatibility` | object | yes |  | - `no other fields` |
| `compatibility.contracts` | string | yes | Semver range of openvibe-contracts releases it was built against. | - `minLength 1`<br>- `maxLength 100` |
| `compatibility.sdk` | string |  | Semver range of openvibe-sdk releases it uses. | - `minLength 1`<br>- `maxLength 100` |

## Examples

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

 Valid: starter

~~~~
{
  "id": "app_01JABCDEFGHJKMNPQRSTVWXYZ0",
  "name": "My app",
  "version": "0.1.0",
  "publisher": {
    "type": "app",
    "id": "app_01JABCDEFGHJKMNPQRSTVWXYZ0"
  },
  "project_id": "prj_01JABCDEFGHJKMNPQRSTVWXYZ0",
  "environment": "sandbox",
  "capabilities": [],
  "compatibility": {
    "contracts": "^0.26.0",
    "sdk": "^0.2.2"
  }
}
~~~~

Rejected: bad-id

~~~~
{
  "id": "app_lowercase",
  "name": "My app",
  "version": "0.1.0",
  "publisher": {
    "type": "app",
    "id": "app_01JABCDEFGHJKMNPQRSTVWXYZ0"
  },
  "project_id": "prj_01JABCDEFGHJKMNPQRSTVWXYZ0",
  "environment": "sandbox",
  "capabilities": [],
  "compatibility": {
    "contracts": "^0.26.0",
    "sdk": "^0.2.2"
  }
}
~~~~

Rejected: no-contracts-range

~~~~
{
  "id": "app_01JABCDEFGHJKMNPQRSTVWXYZ0",
  "name": "My app",
  "version": "0.1.0",
  "publisher": {
    "type": "app",
    "id": "app_01JABCDEFGHJKMNPQRSTVWXYZ0"
  },
  "project_id": "prj_01JABCDEFGHJKMNPQRSTVWXYZ0",
  "environment": "sandbox",
  "capabilities": [],
  "compatibility": {}
}
~~~~

## Validate

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