{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chikocorp-com/json-schema/chikocorp-com-browser-batch-job-schema.json",
  "title": "BrowserBatchJob",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chikocorp-com-tron-usdt-risk-openapi.yml#/components/schemas/BrowserBatchJob",
  "type": "object",
  "required": [
    "id",
    "userId",
    "workspaceId",
    "filename",
    "status",
    "totalRows",
    "validRows",
    "processedRows",
    "failedRows",
    "createdAt",
    "updatedAt",
    "completedAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "userId": {
      "type": "string"
    },
    "workspaceId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "filename": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "running",
        "completed",
        "completed_with_errors",
        "failed",
        "cancelled"
      ]
    },
    "totalRows": {
      "type": "integer",
      "minimum": 0
    },
    "validRows": {
      "type": "integer",
      "minimum": 0
    },
    "processedRows": {
      "type": "integer",
      "minimum": 0
    },
    "failedRows": {
      "type": "integer",
      "minimum": 0
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "completedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}