# click.croft.inkwell.collection

> Published by [ewancroft.uk](https://lexicon.garden/identity/did:plc:ofrbh253gwicbkc5nktqepol)

## Description

A curated collection of poems — a chapbook, sequence, or anthology. Stored as a standalone record in the poet's PDS repository.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ofrbh253gwicbkc5nktqepol/click.croft.inkwell.collection)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ofrbh253gwicbkc5nktqepol/click.croft.inkwell.collection/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ofrbh253gwicbkc5nktqepol/click.croft.inkwell.collection/examples)

## Definitions

### `click.croft.inkwell.collection`

**Type**: `record`

A named, ordered collection of `site.standard.document` poem records.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `poems` | `array` | No | Ordered list of AT URIs pointing to `site.standard.document` records that comprise this collection. The order is the canonical reading order. |
| `title` | `string` | Yes | Title of the collection. |
| `createdAt` | `string` (datetime) | Yes | Timestamp of when this collection was first created. |
| `updatedAt` | `string` (datetime) | No | Timestamp of the most recent edit to this collection. |
| `coverImage` | `blob` | No | Cover image for the collection. Should be ≤1 MB. |
| `description` | `string` | No | An introduction, note, or blurb for the collection. |
| `publication` | `string` (at-uri) | No | Optional AT URI of the `site.standard.publication` record this collection belongs to. |

## Raw Schema

```json
{
  "id": "click.croft.inkwell.collection",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "title",
          "createdAt"
        ],
        "properties": {
          "poems": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxLength": 2000,
            "description": "Ordered list of AT URIs pointing to `site.standard.document` records that comprise this collection. The order is the canonical reading order."
          },
          "title": {
            "type": "string",
            "maxLength": 5000,
            "description": "Title of the collection.",
            "maxGraphemes": 500
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of when this collection was first created."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of the most recent edit to this collection."
          },
          "coverImage": {
            "type": "blob",
            "accept": [
              "image/jpeg",
              "image/png",
              "image/webp"
            ],
            "maxSize": 1000000,
            "description": "Cover image for the collection. Should be ≤1 MB."
          },
          "description": {
            "type": "string",
            "maxLength": 30000,
            "description": "An introduction, note, or blurb for the collection.",
            "maxGraphemes": 3000
          },
          "publication": {
            "type": "string",
            "format": "at-uri",
            "description": "Optional AT URI of the `site.standard.publication` record this collection belongs to."
          }
        }
      },
      "description": "A named, ordered collection of `site.standard.document` poem records."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A curated collection of poems — a chapbook, sequence, or anthology. Stored as a standalone record in the poet's PDS repository."
}
```
