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

# community.paste.updated@1 · OpenVibe.Services

HTML: [community.paste.updated@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/community.paste.updated)

# CommunityPasteUpdatedPayload `community.paste.updated@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: community
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/events/payloads/community.paste.updated.v1.json`](/docs/contracts/community.paste.updated.json)

community.paste.updated v1 (OpenVibe.Community server/events.js, queued in the transaction of the change). A paste changed: its title, content or language (a new revision), or its visibility, NSFW flag or pin. Names what changed, never the values of text fields. Envelope: subject { type: paste, id }, visibility public when the item is public else internal, priority low, actor the person or service:community.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `paste_id` | string | yes |  | - `pattern ^[a-z0-9-]{3,64}$` |
| `changed` | array of enum | yes |  | - `minItems 1`<br>- `unique items`<br>- `items: one of "title", "content", "language", "visibility", "is_nsfw", "pinned"` |
| `visibility` | enum | yes |  | - `one of "public", "unlisted", "private", "hidden", "deleted"` |
| `revision` | integer | yes |  | - `minimum 1` |
| `url` | string \| null | yes | The public page, or null when the item is not public. | - `maxLength 500` |

## Examples

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

 Valid: example

~~~~
{
  "paste_id": "amber-fox-42",
  "changed": [
    "visibility"
  ],
  "visibility": "unlisted",
  "revision": 1,
  "url": null
}
~~~~

Rejected: carries-content

~~~~
{
  "paste_id": "amber-fox-42",
  "changed": [
    "visibility"
  ],
  "visibility": "unlisted",
  "revision": 1,
  "url": null,
  "body": "the content never travels"
}
~~~~

## Validate

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