{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hud-ai/json-schema/hud-ai-job-import-trace-result-schema.json",
  "title": "JobImportTraceResult",
  "description": "Outcome of one imported run.\n\nIn ``error`` and ``evaluation_result``, characters Postgres cannot store\nbecome U+FFFD and non-finite numbers become null. A non-finite ``reward``\nis refused.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hud-ai-jobs-api-openapi.yml#/components/schemas/JobImportTraceResult",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "completed",
        "error"
      ],
      "title": "Status"
    },
    "reward": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reward"
    },
    "evaluation_result": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Evaluation Result"
    },
    "error": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "start_time": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Start Time"
    },
    "end_time": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "End Time"
    }
  },
  "type": "object",
  "required": [
    "status"
  ]
}