{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/helena-bio/json-schema/helena-bio-simulation-status-response-schema.json",
  "title": "SimulationStatusResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/helena-bio-simulation-api-openapi.yml#/components/schemas/SimulationStatusResponse",
  "properties": {
    "run_id": {
      "type": "string",
      "title": "Run Id"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "cr_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cr Id"
    },
    "progress_current": {
      "type": "integer",
      "title": "Progress Current",
      "default": 0
    },
    "progress_total": {
      "type": "integer",
      "title": "Progress Total",
      "default": 0
    },
    "elapsed_seconds": {
      "type": "number",
      "title": "Elapsed Seconds",
      "default": 0
    },
    "result": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "log_lines": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Log Lines"
    }
  },
  "type": "object",
  "required": [
    "run_id",
    "status"
  ]
}