---
title: "platform.runtime-class@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/platform.runtime-class"
updated: null
---

# platform.runtime-class@1 · OpenVibe.Services

HTML: [platform.runtime-class@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/platform.runtime-class)

# RuntimeClass `platform.runtime-class@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: network
- Visibility: public
- Status: active
- Compatibility: backward
- Decision: [ADR-034](/docs/adr/ADR-034)
- Schema: [`https://openvibe.network/contracts/platform/runtime-class.v1.json`](/docs/contracts/platform.runtime-class.json)

platform.runtime-class@1: the kind of execution environment a platform.job@1 asks for (plan T14 Run; ADR-034 proposed). A name only: this contract defines no behavior, and a worker runs only the classes it advertises and refuses every other one (\`nack\`). \`function\` is the first class implemented (OpenVibe Link's function worker); the others are reserved names. Each class names one reserved Fabric capability in platform.resource-offer@1.capabilities — \`worker:\` + the class (worker:function, worker:code, worker:browser, worker:linux, worker:desktop, worker:gpu) — and a node advertises the name of each class it runs.

## Fields

This schema has no named fields.

## Examples

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

 Valid: browser

~~~~
"browser"
~~~~

Valid: code

~~~~
"code"
~~~~

Valid: desktop

~~~~
"desktop"
~~~~

Valid: function

~~~~
"function"
~~~~

Valid: gpu

~~~~
"gpu"
~~~~

Valid: linux

~~~~
"linux"
~~~~

Rejected: unknown-class

~~~~
"container"
~~~~

Rejected: upper-case

~~~~
"Function"
~~~~

## Validate

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