# com.pimstash.planner.card

> Published by [lexicons.pimstash.com](https://lexicon.garden/identity/did:plc:kl7rkydjioe5qsucfce3uubx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.planner.card)
- [Documentation](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.planner.card/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:kl7rkydjioe5qsucfce3uubx/com.pimstash.planner.card/examples)

## Definitions

### `com.pimstash.planner.card`

**Type**: `record`

A Card in a List. Field names and limits follow site.exosphere.kanban.entry where it has the field. A Card has no Assignee.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `archivedAt` | `string` (datetime) | No | Set while the Card is archived; absent for an active Card. |
| `board` | `string` (record-key) | Yes | The record key of the com.pimstash.planner.board, in this same repository, this record belongs to. |
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No | Markdown; task-list items may be ticked. |
| `dueAt` | `string` (datetime) | No | The calendar date the Card is due, as a datetime at UTC midnight read in UTC. |
| `labels` | `array` | No | The record keys of the Board's com.pimstash.planner.label records the Card carries. A key with no Label is ignored. |
| `list` | `string` (record-key) | Yes | The record key of the com.pimstash.planner.list, on the same Board, the Card is in. |
| `position` | `string` | Yes | A fractional order key: records sort by it lexically, in code unit order, ties broken by record key. A move rewrites only the moved record's key. Kept while the Card is archived, and ignored until it is restored. |
| `title` | `string` | Yes |  |
| `updatedAt` | `string` (datetime) | No |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A Card in a List. Field names and limits follow site.exosphere.kanban.entry where it has the field. A Card has no Assignee.",
      "key": "any",
      "record": {
        "properties": {
          "archivedAt": {
            "description": "Set while the Card is archived; absent for an active Card.",
            "format": "datetime",
            "type": "string"
          },
          "board": {
            "description": "The record key of the com.pimstash.planner.board, in this same repository, this record belongs to.",
            "format": "record-key",
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Markdown; task-list items may be ticked.",
            "maxLength": 10000,
            "type": "string"
          },
          "dueAt": {
            "description": "The calendar date the Card is due, as a datetime at UTC midnight read in UTC.",
            "format": "datetime",
            "type": "string"
          },
          "labels": {
            "description": "The record keys of the Board's com.pimstash.planner.label records the Card carries. A key with no Label is ignored.",
            "items": {
              "format": "record-key",
              "type": "string"
            },
            "maxLength": 64,
            "type": "array"
          },
          "list": {
            "description": "The record key of the com.pimstash.planner.list, on the same Board, the Card is in.",
            "format": "record-key",
            "type": "string"
          },
          "position": {
            "description": "A fractional order key: records sort by it lexically, in code unit order, ties broken by record key. A move rewrites only the moved record's key. Kept while the Card is archived, and ignored until it is restored.",
            "maxLength": 64,
            "minLength": 1,
            "type": "string"
          },
          "title": {
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "board",
          "list",
          "title",
          "position",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.pimstash.planner.card",
  "lexicon": 1
}
```
