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

# platform.storage-offer@1 · OpenVibe.Services

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

# StorageOffer `platform.storage-offer@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/storage-offer.v1.json`](/docs/contracts/platform.storage-offer.json)

Durable storage capacity and operation pricing (T1 Universal Fabric; ADR-034 proposed).

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string | yes |  |  |
| `class` | enum | yes |  | - `one of "hot", "warm", "cold"` |
| `capacity_gb` | number | yes |  | - `minimum 0` |
| `price_per_gb_month_usd` | number | yes | Estimated USD | - `minimum 0` |
| `price_per_operation_usd` | number | yes | Estimated USD | - `minimum 0` |
| `region` | string | yes |  |  |
| `node` | string | yes |  |  |
| `durability` | object | yes |  | - `no other fields` |
| `durability.replicas` | integer | yes |  | - `minimum 0` |
| `durability.target_nines` | number |  | Advertised durability nines | - `minimum 0` |
| `lifecycle_rules` | array of object | yes |  | - `items: no other fields` |
| `lifecycle_rules[].after_days` | integer | yes |  | - `minimum 0` |
| `lifecycle_rules[].action` | enum | yes |  | - `one of "transition", "expire"` |
| `lifecycle_rules[].target_class` | enum |  |  | - `one of "hot", "warm", "cold"` |

## Examples

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

 Valid: example

~~~~
{
  "id": "storage-1",
  "class": "warm",
  "capacity_gb": 1000,
  "price_per_gb_month_usd": 0.02,
  "price_per_operation_usd": 0.00001,
  "region": "us-west",
  "node": "node-1",
  "durability": {
    "replicas": 3,
    "target_nines": 9
  },
  "lifecycle_rules": [
    {
      "after_days": 90,
      "action": "transition",
      "target_class": "cold"
    }
  ]
}
~~~~

Rejected: missing-id

~~~~
{
  "class": "warm",
  "capacity_gb": 1000,
  "price_per_gb_month_usd": 0.02,
  "price_per_operation_usd": 0.00001,
  "region": "us-west",
  "node": "node-1",
  "durability": {
    "replicas": 3,
    "target_nines": 9
  },
  "lifecycle_rules": [
    {
      "after_days": 90,
      "action": "transition",
      "target_class": "cold"
    }
  ]
}
~~~~

## Validate

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