# social.popfeed.club.selection

> Authority-curated film or book selection. selectedBy identifies the member who chose it.

- Kind: record
- Record key: any
- Authority: club.popfeed.social
- Lexicon: 1
- Published by [popfeed.social](https://lexicon.garden/identity/did:plc:i6k6scfcdaup4e2va33nkprb), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:i6k6scfcdaup4e2va33nkprb/social.popfeed.club.selection)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:i6k6scfcdaup4e2va33nkprb/social.popfeed.club.selection/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:i6k6scfcdaup4e2va33nkprb/social.popfeed.club.selection/analytics)

## Record (`social.popfeed.club.selection`)

Type: record · key any

### Properties

- `createdAt` (string · datetime, required)
- `deadline` (string · datetime)
- `discussion` (string)
  - Constraints: maxLength: 1000
- `endedAt` (string · datetime): When an organizer ended the selection early.
- `media` (object, required)
- `nomination` (string · uri): The winning nomination, including the organizer’s choice among tied leaders.
- `poll` (string · uri): The authority-owned poll that chose this selection.
- `removedAt` (string · datetime): Removal marker; keeps older selections from becoming current again.
- `selectedBy` (string · did, required)

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "deadline": {
            "format": "datetime",
            "type": "string"
          },
          "discussion": {
            "maxLength": 1000,
            "type": "string"
          },
          "endedAt": {
            "description": "When an organizer ended the selection early.",
            "format": "datetime",
            "type": "string"
          },
          "media": {
            "properties": {
              "creativeWorkType": {
                "enum": [
                  "movie",
                  "book"
                ],
                "type": "string"
              },
              "credit": {
                "maxLength": 200,
                "type": "string"
              },
              "isbn": {
                "maxLength": 30,
                "type": "string"
              },
              "openLibraryId": {
                "maxLength": 100,
                "type": "string"
              },
              "posterUrl": {
                "format": "uri",
                "type": "string"
              },
              "title": {
                "maxLength": 500,
                "minLength": 1,
                "type": "string"
              },
              "tmdbId": {
                "maxLength": 30,
                "type": "string"
              },
              "year": {
                "maxLength": 4,
                "type": "string"
              }
            },
            "required": [
              "creativeWorkType",
              "title"
            ],
            "type": "object"
          },
          "nomination": {
            "description": "The winning nomination, including the organizer’s choice among tied leaders.",
            "format": "uri",
            "type": "string"
          },
          "poll": {
            "description": "The authority-owned poll that chose this selection.",
            "format": "uri",
            "type": "string"
          },
          "removedAt": {
            "description": "Removal marker; keeps older selections from becoming current again.",
            "format": "datetime",
            "type": "string"
          },
          "selectedBy": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "media",
          "selectedBy",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Authority-curated film or book selection. selectedBy identifies the member who chose it.",
  "id": "social.popfeed.club.selection",
  "lexicon": 1
}
```
