---
title: "share.resource-ref@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/share.resource-ref"
updated: null
---

# share.resource-ref@1 · OpenVibe.Services

HTML: [share.resource-ref@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/share.resource-ref)

# ShareResourceRef `share.resource-ref@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: network
- Visibility: public
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/share/resource-ref.v1.json`](/docs/contracts/share.resource-ref.json)

share.resource-ref@1: network-wide sharing. Ids only; no resource title or content. Members apply to people audience; pending recipients may preview for seven days.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `service` | string | yes |  | - `pattern ^[a-z][a-z0-9-]{1,39}$` |
| `kind` | string | yes |  | - `pattern ^[a-z][a-z0-9_-]{0,63}$` |
| `id` | string | yes |  | - `minLength 1`<br>- `maxLength 200` |

## Examples

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

 Valid: example

~~~~
{
  "service": "community",
  "kind": "paste",
  "id": "abc"
}
~~~~

Rejected: unknown-field

~~~~
{
  "service": "community",
  "kind": "paste",
  "id": "abc",
  "title": "must never appear"
}
~~~~

## Validate

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