# us.off-the-clock.draft

> Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.draft)
- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.draft/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.draft/examples)

## Definitions

### `us.off-the-clock.draft`

**Type**: `record`

An unfinished post or event, kept in the member's drafts space until they post it (D43). The drafted record is carried as written so far and is validated only when it is posted.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `createdAt` | `string` (datetime) | Yes |  |
| `kind` | `string` | Yes | What the draft becomes: a post (a reply and a quote are posts) or a calendar event. |
| `record` | `unknown` | Yes | The app.bsky.feed.post or community.lexicon.calendar.event as far as it is written, uploaded media referenced as blobs. Never validated against its own lexicon until it is posted. |
| `space` | `string` (tid) | No | The TID of the content space the draft is for, once chosen. |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An unfinished post or event, kept in the member's drafts space until they post it (D43). The drafted record is carried as written so far and is validated only when it is posted.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "kind": {
            "description": "What the draft becomes: a post (a reply and a quote are posts) or a calendar event.",
            "enum": [
              "post",
              "event"
            ],
            "type": "string"
          },
          "record": {
            "description": "The app.bsky.feed.post or community.lexicon.calendar.event as far as it is written, uploaded media referenced as blobs. Never validated against its own lexicon until it is posted.",
            "type": "unknown"
          },
          "space": {
            "description": "The TID of the content space the draft is for, once chosen.",
            "format": "tid",
            "type": "string"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "kind",
          "record",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "us.off-the-clock.draft",
  "lexicon": 1
}
```
