{
  "$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
}
