{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/svglab-app/json-schema/svglab-app-job-accepted-schema.json",
  "title": "JobAccepted",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/svglab-app-openapi.json#/components/schemas/JobAccepted",
  "type": "object",
  "properties": {
    "ok": {
      "const": true
    },
    "job": {
      "$ref": "#/$defs/Job"
    },
    "poll": {
      "type": "string"
    }
  },
  "$defs": {
    "Job": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "kind": {
          "type": "string"
        },
        "status": {
          "enum": [
            "queued",
            "running",
            "succeeded",
            "failed"
          ]
        },
        "http_status": {
          "type": [
            "integer",
            "null"
          ]
        },
        "result": {},
        "credits": {
          "type": "integer"
        },
        "created_at": {
          "type": "string"
        },
        "finished_at": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    }
  }
}