# to.atpota.garden.patch

> Published by [atpota.to](https://lexicon.garden/identity/did:plc:qntsxa2i4sb24noi45fx4np2)

✓ This is the authoritative definition for this NSID.

## Description

A garden on atpota.to: a grid of plots anyone can plant a flower in. atpota.to's community patches live in its own repo, one per season; anyone can keep their own garden in theirs, by convention at record key "self". Flowers point at it with a strong ref. It is open from opensAt (or createdAt, without one) until closesAt, if it has one.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.garden.patch)
- [Documentation](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.garden.patch/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:qntsxa2i4sb24noi45fx4np2/to.atpota.garden.patch/examples)

## Definitions

### `to.atpota.garden.patch`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `closesAt` | `string` (datetime) | No | Planting ends at this time; the flowers stay, pressed, in full bloom. Without it, the garden stays open. |
| `cols` | `integer` | Yes | Plots across. |
| `createdAt` | `string` (datetime) | Yes |  |
| `name` | `string` | Yes | What the garden is called, like "autumn 2026" or "dame's garden". |
| `note` | `string` | No | A few words for visitors. |
| `opensAt` | `string` (datetime) | No | Flowers can be planted from this time; without it, from createdAt. |
| `planting` | `string` | No | How many flowers each account grows in the garden's open patches. "one": one each, staying in the plot it was planted in; planting again does nothing until it's dug up, and only an account's first flower shows. "move": one each, and planting again moves it (its newest flower shows). "many": as many as there are free plots. Without it, "one". |
| `rows` | `integer` | Yes | Plots down. |
| `season` | `string` | No | For a seasonal patch. |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "closesAt": {
            "description": "Planting ends at this time; the flowers stay, pressed, in full bloom. Without it, the garden stays open.",
            "format": "datetime",
            "type": "string"
          },
          "cols": {
            "description": "Plots across.",
            "maximum": 24,
            "minimum": 4,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "What the garden is called, like \"autumn 2026\" or \"dame's garden\".",
            "maxGraphemes": 40,
            "maxLength": 400,
            "type": "string"
          },
          "note": {
            "description": "A few words for visitors.",
            "maxGraphemes": 140,
            "maxLength": 1400,
            "type": "string"
          },
          "opensAt": {
            "description": "Flowers can be planted from this time; without it, from createdAt.",
            "format": "datetime",
            "type": "string"
          },
          "planting": {
            "description": "How many flowers each account grows in the garden's open patches. \"one\": one each, staying in the plot it was planted in; planting again does nothing until it's dug up, and only an account's first flower shows. \"move\": one each, and planting again moves it (its newest flower shows). \"many\": as many as there are free plots. Without it, \"one\".",
            "knownValues": [
              "one",
              "move",
              "many"
            ],
            "type": "string"
          },
          "rows": {
            "description": "Plots down.",
            "maximum": 40,
            "minimum": 2,
            "type": "integer"
          },
          "season": {
            "description": "For a seasonal patch.",
            "knownValues": [
              "spring",
              "summer",
              "autumn",
              "winter"
            ],
            "type": "string"
          }
        },
        "required": [
          "name",
          "cols",
          "rows",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A garden on atpota.to: a grid of plots anyone can plant a flower in. atpota.to's community patches live in its own repo, one per season; anyone can keep their own garden in theirs, by convention at record key \"self\". Flowers point at it with a strong ref. It is open from opensAt (or createdAt, without one) until closesAt, if it has one.",
  "id": "to.atpota.garden.patch",
  "lexicon": 1
}
```
