# computer.spaces.task

> A to-do at spaces.computer: in your home space, private to you, or in a shared list space (computer.spaces.list), where everyone in the list can read it and only you can change it.

- Kind: record
- Record key: tid
- Authority: spaces.computer
- Lexicon: 1
- Published by [spaces.computer](https://lexicon.garden/identity/did:plc:fcup7ltuhyvyayda32fru55z), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.task)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.task/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.task/analytics)

## Record (`computer.spaces.task`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required): When it was added.
- `done` (string · datetime): When it was completed. Absent means it is still open.
- `due` (string): The day it is due, as YYYY-MM-DD. No time.
  - Constraints: maxLength: 10
- `notes` (string): Anything more about it.
  - Constraints: maxLength: 20000, maxGraphemes: 5000
- `priority` (integer): 1 is the most urgent, 4 the least. Absent means 4.
  - Constraints: minimum: 1, maximum: 4
- `project` (string): The list it belongs to, by name. Absent means the inbox.
  - Constraints: maxLength: 640, maxGraphemes: 64
- `source` (string · uri): The original note's space-record URI, including its space, writer DID, collection and record key.
- `text` (string, required): The task.
  - Constraints: maxLength: 3000, maxGraphemes: 500

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A to-do at spaces.computer: in your home space, private to you, or in a shared list space (computer.spaces.list), where everyone in the list can read it and only you can change it.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When it was added.",
            "format": "datetime",
            "type": "string"
          },
          "done": {
            "description": "When it was completed. Absent means it is still open.",
            "format": "datetime",
            "type": "string"
          },
          "due": {
            "description": "The day it is due, as YYYY-MM-DD. No time.",
            "maxLength": 10,
            "type": "string"
          },
          "notes": {
            "description": "Anything more about it.",
            "maxGraphemes": 5000,
            "maxLength": 20000,
            "type": "string"
          },
          "priority": {
            "description": "1 is the most urgent, 4 the least. Absent means 4.",
            "maximum": 4,
            "minimum": 1,
            "type": "integer"
          },
          "project": {
            "description": "The list it belongs to, by name. Absent means the inbox.",
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "source": {
            "description": "The original note's space-record URI, including its space, writer DID, collection and record key.",
            "format": "uri",
            "type": "string"
          },
          "text": {
            "description": "The task.",
            "maxGraphemes": 500,
            "maxLength": 3000,
            "type": "string"
          }
        },
        "required": [
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.spaces.task",
  "lexicon": 1
}
```
