# online.witchzfy.screens.frame

> A single frame extracted from a TV show, published alongside disseminated posts on external services.

- Kind: record
- Record key: tid
- Authority: screens.witchzfy.online
- Lexicon: 1
- Published by [witchzfy.online](https://lexicon.garden/identity/did:plc:qdzngsk72vcfytwvuhbm7z6g), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qdzngsk72vcfytwvuhbm7z6g/online.witchzfy.screens.frame)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qdzngsk72vcfytwvuhbm7z6g/online.witchzfy.screens.frame/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qdzngsk72vcfytwvuhbm7z6g/online.witchzfy.screens.frame/analytics)

## Record (`online.witchzfy.screens.frame`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required): Timestamp the frame was published.
- `episode` (integer, required): Episode number within the season. 1-indexed.
  - Constraints: minimum: 1, maximum: 256
- `externalRecords` (array, required): Records on external services or other ATProto collections that disseminate this frame.
  - `items` (ref)
    - Reference: `#externalRecord`
- `frame` (integer, required): Index of the frame within the episode video file.
  - Constraints: minimum: 0, maximum: 8388608
- `frameRate` (string, required): Frame rate of the source video, probably as a rational number string (e.g. '24000/1001'). Combine with `frame` to derive the time offset.
  - Constraints: minLength: 1, maxLength: 128
- `image` (blob, required): Image render of the frame.
  - Constraints: maxSize: 10485760, accept: image/*
- `resolution` (ref, required): Pixel dimensions of `image`.
  - Reference: `#resolution`
- `season` (integer, required): Season number. 1-indexed.
  - Constraints: minimum: 1, maximum: 256
- `subtitle` (string): Subtitle text active at this frame, if any. Not all frames have subtitles.
  - Constraints: maxLength: 1024

## #externalRecord (`online.witchzfy.screens.frame#externalRecord`)

Type: object

### Properties

- `collection` (string, required): Identifier of the collection the record belongs to.
  - Constraints: minLength: 1, maxLength: 256
- `ref` (ref, required): Strong reference to the ATProto record.
  - Reference: `com.atproto.repo.strongRef`

## #resolution (`online.witchzfy.screens.frame#resolution`)

Type: object

### Properties

- `height` (integer, required)
  - Constraints: minimum: 1
- `width` (integer, required)
  - Constraints: minimum: 1

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "externalRecord": {
      "properties": {
        "collection": {
          "description": "Identifier of the collection the record belongs to.",
          "maxLength": 256,
          "minLength": 1,
          "type": "string"
        },
        "ref": {
          "description": "Strong reference to the ATProto record.",
          "ref": "com.atproto.repo.strongRef",
          "type": "ref"
        }
      },
      "required": [
        "collection",
        "ref"
      ],
      "type": "object"
    },
    "main": {
      "description": "A single frame extracted from a TV show, published alongside disseminated posts on external services.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Timestamp the frame was published.",
            "format": "datetime",
            "type": "string"
          },
          "episode": {
            "description": "Episode number within the season. 1-indexed.",
            "maximum": 256,
            "minimum": 1,
            "type": "integer"
          },
          "externalRecords": {
            "description": "Records on external services or other ATProto collections that disseminate this frame.",
            "items": {
              "ref": "#externalRecord",
              "type": "ref"
            },
            "type": "array"
          },
          "frame": {
            "description": "Index of the frame within the episode video file.",
            "maximum": 8388608,
            "minimum": 0,
            "type": "integer"
          },
          "frameRate": {
            "description": "Frame rate of the source video, probably as a rational number string (e.g. '24000/1001'). Combine with `frame` to derive the time offset.",
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "image": {
            "accept": [
              "image/*"
            ],
            "description": "Image render of the frame.",
            "maxSize": 10485760,
            "type": "blob"
          },
          "resolution": {
            "description": "Pixel dimensions of `image`.",
            "ref": "#resolution",
            "type": "ref"
          },
          "season": {
            "description": "Season number. 1-indexed.",
            "maximum": 256,
            "minimum": 1,
            "type": "integer"
          },
          "subtitle": {
            "description": "Subtitle text active at this frame, if any. Not all frames have subtitles.",
            "maxLength": 1024,
            "type": "string"
          }
        },
        "required": [
          "episode",
          "externalRecords",
          "frame",
          "frameRate",
          "image",
          "resolution",
          "season",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "resolution": {
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "height",
        "width"
      ],
      "type": "object"
    }
  },
  "description": "Information about a single frame extracted from a TV show.",
  "id": "online.witchzfy.screens.frame",
  "lexicon": 1
}
```
