# net.anisota.lab.poetry

> Published by [anisota.net](https://lexicon.garden/identity/did:plc:lcieujcfkv4jx7gehsvok3pr)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:lcieujcfkv4jx7gehsvok3pr/net.anisota.lab.poetry)
- [Documentation](https://lexicon.garden/lexicon/did:plc:lcieujcfkv4jx7gehsvok3pr/net.anisota.lab.poetry/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:lcieujcfkv4jx7gehsvok3pr/net.anisota.lab.poetry/examples)

## Definitions

### `net.anisota.lab.poetry`

**Type**: `record`

A fridge-poetry composition made in the Anisota Lab's Word Magnets studio, where word tiles drawn from the author's own recent posts are arranged on a field into a short poem. The record keeps the assembled text, the placed tiles with their positions (so the arrangement can be reopened), and at-uri references to the posts the used words were drawn from.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No | Optional title for the poem |
| `text` | `string` | Yes | The assembled poem — the placed word tiles read top-to-bottom, left-to-right |
| `board` | `unknown` | No | Optional snapshot of the studio board taken at save time, so the arrangement can be re-laid faithfully at any size: { aspect, font, bx, by, bw, bh } — the bounding box of the placed tiles (bx/by/bw/bh as 0..1000 of the surface, matching tile x/y), the box's width:height aspect, and the tile font size as a fraction of the box width. |
| `tiles` | `array` | No | The placed word tiles and their positions, so the arrangement can be reopened. Each is an object: { word, fragment, x, y, rot } where x/y are the tile centre as a 0..1000 fraction of the field and rot is degrees. |
| `sources` | `array` | No | at-uri references to the author's own posts that the used words were drawn from |
| `createdAt` | `string` (datetime) | Yes | When the poem was saved |

## Raw Schema

```json
{
  "id": "net.anisota.lab.poetry",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "text",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 800,
            "description": "Optional title for the poem",
            "maxGraphemes": 100
          },
          "text": {
            "type": "string",
            "maxLength": 6000,
            "description": "The assembled poem — the placed word tiles read top-to-bottom, left-to-right",
            "maxGraphemes": 1000
          },
          "board": {
            "type": "unknown",
            "description": "Optional snapshot of the studio board taken at save time, so the arrangement can be re-laid faithfully at any size: { aspect, font, bx, by, bw, bh } — the bounding box of the placed tiles (bx/by/bw/bh as 0..1000 of the surface, matching tile x/y), the box's width:height aspect, and the tile font size as a fraction of the box width."
          },
          "tiles": {
            "type": "array",
            "items": {
              "type": "unknown"
            },
            "maxLength": 512,
            "description": "The placed word tiles and their positions, so the arrangement can be reopened. Each is an object: { word, fragment, x, y, rot } where x/y are the tile centre as a 0..1000 fraction of the field and rot is degrees."
          },
          "sources": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "at-uri"
            },
            "maxLength": 512,
            "description": "at-uri references to the author's own posts that the used words were drawn from"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When the poem was saved"
          }
        }
      },
      "description": "A fridge-poetry composition made in the Anisota Lab's Word Magnets studio, where word tiles drawn from the author's own recent posts are arranged on a field into a short poem. The record keeps the assembled text, the placed tiles with their positions (so the arrangement can be reopened), and at-uri references to the posts the used words were drawn from."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
