# io.kich.accomplishment

> Published by [kich.io](https://lexicon.garden/identity/did:plc:uxjwdy4wvuridijisalvxlxe)

✓ This is the authoritative definition for this NSID.

## Description

Record declaring that the user has earned an accomplishment (badge/milestone). One record per accomplishment type per user.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uxjwdy4wvuridijisalvxlxe/io.kich.accomplishment)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uxjwdy4wvuridijisalvxlxe/io.kich.accomplishment/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uxjwdy4wvuridijisalvxlxe/io.kich.accomplishment/examples)

## Definitions

### `io.kich.accomplishment`

**Type**: `record`

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `type` | `string` | Yes | Accomplishment type key (e.g. first_made, first_recipe) |
| `metadata` | `unknown` | No | Optional free-form metadata for extra accomplishment context. |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "io.kich.accomplishment",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "type",
          "createdAt"
        ],
        "properties": {
          "type": {
            "type": "string",
            "description": "Accomplishment type key (e.g. first_made, first_recipe)"
          },
          "metadata": {
            "type": "unknown",
            "description": "Optional free-form metadata for extra accomplishment context."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "Record declaring that the user has earned an accomplishment (badge/milestone). One record per accomplishment type per user."
}
```
