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

# inventory.item.revoked@1 · OpenVibe.Services

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

# InventoryItemRevokedPayload `inventory.item.revoked@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: inventory
- Visibility: first-party
- Status: active
- Compatibility: backward
- Decision: [ADR-054](/docs/adr/ADR-054)
- Schema: [`https://openvibe.network/contracts/events/payloads/inventory.item.revoked.v1.json`](/docs/contracts/inventory.item.revoked.json)

inventory.item.revoked v1 (OpenVibe.Inventory, ADR-054). An issuer or staff revoked an instance (granted in error, abuse). Envelope: subject { type: user, id: owner }, visibility subject.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `instance_id` | string | yes |  | - `pattern ^inv_[0-9A-HJKMNP-TV-Z]{26}$` |
| `definition_id` | string | yes |  | - `pattern ^itd_[0-9A-HJKMNP-TV-Z]{26}$` |
| `owner` | string | yes |  | - `pattern ^usr_[0-9A-HJKMNP-TV-Z]{26}$` |
| `reason` | string | yes |  | - `minLength 1`<br>- `maxLength 200` |

## Examples

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

 Valid: example

~~~~
{
  "instance_id": "inv_01JZ00000000000000000001NV",
  "definition_id": "itd_01JZ00000000000000000001TD",
  "owner": "usr_01JZ0000000000000000000AAA",
  "reason": "granted twice by mistake"
}
~~~~

Rejected: missing-field

~~~~
{
  "definition_id": "itd_01JZ00000000000000000001TD",
  "owner": "usr_01JZ0000000000000000000AAA",
  "reason": "granted twice by mistake"
}
~~~~

## Validate

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