# quest.cozysky.memory

> A moment a Cozysky player framed in photo mode and kept: the picture (16:9 or 9:16), where in the game it was taken and when, so others can find the place and take their own. Many per account. Fields are only ever added, never changed or removed.

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

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.memory)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.memory/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.memory/analytics)

## Record (`quest.cozysky.memory`)

Type: record · key tid

### Properties

- `alt` (string): What the picture shows, for anyone who can't see it.
  - Constraints: maxLength: 10000, maxGraphemes: 1000
- `aspectRatio` (ref, required)
  - Reference: `#aspectRatio`
- `caption` (string): The player's own words for it.
  - Constraints: maxLength: 3000, maxGraphemes: 300
- `createdAt` (string · datetime, required)
- `frame` (string): The frame it was taken in.
  - Constraints: maxLength: 32, knownValues: landscape | portrait
- `hour` (integer): The hour on the game's day clock.
  - Constraints: minimum: 0, maximum: 23
- `image` (blob, required)
  - Constraints: maxSize: 1000000, accept: image/jpeg, image/png
- `place` (ref)
  - Reference: `#place`
- `post` (ref): The Bluesky post the picture was shared in, if any.
  - Reference: `com.atproto.repo.strongRef`
- `weather` (string)
  - Constraints: maxLength: 32, knownValues: clear | rain

## #aspectRatio (`quest.cozysky.memory#aspectRatio`)

Type: object

The picture's width and height in pixels (or any two numbers in that ratio).

### Properties

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

## #place (`quest.cozysky.memory#place`)

Type: object

Where it was taken. Islands belong to `island` (the player who took it, unless they were visiting); a commons is shared by everyone; a trail is a feed walked as a path.

### Properties

- `area` (integer): The island's number (area) in its owner's game.
- `island` (string · did): Whose island it is.
- `islandName` (string): The island's name, as its owner calls it, when they have named it.
  - Constraints: maxLength: 640, maxGraphemes: 64
- `kind` (string)
  - Constraints: maxLength: 32, knownValues: island | commons | trail
- `x` (integer): Tile column the photo was centred on.
- `y` (integer): Tile row the photo was centred on.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "aspectRatio": {
      "description": "The picture's width and height in pixels (or any two numbers in that ratio).",
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "main": {
      "description": "A moment a Cozysky player framed in photo mode and kept: the picture (16:9 or 9:16), where in the game it was taken and when, so others can find the place and take their own. Many per account. Fields are only ever added, never changed or removed.",
      "key": "tid",
      "record": {
        "properties": {
          "alt": {
            "description": "What the picture shows, for anyone who can't see it.",
            "maxGraphemes": 1000,
            "maxLength": 10000,
            "type": "string"
          },
          "aspectRatio": {
            "ref": "#aspectRatio",
            "type": "ref"
          },
          "caption": {
            "description": "The player's own words for it.",
            "maxGraphemes": 300,
            "maxLength": 3000,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "frame": {
            "description": "The frame it was taken in.",
            "knownValues": [
              "landscape",
              "portrait"
            ],
            "maxLength": 32,
            "type": "string"
          },
          "hour": {
            "description": "The hour on the game's day clock.",
            "maximum": 23,
            "minimum": 0,
            "type": "integer"
          },
          "image": {
            "accept": [
              "image/jpeg",
              "image/png"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "place": {
            "ref": "#place",
            "type": "ref"
          },
          "post": {
            "description": "The Bluesky post the picture was shared in, if any.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "weather": {
            "knownValues": [
              "clear",
              "rain"
            ],
            "maxLength": 32,
            "type": "string"
          }
        },
        "required": [
          "image",
          "aspectRatio",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "place": {
      "description": "Where it was taken. Islands belong to `island` (the player who took it, unless they were visiting); a commons is shared by everyone; a trail is a feed walked as a path.",
      "properties": {
        "area": {
          "description": "The island's number (area) in its owner's game.",
          "type": "integer"
        },
        "island": {
          "description": "Whose island it is.",
          "format": "did",
          "type": "string"
        },
        "islandName": {
          "description": "The island's name, as its owner calls it, when they have named it.",
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "kind": {
          "knownValues": [
            "island",
            "commons",
            "trail"
          ],
          "maxLength": 32,
          "type": "string"
        },
        "x": {
          "description": "Tile column the photo was centred on.",
          "type": "integer"
        },
        "y": {
          "description": "Tile row the photo was centred on.",
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "id": "quest.cozysky.memory",
  "lexicon": 1
}
```
