# quest.cozysky.sprite

> A Cozysky-only character sprite, made in the Cozysky character creator and not set as the account's rpg.actor sprite. The same shape as actor.rpg.sprite (a 144x192 PNG walk sheet, 3 columns x 4 rows of 48 px frames; rows down, left, right, up; walk cycle [0, 1, 2, 1], idle frame 1). Cozysky shows this in place of actor.rpg.sprite when it exists. Fields are only ever added, never changed or removed.

- Kind: record
- Record key: literal:self
- 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.sprite)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.sprite/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:r3t343mn4ksrkgzustdwj5iv/quest.cozysky.sprite/analytics)

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

Type: record · key literal:self

### Properties

- `columns` (integer)
  - Constraints: minimum: 1, maximum: 16
- `createdAt` (string · datetime, required)
- `frameHeight` (integer)
  - Constraints: minimum: 1, maximum: 512
- `frameWidth` (integer)
  - Constraints: minimum: 1, maximum: 512
- `frames` (integer)
  - Constraints: minimum: 1, maximum: 64
- `height` (integer)
  - Constraints: minimum: 1, maximum: 4096
- `isCustom` (boolean)
- `name` (string): Display name for the character.
  - Constraints: maxLength: 100, maxGraphemes: 50
- `origin` (string): How it was made: 'cozysky' (the character creator).
  - Constraints: maxLength: 32, maxGraphemes: 32
- `rows` (integer)
  - Constraints: minimum: 1, maximum: 16
- `spriteSheet` (blob, required)
  - Constraints: maxSize: 1000000, accept: image/png
- `updatedAt` (string · datetime)
- `width` (integer)
  - Constraints: minimum: 1, maximum: 4096

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Cozysky-only character sprite, made in the Cozysky character creator and not set as the account's rpg.actor sprite. The same shape as actor.rpg.sprite (a 144x192 PNG walk sheet, 3 columns x 4 rows of 48 px frames; rows down, left, right, up; walk cycle [0, 1, 2, 1], idle frame 1). Cozysky shows this in place of actor.rpg.sprite when it exists. Fields are only ever added, never changed or removed.",
      "key": "literal:self",
      "record": {
        "properties": {
          "columns": {
            "maximum": 16,
            "minimum": 1,
            "type": "integer"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "frameHeight": {
            "maximum": 512,
            "minimum": 1,
            "type": "integer"
          },
          "frameWidth": {
            "maximum": 512,
            "minimum": 1,
            "type": "integer"
          },
          "frames": {
            "maximum": 64,
            "minimum": 1,
            "type": "integer"
          },
          "height": {
            "maximum": 4096,
            "minimum": 1,
            "type": "integer"
          },
          "isCustom": {
            "type": "boolean"
          },
          "name": {
            "description": "Display name for the character.",
            "maxGraphemes": 50,
            "maxLength": 100,
            "type": "string"
          },
          "origin": {
            "description": "How it was made: 'cozysky' (the character creator).",
            "maxGraphemes": 32,
            "maxLength": 32,
            "type": "string"
          },
          "rows": {
            "maximum": 16,
            "minimum": 1,
            "type": "integer"
          },
          "spriteSheet": {
            "accept": [
              "image/png"
            ],
            "maxSize": 1000000,
            "type": "blob"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          },
          "width": {
            "maximum": 4096,
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "spriteSheet",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "quest.cozysky.sprite",
  "lexicon": 1
}
```
