# to.atpota.poe.overlay

> How you've set up Poe's stream overlay (atpota.to/overlay): which weather widgets show, where and how big, which side Poe sits on, and what it reacts to. One record per layout: "self" is the main one (atpota.to/overlay?streamer=<handle>), and any others are at their own record key, their id in the URL (&layout=<id>; lowercase letters, digits and dashes). The overlay reads it from your repo and follows changes live, so a stream's overlay changes as soon as you save.

- 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.overlay)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.poe.overlay/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.poe.overlay/analytics)

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

Type: record · key any

### Properties

- `alerts` (boolean): Poe says weather alerts (storms, apps blowing in).
- `chat` (boolean): Poe says hello to chatters and answers chat commands.
- `createdAt` (string · datetime, required)
- `follows` (boolean): Poe thanks new followers.
- `ignore` (array): Accounts Poe never greets, thanks or answers (bots).
  - Constraints: maxLength: 50
  - `items` (string · at-identifier)
- `name` (string): What the streamer calls this layout, on the setup page only.
  - Constraints: maxLength: 400, maxGraphemes: 40
- `nap` (integer): Minutes of quiet before Poe naps; 0 never.
  - Constraints: minimum: 0, maximum: 240
- `poe` (ref, required)
  - Reference: `#poe`
- `theme` (string)
  - Constraints: knownValues: light | dark
- `updatedAt` (string · datetime, required)
- `visitors` (boolean): Now and then a butterfly, bird, snail, worm or moth visits Poe.
- `volume` (integer): How loud Poe's noises are; 0 is silent.
  - Constraints: minimum: 0, maximum: 100
- `widgets` (array, required): The widgets on screen, each kind at most once.
  - Constraints: maxLength: 16
  - `items` (ref)
    - Reference: `#widget`

## #poe (`to.atpota.poe.overlay#poe`)

Type: object

### Properties

- `scale` (integer, required): Percent of its usual size.
  - Constraints: minimum: 50, maximum: 200
- `show` (boolean, required)
- `side` (string, required): Which bottom corner Poe sits in; it faces into the screen.
  - Constraints: knownValues: left | right

## #widget (`to.atpota.poe.overlay#widget`)

Type: object

### Properties

- `kind` (string, required): The atmosphere's weather (card to pulse), Anisota's moon, mark and loader, the time as a TID, the streamer's flushes (im.flushing.right.now), status and vitals (is.dame.now, is.dame.state) and teal.fm music, or their stream.place chat.
  - Constraints: knownValues: card | strip | badge | apps | forecast | pulse | moon | mark | loader | tid | flushes | status | music | chat
- `scale` (integer, required): Percent of its usual size.
  - Constraints: minimum: 50, maximum: 200
- `slot` (string, required): Where on screen. Widgets in the same slot stack.
  - Constraints: knownValues: top-left | top-center | top-right | bottom-left | bottom-center | bottom-right
- `style` (string): How the widget looks, for the kinds with more than one way: tid (ticking, mini), flushes (count, stats, latest), status (both, status, vitals), music (now, history, stats, mini), chat (corner, side, pop). Absent or unknown is the kind's first.
  - Constraints: maxLength: 32, knownValues: ticking | mini | count | stats | latest | both | status | vitals | now | history | corner | side | pop

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "alerts": {
            "description": "Poe says weather alerts (storms, apps blowing in).",
            "type": "boolean"
          },
          "chat": {
            "description": "Poe says hello to chatters and answers chat commands.",
            "type": "boolean"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "follows": {
            "description": "Poe thanks new followers.",
            "type": "boolean"
          },
          "ignore": {
            "description": "Accounts Poe never greets, thanks or answers (bots).",
            "items": {
              "format": "at-identifier",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "name": {
            "description": "What the streamer calls this layout, on the setup page only.",
            "maxGraphemes": 40,
            "maxLength": 400,
            "type": "string"
          },
          "nap": {
            "description": "Minutes of quiet before Poe naps; 0 never.",
            "maximum": 240,
            "minimum": 0,
            "type": "integer"
          },
          "poe": {
            "ref": "#poe",
            "type": "ref"
          },
          "theme": {
            "knownValues": [
              "light",
              "dark"
            ],
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "visitors": {
            "description": "Now and then a butterfly, bird, snail, worm or moth visits Poe.",
            "type": "boolean"
          },
          "volume": {
            "description": "How loud Poe's noises are; 0 is silent.",
            "maximum": 100,
            "minimum": 0,
            "type": "integer"
          },
          "widgets": {
            "description": "The widgets on screen, each kind at most once.",
            "items": {
              "ref": "#widget",
              "type": "ref"
            },
            "maxLength": 16,
            "type": "array"
          }
        },
        "required": [
          "poe",
          "widgets",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "poe": {
      "properties": {
        "scale": {
          "description": "Percent of its usual size.",
          "maximum": 200,
          "minimum": 50,
          "type": "integer"
        },
        "show": {
          "type": "boolean"
        },
        "side": {
          "description": "Which bottom corner Poe sits in; it faces into the screen.",
          "knownValues": [
            "left",
            "right"
          ],
          "type": "string"
        }
      },
      "required": [
        "show",
        "side",
        "scale"
      ],
      "type": "object"
    },
    "widget": {
      "properties": {
        "kind": {
          "description": "The atmosphere's weather (card to pulse), Anisota's moon, mark and loader, the time as a TID, the streamer's flushes (im.flushing.right.now), status and vitals (is.dame.now, is.dame.state) and teal.fm music, or their stream.place chat.",
          "knownValues": [
            "card",
            "strip",
            "badge",
            "apps",
            "forecast",
            "pulse",
            "moon",
            "mark",
            "loader",
            "tid",
            "flushes",
            "status",
            "music",
            "chat"
          ],
          "type": "string"
        },
        "scale": {
          "description": "Percent of its usual size.",
          "maximum": 200,
          "minimum": 50,
          "type": "integer"
        },
        "slot": {
          "description": "Where on screen. Widgets in the same slot stack.",
          "knownValues": [
            "top-left",
            "top-center",
            "top-right",
            "bottom-left",
            "bottom-center",
            "bottom-right"
          ],
          "type": "string"
        },
        "style": {
          "description": "How the widget looks, for the kinds with more than one way: tid (ticking, mini), flushes (count, stats, latest), status (both, status, vitals), music (now, history, stats, mini), chat (corner, side, pop). Absent or unknown is the kind's first.",
          "knownValues": [
            "ticking",
            "mini",
            "count",
            "stats",
            "latest",
            "both",
            "status",
            "vitals",
            "now",
            "history",
            "corner",
            "side",
            "pop"
          ],
          "maxLength": 32,
          "type": "string"
        }
      },
      "required": [
        "kind",
        "slot",
        "scale"
      ],
      "type": "object"
    }
  },
  "description": "How you've set up Poe's stream overlay (atpota.to/overlay): which weather widgets show, where and how big, which side Poe sits on, and what it reacts to. One record per layout: \"self\" is the main one (atpota.to/overlay?streamer=<handle>), and any others are at their own record key, their id in the URL (&layout=<id>; lowercase letters, digits and dashes). The overlay reads it from your repo and follows changes live, so a stream's overlay changes as soon as you save.",
  "id": "to.atpota.poe.overlay",
  "lexicon": 1
}
```
