# app.witchsky.theme.collectionitem

> Published by [witchsky.app](https://lexicon.garden/identity/did:plc:nstiflhvn4dywu5xlwq5wp4v)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:nstiflhvn4dywu5xlwq5wp4v/app.witchsky.theme.collectionitem)
- [Documentation](https://lexicon.garden/lexicon/did:plc:nstiflhvn4dywu5xlwq5wp4v/app.witchsky.theme.collectionitem/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:nstiflhvn4dywu5xlwq5wp4v/app.witchsky.theme.collectionitem/examples)

## Definitions

### `app.witchsky.theme.collectionitem`

**Type**: `record`

Record representing a theme's inclusion in a specific theme collection. Consumers should ignore duplicate items.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subject` | `ref` → `com.atproto.repo.strongRef` | Yes | Reference to the theme included in the collection. |
| `createdAt` | `string` (datetime) | Yes |  |
| `collection` | `string` (at-uri) | Yes | Reference to the app.witchsky.theme.collection record. |

## Raw Schema

```json
{
  "id": "app.witchsky.theme.collectionitem",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "collection",
          "createdAt"
        ],
        "properties": {
          "subject": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Reference to the theme included in the collection."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "collection": {
            "type": "string",
            "format": "at-uri",
            "description": "Reference to the app.witchsky.theme.collection record."
          }
        }
      },
      "description": "Record representing a theme's inclusion in a specific theme collection. Consumers should ignore duplicate items."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
