{
  "$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
}
