{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/videobackgroundremover-ai/json-schema/videobackgroundremover-ai-job-file-schema.json",
  "title": "JobFile",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/videobackgroundremover-ai-openapi.json#/components/schemas/JobFile",
  "type": "object",
  "properties": {
    "fileId": {
      "type": "string"
    },
    "format": {
      "$ref": "#/$defs/Format"
    },
    "part": {
      "type": "integer"
    },
    "status": {
      "type": "string",
      "enum": [
        "pending",
        "ready",
        "failed"
      ]
    },
    "bytes": {
      "type": "integer"
    },
    "url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Relative download path, or an absolute signed URL from GET /api/jobs/{id}. Null until ready or after expiry."
    }
  },
  "required": [
    "fileId",
    "format",
    "part",
    "status",
    "bytes",
    "url"
  ],
  "$defs": {
    "Format": {
      "type": "string",
      "enum": [
        "hevc_mov",
        "prores",
        "webm",
        "green_mp4",
        "bg_mp4",
        "zip"
      ]
    }
  }
}