# app.atbuddy.creature

> Published by [atbuddy.app](https://lexicon.garden/identity/did:plc:cjmftryiihdz5jafq77n6b2u)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cjmftryiihdz5jafq77n6b2u/app.atbuddy.creature)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cjmftryiihdz5jafq77n6b2u/app.atbuddy.creature/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cjmftryiihdz5jafq77n6b2u/app.atbuddy.creature/examples)

## Definitions

### `app.atbuddy.creature`

**Type**: `record`

A buddy creature companion. Fixed rkey self. One per account.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | No |  |
| `rarity` | `string` | Yes |  |
| `isShiny` | `boolean` | Yes |  |
| `species` | `string` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "app.atbuddy.creature",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "species",
          "rarity",
          "isShiny",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 64
          },
          "rarity": {
            "type": "string",
            "knownValues": [
              "common",
              "uncommon",
              "rare",
              "epic",
              "legendary"
            ]
          },
          "isShiny": {
            "type": "boolean"
          },
          "species": {
            "type": "string",
            "knownValues": [
              "owl",
              "bat",
              "phoenix",
              "moth",
              "fox",
              "hedgehog",
              "goat",
              "frog",
              "cat",
              "dog",
              "rat",
              "octopus",
              "jellyfish",
              "seahorse",
              "crab",
              "shark",
              "dolphin",
              "dragon",
              "unicorn",
              "griffin",
              "slime",
              "robot",
              "satellite"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A buddy creature companion. Fixed rkey self. One per account."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
