# org.dotpostcard.collection

> A collection of postcards: a title and an ordered list of references to org.dotpostcard.postcard records.

- Kind: record
- Record key: any
- Authority: dotpostcard.org
- Lexicon: 1
- Published by [dotpostcard.org](https://lexicon.garden/identity/did:web:dotpostcard.org), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:web:dotpostcard.org/org.dotpostcard.collection)
- [Schema JSON](https://lexicon.garden/lexicon/did:web:dotpostcard.org/org.dotpostcard.collection/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:web:dotpostcard.org/org.dotpostcard.collection/analytics)

## Record (`org.dotpostcard.collection`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required): When the collection was first published.
- `postcards` (array, required): The collection's postcards, in order. Each reference points at an org.dotpostcard.postcard record.
  - `items` (ref)
    - Reference: `com.atproto.repo.strongRef`
- `title` (string, required): The collection's human-readable name.
  - Constraints: maxLength: 3000, maxGraphemes: 300

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A collection of postcards: a title and an ordered list of references to org.dotpostcard.postcard records.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the collection was first published.",
            "format": "datetime",
            "type": "string"
          },
          "postcards": {
            "description": "The collection's postcards, in order. Each reference points at an org.dotpostcard.postcard record.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "type": "array"
          },
          "title": {
            "description": "The collection's human-readable name.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          }
        },
        "required": [
          "title",
          "postcards",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A titled, ordered group of postcards.",
  "id": "org.dotpostcard.collection",
  "lexicon": 1
}
```
