# garden.goals.category

> Published by [goals.garden](https://lexicon.garden/identity/did:plc:r4suwlt5zl7sexnfgmi3jctw)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:r4suwlt5zl7sexnfgmi3jctw/garden.goals.category)
- [Documentation](https://lexicon.garden/lexicon/did:plc:r4suwlt5zl7sexnfgmi3jctw/garden.goals.category/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:r4suwlt5zl7sexnfgmi3jctw/garden.goals.category/examples)

## Definitions

### `garden.goals.category`

**Type**: `record`

A category for organizing goals.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | Display name of the category |
| `createdAt` | `string` (datetime) | Yes | Timestamp when the category was created |
| `categoryId` | `string` | Yes | Unique identifier for the category (UUID) |

## Raw Schema

```json
{
  "id": "garden.goals.category",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "categoryId",
          "name",
          "createdAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 100,
            "description": "Display name of the category"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp when the category was created"
          },
          "categoryId": {
            "type": "string",
            "maxLength": 64,
            "description": "Unique identifier for the category (UUID)"
          }
        }
      },
      "description": "A category for organizing goals."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
