# com.pimstash.planner.label

> A Label a Board's Cards can carry, named by record key from each Card.

- Kind: record
- Record key: any
- Authority: planner.pimstash.com
- Lexicon: 1
- Published by [lexicons.pimstash.com](https://lexicon.garden/identity/did:plc:kl7rkydjioe5qsucfce3uubx), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.planner.label)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.planner.label/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.planner.label/analytics)

## Record (`com.pimstash.planner.label`)

Type: record · key any

### Properties

- `board` (string · record-key, required): The record key of the com.pimstash.planner.board, in this same repository, this record belongs to.
- `color` (integer): A position in the theme's categorical palette; absent for none.
  - Constraints: minimum: 1, maximum: 8
- `name` (string, required)
  - Constraints: minLength: 1, maxLength: 128

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Label a Board's Cards can carry, named by record key from each Card.",
      "key": "any",
      "record": {
        "properties": {
          "board": {
            "description": "The record key of the com.pimstash.planner.board, in this same repository, this record belongs to.",
            "format": "record-key",
            "type": "string"
          },
          "color": {
            "description": "A position in the theme's categorical palette; absent for none.",
            "maximum": 8,
            "minimum": 1,
            "type": "integer"
          },
          "name": {
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "board",
          "name"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.pimstash.planner.label",
  "lexicon": 1
}
```
