{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/balladic-com/json-schema/balladic-com-first-narrative-response-schema.json",
  "title": "FirstNarrativeResponse",
  "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/FirstNarrativeResponse",
  "properties": {
    "state": {
      "type": "string",
      "enum": [
        "hidden",
        "gathering",
        "composing",
        "ready"
      ],
      "title": "State"
    },
    "step": {
      "type": "integer",
      "title": "Step"
    },
    "steps": {
      "type": "integer",
      "title": "Steps"
    },
    "next": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "start_ballad",
            "add_tasks",
            "finish_task"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Next"
    },
    "organization_id": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ],
      "title": "Organization Id"
    }
  },
  "type": "object",
  "required": [
    "state",
    "step",
    "steps",
    "next",
    "organization_id"
  ]
}