{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usewrit-app/json-schema/usewrit-app-run-data-schema.json",
  "title": "RunData",
  "description": "Extracted-data envelope (JSON lane). `data` is the `extracted_data` value of the result payload, falling back to the whole result.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/usewrit-app-runs-api-openapi.yml#/components/schemas/RunData",
  "type": "object",
  "required": [
    "run_id",
    "status",
    "data"
  ],
  "properties": {
    "run_id": {
      "type": "integer",
      "format": "int64"
    },
    "status": {
      "type": "string"
    },
    "data": {
      "description": "The extracted data (any JSON value; null when none)."
    }
  }
}