# to.atpota.poe.scene

> One of the full-screen screens of Poe's stream overlay (atpota.to/overlay?scene=<record key>): a countdown before a stream, a be-right-back screen, an end screen, or a frame for sharing a screen with a camera. A streamer can keep as many as they like, one record each; the record key is the screen's id in its URL (lowercase letters, digits and dashes). The ones a streamer starts with are keyed by their kind: "starting", "brb", "ending", "screenshare", "loading" and "clock". The overlay reads it from your repo and follows changes live.

- Kind: record
- Record key: any
- Authority: poe.atpota.to
- Lexicon: 1
- Published by [atpota.to](https://lexicon.garden/identity/did:plc:qntsxa2i4sb24noi45fx4np2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.poe.scene)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.poe.scene/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.poe.scene/analytics)

## Record (`to.atpota.poe.scene`)

Type: record · key any

### Properties

- `background` (string): The sky behind it all (the screen share's frame colour).
  - Constraints: knownValues: day | night | garden | butter
- `camera` (ref)
  - Reference: `#camera`
- `countdown` (ref)
  - Reference: `#countdown`
- `createdAt` (string · datetime, required)
- `frame` (ref)
  - Reference: `#frame`
- `frameWidget` (object)
- `ground` (string): What's along the bottom: a meadow hill with flowers, a strip of grass, soil with sprouts, or nothing.
  - Constraints: knownValues: meadow | grass | soil | none
- `kind` (string): Which sort of screen it is (loading: Anisota's loading screen, its brand mark with the moon running through its phases, on black; clock: a waiting screen with the time ticking as an atproto TID). Without it, the record key's kind, or starting.
  - Constraints: knownValues: starting | brb | ending | screenshare | loading | clock
- `links` (array): Where to find the streamer, on the end screen ("bsky.app/profile/dame.is").
  - Constraints: maxLength: 4
  - `items` (string)
    - Constraints: maxLength: 300, maxGraphemes: 60
- `name` (string): What the streamer calls this screen ("coding brb"), on the setup page only.
  - Constraints: maxLength: 200, maxGraphemes: 40
- `showMark` (boolean): Whether the atpotato wordmark shows beside the words (on the panel, and in the screen share's bar). Without it, true.
- `showPoe` (boolean)
- `showWidgets` (boolean): Whether the weather widgets from the overlay's settings show on this scene too.
- `subtitle` (string): A line under them: what the stream is about.
  - Constraints: maxLength: 1000, maxGraphemes: 200
- `title` (string): The big words ("starting soon").
  - Constraints: maxLength: 400, maxGraphemes: 80
- `updatedAt` (string · datetime, required)

## #camera (`to.atpota.poe.scene#camera`)

Type: object

The screen share's camera window.

### Properties

- `shape` (string, required)
  - Constraints: knownValues: rounded | circle | wide
- `side` (string, required)
  - Constraints: knownValues: right | left | none

## #countdown (`to.atpota.poe.scene#countdown`)

Type: object

The starting screen's countdown: to a time, or a timer that starts when the scene is shown.

### Properties

- `at` (string · datetime): For a clock: when the stream starts.
- `minutes` (integer): For a timer.
  - Constraints: minimum: 1, maximum: 120
- `mode` (string, required)
  - Constraints: knownValues: timer | clock | none

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "camera": {
      "description": "The screen share's camera window.",
      "properties": {
        "shape": {
          "knownValues": [
            "rounded",
            "circle",
            "wide"
          ],
          "type": "string"
        },
        "side": {
          "knownValues": [
            "right",
            "left",
            "none"
          ],
          "type": "string"
        }
      },
      "required": [
        "side",
        "shape"
      ],
      "type": "object"
    },
    "countdown": {
      "description": "The starting screen's countdown: to a time, or a timer that starts when the scene is shown.",
      "properties": {
        "at": {
          "description": "For a clock: when the stream starts.",
          "format": "datetime",
          "type": "string"
        },
        "minutes": {
          "description": "For a timer.",
          "maximum": 120,
          "minimum": 1,
          "type": "integer"
        },
        "mode": {
          "knownValues": [
            "timer",
            "clock",
            "none"
          ],
          "type": "string"
        }
      },
      "required": [
        "mode"
      ],
      "type": "object"
    },
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "background": {
            "description": "The sky behind it all (the screen share's frame colour).",
            "knownValues": [
              "day",
              "night",
              "garden",
              "butter"
            ],
            "type": "string"
          },
          "camera": {
            "ref": "#camera",
            "type": "ref"
          },
          "countdown": {
            "ref": "#countdown",
            "type": "ref"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "frame": {
            "ref": "#frame",
            "type": "ref"
          },
          "frameWidget": {
            "properties": {
              "kind": {
                "description": "Which widget, as in to.atpota.poe.overlay.",
                "knownValues": [
                  "card",
                  "strip",
                  "badge",
                  "apps",
                  "forecast",
                  "pulse",
                  "moon",
                  "mark",
                  "loader",
                  "tid",
                  "flushes",
                  "status",
                  "music",
                  "chat"
                ],
                "type": "string"
              },
              "place": {
                "description": "Under the screen, or in the column beside it, under the camera.",
                "knownValues": [
                  "below",
                  "beside"
                ],
                "type": "string"
              },
              "scale": {
                "description": "How much of its tile on the frame it fills, in percent: 100 fills it.",
                "maximum": 100,
                "minimum": 50,
                "type": "integer"
              },
              "style": {
                "description": "How it looks, for a widget with styles, as in to.atpota.poe.overlay.",
                "maxLength": 32,
                "type": "string"
              }
            },
            "required": [
              "kind",
              "place"
            ],
            "type": "object"
          },
          "ground": {
            "description": "What's along the bottom: a meadow hill with flowers, a strip of grass, soil with sprouts, or nothing.",
            "knownValues": [
              "meadow",
              "grass",
              "soil",
              "none"
            ],
            "type": "string"
          },
          "kind": {
            "description": "Which sort of screen it is (loading: Anisota's loading screen, its brand mark with the moon running through its phases, on black; clock: a waiting screen with the time ticking as an atproto TID). Without it, the record key's kind, or starting.",
            "knownValues": [
              "starting",
              "brb",
              "ending",
              "screenshare",
              "loading",
              "clock"
            ],
            "type": "string"
          },
          "links": {
            "description": "Where to find the streamer, on the end screen (\"bsky.app/profile/dame.is\").",
            "items": {
              "maxGraphemes": 60,
              "maxLength": 300,
              "type": "string"
            },
            "maxLength": 4,
            "type": "array"
          },
          "name": {
            "description": "What the streamer calls this screen (\"coding brb\"), on the setup page only.",
            "maxGraphemes": 40,
            "maxLength": 200,
            "type": "string"
          },
          "showMark": {
            "description": "Whether the atpotato wordmark shows beside the words (on the panel, and in the screen share's bar). Without it, true.",
            "type": "boolean"
          },
          "showPoe": {
            "type": "boolean"
          },
          "showWidgets": {
            "description": "Whether the weather widgets from the overlay's settings show on this scene too.",
            "type": "boolean"
          },
          "subtitle": {
            "description": "A line under them: what the stream is about.",
            "maxGraphemes": 200,
            "maxLength": 1000,
            "type": "string"
          },
          "title": {
            "description": "The big words (\"starting soon\").",
            "maxGraphemes": 80,
            "maxLength": 400,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "One of the full-screen screens of Poe's stream overlay (atpota.to/overlay?scene=<record key>): a countdown before a stream, a be-right-back screen, an end screen, or a frame for sharing a screen with a camera. A streamer can keep as many as they like, one record each; the record key is the screen's id in its URL (lowercase letters, digits and dashes). The ones a streamer starts with are keyed by their kind: \"starting\", \"brb\", \"ending\", \"screenshare\", \"loading\" and \"clock\". The overlay reads it from your repo and follows changes live.",
  "id": "to.atpota.poe.scene",
  "lexicon": 1
}
```
