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

# wiki.citation@1 · OpenVibe.Services

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

# WikiCitation `wiki.citation@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: wiki
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/wiki/citation.v1.json`](/docs/contracts/wiki.citation.json)

wiki.citation@1: one source cited by a page revision (server/http/api.js serializeCitation), a URL read at a time or a OpenVibe.Sources item, with an optional quote and licence note. Citations of a published revision are fixed.

## Fields

| Field | Type | Required | Description | Constraints |
| --- | --- | --- | --- | --- |
| `id` | string \| integer | yes |  |  |
| `revision` | integer | yes |  |  |
| `url` | string \| null |  |  |  |
| `title` | string \| null |  |  |  |
| `source_item_id` | string \| null |  |  |  |
| `retrieved_at` | string \| integer \| null |  |  |  |
| `quote` | any |  |  |  |
| `license_note` | string \| null |  |  |  |
| `carried_from` | any |  |  |  |
| `attached_by` | string \| null |  |  |  |
| `attached_at` | string \| integer \| null |  |  |  |

## Examples

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

 Valid: url

~~~~
{
  "id": 71,
  "revision": 3,
  "url": "https://docs.example.com/rtmp",
  "title": "RTMP spec",
  "source_item_id": null,
  "retrieved_at": "2026-09-24T09:00:00.000Z",
  "quote": null,
  "license_note": null,
  "carried_from": null,
  "attached_by": "usr_01JAB2C3D4E5F6G7H8J9K0MNPQ",
  "attached_at": "2026-09-24T10:00:00.000Z"
}
~~~~

Rejected: no-revision

~~~~
{
  "id": 1
}
~~~~

## Validate

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