# pub.chive.eprint.relatedWork

> Published by [chive.pub](https://lexicon.garden/identity/did:plc:7natp5xae72bddaqlkef2t4e)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.eprint.relatedWork)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.eprint.relatedWork/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.eprint.relatedWork/examples)

## Definitions

### `pub.chive.eprint.relatedWork`

**Type**: `record`

User-curated related paper link between eprints

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `eprintUri` | `string` (at-uri) | Yes | AT-URI of the source eprint |
| `relatedUri` | `string` (at-uri) | Yes | AT-URI of the related eprint |
| `description` | `string` | No | Description of how the eprints are related |
| `relationType` | `string` | Yes | Type of relationship between the two eprints |
| `schemaRevision` | `integer` | No | Schema revision this record was created with. Absent means revision 1. |

## Raw Schema

```json
{
  "id": "pub.chive.eprint.relatedWork",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "eprintUri",
          "relatedUri",
          "relationType",
          "createdAt"
        ],
        "properties": {
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "eprintUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the source eprint"
          },
          "relatedUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the related eprint"
          },
          "description": {
            "type": "string",
            "maxLength": 500,
            "description": "Description of how the eprints are related"
          },
          "relationType": {
            "type": "string",
            "description": "Type of relationship between the two eprints",
            "knownValues": [
              "related",
              "extends",
              "replicates",
              "contradicts",
              "reviews",
              "is-supplement-to"
            ]
          },
          "schemaRevision": {
            "type": "integer",
            "minimum": 1,
            "description": "Schema revision this record was created with. Absent means revision 1."
          }
        }
      },
      "description": "User-curated related paper link between eprints"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
