{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vigotime-com/json-schema/vigotime-com-solve-status-response-schema.json",
  "title": "SolveStatusResponse",
  "description": "Status of a stateless solve job (queryable during the run and after completion).",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vigotime-com-openapi.json#/components/schemas/SolveStatusResponse",
  "properties": {
    "completed_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completed At"
    },
    "created_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Created At"
    },
    "error_message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Message"
    },
    "input_summary": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Input Summary"
    },
    "job_id": {
      "title": "Job Id",
      "type": "string"
    },
    "origin": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Origin"
    },
    "progress": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Progress"
    },
    "result_available": {
      "default": false,
      "title": "Result Available",
      "type": "boolean"
    },
    "status": {
      "title": "Status",
      "type": "string"
    },
    "tier": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tier"
    },
    "token_cost": {
      "default": 0,
      "title": "Token Cost",
      "type": "integer"
    },
    "webhook": {
      "anyOf": [
        {
          "$ref": "#/$defs/WebhookStatus"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "job_id",
    "status"
  ],
  "type": "object",
  "$defs": {
    "WebhookStatus": {
      "description": "Delivery state of the completion webhook.",
      "properties": {
        "attempts": {
          "default": 0,
          "title": "Attempts",
          "type": "integer"
        },
        "configured": {
          "default": false,
          "title": "Configured",
          "type": "boolean"
        },
        "delivered": {
          "default": false,
          "title": "Delivered",
          "type": "boolean"
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Error"
        },
        "last_status_code": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Last Status Code"
        },
        "url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Url"
        }
      },
      "title": "WebhookStatus",
      "type": "object"
    }
  }
}