{
  "$type": "com.atproto.lexicon.schema",
  "description": "A private, timestamped journal entry record.",
  "id": "io.mariotacke.journal.post",
  "key": "literal:io.mariotacke.journal.post",
  "lexicon": 1,
  "record": {
    "properties": {
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "mood": {
        "enum": [
          "Excited",
          "Neutral",
          "Reflective",
          "Elated"
        ],
        "type": "string"
      },
      "tags": {
        "items": {
          "type": "string"
        },
        "maxLength": 5,
        "type": "array"
      },
      "text": {
        "maxLength": 1000,
        "type": "string"
      },
      "title": {
        "maxLength": 100,
        "type": "string"
      }
    },
    "required": [
      "title",
      "text",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}
