# app.chavatar.state

> Published by [chavatar.app](https://lexicon.garden/identity/did:web:chavatar.app)

✓ This is the authoritative definition for this NSID.

## Description

Execution state for avatar rotation.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:chavatar.app/app.chavatar.state)
- [Documentation](https://lexicon.garden/lexicon/did:web:chavatar.app/app.chavatar.state/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:chavatar.app/app.chavatar.state/examples)

## Definitions

### `app.chavatar.state`

**Type**: `record`

Current execution state of rotation.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cursor` | `string` | Yes | TID (ID) of the currently active avatar in the settings array. |
| `lastUpdated` | `string` (datetime) | Yes | When the avatar was last rotated. |

## Raw Schema

```json
{
  "id": "app.chavatar.state",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "cursor",
          "lastUpdated"
        ],
        "properties": {
          "cursor": {
            "type": "string",
            "maxLength": 13,
            "description": "TID (ID) of the currently active avatar in the settings array."
          },
          "lastUpdated": {
            "type": "string",
            "format": "datetime",
            "description": "When the avatar was last rotated."
          }
        }
      },
      "description": "Current execution state of rotation."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Execution state for avatar rotation."
}
```
