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

# share.you@1 · OpenVibe.Services

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

# ShareYou `share.you@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/you.v1.json`](/docs/contracts/share.you.json)

share.you@1: who the caller is on this resource, as the sheet needs it. Owner or trusted staff; never a client-supplied value.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `subject` | [identity.subject-ref](/docs/contracts/identity.subject-ref) | yes |  |  |
| `role` | enum | yes |  | - `one of "owner", "staff"` |

## Examples

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

 Valid: owner

~~~~
{
  "subject": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "role": "owner"
}
~~~~

Rejected: role

~~~~
{
  "subject": {
    "type": "user",
    "id": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ"
  },
  "role": "admin"
}
~~~~

## Validate

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