{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fairvalid-com/json-schema/fairvalid-com-job-accepted-schema.json",
  "title": "JobAccepted",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fairvalid-com-openapi.json#/components/schemas/JobAccepted",
  "type": "object",
  "required": [
    "version",
    "brand",
    "mode",
    "job_id",
    "status",
    "unique_addresses",
    "results_url"
  ],
  "properties": {
    "version": {
      "const": "v1"
    },
    "brand": {
      "const": "FairValid"
    },
    "mode": {
      "type": "string",
      "enum": [
        "live",
        "sandbox"
      ]
    },
    "job_id": {
      "type": "string",
      "format": "uuid"
    },
    "status": {
      "type": "string",
      "enum": [
        "queued",
        "running",
        "paused",
        "canceling",
        "canceled",
        "completed",
        "pending",
        "failed",
        "cancelled"
      ]
    },
    "unique_addresses": {
      "type": "integer",
      "minimum": 1
    },
    "results_url": {
      "type": "string"
    },
    "charged_credits": {
      "type": "integer",
      "const": 0,
      "description": "Present for sandbox jobs only."
    },
    "provider_submitted": {
      "type": "boolean",
      "const": false,
      "description": "Present for sandbox jobs only."
    }
  }
}