# pub.chive.review.endorsement

> 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.review.endorsement)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.review.endorsement/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7natp5xae72bddaqlkef2t4e/pub.chive.review.endorsement/examples)

## Definitions

### `pub.chive.review.endorsement`

**Type**: `record`

Endorsement of one or more contribution types in a preprint

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `comment` | `string` | No | Optional comment explaining the endorsement |
| `createdAt` | `string` (datetime) | Yes |  |
| `eprintUri` | `string` (at-uri) | Yes | AT-URI of the eprint being endorsed |
| `contributions` | `array` | Yes | Set of contribution types being endorsed (min 1, no duplicates) |
| `schemaRevision` | `integer` | No | Schema revision this record was created with. Absent means revision 1. |

## Raw Schema

```json
{
  "id": "pub.chive.review.endorsement",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "eprintUri",
          "contributions",
          "createdAt"
        ],
        "properties": {
          "comment": {
            "type": "string",
            "maxLength": 5000,
            "description": "Optional comment explaining the endorsement"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "eprintUri": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the eprint being endorsed"
          },
          "contributions": {
            "type": "array",
            "items": {
              "type": "string",
              "knownValues": [
                "methodological",
                "analytical",
                "theoretical",
                "empirical",
                "conceptual",
                "technical",
                "data",
                "replication",
                "reproducibility",
                "synthesis",
                "interdisciplinary",
                "pedagogical",
                "visualization",
                "societal-impact",
                "clinical"
              ]
            },
            "maxLength": 15,
            "minLength": 1,
            "description": "Set of contribution types being endorsed (min 1, no duplicates)"
          },
          "schemaRevision": {
            "type": "integer",
            "minimum": 1,
            "description": "Schema revision this record was created with. Absent means revision 1."
          }
        }
      },
      "description": "Endorsement of one or more contribution types in a preprint"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
