---
title: "inventory.store@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/inventory.store"
updated: null
---

# inventory.store@1 · OpenVibe.Services

HTML: [inventory.store@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/inventory.store)

# InventoryStore `inventory.store@1`

Generated at 2026-11-13 06:25:48 UTC from [`openvibe-contracts v0.419.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.419.0) and [`openvibe-sdk v0.161.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.161.0).

- Version: 1.0.0
- Owner: inventory
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/inventory/store.v1.json`](/docs/contracts/inventory.store.json)

Universal wallet: inventory.store. Personal bearer reads and purchases; server-side reviewed prices.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `items` | array of object | yes |  | - `maxItems 200`<br>- `items: no other fields` |
| `items[].id` | string | yes |  | - `pattern ^itd_[0-9A-HJKMNP-TV-Z]{26}$` |
| `items[].name` | string | yes |  |  |
| `items[].description` | string | yes |  |  |
| `items[].issuer` | string | yes |  |  |
| `items[].prices` | object | yes |  | - `no other fields` |
| `items[].prices.vibes` | integer |  |  | - `minimum 1`<br>- `maximum 9007199254740991` |
| `items[].prices.coins` | integer |  |  | - `minimum 1`<br>- `maximum 9007199254740991` |
| `items[].preview` | object | yes |  | - `no other fields` |
| `items[].preview.emoji` | string |  |  | - `maxLength 64` |
| `items[].preview.token` | string |  |  | - `maxLength 120` |
| `items[].preview.media_id` | string |  |  | - `pattern ^med_[0-9A-HJKMNP-TV-Z]{26}$` |
| `items[].kind` | string | yes |  |  |
| `items[].slots` | array of string | yes |  |  |
| `items[].surfaces` | array of object | yes |  | - `items: no other fields` |
| `items[].surfaces[].surface` | string | yes |  |  |
| `items[].surfaces[].renderer` | string |  |  |  |
| `items[].owned` | boolean | yes |  |  |
| `items[].available` | boolean | yes |  |  |

## Examples

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

 Valid: example

~~~~
{
  "items": [
    {
      "id": "itd_00000000000000000000000001",
      "name": "Rainbow",
      "description": "Name effect",
      "issuer": "service:live",
      "prices": {
        "vibes": 50,
        "coins": 250
      },
      "preview": {
        "token": "name-fx-rainbow"
      },
      "kind": "live.name_effect",
      "slots": [
        "name_effect"
      ],
      "surfaces": [
        {
          "surface": "chat",
          "renderer": "live.name_effect.css@1"
        }
      ],
      "owned": false,
      "available": true
    }
  ]
}
~~~~

Rejected: missing

~~~~
{}
~~~~

## Validate

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