{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/balladic-com/json-schema/balladic-com-narrative-ballad-response-schema.json",
  "title": "NarrativeBalladResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/balladic-com-narrative-api-openapi.yml#/components/schemas/NarrativeBalladResponse",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "project_id": {
      "type": "string",
      "format": "uuid",
      "title": "Project Id"
    },
    "project_title": {
      "type": "string",
      "title": "Project Title"
    },
    "project_slug": {
      "type": "string",
      "title": "Project Slug"
    },
    "project_color": {
      "type": "string",
      "title": "Project Color"
    },
    "kind": {
      "$ref": "#/$defs/NarrativeBalladKind"
    },
    "spec": {
      "additionalProperties": true,
      "type": "object",
      "title": "Spec"
    },
    "state": {
      "additionalProperties": true,
      "type": "object",
      "title": "State"
    },
    "generated_at": {
      "type": "string",
      "format": "date-time",
      "title": "Generated At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "project_id",
    "project_title",
    "project_slug",
    "project_color",
    "kind",
    "spec",
    "state",
    "generated_at"
  ],
  "$defs": {
    "NarrativeBalladKind": {
      "type": "string",
      "enum": [
        "periodic",
        "retrospect"
      ],
      "title": "NarrativeBalladKind"
    }
  }
}