# computer.spaces.journal

> One day's journal entry in your home space at spaces.computer. Private to you. Record key: the day, as YYYY-MM-DD, so there is one entry per day.

- Kind: record
- Record key: any
- 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.journal)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.journal/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.journal/analytics)

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

Type: record · key any

### Properties

- `createdAt` (string · datetime, required): When the entry was started.
- `format` (string): Whether the entry is plain text or Markdown. Plain text if not set.
  - Constraints: default: "text/plain", knownValues: text/plain | text/markdown
- `text` (string, required): The entry.
  - Constraints: maxLength: 102400
- `updatedAt` (string · datetime): When it was last changed.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One day's journal entry in your home space at spaces.computer. Private to you. Record key: the day, as YYYY-MM-DD, so there is one entry per day.",
      "key": "any",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When the entry was started.",
            "format": "datetime",
            "type": "string"
          },
          "format": {
            "default": "text/plain",
            "description": "Whether the entry is plain text or Markdown. Plain text if not set.",
            "knownValues": [
              "text/plain",
              "text/markdown"
            ],
            "type": "string"
          },
          "text": {
            "description": "The entry.",
            "maxLength": 102400,
            "type": "string"
          },
          "updatedAt": {
            "description": "When it was last changed.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.spaces.journal",
  "lexicon": 1
}
```
