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

# games.script-storage-result@1 · OpenVibe.Services

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

# GamesScriptStorageResult `games.script-storage-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: games
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/games/script-storage-result.v1.json`](/docs/contracts/games.script-storage-result.json)

games.script-storage-result@1: a stored value (null when absent), the keys under a prefix, or an acknowledgement of a set or delete.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `value` | any |  |  |  |
| `keys` | array of string |  |  |  |
| `ok` | boolean |  |  |  |

## Examples

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

 Valid: keys

~~~~
{
  "keys": [
    "score:a",
    "score:b"
  ]
}
~~~~

Valid: value

~~~~
{
  "value": 3
}
~~~~

Rejected: extra

~~~~
{
  "value": 1,
  "other": true
}
~~~~

## Validate

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