{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dazie-io/json-schema/dazie-io-journal-entry-schema.json",
  "title": "JournalEntry",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dazie-io-openapi.json#/components/schemas/JournalEntry",
  "type": "object",
  "required": [
    "id",
    "title",
    "content",
    "createdAt"
  ],
  "properties": {
    "id": {
      "type": "integer"
    },
    "title": {
      "type": "string"
    },
    "content": {
      "type": "string"
    },
    "summary": {
      "type": [
        "string",
        "null"
      ]
    },
    "mood": {
      "type": [
        "string",
        "null"
      ]
    },
    "tags": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "insights": {},
    "callLogId": {
      "type": [
        "integer",
        "null"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "transcript": {
      "type": [
        "string",
        "null"
      ],
      "description": "Only with include_transcript=true"
    }
  }
}