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

# platform.placement-result@1 · OpenVibe.Services

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

# PlacementResult `platform.placement-result@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: first-party
- Status: active
- Compatibility: backward
- Decision: [ADR-034](/docs/adr/ADR-034)
- Schema: [`https://openvibe.network/contracts/platform/placement-result.v1.json`](/docs/contracts/platform.placement-result.json)

Where a workload was (or would be) placed and why: the chosen candidate, the reasons, and every candidate with its eligibility, estimated cost and latency (POST /api/v1/placement/explain; roadmap WS-Z9).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `selected` | string \| null | yes | The id of the chosen candidate, or null when none qualified — every candidate was ineligible or none was offered — in which case \`reasons\` says why. openvibe-sdk/placement plan() returns null on the same condition. |  |
| `objective` | enum | yes |  | - `one of "cheapest", "lowest-latency", "balanced", "private", "local-only", "first-party-only", "high-reliability", "correctness"` |
| `reasons` | array of string |  |  |  |
| `candidates` | array of object | yes |  | - `items: no other fields` |
| `candidates[].id` | string | yes |  |  |
| `candidates[].eligible` | boolean | yes |  |  |
| `candidates[].excluded_because` | string |  |  |  |
| `candidates[].estimated_cost_usd` | number |  |  | - `minimum 0` |
| `candidates[].estimated_latency_ms` | number |  |  | - `minimum 0` |
| `candidates[].score` | number |  |  |  |
| `candidates[].reasons` | array of string |  |  |  |
| `plan_epoch` | integer |  |  | - `minimum 0` |
| `decided_at` | string | yes |  | - `format date-time` |

## Examples

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

 Valid: explained

~~~~
{
  "selected": "off_oregon_1",
  "objective": "balanced",
  "reasons": [
    "meets the latency target",
    "already-paid capacity available",
    "estimated marginal cost 0"
  ],
  "candidates": [
    {
      "id": "off_oregon_1",
      "eligible": true,
      "estimated_cost_usd": 0,
      "estimated_latency_ms": 31,
      "score": 0.041
    },
    {
      "id": "off_community_331",
      "eligible": false,
      "excluded_because": "workload requires first-party trust"
    }
  ],
  "plan_epoch": 42,
  "decided_at": "2026-09-28T23:00:00Z"
}
~~~~

Valid: none

~~~~
{
  "selected": null,
  "objective": "balanced",
  "candidates": [],
  "decided_at": "2026-10-05T00:00:00Z"
}
~~~~

Rejected: no-candidates

~~~~
{
  "selected": "a",
  "objective": "balanced",
  "decided_at": "2026-09-28T23:00:00Z"
}
~~~~

## Validate

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