{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unbrowse-ai/json-schema/unbrowse-ai-run-schema.json",
  "title": "Run",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unbrowse-ai-openapi.json#/components/schemas/Run",
  "type": "object",
  "required": [
    "runId",
    "status"
  ],
  "properties": {
    "runId": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "enum": [
        "accepted",
        "working",
        "input_required",
        "succeeded",
        "failed",
        "outcome_unknown",
        "cancelled",
        "expired"
      ]
    },
    "capabilityId": {
      "type": [
        "string",
        "null"
      ]
    },
    "phase": {
      "type": "string"
    },
    "stateRevision": {
      "type": "integer"
    },
    "result": {
      "description": "The verified result (status succeeded)."
    },
    "requirements": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Object"
      },
      "description": "What the run needs (status input_required)."
    },
    "error": {
      "$ref": "#/$defs/Object"
    },
    "verified": {
      "type": "boolean"
    }
  },
  "additionalProperties": true,
  "$defs": {
    "Object": {
      "type": "object",
      "additionalProperties": true
    }
  }
}