{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rowattest-com/json-schema/rowattest-com-run-schema.json",
  "title": "Run",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rowattest-com-openapi.json#/components/schemas/Run",
  "type": "object",
  "required": [
    "run_id",
    "project_id",
    "status",
    "stage",
    "created_at",
    "started_at",
    "finished_at",
    "report_id",
    "verify_url",
    "poll_after_seconds",
    "access_model_sha256"
  ],
  "properties": {
    "run_id": {
      "type": "string",
      "format": "uuid"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "running",
        "complete",
        "failed"
      ]
    },
    "stage": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0,
      "maximum": 7
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "started_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "finished_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "report_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "verify_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "poll_after_seconds": {
      "type": [
        "integer",
        "null"
      ]
    },
    "access_model_sha256": {
      "type": [
        "string",
        "null"
      ],
      "description": "SHA-256 of the access model this run used, as the run's report states it. A signed report for the run embeds the same model and states the same value."
    }
  }
}