# pub.chive.eprint.version

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

## Definitions

### `pub.chive.eprint.version`

**Type**: `record`

Eprint version metadata

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `changes` | `string` | Yes | Changelog describing changes |
| `createdAt` | `string` (datetime) | Yes |  |
| `eprintUri` | `string` (at-uri) | Yes | URI of eprint record |
| `versionNumber` | `integer` | Yes |  |
| `schemaRevision` | `integer` | No | Schema revision this record was created with. Absent means revision 1. |
| `previousVersionUri` | `string` (at-uri) | No |  |

## Raw Schema

```json
{
  "id": "pub.chive.eprint.version",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "eprintUri",
          "versionNumber",
          "changes",
          "createdAt"
        ],
        "properties": {
          "changes": {
            "type": "string",
            "maxLength": 2000,
            "description": "Changelog describing changes"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "eprintUri": {
            "type": "string",
            "format": "at-uri",
            "description": "URI of eprint record"
          },
          "versionNumber": {
            "type": "integer",
            "minimum": 1
          },
          "schemaRevision": {
            "type": "integer",
            "minimum": 1,
            "description": "Schema revision this record was created with. Absent means revision 1."
          },
          "previousVersionUri": {
            "type": "string",
            "format": "at-uri"
          }
        }
      },
      "description": "Eprint version metadata"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "revision": 1
}
```
