{
  "openapi": "3.1.0",
  "info": {
    "title": "Splixir Media Transformation API",
    "version": "1.0.0",
    "description": "Managed media transformation API. Submit structured jobs with optional namespaced operations, multi-input compositions, multi-output ladders, and job chaining. Failed jobs bill $0.00.",
    "contact": {
      "name": "Splixir",
      "url": "https://docs.splixir.com"
    }
  },
  "servers": [
    {
      "url": "https://api.splixir.com",
      "description": "Splixir API"
    },
    {
      "url": "https://mcp.splixir.com",
      "description": "Splixir Remote MCP Server (Streamable HTTP, MCP 2026-07-28 + legacy compat, 16 tools)"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Capabilities",
      "description": "Machine-readable operation catalog, limits, and USD pricing"
    },
    {
      "name": "Probe",
      "description": "Inspect remote URLs, completed uploads, or delivered job artifacts before processing"
    },
    {
      "name": "Jobs",
      "description": "Estimate, submit, chain, inspect, verify, and cancel media jobs"
    },
    {
      "name": "Uploads",
      "description": "Single-part and multipart temporary uploads for local files"
    },
    {
      "name": "Buckets",
      "description": "Manage saved output storage bucket connectors"
    },
    {
      "name": "Account",
      "description": "Account profile, entitlements, alerts, and PAYG concurrency unlocks"
    },
    {
      "name": "Keys",
      "description": "Manage scoped live API keys and per-key usage attribution"
    },
    {
      "name": "Webhooks",
      "description": "Manage multi-endpoint webhooks, rotate secrets, test pings, and replay"
    },
    {
      "name": "Billing",
      "description": "Wallet balances, ledger history, and 30-day usage"
    },
    {
      "name": "System",
      "description": "Health and API discovery"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "splx_live_...",
        "description": "API key created in the Splixir Console (https://console.splixir.com/keys)."
      }
    },
    "headers": {
      "X-Request-Id": {
        "description": "Unique request identifier (req_...) echoed or generated for tracing.",
        "schema": {
          "type": "string"
        }
      },
      "X-RateLimit-Limit": {
        "description": "Requests allowed per 60-second window for your tier.",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Remaining": {
        "description": "Requests remaining in the current 60-second window.",
        "schema": {
          "type": "integer"
        }
      },
      "X-RateLimit-Reset": {
        "description": "Unix timestamp in seconds when the current rate-limit window resets.",
        "schema": {
          "type": "integer"
        }
      },
      "X-Splixir-Concurrency-Active": {
        "description": "Current number of active non-terminal jobs on your account.",
        "schema": {
          "type": "integer"
        }
      },
      "X-Splixir-Concurrency-Limit": {
        "description": "Maximum concurrent jobs allowed for your account.",
        "schema": {
          "type": "integer"
        }
      }
    },
    "schemas": {
      "CapabilitiesResponse": {
        "type": "object",
        "properties": {
          "version": {
            "type": "string"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "category": {
                  "type": "string",
                  "enum": [
                    "image",
                    "audio",
                    "video",
                    "render",
                    "doc",
                    "ai"
                  ]
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "ga",
                    "planned"
                  ]
                },
                "pool": {
                  "type": "string"
                },
                "flexEligible": {
                  "type": "boolean"
                },
                "pricingSummary": {
                  "type": "string"
                },
                "pricingRates": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "inputFormats": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "outputFormats": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "limits": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {}
                },
                "operations": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string"
                      },
                      "namespacedType": {
                        "type": "string"
                      },
                      "summary": {
                        "type": "string"
                      },
                      "pool": {
                        "type": "string"
                      },
                      "notes": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "type",
                      "namespacedType",
                      "summary",
                      "pool"
                    ],
                    "additionalProperties": false
                  }
                },
                "docsUrl": {
                  "type": "string"
                }
              },
              "required": [
                "category",
                "status",
                "pool",
                "flexEligible",
                "pricingSummary",
                "pricingRates",
                "inputFormats",
                "outputFormats",
                "limits",
                "operations",
                "docsUrl"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "version",
          "categories"
        ],
        "additionalProperties": false
      },
      "CategoryCapability": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "enum": [
              "image",
              "audio",
              "video",
              "render",
              "doc",
              "ai"
            ]
          },
          "status": {
            "type": "string",
            "enum": [
              "ga",
              "planned"
            ]
          },
          "pool": {
            "type": "string"
          },
          "flexEligible": {
            "type": "boolean"
          },
          "pricingSummary": {
            "type": "string"
          },
          "pricingRates": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "inputFormats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "outputFormats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "limits": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {}
          },
          "operations": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string"
                },
                "namespacedType": {
                  "type": "string"
                },
                "summary": {
                  "type": "string"
                },
                "pool": {
                  "type": "string"
                },
                "notes": {
                  "type": "string"
                }
              },
              "required": [
                "type",
                "namespacedType",
                "summary",
                "pool"
              ],
              "additionalProperties": false
            }
          },
          "docsUrl": {
            "type": "string"
          }
        },
        "required": [
          "category",
          "status",
          "pool",
          "flexEligible",
          "pricingSummary",
          "pricingRates",
          "inputFormats",
          "outputFormats",
          "limits",
          "operations",
          "docsUrl"
        ],
        "additionalProperties": false
      },
      "ProbeRequest": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "uri"
              }
            },
            "required": [
              "url"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "uploadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              }
            },
            "required": [
              "uploadId"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "jobId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "output": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              }
            },
            "required": [
              "jobId"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "input": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "uri"
                  },
                  {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "uri"
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "uploadId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 64
                          }
                        },
                        "required": [
                          "uploadId"
                        ],
                        "additionalProperties": false
                      },
                      {
                        "type": "object",
                        "properties": {
                          "jobId": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 64
                          },
                          "output": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 64
                          }
                        },
                        "required": [
                          "jobId"
                        ],
                        "additionalProperties": false
                      }
                    ]
                  }
                ]
              }
            },
            "required": [
              "input"
            ],
            "additionalProperties": false
          }
        ]
      },
      "ProbeResponse": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "image",
              "audio",
              "video",
              "unknown"
            ]
          },
          "format": {
            "type": "string"
          },
          "mimeType": {
            "type": "string"
          },
          "bytes": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "width": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "height": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "durationSeconds": {
            "type": "number",
            "minimum": 0
          },
          "codec": {
            "type": "string"
          },
          "audioCodec": {
            "type": "string"
          },
          "sampleRate": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "channels": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "fps": {
            "type": "number",
            "minimum": 0
          },
          "frames": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "animated": {
            "type": "boolean"
          },
          "pixFmt": {
            "type": "string"
          },
          "bitDepth": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "hasExif": {
            "type": "boolean"
          }
        },
        "required": [
          "kind",
          "format",
          "mimeType",
          "bytes"
        ],
        "additionalProperties": false
      },
      "ImageCompositeOperation": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "composite"
          },
          "imageUrl": {
            "type": "string",
            "format": "uri"
          },
          "uploadId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "jobId": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "output": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "position": {
            "default": "bottom_right",
            "type": "string",
            "enum": [
              "top_left",
              "top_center",
              "top_right",
              "center_left",
              "center",
              "center_right",
              "bottom_left",
              "bottom_center",
              "bottom_right",
              "custom"
            ]
          },
          "x": {
            "type": "integer",
            "minimum": -16384,
            "maximum": 16384
          },
          "y": {
            "type": "integer",
            "minimum": -16384,
            "maximum": 16384
          },
          "width": {
            "type": "integer",
            "minimum": 1,
            "maximum": 16384
          },
          "height": {
            "type": "integer",
            "minimum": 1,
            "maximum": 16384
          },
          "scale": {
            "type": "number",
            "minimum": 0.05,
            "maximum": 2
          },
          "opacity": {
            "default": 1,
            "type": "number",
            "minimum": 0.05,
            "maximum": 1
          },
          "marginPx": {
            "default": 16,
            "type": "integer",
            "minimum": 0,
            "maximum": 500
          }
        },
        "required": [
          "type",
          "position",
          "opacity",
          "marginPx"
        ],
        "additionalProperties": false
      },
      "ImageOperation": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "resize"
              },
              "width": {
                "type": "integer",
                "minimum": 1,
                "maximum": 16384
              },
              "height": {
                "type": "integer",
                "minimum": 1,
                "maximum": 16384
              },
              "fit": {
                "default": "inside",
                "type": "string",
                "enum": [
                  "contain",
                  "cover",
                  "fill",
                  "inside",
                  "outside"
                ]
              },
              "withoutEnlargement": {
                "default": true,
                "type": "boolean"
              },
              "background": {
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              }
            },
            "required": [
              "type",
              "fit",
              "withoutEnlargement"
            ],
            "additionalProperties": false
          },
          {
            "oneOf": [
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "crop"
                  },
                  "mode": {
                    "type": "string",
                    "const": "region"
                  },
                  "x": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "y": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "width": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 16384
                  },
                  "height": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 16384
                  }
                },
                "required": [
                  "type",
                  "mode",
                  "x",
                  "y",
                  "width",
                  "height"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "type": {
                    "type": "string",
                    "const": "crop"
                  },
                  "mode": {
                    "type": "string",
                    "const": "aspect"
                  },
                  "aspectRatio": {
                    "type": "string",
                    "pattern": "^[1-9]\\d{0,3}:[1-9]\\d{0,3}$"
                  },
                  "gravity": {
                    "default": "center",
                    "type": "string",
                    "enum": [
                      "center",
                      "north",
                      "south",
                      "east",
                      "west",
                      "smart"
                    ]
                  }
                },
                "required": [
                  "type",
                  "mode",
                  "aspectRatio",
                  "gravity"
                ],
                "additionalProperties": false
              }
            ]
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "rotate"
              },
              "angle": {
                "type": "number",
                "minimum": -360,
                "maximum": 360
              },
              "background": {
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "expand": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "angle",
              "expand"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "flip"
              },
              "direction": {
                "type": "string",
                "enum": [
                  "horizontal",
                  "vertical",
                  "both"
                ]
              }
            },
            "required": [
              "type",
              "direction"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "pad"
              },
              "top": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 4096
              },
              "right": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 4096
              },
              "bottom": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 4096
              },
              "left": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 4096
              },
              "background": {
                "default": "#00000000",
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              }
            },
            "required": [
              "type",
              "top",
              "right",
              "bottom",
              "left",
              "background"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "trim"
              },
              "threshold": {
                "default": 10,
                "type": "number",
                "minimum": 0,
                "maximum": 100
              }
            },
            "required": [
              "type",
              "threshold"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "blur"
              },
              "radius": {
                "default": 2,
                "type": "number",
                "minimum": 0.5,
                "maximum": 50
              }
            },
            "required": [
              "type",
              "radius"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "sharpen"
              },
              "amount": {
                "default": 1.5,
                "type": "number",
                "minimum": 0.5,
                "maximum": 5
              },
              "radius": {
                "default": 1.5,
                "type": "number",
                "minimum": 0.5,
                "maximum": 10
              }
            },
            "required": [
              "type",
              "amount",
              "radius"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "adjust"
              },
              "brightness": {
                "type": "number",
                "minimum": 0.1,
                "maximum": 3
              },
              "contrast": {
                "type": "number",
                "minimum": 0.1,
                "maximum": 3
              },
              "saturation": {
                "type": "number",
                "minimum": 0,
                "maximum": 3
              },
              "gamma": {
                "type": "number",
                "minimum": 0.2,
                "maximum": 5
              }
            },
            "required": [
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "filter"
              },
              "name": {
                "type": "string",
                "enum": [
                  "grayscale",
                  "sepia",
                  "invert",
                  "auto_contrast",
                  "equalize",
                  "emboss",
                  "contour"
                ]
              }
            },
            "required": [
              "type",
              "name"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "pixelate"
              },
              "blockSize": {
                "default": 10,
                "type": "integer",
                "minimum": 2,
                "maximum": 100
              }
            },
            "required": [
              "type",
              "blockSize"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "watermark"
              },
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "imageUrl": {
                "type": "string",
                "format": "uri"
              },
              "position": {
                "default": "bottom-right",
                "type": "string",
                "enum": [
                  "top-left",
                  "top-right",
                  "bottom-left",
                  "bottom-right",
                  "center"
                ]
              },
              "opacity": {
                "default": 0.5,
                "type": "number",
                "minimum": 0.05,
                "maximum": 1
              },
              "fontSize": {
                "default": 28,
                "type": "integer",
                "minimum": 12,
                "maximum": 200
              },
              "color": {
                "default": "#FFFFFF",
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "margin": {
                "default": 20,
                "type": "integer",
                "minimum": 0,
                "maximum": 200
              }
            },
            "required": [
              "type",
              "position",
              "opacity",
              "fontSize",
              "color",
              "margin"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "composite"
              },
              "imageUrl": {
                "type": "string",
                "format": "uri"
              },
              "uploadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "jobId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "output": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "position": {
                "default": "bottom_right",
                "type": "string",
                "enum": [
                  "top_left",
                  "top_center",
                  "top_right",
                  "center_left",
                  "center",
                  "center_right",
                  "bottom_left",
                  "bottom_center",
                  "bottom_right",
                  "custom"
                ]
              },
              "x": {
                "type": "integer",
                "minimum": -16384,
                "maximum": 16384
              },
              "y": {
                "type": "integer",
                "minimum": -16384,
                "maximum": 16384
              },
              "width": {
                "type": "integer",
                "minimum": 1,
                "maximum": 16384
              },
              "height": {
                "type": "integer",
                "minimum": 1,
                "maximum": 16384
              },
              "scale": {
                "type": "number",
                "minimum": 0.05,
                "maximum": 2
              },
              "opacity": {
                "default": 1,
                "type": "number",
                "minimum": 0.05,
                "maximum": 1
              },
              "marginPx": {
                "default": 16,
                "type": "integer",
                "minimum": 0,
                "maximum": 500
              }
            },
            "required": [
              "type",
              "position",
              "opacity",
              "marginPx"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "strip_metadata"
              },
              "keepOrientation": {
                "default": true,
                "type": "boolean"
              },
              "keepColorProfile": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "keepOrientation",
              "keepColorProfile"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "convert"
              },
              "format": {
                "type": "string",
                "enum": [
                  "jpeg",
                  "png",
                  "webp",
                  "avif",
                  "heic",
                  "gif",
                  "bmp",
                  "tiff",
                  "ico",
                  "tga",
                  "ppm"
                ]
              },
              "quality": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              },
              "lossless": {
                "type": "boolean"
              },
              "progressive": {
                "type": "boolean"
              },
              "background": {
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "colorProfile": {
                "type": "string",
                "enum": [
                  "keep",
                  "srgb"
                ]
              }
            },
            "required": [
              "type",
              "format"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "text"
              },
              "content": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "fontSize": {
                "default": 32,
                "type": "integer",
                "minimum": 8,
                "maximum": 400
              },
              "color": {
                "default": "#000000",
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "position": {
                "default": "bottom_left",
                "type": "string",
                "enum": [
                  "top_left",
                  "top_center",
                  "top_right",
                  "center_left",
                  "center",
                  "center_right",
                  "bottom_left",
                  "bottom_center",
                  "bottom_right",
                  "custom"
                ]
              },
              "opacity": {
                "default": 1,
                "type": "number",
                "minimum": 0.05,
                "maximum": 1
              },
              "align": {
                "default": "left",
                "type": "string",
                "enum": [
                  "left",
                  "center",
                  "right"
                ]
              },
              "marginPx": {
                "default": 16,
                "type": "integer",
                "minimum": 0,
                "maximum": 500
              },
              "x": {
                "type": "integer",
                "minimum": -16384,
                "maximum": 16384
              },
              "y": {
                "type": "integer",
                "minimum": -16384,
                "maximum": 16384
              }
            },
            "required": [
              "type",
              "content",
              "fontSize",
              "color",
              "position",
              "opacity",
              "align",
              "marginPx"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "corners"
              },
              "radius": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4096
              }
            },
            "required": [
              "type",
              "radius"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "grid"
              },
              "imageUrls": {
                "minItems": 2,
                "maxItems": 16,
                "type": "array",
                "items": {
                  "type": "string",
                  "format": "uri"
                }
              },
              "columns": {
                "type": "integer",
                "minimum": 1,
                "maximum": 8
              },
              "gapPx": {
                "default": 8,
                "type": "integer",
                "minimum": 0,
                "maximum": 200
              },
              "background": {
                "default": "#FFFFFF",
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "fit": {
                "default": "cover",
                "type": "string",
                "enum": [
                  "cover",
                  "contain"
                ]
              }
            },
            "required": [
              "type",
              "imageUrls",
              "gapPx",
              "background",
              "fit"
            ],
            "additionalProperties": false
          }
        ]
      },
      "AudioConcatOperation": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "concat"
          },
          "crossfadeSeconds": {
            "default": 0,
            "type": "number",
            "minimum": 0,
            "maximum": 10
          },
          "normalize": {
            "default": true,
            "type": "boolean"
          }
        },
        "required": [
          "type",
          "crossfadeSeconds",
          "normalize"
        ],
        "additionalProperties": false
      },
      "AudioMixOperation": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "mix"
          },
          "overlayVolumeDb": {
            "default": -12,
            "type": "number",
            "minimum": -48,
            "maximum": 12
          },
          "ducking": {
            "default": false,
            "type": "boolean"
          },
          "duckThresholdDb": {
            "default": -24,
            "type": "number",
            "minimum": -50,
            "maximum": -5
          },
          "duckRatio": {
            "default": 6,
            "type": "number",
            "minimum": 1,
            "maximum": 20
          },
          "loopOverlay": {
            "default": false,
            "type": "boolean"
          },
          "offsetSeconds": {
            "default": 0,
            "type": "number",
            "minimum": 0,
            "maximum": 7200
          }
        },
        "required": [
          "type",
          "overlayVolumeDb",
          "ducking",
          "duckThresholdDb",
          "duckRatio",
          "loopOverlay",
          "offsetSeconds"
        ],
        "additionalProperties": false
      },
      "AudioOperation": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "convert"
              },
              "format": {
                "type": "string",
                "enum": [
                  "mp3",
                  "m4a",
                  "aac",
                  "flac",
                  "opus",
                  "wav",
                  "ogg",
                  "aiff"
                ]
              },
              "bitrateKbps": {
                "type": "integer",
                "minimum": 16,
                "maximum": 512
              },
              "quality": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              },
              "sampleRateHz": {
                "type": "integer",
                "minimum": 7350,
                "maximum": 192000
              },
              "compressionLevel": {
                "type": "integer",
                "minimum": 0,
                "maximum": 8
              },
              "sampleFormat": {
                "type": "string",
                "enum": [
                  "s16",
                  "s24",
                  "s32",
                  "f32"
                ]
              }
            },
            "required": [
              "type",
              "format"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "normalize"
              },
              "preset": {
                "default": "streaming",
                "type": "string",
                "enum": [
                  "streaming",
                  "podcast",
                  "audiobook",
                  "broadcast",
                  "custom"
                ]
              },
              "targetLufs": {
                "type": "number",
                "minimum": -70,
                "maximum": -5
              },
              "truePeakDbtp": {
                "type": "number",
                "minimum": -9,
                "maximum": 0
              },
              "loudnessRange": {
                "default": 7,
                "type": "number",
                "minimum": 1,
                "maximum": 20
              }
            },
            "required": [
              "type",
              "preset",
              "loudnessRange"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "trim"
              },
              "startSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0
              },
              "endSeconds": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "durationSeconds": {
                "type": "number",
                "exclusiveMinimum": 0
              }
            },
            "required": [
              "type",
              "startSeconds"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "trim_silence"
              },
              "mode": {
                "default": "both",
                "type": "string",
                "enum": [
                  "both",
                  "start",
                  "end"
                ]
              },
              "thresholdDb": {
                "default": -50,
                "type": "number",
                "minimum": -80,
                "maximum": -5
              },
              "minSilenceSeconds": {
                "default": 0.5,
                "type": "number",
                "minimum": 0.05,
                "maximum": 30
              },
              "keepSilenceSeconds": {
                "default": 0.1,
                "type": "number",
                "minimum": 0,
                "maximum": 5
              }
            },
            "required": [
              "type",
              "mode",
              "thresholdDb",
              "minSilenceSeconds",
              "keepSilenceSeconds"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "fade"
              },
              "fadeInSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0,
                "maximum": 60
              },
              "fadeOutSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0,
                "maximum": 60
              },
              "curve": {
                "default": "qsin",
                "type": "string",
                "enum": [
                  "linear",
                  "qsin",
                  "hsin",
                  "esin",
                  "log"
                ]
              }
            },
            "required": [
              "type",
              "fadeInSeconds",
              "fadeOutSeconds",
              "curve"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "gain"
              },
              "db": {
                "type": "number",
                "minimum": -48,
                "maximum": 48
              },
              "limitPeakDbtp": {
                "default": -0.5,
                "type": "number",
                "minimum": -6,
                "maximum": 0
              }
            },
            "required": [
              "type",
              "db",
              "limitPeakDbtp"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "speed"
              },
              "factor": {
                "type": "number",
                "minimum": 0.25,
                "maximum": 4
              }
            },
            "required": [
              "type",
              "factor"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "pitch"
              },
              "semitones": {
                "type": "number",
                "minimum": -12,
                "maximum": 12
              }
            },
            "required": [
              "type",
              "semitones"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "equalize"
              },
              "preset": {
                "default": "custom",
                "type": "string",
                "enum": [
                  "voice_clarity",
                  "podcast_warmth",
                  "bass_boost",
                  "treble_boost",
                  "de_mud",
                  "custom"
                ]
              },
              "bands": {
                "minItems": 1,
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "filter": {
                      "type": "string",
                      "enum": [
                        "lowshelf",
                        "peaking",
                        "highshelf"
                      ]
                    },
                    "frequencyHz": {
                      "type": "number",
                      "minimum": 20,
                      "maximum": 20000
                    },
                    "gainDb": {
                      "type": "number",
                      "minimum": -24,
                      "maximum": 24
                    },
                    "q": {
                      "default": 1,
                      "type": "number",
                      "minimum": 0.1,
                      "maximum": 10
                    }
                  },
                  "required": [
                    "filter",
                    "frequencyHz",
                    "gainDb",
                    "q"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "type",
              "preset"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "compress"
              },
              "preset": {
                "default": "podcast",
                "type": "string",
                "enum": [
                  "podcast",
                  "broadcast",
                  "gentle",
                  "custom"
                ]
              },
              "thresholdDb": {
                "type": "number",
                "minimum": -60,
                "maximum": 0
              },
              "ratio": {
                "type": "number",
                "minimum": 1,
                "maximum": 20
              },
              "attackMs": {
                "type": "number",
                "minimum": 0.1,
                "maximum": 500
              },
              "releaseMs": {
                "type": "number",
                "minimum": 10,
                "maximum": 2000
              },
              "makeupDb": {
                "type": "number",
                "minimum": 0,
                "maximum": 24
              },
              "kneeDb": {
                "type": "number",
                "minimum": 0,
                "maximum": 12
              }
            },
            "required": [
              "type",
              "preset"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "denoise"
              },
              "strength": {
                "default": "medium",
                "type": "string",
                "enum": [
                  "light",
                  "medium",
                  "aggressive"
                ]
              },
              "highpassHz": {
                "type": "number",
                "minimum": 20,
                "maximum": 300
              }
            },
            "required": [
              "type",
              "strength"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "channels"
              },
              "mode": {
                "type": "string",
                "enum": [
                  "mono",
                  "stereo",
                  "left",
                  "right",
                  "swap"
                ]
              }
            },
            "required": [
              "type",
              "mode"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "strip_metadata"
              },
              "removeTags": {
                "default": true,
                "type": "boolean"
              },
              "removeArtwork": {
                "default": true,
                "type": "boolean"
              },
              "setTags": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "artist": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "album": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "comment": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  },
                  "genre": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "year": {
                    "type": "string",
                    "pattern": "^\\d{4}$"
                  }
                },
                "additionalProperties": false
              }
            },
            "required": [
              "type",
              "removeTags",
              "removeArtwork"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "tags"
              },
              "title": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "artist": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "album": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "albumArtist": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "composer": {
                "type": "string",
                "minLength": 1,
                "maxLength": 200
              },
              "genre": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "year": {
                "type": "string",
                "pattern": "^\\d{4}$"
              },
              "track": {
                "type": "string",
                "minLength": 1,
                "maxLength": 16
              },
              "disc": {
                "type": "string",
                "minLength": 1,
                "maxLength": 16
              },
              "comment": {
                "type": "string",
                "minLength": 1,
                "maxLength": 500
              },
              "artworkUrl": {
                "type": "string",
                "format": "uri"
              },
              "chapters": {
                "minItems": 1,
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "startSeconds": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 7200
                    },
                    "endSeconds": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 7200
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    }
                  },
                  "required": [
                    "startSeconds",
                    "title"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "waveform"
              },
              "format": {
                "default": "json",
                "type": "string",
                "enum": [
                  "json",
                  "png"
                ]
              },
              "bins": {
                "type": "integer",
                "minimum": 100,
                "maximum": 4000
              },
              "splitChannels": {
                "default": false,
                "type": "boolean"
              },
              "width": {
                "type": "integer",
                "minimum": 100,
                "maximum": 4096
              },
              "height": {
                "type": "integer",
                "minimum": 40,
                "maximum": 1024
              },
              "color": {
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "backgroundColor": {
                "anyOf": [
                  {
                    "type": "string",
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  {
                    "type": "string",
                    "const": "transparent"
                  }
                ]
              }
            },
            "required": [
              "type",
              "format",
              "splitChannels"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "concat"
              },
              "crossfadeSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0,
                "maximum": 10
              },
              "normalize": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "crossfadeSeconds",
              "normalize"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "mix"
              },
              "overlayVolumeDb": {
                "default": -12,
                "type": "number",
                "minimum": -48,
                "maximum": 12
              },
              "ducking": {
                "default": false,
                "type": "boolean"
              },
              "duckThresholdDb": {
                "default": -24,
                "type": "number",
                "minimum": -50,
                "maximum": -5
              },
              "duckRatio": {
                "default": 6,
                "type": "number",
                "minimum": 1,
                "maximum": 20
              },
              "loopOverlay": {
                "default": false,
                "type": "boolean"
              },
              "offsetSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0,
                "maximum": 7200
              }
            },
            "required": [
              "type",
              "overlayVolumeDb",
              "ducking",
              "duckThresholdDb",
              "duckRatio",
              "loopOverlay",
              "offsetSeconds"
            ],
            "additionalProperties": false
          }
        ]
      },
      "VideoOperation": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "transcode"
              },
              "codec": {
                "type": "string",
                "enum": [
                  "h264",
                  "hevc",
                  "av1"
                ]
              },
              "container": {
                "type": "string",
                "enum": [
                  "mp4",
                  "mov",
                  "mkv",
                  "webm"
                ]
              },
              "chromaTier": {
                "default": "420_8bit",
                "type": "string",
                "enum": [
                  "420_8bit",
                  "420_10bit"
                ]
              },
              "quality": {
                "default": "balanced",
                "type": "string",
                "enum": [
                  "draft",
                  "balanced",
                  "best"
                ]
              },
              "crf": {
                "type": "integer",
                "minimum": 14,
                "maximum": 40
              },
              "maxBitrateKbps": {
                "type": "integer",
                "minimum": 100,
                "maximum": 200000
              },
              "audioCodec": {
                "default": "aac",
                "type": "string",
                "enum": [
                  "aac",
                  "opus",
                  "copy",
                  "none"
                ]
              },
              "audioBitrateKbps": {
                "type": "integer",
                "minimum": 32,
                "maximum": 512
              },
              "hdr": {
                "type": "string",
                "enum": [
                  "preserve",
                  "hdr10",
                  "sdr"
                ]
              }
            },
            "required": [
              "type",
              "codec",
              "chromaTier",
              "quality",
              "audioCodec"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "resize"
              },
              "resolution": {
                "type": "string",
                "enum": [
                  "540p",
                  "720p",
                  "1080p",
                  "1440p",
                  "4k",
                  "8k"
                ]
              },
              "width": {
                "type": "integer",
                "minimum": 64,
                "maximum": 7680
              },
              "height": {
                "type": "integer",
                "minimum": 64,
                "maximum": 4320
              },
              "fit": {
                "default": "inside",
                "type": "string",
                "enum": [
                  "inside",
                  "cover",
                  "contain"
                ]
              },
              "withoutEnlargement": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "fit",
              "withoutEnlargement"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "crop"
              },
              "mode": {
                "default": "region",
                "type": "string",
                "enum": [
                  "region",
                  "aspect"
                ]
              },
              "left": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "top": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "width": {
                "type": "integer",
                "minimum": 2,
                "maximum": 7680
              },
              "height": {
                "type": "integer",
                "minimum": 2,
                "maximum": 4320
              },
              "aspectRatio": {
                "type": "string",
                "enum": [
                  "16:9",
                  "9:16",
                  "1:1",
                  "4:5",
                  "4:3",
                  "21:9"
                ]
              },
              "gravity": {
                "default": "center",
                "type": "string",
                "enum": [
                  "center",
                  "north",
                  "south",
                  "east",
                  "west"
                ]
              }
            },
            "required": [
              "type",
              "mode",
              "gravity"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "trim"
              },
              "startSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0
              },
              "endSeconds": {
                "type": "number",
                "exclusiveMinimum": 0
              },
              "durationSeconds": {
                "type": "number",
                "exclusiveMinimum": 0
              }
            },
            "required": [
              "type",
              "startSeconds"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "fps"
              },
              "targetFps": {
                "type": "number",
                "minimum": 1,
                "maximum": 120
              },
              "mode": {
                "default": "cfr",
                "type": "string",
                "enum": [
                  "cfr",
                  "vfr_cap"
                ]
              }
            },
            "required": [
              "type",
              "targetFps",
              "mode"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "rotate"
              },
              "degrees": {
                "anyOf": [
                  {
                    "type": "number",
                    "const": 90
                  },
                  {
                    "type": "number",
                    "const": 180
                  },
                  {
                    "type": "number",
                    "const": 270
                  }
                ]
              },
              "autoOrient": {
                "type": "boolean"
              }
            },
            "required": [
              "type"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "speed"
              },
              "factor": {
                "type": "number",
                "minimum": 0.25,
                "maximum": 4
              },
              "preserveAudioPitch": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "factor",
              "preserveAudioPitch"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "watermark"
              },
              "text": {
                "type": "string",
                "minLength": 1,
                "maxLength": 120
              },
              "imageUrl": {
                "type": "string",
                "format": "uri"
              },
              "position": {
                "default": "bottom-right",
                "type": "string",
                "enum": [
                  "top-left",
                  "top-right",
                  "bottom-left",
                  "bottom-right",
                  "center"
                ]
              },
              "opacity": {
                "default": 0.75,
                "type": "number",
                "minimum": 0.05,
                "maximum": 1
              },
              "scale": {
                "default": 0.15,
                "type": "number",
                "minimum": 0.05,
                "maximum": 0.5
              },
              "marginPx": {
                "default": 24,
                "type": "integer",
                "minimum": 0,
                "maximum": 200
              }
            },
            "required": [
              "type",
              "position",
              "opacity",
              "scale",
              "marginPx"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "deinterlace"
              },
              "mode": {
                "default": "yadif",
                "type": "string",
                "enum": [
                  "yadif",
                  "bwdif"
                ]
              }
            },
            "required": [
              "type",
              "mode"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "audio"
              },
              "action": {
                "type": "string",
                "enum": [
                  "strip",
                  "normalize",
                  "volume",
                  "extract"
                ]
              },
              "preset": {
                "type": "string",
                "enum": [
                  "streaming",
                  "podcast",
                  "broadcast"
                ]
              },
              "gainDb": {
                "type": "number",
                "minimum": -36,
                "maximum": 36
              },
              "format": {
                "type": "string",
                "enum": [
                  "mp3",
                  "m4a",
                  "aac",
                  "flac",
                  "opus",
                  "wav"
                ]
              }
            },
            "required": [
              "type",
              "action"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "thumbnail"
              },
              "timestampSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0
              },
              "format": {
                "default": "jpeg",
                "type": "string",
                "enum": [
                  "jpeg",
                  "png",
                  "webp"
                ]
              },
              "width": {
                "type": "integer",
                "minimum": 64,
                "maximum": 4096
              },
              "quality": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "required": [
              "type",
              "timestampSeconds",
              "format"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "clip"
              },
              "format": {
                "default": "webp",
                "type": "string",
                "enum": [
                  "webp",
                  "gif"
                ]
              },
              "startSeconds": {
                "default": 0,
                "type": "number",
                "minimum": 0
              },
              "durationSeconds": {
                "default": 5,
                "type": "number",
                "minimum": 0.5,
                "maximum": 30
              },
              "fps": {
                "default": 15,
                "type": "integer",
                "minimum": 5,
                "maximum": 30
              },
              "width": {
                "type": "integer",
                "minimum": 64,
                "maximum": 1280
              }
            },
            "required": [
              "type",
              "format",
              "startSeconds",
              "durationSeconds",
              "fps"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "strip_metadata"
              },
              "removeTags": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "removeTags"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "captions"
              },
              "format": {
                "default": "ass",
                "type": "string",
                "enum": [
                  "ass",
                  "srt",
                  "vtt"
                ]
              },
              "subtitleUrl": {
                "type": "string",
                "format": "uri"
              },
              "subtitleUploadId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "subtitleJobId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "subtitleContent": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512000
              },
              "burnIn": {
                "default": true,
                "type": "boolean"
              },
              "fontSize": {
                "type": "integer",
                "minimum": 10,
                "maximum": 120
              },
              "fontName": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "primaryColor": {
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "outlineColor": {
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "marginV": {
                "type": "integer",
                "minimum": 0,
                "maximum": 500
              },
              "alignment": {
                "default": "bottom",
                "type": "string",
                "enum": [
                  "bottom",
                  "middle",
                  "top"
                ]
              }
            },
            "required": [
              "type",
              "format",
              "burnIn",
              "alignment"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "compose"
              },
              "layout": {
                "default": "overlay",
                "type": "string",
                "enum": [
                  "pip",
                  "side_by_side",
                  "stack_vertical",
                  "overlay"
                ]
              },
              "overlayInput": {
                "default": "overlay",
                "type": "string",
                "minLength": 1,
                "maxLength": 32
              },
              "x": {
                "default": 0,
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  }
                ]
              },
              "y": {
                "default": 0,
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  }
                ]
              },
              "width": {
                "type": "integer",
                "minimum": 16,
                "maximum": 7680
              },
              "height": {
                "type": "integer",
                "minimum": 16,
                "maximum": 4320
              },
              "opacity": {
                "default": 1,
                "type": "number",
                "minimum": 0,
                "maximum": 1
              },
              "startSeconds": {
                "type": "number",
                "minimum": 0
              },
              "endSeconds": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "type",
              "layout",
              "overlayInput",
              "x",
              "y",
              "opacity"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "concat"
              },
              "mode": {
                "default": "auto",
                "type": "string",
                "enum": [
                  "auto",
                  "reencode",
                  "stream_copy"
                ]
              },
              "transition": {
                "default": "none",
                "type": "string",
                "enum": [
                  "none",
                  "crossfade"
                ]
              },
              "transitionDurationSeconds": {
                "default": 0.5,
                "type": "number",
                "minimum": 0.1,
                "maximum": 3
              },
              "normalizeAudio": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "mode",
              "transition",
              "transitionDurationSeconds",
              "normalizeAudio"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "mux"
              },
              "audioInput": {
                "default": "audio",
                "type": "string",
                "minLength": 1,
                "maxLength": 32
              },
              "replaceAudio": {
                "default": true,
                "type": "boolean"
              },
              "audioDelaySeconds": {
                "default": 0,
                "type": "number",
                "minimum": -30,
                "maximum": 30
              },
              "audioVolume": {
                "default": 1,
                "type": "number",
                "minimum": 0,
                "maximum": 5
              },
              "shortest": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "audioInput",
              "replaceAudio",
              "audioDelaySeconds",
              "audioVolume",
              "shortest"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "chapters"
              },
              "chapters": {
                "minItems": 1,
                "maxItems": 200,
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "startSeconds": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 28800
                    },
                    "endSeconds": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 28800
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    }
                  },
                  "required": [
                    "startSeconds",
                    "title"
                  ],
                  "additionalProperties": false
                }
              },
              "fromConcatInputs": {
                "default": false,
                "type": "boolean"
              }
            },
            "required": [
              "type",
              "fromConcatInputs"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "extract_subtitles"
              },
              "trackIndex": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 32
              },
              "format": {
                "default": "srt",
                "type": "string",
                "enum": [
                  "srt",
                  "vtt",
                  "ass"
                ]
              }
            },
            "required": [
              "type",
              "trackIndex",
              "format"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "storyboard"
              },
              "intervalSeconds": {
                "default": 10,
                "type": "number",
                "minimum": 1,
                "maximum": 600
              },
              "columns": {
                "default": 5,
                "type": "integer",
                "minimum": 1,
                "maximum": 10
              },
              "format": {
                "default": "jpeg",
                "type": "string",
                "enum": [
                  "jpeg",
                  "png",
                  "webp"
                ]
              },
              "width": {
                "type": "integer",
                "minimum": 64,
                "maximum": 1280
              }
            },
            "required": [
              "type",
              "intervalSeconds",
              "columns",
              "format"
            ],
            "additionalProperties": false
          }
        ]
      },
      "CreateImageJobRequest": {
        "type": "object",
        "properties": {
          "kind": {
            "default": "image",
            "type": "string",
            "const": "image"
          },
          "input": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "url"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "uploadId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "uploadId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "jobId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      "output": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "jobId"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            ]
          },
          "operations": {
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "resize"
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 16384
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 16384
                    },
                    "fit": {
                      "default": "inside",
                      "type": "string",
                      "enum": [
                        "contain",
                        "cover",
                        "fill",
                        "inside",
                        "outside"
                      ]
                    },
                    "withoutEnlargement": {
                      "default": true,
                      "type": "boolean"
                    },
                    "background": {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    }
                  },
                  "required": [
                    "type",
                    "fit",
                    "withoutEnlargement"
                  ],
                  "additionalProperties": false
                },
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "crop"
                        },
                        "mode": {
                          "type": "string",
                          "const": "region"
                        },
                        "x": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "y": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 16384
                        },
                        "height": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 16384
                        }
                      },
                      "required": [
                        "type",
                        "mode",
                        "x",
                        "y",
                        "width",
                        "height"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "crop"
                        },
                        "mode": {
                          "type": "string",
                          "const": "aspect"
                        },
                        "aspectRatio": {
                          "type": "string",
                          "pattern": "^[1-9]\\d{0,3}:[1-9]\\d{0,3}$"
                        },
                        "gravity": {
                          "default": "center",
                          "type": "string",
                          "enum": [
                            "center",
                            "north",
                            "south",
                            "east",
                            "west",
                            "smart"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "mode",
                        "aspectRatio",
                        "gravity"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "rotate"
                    },
                    "angle": {
                      "type": "number",
                      "minimum": -360,
                      "maximum": 360
                    },
                    "background": {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "expand": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "angle",
                    "expand"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "flip"
                    },
                    "direction": {
                      "type": "string",
                      "enum": [
                        "horizontal",
                        "vertical",
                        "both"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "direction"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "pad"
                    },
                    "top": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4096
                    },
                    "right": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4096
                    },
                    "bottom": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4096
                    },
                    "left": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4096
                    },
                    "background": {
                      "default": "#00000000",
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    }
                  },
                  "required": [
                    "type",
                    "top",
                    "right",
                    "bottom",
                    "left",
                    "background"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "trim"
                    },
                    "threshold": {
                      "default": 10,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 100
                    }
                  },
                  "required": [
                    "type",
                    "threshold"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "blur"
                    },
                    "radius": {
                      "default": 2,
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 50
                    }
                  },
                  "required": [
                    "type",
                    "radius"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "sharpen"
                    },
                    "amount": {
                      "default": 1.5,
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 5
                    },
                    "radius": {
                      "default": 1.5,
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 10
                    }
                  },
                  "required": [
                    "type",
                    "amount",
                    "radius"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "adjust"
                    },
                    "brightness": {
                      "type": "number",
                      "minimum": 0.1,
                      "maximum": 3
                    },
                    "contrast": {
                      "type": "number",
                      "minimum": 0.1,
                      "maximum": 3
                    },
                    "saturation": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 3
                    },
                    "gamma": {
                      "type": "number",
                      "minimum": 0.2,
                      "maximum": 5
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "filter"
                    },
                    "name": {
                      "type": "string",
                      "enum": [
                        "grayscale",
                        "sepia",
                        "invert",
                        "auto_contrast",
                        "equalize",
                        "emboss",
                        "contour"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "name"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "pixelate"
                    },
                    "blockSize": {
                      "default": 10,
                      "type": "integer",
                      "minimum": 2,
                      "maximum": 100
                    }
                  },
                  "required": [
                    "type",
                    "blockSize"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "watermark"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "imageUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "position": {
                      "default": "bottom-right",
                      "type": "string",
                      "enum": [
                        "top-left",
                        "top-right",
                        "bottom-left",
                        "bottom-right",
                        "center"
                      ]
                    },
                    "opacity": {
                      "default": 0.5,
                      "type": "number",
                      "minimum": 0.05,
                      "maximum": 1
                    },
                    "fontSize": {
                      "default": 28,
                      "type": "integer",
                      "minimum": 12,
                      "maximum": 200
                    },
                    "color": {
                      "default": "#FFFFFF",
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "margin": {
                      "default": 20,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 200
                    }
                  },
                  "required": [
                    "type",
                    "position",
                    "opacity",
                    "fontSize",
                    "color",
                    "margin"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "composite"
                    },
                    "imageUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "uploadId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "jobId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "output": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "position": {
                      "default": "bottom_right",
                      "type": "string",
                      "enum": [
                        "top_left",
                        "top_center",
                        "top_right",
                        "center_left",
                        "center",
                        "center_right",
                        "bottom_left",
                        "bottom_center",
                        "bottom_right",
                        "custom"
                      ]
                    },
                    "x": {
                      "type": "integer",
                      "minimum": -16384,
                      "maximum": 16384
                    },
                    "y": {
                      "type": "integer",
                      "minimum": -16384,
                      "maximum": 16384
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 16384
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 16384
                    },
                    "scale": {
                      "type": "number",
                      "minimum": 0.05,
                      "maximum": 2
                    },
                    "opacity": {
                      "default": 1,
                      "type": "number",
                      "minimum": 0.05,
                      "maximum": 1
                    },
                    "marginPx": {
                      "default": 16,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 500
                    }
                  },
                  "required": [
                    "type",
                    "position",
                    "opacity",
                    "marginPx"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "strip_metadata"
                    },
                    "keepOrientation": {
                      "default": true,
                      "type": "boolean"
                    },
                    "keepColorProfile": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "keepOrientation",
                    "keepColorProfile"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "convert"
                    },
                    "format": {
                      "type": "string",
                      "enum": [
                        "jpeg",
                        "png",
                        "webp",
                        "avif",
                        "heic",
                        "gif",
                        "bmp",
                        "tiff",
                        "ico",
                        "tga",
                        "ppm"
                      ]
                    },
                    "quality": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 100
                    },
                    "lossless": {
                      "type": "boolean"
                    },
                    "progressive": {
                      "type": "boolean"
                    },
                    "background": {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "colorProfile": {
                      "type": "string",
                      "enum": [
                        "keep",
                        "srgb"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "format"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "text"
                    },
                    "content": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 2000
                    },
                    "fontSize": {
                      "default": 32,
                      "type": "integer",
                      "minimum": 8,
                      "maximum": 400
                    },
                    "color": {
                      "default": "#000000",
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "position": {
                      "default": "bottom_left",
                      "type": "string",
                      "enum": [
                        "top_left",
                        "top_center",
                        "top_right",
                        "center_left",
                        "center",
                        "center_right",
                        "bottom_left",
                        "bottom_center",
                        "bottom_right",
                        "custom"
                      ]
                    },
                    "opacity": {
                      "default": 1,
                      "type": "number",
                      "minimum": 0.05,
                      "maximum": 1
                    },
                    "align": {
                      "default": "left",
                      "type": "string",
                      "enum": [
                        "left",
                        "center",
                        "right"
                      ]
                    },
                    "marginPx": {
                      "default": 16,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 500
                    },
                    "x": {
                      "type": "integer",
                      "minimum": -16384,
                      "maximum": 16384
                    },
                    "y": {
                      "type": "integer",
                      "minimum": -16384,
                      "maximum": 16384
                    }
                  },
                  "required": [
                    "type",
                    "content",
                    "fontSize",
                    "color",
                    "position",
                    "opacity",
                    "align",
                    "marginPx"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "corners"
                    },
                    "radius": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 4096
                    }
                  },
                  "required": [
                    "type",
                    "radius"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "grid"
                    },
                    "imageUrls": {
                      "minItems": 2,
                      "maxItems": 16,
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "columns": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 8
                    },
                    "gapPx": {
                      "default": 8,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 200
                    },
                    "background": {
                      "default": "#FFFFFF",
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "fit": {
                      "default": "cover",
                      "type": "string",
                      "enum": [
                        "cover",
                        "contain"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "imageUrls",
                    "gapPx",
                    "background",
                    "fit"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "output": {
            "default": {},
            "type": "object",
            "properties": {
              "format": {
                "type": "string",
                "enum": [
                  "jpeg",
                  "png",
                  "webp",
                  "avif",
                  "heic",
                  "gif",
                  "bmp",
                  "tiff",
                  "ico",
                  "tga",
                  "ppm"
                ]
              },
              "quality": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              },
              "background": {
                "type": "string",
                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
              },
              "icoSizes": {
                "minItems": 1,
                "maxItems": 8,
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 16,
                  "maximum": 512
                }
              },
              "destination": {
                "type": "string",
                "format": "uri"
              },
              "bucketId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "objectKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512
              }
            },
            "additionalProperties": false
          },
          "priority": {
            "default": "standard",
            "type": "string",
            "enum": [
              "standard",
              "flex"
            ]
          },
          "retainDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30
          },
          "callbackUrl": {
            "type": "string",
            "format": "uri"
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "additionalProperties": {
              "type": "string",
              "maxLength": 256
            }
          },
          "wait": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "kind",
          "input",
          "operations",
          "output",
          "priority",
          "wait"
        ],
        "additionalProperties": false
      },
      "CreateAudioJobRequest": {
        "type": "object",
        "properties": {
          "kind": {
            "default": "audio",
            "type": "string",
            "const": "audio"
          },
          "input": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "url"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "uploadId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "uploadId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "jobId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      "output": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "jobId"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            ]
          },
          "operations": {
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "convert"
                    },
                    "format": {
                      "type": "string",
                      "enum": [
                        "mp3",
                        "m4a",
                        "aac",
                        "flac",
                        "opus",
                        "wav",
                        "ogg",
                        "aiff"
                      ]
                    },
                    "bitrateKbps": {
                      "type": "integer",
                      "minimum": 16,
                      "maximum": 512
                    },
                    "quality": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 100
                    },
                    "sampleRateHz": {
                      "type": "integer",
                      "minimum": 7350,
                      "maximum": 192000
                    },
                    "compressionLevel": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 8
                    },
                    "sampleFormat": {
                      "type": "string",
                      "enum": [
                        "s16",
                        "s24",
                        "s32",
                        "f32"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "format"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "normalize"
                    },
                    "preset": {
                      "default": "streaming",
                      "type": "string",
                      "enum": [
                        "streaming",
                        "podcast",
                        "audiobook",
                        "broadcast",
                        "custom"
                      ]
                    },
                    "targetLufs": {
                      "type": "number",
                      "minimum": -70,
                      "maximum": -5
                    },
                    "truePeakDbtp": {
                      "type": "number",
                      "minimum": -9,
                      "maximum": 0
                    },
                    "loudnessRange": {
                      "default": 7,
                      "type": "number",
                      "minimum": 1,
                      "maximum": 20
                    }
                  },
                  "required": [
                    "type",
                    "preset",
                    "loudnessRange"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "trim"
                    },
                    "startSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0
                    },
                    "endSeconds": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "durationSeconds": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    }
                  },
                  "required": [
                    "type",
                    "startSeconds"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "trim_silence"
                    },
                    "mode": {
                      "default": "both",
                      "type": "string",
                      "enum": [
                        "both",
                        "start",
                        "end"
                      ]
                    },
                    "thresholdDb": {
                      "default": -50,
                      "type": "number",
                      "minimum": -80,
                      "maximum": -5
                    },
                    "minSilenceSeconds": {
                      "default": 0.5,
                      "type": "number",
                      "minimum": 0.05,
                      "maximum": 30
                    },
                    "keepSilenceSeconds": {
                      "default": 0.1,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 5
                    }
                  },
                  "required": [
                    "type",
                    "mode",
                    "thresholdDb",
                    "minSilenceSeconds",
                    "keepSilenceSeconds"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "fade"
                    },
                    "fadeInSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 60
                    },
                    "fadeOutSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 60
                    },
                    "curve": {
                      "default": "qsin",
                      "type": "string",
                      "enum": [
                        "linear",
                        "qsin",
                        "hsin",
                        "esin",
                        "log"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "fadeInSeconds",
                    "fadeOutSeconds",
                    "curve"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "gain"
                    },
                    "db": {
                      "type": "number",
                      "minimum": -48,
                      "maximum": 48
                    },
                    "limitPeakDbtp": {
                      "default": -0.5,
                      "type": "number",
                      "minimum": -6,
                      "maximum": 0
                    }
                  },
                  "required": [
                    "type",
                    "db",
                    "limitPeakDbtp"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "speed"
                    },
                    "factor": {
                      "type": "number",
                      "minimum": 0.25,
                      "maximum": 4
                    }
                  },
                  "required": [
                    "type",
                    "factor"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "pitch"
                    },
                    "semitones": {
                      "type": "number",
                      "minimum": -12,
                      "maximum": 12
                    }
                  },
                  "required": [
                    "type",
                    "semitones"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "equalize"
                    },
                    "preset": {
                      "default": "custom",
                      "type": "string",
                      "enum": [
                        "voice_clarity",
                        "podcast_warmth",
                        "bass_boost",
                        "treble_boost",
                        "de_mud",
                        "custom"
                      ]
                    },
                    "bands": {
                      "minItems": 1,
                      "maxItems": 8,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "filter": {
                            "type": "string",
                            "enum": [
                              "lowshelf",
                              "peaking",
                              "highshelf"
                            ]
                          },
                          "frequencyHz": {
                            "type": "number",
                            "minimum": 20,
                            "maximum": 20000
                          },
                          "gainDb": {
                            "type": "number",
                            "minimum": -24,
                            "maximum": 24
                          },
                          "q": {
                            "default": 1,
                            "type": "number",
                            "minimum": 0.1,
                            "maximum": 10
                          }
                        },
                        "required": [
                          "filter",
                          "frequencyHz",
                          "gainDb",
                          "q"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "type",
                    "preset"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "compress"
                    },
                    "preset": {
                      "default": "podcast",
                      "type": "string",
                      "enum": [
                        "podcast",
                        "broadcast",
                        "gentle",
                        "custom"
                      ]
                    },
                    "thresholdDb": {
                      "type": "number",
                      "minimum": -60,
                      "maximum": 0
                    },
                    "ratio": {
                      "type": "number",
                      "minimum": 1,
                      "maximum": 20
                    },
                    "attackMs": {
                      "type": "number",
                      "minimum": 0.1,
                      "maximum": 500
                    },
                    "releaseMs": {
                      "type": "number",
                      "minimum": 10,
                      "maximum": 2000
                    },
                    "makeupDb": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 24
                    },
                    "kneeDb": {
                      "type": "number",
                      "minimum": 0,
                      "maximum": 12
                    }
                  },
                  "required": [
                    "type",
                    "preset"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "denoise"
                    },
                    "strength": {
                      "default": "medium",
                      "type": "string",
                      "enum": [
                        "light",
                        "medium",
                        "aggressive"
                      ]
                    },
                    "highpassHz": {
                      "type": "number",
                      "minimum": 20,
                      "maximum": 300
                    }
                  },
                  "required": [
                    "type",
                    "strength"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "channels"
                    },
                    "mode": {
                      "type": "string",
                      "enum": [
                        "mono",
                        "stereo",
                        "left",
                        "right",
                        "swap"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "mode"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "strip_metadata"
                    },
                    "removeTags": {
                      "default": true,
                      "type": "boolean"
                    },
                    "removeArtwork": {
                      "default": true,
                      "type": "boolean"
                    },
                    "setTags": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "artist": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "album": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "comment": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 500
                        },
                        "genre": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "year": {
                          "type": "string",
                          "pattern": "^\\d{4}$"
                        }
                      },
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "type",
                    "removeTags",
                    "removeArtwork"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "tags"
                    },
                    "title": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "artist": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "album": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "albumArtist": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "composer": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 200
                    },
                    "genre": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "year": {
                      "type": "string",
                      "pattern": "^\\d{4}$"
                    },
                    "track": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 16
                    },
                    "disc": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 16
                    },
                    "comment": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 500
                    },
                    "artworkUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "chapters": {
                      "minItems": 1,
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "startSeconds": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 7200
                          },
                          "endSeconds": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 7200
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          }
                        },
                        "required": [
                          "startSeconds",
                          "title"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "waveform"
                    },
                    "format": {
                      "default": "json",
                      "type": "string",
                      "enum": [
                        "json",
                        "png"
                      ]
                    },
                    "bins": {
                      "type": "integer",
                      "minimum": 100,
                      "maximum": 4000
                    },
                    "splitChannels": {
                      "default": false,
                      "type": "boolean"
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 100,
                      "maximum": 4096
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 40,
                      "maximum": 1024
                    },
                    "color": {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "backgroundColor": {
                      "anyOf": [
                        {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        {
                          "type": "string",
                          "const": "transparent"
                        }
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "format",
                    "splitChannels"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "concat"
                    },
                    "crossfadeSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 10
                    },
                    "normalize": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "crossfadeSeconds",
                    "normalize"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "mix"
                    },
                    "overlayVolumeDb": {
                      "default": -12,
                      "type": "number",
                      "minimum": -48,
                      "maximum": 12
                    },
                    "ducking": {
                      "default": false,
                      "type": "boolean"
                    },
                    "duckThresholdDb": {
                      "default": -24,
                      "type": "number",
                      "minimum": -50,
                      "maximum": -5
                    },
                    "duckRatio": {
                      "default": 6,
                      "type": "number",
                      "minimum": 1,
                      "maximum": 20
                    },
                    "loopOverlay": {
                      "default": false,
                      "type": "boolean"
                    },
                    "offsetSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 7200
                    }
                  },
                  "required": [
                    "type",
                    "overlayVolumeDb",
                    "ducking",
                    "duckThresholdDb",
                    "duckRatio",
                    "loopOverlay",
                    "offsetSeconds"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "output": {
            "default": {},
            "type": "object",
            "properties": {
              "format": {
                "type": "string",
                "enum": [
                  "mp3",
                  "m4a",
                  "aac",
                  "flac",
                  "opus",
                  "wav",
                  "ogg",
                  "aiff",
                  "json",
                  "png"
                ]
              },
              "destination": {
                "type": "string",
                "format": "uri"
              },
              "bucketId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "objectKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512
              }
            },
            "additionalProperties": false
          },
          "priority": {
            "default": "standard",
            "type": "string",
            "enum": [
              "standard",
              "flex"
            ]
          },
          "retainDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30
          },
          "callbackUrl": {
            "type": "string",
            "format": "uri"
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "additionalProperties": {
              "type": "string",
              "maxLength": 256
            }
          },
          "wait": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "kind",
          "input",
          "operations",
          "output",
          "priority",
          "wait"
        ],
        "additionalProperties": false
      },
      "CreateVideoJobRequest": {
        "type": "object",
        "properties": {
          "kind": {
            "default": "video",
            "type": "string",
            "const": "video"
          },
          "input": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "url"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "uploadId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "uploadId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "jobId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      "output": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "jobId"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            ]
          },
          "operations": {
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "items": {
              "oneOf": [
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "transcode"
                    },
                    "codec": {
                      "type": "string",
                      "enum": [
                        "h264",
                        "hevc",
                        "av1"
                      ]
                    },
                    "container": {
                      "type": "string",
                      "enum": [
                        "mp4",
                        "mov",
                        "mkv",
                        "webm"
                      ]
                    },
                    "chromaTier": {
                      "default": "420_8bit",
                      "type": "string",
                      "enum": [
                        "420_8bit",
                        "420_10bit"
                      ]
                    },
                    "quality": {
                      "default": "balanced",
                      "type": "string",
                      "enum": [
                        "draft",
                        "balanced",
                        "best"
                      ]
                    },
                    "crf": {
                      "type": "integer",
                      "minimum": 14,
                      "maximum": 40
                    },
                    "maxBitrateKbps": {
                      "type": "integer",
                      "minimum": 100,
                      "maximum": 200000
                    },
                    "audioCodec": {
                      "default": "aac",
                      "type": "string",
                      "enum": [
                        "aac",
                        "opus",
                        "copy",
                        "none"
                      ]
                    },
                    "audioBitrateKbps": {
                      "type": "integer",
                      "minimum": 32,
                      "maximum": 512
                    },
                    "hdr": {
                      "type": "string",
                      "enum": [
                        "preserve",
                        "hdr10",
                        "sdr"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "codec",
                    "chromaTier",
                    "quality",
                    "audioCodec"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "resize"
                    },
                    "resolution": {
                      "type": "string",
                      "enum": [
                        "540p",
                        "720p",
                        "1080p",
                        "1440p",
                        "4k",
                        "8k"
                      ]
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 64,
                      "maximum": 7680
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 64,
                      "maximum": 4320
                    },
                    "fit": {
                      "default": "inside",
                      "type": "string",
                      "enum": [
                        "inside",
                        "cover",
                        "contain"
                      ]
                    },
                    "withoutEnlargement": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "fit",
                    "withoutEnlargement"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "crop"
                    },
                    "mode": {
                      "default": "region",
                      "type": "string",
                      "enum": [
                        "region",
                        "aspect"
                      ]
                    },
                    "left": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "top": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 2,
                      "maximum": 7680
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 2,
                      "maximum": 4320
                    },
                    "aspectRatio": {
                      "type": "string",
                      "enum": [
                        "16:9",
                        "9:16",
                        "1:1",
                        "4:5",
                        "4:3",
                        "21:9"
                      ]
                    },
                    "gravity": {
                      "default": "center",
                      "type": "string",
                      "enum": [
                        "center",
                        "north",
                        "south",
                        "east",
                        "west"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "mode",
                    "gravity"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "trim"
                    },
                    "startSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0
                    },
                    "endSeconds": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    "durationSeconds": {
                      "type": "number",
                      "exclusiveMinimum": 0
                    }
                  },
                  "required": [
                    "type",
                    "startSeconds"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "fps"
                    },
                    "targetFps": {
                      "type": "number",
                      "minimum": 1,
                      "maximum": 120
                    },
                    "mode": {
                      "default": "cfr",
                      "type": "string",
                      "enum": [
                        "cfr",
                        "vfr_cap"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "targetFps",
                    "mode"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "rotate"
                    },
                    "degrees": {
                      "anyOf": [
                        {
                          "type": "number",
                          "const": 90
                        },
                        {
                          "type": "number",
                          "const": 180
                        },
                        {
                          "type": "number",
                          "const": 270
                        }
                      ]
                    },
                    "autoOrient": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "speed"
                    },
                    "factor": {
                      "type": "number",
                      "minimum": 0.25,
                      "maximum": 4
                    },
                    "preserveAudioPitch": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "factor",
                    "preserveAudioPitch"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "watermark"
                    },
                    "text": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 120
                    },
                    "imageUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "position": {
                      "default": "bottom-right",
                      "type": "string",
                      "enum": [
                        "top-left",
                        "top-right",
                        "bottom-left",
                        "bottom-right",
                        "center"
                      ]
                    },
                    "opacity": {
                      "default": 0.75,
                      "type": "number",
                      "minimum": 0.05,
                      "maximum": 1
                    },
                    "scale": {
                      "default": 0.15,
                      "type": "number",
                      "minimum": 0.05,
                      "maximum": 0.5
                    },
                    "marginPx": {
                      "default": 24,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 200
                    }
                  },
                  "required": [
                    "type",
                    "position",
                    "opacity",
                    "scale",
                    "marginPx"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "deinterlace"
                    },
                    "mode": {
                      "default": "yadif",
                      "type": "string",
                      "enum": [
                        "yadif",
                        "bwdif"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "mode"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "audio"
                    },
                    "action": {
                      "type": "string",
                      "enum": [
                        "strip",
                        "normalize",
                        "volume",
                        "extract"
                      ]
                    },
                    "preset": {
                      "type": "string",
                      "enum": [
                        "streaming",
                        "podcast",
                        "broadcast"
                      ]
                    },
                    "gainDb": {
                      "type": "number",
                      "minimum": -36,
                      "maximum": 36
                    },
                    "format": {
                      "type": "string",
                      "enum": [
                        "mp3",
                        "m4a",
                        "aac",
                        "flac",
                        "opus",
                        "wav"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "action"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "thumbnail"
                    },
                    "timestampSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0
                    },
                    "format": {
                      "default": "jpeg",
                      "type": "string",
                      "enum": [
                        "jpeg",
                        "png",
                        "webp"
                      ]
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 64,
                      "maximum": 4096
                    },
                    "quality": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 100
                    }
                  },
                  "required": [
                    "type",
                    "timestampSeconds",
                    "format"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "clip"
                    },
                    "format": {
                      "default": "webp",
                      "type": "string",
                      "enum": [
                        "webp",
                        "gif"
                      ]
                    },
                    "startSeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": 0
                    },
                    "durationSeconds": {
                      "default": 5,
                      "type": "number",
                      "minimum": 0.5,
                      "maximum": 30
                    },
                    "fps": {
                      "default": 15,
                      "type": "integer",
                      "minimum": 5,
                      "maximum": 30
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 64,
                      "maximum": 1280
                    }
                  },
                  "required": [
                    "type",
                    "format",
                    "startSeconds",
                    "durationSeconds",
                    "fps"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "strip_metadata"
                    },
                    "removeTags": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "removeTags"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "captions"
                    },
                    "format": {
                      "default": "ass",
                      "type": "string",
                      "enum": [
                        "ass",
                        "srt",
                        "vtt"
                      ]
                    },
                    "subtitleUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "subtitleUploadId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "subtitleJobId": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "subtitleContent": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 512000
                    },
                    "burnIn": {
                      "default": true,
                      "type": "boolean"
                    },
                    "fontSize": {
                      "type": "integer",
                      "minimum": 10,
                      "maximum": 120
                    },
                    "fontName": {
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 64
                    },
                    "primaryColor": {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "outlineColor": {
                      "type": "string",
                      "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                    },
                    "marginV": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 500
                    },
                    "alignment": {
                      "default": "bottom",
                      "type": "string",
                      "enum": [
                        "bottom",
                        "middle",
                        "top"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "format",
                    "burnIn",
                    "alignment"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "compose"
                    },
                    "layout": {
                      "default": "overlay",
                      "type": "string",
                      "enum": [
                        "pip",
                        "side_by_side",
                        "stack_vertical",
                        "overlay"
                      ]
                    },
                    "overlayInput": {
                      "default": "overlay",
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "x": {
                      "default": 0,
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        }
                      ]
                    },
                    "y": {
                      "default": 0,
                      "anyOf": [
                        {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        }
                      ]
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 16,
                      "maximum": 7680
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 16,
                      "maximum": 4320
                    },
                    "opacity": {
                      "default": 1,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 1
                    },
                    "startSeconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "endSeconds": {
                      "type": "number",
                      "minimum": 0
                    }
                  },
                  "required": [
                    "type",
                    "layout",
                    "overlayInput",
                    "x",
                    "y",
                    "opacity"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "concat"
                    },
                    "mode": {
                      "default": "auto",
                      "type": "string",
                      "enum": [
                        "auto",
                        "reencode",
                        "stream_copy"
                      ]
                    },
                    "transition": {
                      "default": "none",
                      "type": "string",
                      "enum": [
                        "none",
                        "crossfade"
                      ]
                    },
                    "transitionDurationSeconds": {
                      "default": 0.5,
                      "type": "number",
                      "minimum": 0.1,
                      "maximum": 3
                    },
                    "normalizeAudio": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "mode",
                    "transition",
                    "transitionDurationSeconds",
                    "normalizeAudio"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "mux"
                    },
                    "audioInput": {
                      "default": "audio",
                      "type": "string",
                      "minLength": 1,
                      "maxLength": 32
                    },
                    "replaceAudio": {
                      "default": true,
                      "type": "boolean"
                    },
                    "audioDelaySeconds": {
                      "default": 0,
                      "type": "number",
                      "minimum": -30,
                      "maximum": 30
                    },
                    "audioVolume": {
                      "default": 1,
                      "type": "number",
                      "minimum": 0,
                      "maximum": 5
                    },
                    "shortest": {
                      "default": true,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "audioInput",
                    "replaceAudio",
                    "audioDelaySeconds",
                    "audioVolume",
                    "shortest"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "chapters"
                    },
                    "chapters": {
                      "minItems": 1,
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "startSeconds": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 28800
                          },
                          "endSeconds": {
                            "type": "number",
                            "minimum": 0,
                            "maximum": 28800
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          }
                        },
                        "required": [
                          "startSeconds",
                          "title"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "fromConcatInputs": {
                      "default": false,
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "type",
                    "fromConcatInputs"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "extract_subtitles"
                    },
                    "trackIndex": {
                      "default": 0,
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 32
                    },
                    "format": {
                      "default": "srt",
                      "type": "string",
                      "enum": [
                        "srt",
                        "vtt",
                        "ass"
                      ]
                    }
                  },
                  "required": [
                    "type",
                    "trackIndex",
                    "format"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "const": "storyboard"
                    },
                    "intervalSeconds": {
                      "default": 10,
                      "type": "number",
                      "minimum": 1,
                      "maximum": 600
                    },
                    "columns": {
                      "default": 5,
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 10
                    },
                    "format": {
                      "default": "jpeg",
                      "type": "string",
                      "enum": [
                        "jpeg",
                        "png",
                        "webp"
                      ]
                    },
                    "width": {
                      "type": "integer",
                      "minimum": 64,
                      "maximum": 1280
                    }
                  },
                  "required": [
                    "type",
                    "intervalSeconds",
                    "columns",
                    "format"
                  ],
                  "additionalProperties": false
                }
              ]
            }
          },
          "output": {
            "default": {},
            "type": "object",
            "properties": {
              "format": {
                "type": "string",
                "enum": [
                  "mp4",
                  "mov",
                  "mkv",
                  "webm",
                  "hls",
                  "srt",
                  "vtt",
                  "ass",
                  "jpeg",
                  "png",
                  "webp",
                  "gif",
                  "mp3",
                  "m4a",
                  "aac",
                  "flac",
                  "opus",
                  "wav"
                ]
              },
              "destination": {
                "type": "string",
                "format": "uri"
              },
              "bucketId": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              "objectKey": {
                "type": "string",
                "minLength": 1,
                "maxLength": 512
              }
            },
            "additionalProperties": false
          },
          "priority": {
            "default": "standard",
            "type": "string",
            "enum": [
              "standard",
              "flex"
            ]
          },
          "retainDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30
          },
          "callbackUrl": {
            "type": "string",
            "format": "uri"
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "additionalProperties": {
              "type": "string",
              "maxLength": 256
            }
          },
          "wait": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "kind",
          "input",
          "operations",
          "output",
          "priority",
          "wait"
        ],
        "additionalProperties": false
      },
      "CreateJobRequest": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string",
            "enum": [
              "image",
              "audio",
              "video",
              "render",
              "doc",
              "ai"
            ]
          },
          "category": {
            "type": "string",
            "enum": [
              "image",
              "audio",
              "video",
              "render",
              "doc",
              "ai"
            ]
          },
          "input": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri"
                      }
                    },
                    "required": [
                      "url"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "uploadId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "uploadId"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "jobId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      "output": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "jobId"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            ]
          },
          "inputs": {
            "anyOf": [
              {
                "minItems": 1,
                "maxItems": 16,
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "uploadId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "uploadId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "jobId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "output": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "jobId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  ]
                }
              },
              {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 32
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "uploadId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "uploadId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "jobId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "output": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "jobId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          },
          "operations": {
            "minItems": 1,
            "maxItems": 10,
            "type": "array",
            "items": {
              "type": "object",
              "propertyNames": {
                "type": "string"
              },
              "additionalProperties": {}
            }
          },
          "output": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp",
                      "avif",
                      "heic",
                      "gif",
                      "bmp",
                      "tiff",
                      "ico",
                      "tga",
                      "ppm"
                    ]
                  },
                  "quality": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100
                  },
                  "background": {
                    "type": "string",
                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                  },
                  "icoSizes": {
                    "minItems": 1,
                    "maxItems": 8,
                    "type": "array",
                    "items": {
                      "type": "integer",
                      "minimum": 16,
                      "maximum": 512
                    }
                  },
                  "destination": {
                    "type": "string",
                    "format": "uri"
                  },
                  "bucketId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "objectKey": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "format": {
                    "type": "string",
                    "enum": [
                      "mp3",
                      "m4a",
                      "aac",
                      "flac",
                      "opus",
                      "wav",
                      "ogg",
                      "aiff",
                      "json",
                      "png"
                    ]
                  },
                  "destination": {
                    "type": "string",
                    "format": "uri"
                  },
                  "bucketId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "objectKey": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "format": {
                    "type": "string",
                    "enum": [
                      "mp4",
                      "mov",
                      "mkv",
                      "webm",
                      "hls",
                      "srt",
                      "vtt",
                      "ass",
                      "jpeg",
                      "png",
                      "webp",
                      "gif",
                      "mp3",
                      "m4a",
                      "aac",
                      "flac",
                      "opus",
                      "wav"
                    ]
                  },
                  "destination": {
                    "type": "string",
                    "format": "uri"
                  },
                  "bucketId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "objectKey": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 512
                  }
                },
                "additionalProperties": false
              }
            ]
          },
          "outputs": {
            "minItems": 1,
            "maxItems": 12,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "label": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64,
                  "pattern": "^[a-zA-Z0-9._-]+$"
                },
                "operations": {
                  "minItems": 1,
                  "maxItems": 10,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "format": {
                  "type": "string"
                },
                "quality": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 100
                },
                "background": {
                  "type": "string",
                  "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                },
                "icoSizes": {
                  "minItems": 1,
                  "maxItems": 8,
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 16,
                    "maximum": 512
                  }
                },
                "destination": {
                  "type": "string",
                  "format": "uri"
                },
                "bucketId": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 64
                },
                "objectKey": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 512
                }
              },
              "required": [
                "label"
              ],
              "additionalProperties": false
            }
          },
          "allOrNothing": {
            "default": false,
            "type": "boolean"
          },
          "priority": {
            "default": "standard",
            "type": "string",
            "enum": [
              "standard",
              "flex"
            ]
          },
          "retainDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30
          },
          "callbackUrl": {
            "type": "string",
            "format": "uri"
          },
          "idempotencyKey": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            },
            "additionalProperties": {
              "type": "string",
              "maxLength": 256
            }
          },
          "wait": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "allOrNothing",
          "priority",
          "wait"
        ],
        "additionalProperties": false
      },
      "CreateBatchJobsRequest": {
        "type": "object",
        "properties": {
          "jobs": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "kind": {
                  "type": "string",
                  "enum": [
                    "image",
                    "audio",
                    "video",
                    "render",
                    "doc",
                    "ai"
                  ]
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "image",
                    "audio",
                    "video",
                    "render",
                    "doc",
                    "ai"
                  ]
                },
                "input": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "uploadId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "uploadId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "jobId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "output": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "jobId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  ]
                },
                "inputs": {
                  "anyOf": [
                    {
                      "minItems": 1,
                      "maxItems": 16,
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": [
                                  "url"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "uploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "uploadId"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "jobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "output": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "jobId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        ]
                      }
                    },
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": [
                                  "url"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "uploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "uploadId"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "jobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "output": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "jobId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                },
                "operations": {
                  "minItems": 1,
                  "maxItems": 10,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {}
                  }
                },
                "output": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "format": {
                          "type": "string",
                          "enum": [
                            "jpeg",
                            "png",
                            "webp",
                            "avif",
                            "heic",
                            "gif",
                            "bmp",
                            "tiff",
                            "ico",
                            "tga",
                            "ppm"
                          ]
                        },
                        "quality": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100
                        },
                        "background": {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "icoSizes": {
                          "minItems": 1,
                          "maxItems": 8,
                          "type": "array",
                          "items": {
                            "type": "integer",
                            "minimum": 16,
                            "maximum": 512
                          }
                        },
                        "destination": {
                          "type": "string",
                          "format": "uri"
                        },
                        "bucketId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "objectKey": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 512
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "format": {
                          "type": "string",
                          "enum": [
                            "mp3",
                            "m4a",
                            "aac",
                            "flac",
                            "opus",
                            "wav",
                            "ogg",
                            "aiff",
                            "json",
                            "png"
                          ]
                        },
                        "destination": {
                          "type": "string",
                          "format": "uri"
                        },
                        "bucketId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "objectKey": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 512
                        }
                      },
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "format": {
                          "type": "string",
                          "enum": [
                            "mp4",
                            "mov",
                            "mkv",
                            "webm",
                            "hls",
                            "srt",
                            "vtt",
                            "ass",
                            "jpeg",
                            "png",
                            "webp",
                            "gif",
                            "mp3",
                            "m4a",
                            "aac",
                            "flac",
                            "opus",
                            "wav"
                          ]
                        },
                        "destination": {
                          "type": "string",
                          "format": "uri"
                        },
                        "bucketId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "objectKey": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 512
                        }
                      },
                      "additionalProperties": false
                    }
                  ]
                },
                "outputs": {
                  "minItems": 1,
                  "maxItems": 12,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64,
                        "pattern": "^[a-zA-Z0-9._-]+$"
                      },
                      "operations": {
                        "minItems": 1,
                        "maxItems": 10,
                        "type": "array",
                        "items": {
                          "type": "object",
                          "propertyNames": {
                            "type": "string"
                          },
                          "additionalProperties": {}
                        }
                      },
                      "format": {
                        "type": "string"
                      },
                      "quality": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "background": {
                        "type": "string",
                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                      },
                      "icoSizes": {
                        "minItems": 1,
                        "maxItems": 8,
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 16,
                          "maximum": 512
                        }
                      },
                      "destination": {
                        "type": "string",
                        "format": "uri"
                      },
                      "bucketId": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      },
                      "objectKey": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 512
                      }
                    },
                    "required": [
                      "label"
                    ],
                    "additionalProperties": false
                  }
                },
                "allOrNothing": {
                  "default": false,
                  "type": "boolean"
                },
                "priority": {
                  "default": "standard",
                  "type": "string",
                  "enum": [
                    "standard",
                    "flex"
                  ]
                },
                "retainDays": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 30
                },
                "callbackUrl": {
                  "type": "string",
                  "format": "uri"
                },
                "idempotencyKey": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "metadata": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "additionalProperties": {
                    "type": "string",
                    "maxLength": 256
                  }
                },
                "wait": {
                  "default": false,
                  "type": "boolean"
                }
              },
              "required": [
                "allOrNothing",
                "priority",
                "wait"
              ],
              "additionalProperties": false
            }
          },
          "stopOnError": {
            "default": false,
            "type": "boolean"
          }
        },
        "required": [
          "jobs",
          "stopOnError"
        ],
        "additionalProperties": false
      },
      "CreateBatchJobsResponse": {
        "type": "object",
        "properties": {
          "batchId": {
            "type": "string"
          },
          "total": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "submitted": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "failed": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "index": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "ok": {
                  "type": "boolean"
                },
                "job": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string"
                    },
                    "accountId": {
                      "type": "string"
                    },
                    "apiKeyId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "requestId": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "workerVersion": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "kind": {
                      "type": "string",
                      "enum": [
                        "image",
                        "video",
                        "audio"
                      ]
                    },
                    "category": {
                      "type": "string",
                      "enum": [
                        "image",
                        "audio",
                        "video",
                        "render",
                        "doc",
                        "ai"
                      ]
                    },
                    "priority": {
                      "default": "standard",
                      "type": "string",
                      "enum": [
                        "standard",
                        "flex"
                      ]
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "accepted",
                        "probing",
                        "rejected",
                        "queued",
                        "provisioning",
                        "running",
                        "verifying",
                        "partial",
                        "delivered",
                        "failed",
                        "canceled"
                      ]
                    },
                    "retentionHours": {
                      "default": 24,
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "retainDays": {
                      "type": "integer",
                      "minimum": 1,
                      "maximum": 30
                    },
                    "retentionCostMicros": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "gpuClass": {
                      "type": "string"
                    },
                    "routingReason": {
                      "type": "string"
                    },
                    "bucketId": {
                      "type": "string"
                    },
                    "parentJobIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    },
                    "input": {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "uploadId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "uploadId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "jobId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "output": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "jobId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "inputs": {
                      "anyOf": [
                        {
                          "minItems": 1,
                          "maxItems": 16,
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uri"
                              },
                              {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "format": "uri"
                                      }
                                    },
                                    "required": [
                                      "url"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "uploadId": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "uploadId"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "jobId": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      },
                                      "output": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "jobId"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            ]
                          }
                        },
                        {
                          "type": "object",
                          "propertyNames": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 32
                          },
                          "additionalProperties": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uri"
                              },
                              {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "url": {
                                        "type": "string",
                                        "format": "uri"
                                      }
                                    },
                                    "required": [
                                      "url"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "uploadId": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "uploadId"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "jobId": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      },
                                      "output": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    },
                                    "required": [
                                      "jobId"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            ]
                          }
                        }
                      ]
                    },
                    "inputProbe": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "format": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasExif": {
                                  "type": "boolean"
                                },
                                "colorSpace": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "width",
                                "height",
                                "format",
                                "bytes",
                                "hasExif",
                                "colorSpace"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "format": {
                                  "type": "string"
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "sampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "channels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "hasTags": {
                                  "type": "boolean"
                                },
                                "hasArtwork": {
                                  "type": "boolean"
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "integratedLufs": {
                                      "type": "number"
                                    },
                                    "truePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "targetLufs": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "integratedLufs",
                                    "truePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "format",
                                "bytes",
                                "durationSeconds"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "fps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "pixFmt": {
                                  "type": "string"
                                },
                                "chromaTier": {
                                  "type": "string",
                                  "enum": [
                                    "420_8bit",
                                    "420_10bit"
                                  ]
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "container": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasAudio": {
                                  "type": "boolean"
                                },
                                "audioCodec": {
                                  "type": "string"
                                },
                                "audioSampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioChannels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "subtitleTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "hdrFormat": {
                                  "type": "string",
                                  "enum": [
                                    "sdr",
                                    "hdr10",
                                    "hlg",
                                    "dolby_vision"
                                  ]
                                },
                                "chapterCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "rotation": {
                                  "type": "number"
                                },
                                "interlaced": {
                                  "type": "boolean"
                                },
                                "hasTags": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "durationSeconds",
                                "width",
                                "height",
                                "fps",
                                "codec",
                                "pixFmt",
                                "container",
                                "bytes",
                                "hasAudio",
                                "hasTags"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "operations": {
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "resize"
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  },
                                  "fit": {
                                    "default": "inside",
                                    "type": "string",
                                    "enum": [
                                      "contain",
                                      "cover",
                                      "fill",
                                      "inside",
                                      "outside"
                                    ]
                                  },
                                  "withoutEnlargement": {
                                    "default": true,
                                    "type": "boolean"
                                  },
                                  "background": {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  }
                                },
                                "required": [
                                  "type",
                                  "fit",
                                  "withoutEnlargement"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "const": "crop"
                                      },
                                      "mode": {
                                        "type": "string",
                                        "const": "region"
                                      },
                                      "x": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "y": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "width": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 16384
                                      },
                                      "height": {
                                        "type": "integer",
                                        "minimum": 1,
                                        "maximum": 16384
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "mode",
                                      "x",
                                      "y",
                                      "width",
                                      "height"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "const": "crop"
                                      },
                                      "mode": {
                                        "type": "string",
                                        "const": "aspect"
                                      },
                                      "aspectRatio": {
                                        "type": "string",
                                        "pattern": "^[1-9]\\d{0,3}:[1-9]\\d{0,3}$"
                                      },
                                      "gravity": {
                                        "default": "center",
                                        "type": "string",
                                        "enum": [
                                          "center",
                                          "north",
                                          "south",
                                          "east",
                                          "west",
                                          "smart"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "mode",
                                      "aspectRatio",
                                      "gravity"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "rotate"
                                  },
                                  "angle": {
                                    "type": "number",
                                    "minimum": -360,
                                    "maximum": 360
                                  },
                                  "background": {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "expand": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "angle",
                                  "expand"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "flip"
                                  },
                                  "direction": {
                                    "type": "string",
                                    "enum": [
                                      "horizontal",
                                      "vertical",
                                      "both"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "direction"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "pad"
                                  },
                                  "top": {
                                    "default": 0,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 4096
                                  },
                                  "right": {
                                    "default": 0,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 4096
                                  },
                                  "bottom": {
                                    "default": 0,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 4096
                                  },
                                  "left": {
                                    "default": 0,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 4096
                                  },
                                  "background": {
                                    "default": "#00000000",
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  }
                                },
                                "required": [
                                  "type",
                                  "top",
                                  "right",
                                  "bottom",
                                  "left",
                                  "background"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "trim"
                                  },
                                  "threshold": {
                                    "default": 10,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 100
                                  }
                                },
                                "required": [
                                  "type",
                                  "threshold"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "blur"
                                  },
                                  "radius": {
                                    "default": 2,
                                    "type": "number",
                                    "minimum": 0.5,
                                    "maximum": 50
                                  }
                                },
                                "required": [
                                  "type",
                                  "radius"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "sharpen"
                                  },
                                  "amount": {
                                    "default": 1.5,
                                    "type": "number",
                                    "minimum": 0.5,
                                    "maximum": 5
                                  },
                                  "radius": {
                                    "default": 1.5,
                                    "type": "number",
                                    "minimum": 0.5,
                                    "maximum": 10
                                  }
                                },
                                "required": [
                                  "type",
                                  "amount",
                                  "radius"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "adjust"
                                  },
                                  "brightness": {
                                    "type": "number",
                                    "minimum": 0.1,
                                    "maximum": 3
                                  },
                                  "contrast": {
                                    "type": "number",
                                    "minimum": 0.1,
                                    "maximum": 3
                                  },
                                  "saturation": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 3
                                  },
                                  "gamma": {
                                    "type": "number",
                                    "minimum": 0.2,
                                    "maximum": 5
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "filter"
                                  },
                                  "name": {
                                    "type": "string",
                                    "enum": [
                                      "grayscale",
                                      "sepia",
                                      "invert",
                                      "auto_contrast",
                                      "equalize",
                                      "emboss",
                                      "contour"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "name"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "pixelate"
                                  },
                                  "blockSize": {
                                    "default": 10,
                                    "type": "integer",
                                    "minimum": 2,
                                    "maximum": 100
                                  }
                                },
                                "required": [
                                  "type",
                                  "blockSize"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "watermark"
                                  },
                                  "text": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 120
                                  },
                                  "imageUrl": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "position": {
                                    "default": "bottom-right",
                                    "type": "string",
                                    "enum": [
                                      "top-left",
                                      "top-right",
                                      "bottom-left",
                                      "bottom-right",
                                      "center"
                                    ]
                                  },
                                  "opacity": {
                                    "default": 0.5,
                                    "type": "number",
                                    "minimum": 0.05,
                                    "maximum": 1
                                  },
                                  "fontSize": {
                                    "default": 28,
                                    "type": "integer",
                                    "minimum": 12,
                                    "maximum": 200
                                  },
                                  "color": {
                                    "default": "#FFFFFF",
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "margin": {
                                    "default": 20,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 200
                                  }
                                },
                                "required": [
                                  "type",
                                  "position",
                                  "opacity",
                                  "fontSize",
                                  "color",
                                  "margin"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "composite"
                                  },
                                  "imageUrl": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "uploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "jobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "output": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "position": {
                                    "default": "bottom_right",
                                    "type": "string",
                                    "enum": [
                                      "top_left",
                                      "top_center",
                                      "top_right",
                                      "center_left",
                                      "center",
                                      "center_right",
                                      "bottom_left",
                                      "bottom_center",
                                      "bottom_right",
                                      "custom"
                                    ]
                                  },
                                  "x": {
                                    "type": "integer",
                                    "minimum": -16384,
                                    "maximum": 16384
                                  },
                                  "y": {
                                    "type": "integer",
                                    "minimum": -16384,
                                    "maximum": 16384
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  },
                                  "scale": {
                                    "type": "number",
                                    "minimum": 0.05,
                                    "maximum": 2
                                  },
                                  "opacity": {
                                    "default": 1,
                                    "type": "number",
                                    "minimum": 0.05,
                                    "maximum": 1
                                  },
                                  "marginPx": {
                                    "default": 16,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 500
                                  }
                                },
                                "required": [
                                  "type",
                                  "position",
                                  "opacity",
                                  "marginPx"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "strip_metadata"
                                  },
                                  "keepOrientation": {
                                    "default": true,
                                    "type": "boolean"
                                  },
                                  "keepColorProfile": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "keepOrientation",
                                  "keepColorProfile"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "convert"
                                  },
                                  "format": {
                                    "type": "string",
                                    "enum": [
                                      "jpeg",
                                      "png",
                                      "webp",
                                      "avif",
                                      "heic",
                                      "gif",
                                      "bmp",
                                      "tiff",
                                      "ico",
                                      "tga",
                                      "ppm"
                                    ]
                                  },
                                  "quality": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 100
                                  },
                                  "lossless": {
                                    "type": "boolean"
                                  },
                                  "progressive": {
                                    "type": "boolean"
                                  },
                                  "background": {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "colorProfile": {
                                    "type": "string",
                                    "enum": [
                                      "keep",
                                      "srgb"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "format"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "text"
                                  },
                                  "content": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 2000
                                  },
                                  "fontSize": {
                                    "default": 32,
                                    "type": "integer",
                                    "minimum": 8,
                                    "maximum": 400
                                  },
                                  "color": {
                                    "default": "#000000",
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "position": {
                                    "default": "bottom_left",
                                    "type": "string",
                                    "enum": [
                                      "top_left",
                                      "top_center",
                                      "top_right",
                                      "center_left",
                                      "center",
                                      "center_right",
                                      "bottom_left",
                                      "bottom_center",
                                      "bottom_right",
                                      "custom"
                                    ]
                                  },
                                  "opacity": {
                                    "default": 1,
                                    "type": "number",
                                    "minimum": 0.05,
                                    "maximum": 1
                                  },
                                  "align": {
                                    "default": "left",
                                    "type": "string",
                                    "enum": [
                                      "left",
                                      "center",
                                      "right"
                                    ]
                                  },
                                  "marginPx": {
                                    "default": 16,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 500
                                  },
                                  "x": {
                                    "type": "integer",
                                    "minimum": -16384,
                                    "maximum": 16384
                                  },
                                  "y": {
                                    "type": "integer",
                                    "minimum": -16384,
                                    "maximum": 16384
                                  }
                                },
                                "required": [
                                  "type",
                                  "content",
                                  "fontSize",
                                  "color",
                                  "position",
                                  "opacity",
                                  "align",
                                  "marginPx"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "corners"
                                  },
                                  "radius": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 4096
                                  }
                                },
                                "required": [
                                  "type",
                                  "radius"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "grid"
                                  },
                                  "imageUrls": {
                                    "minItems": 2,
                                    "maxItems": 16,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uri"
                                    }
                                  },
                                  "columns": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 8
                                  },
                                  "gapPx": {
                                    "default": 8,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 200
                                  },
                                  "background": {
                                    "default": "#FFFFFF",
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "fit": {
                                    "default": "cover",
                                    "type": "string",
                                    "enum": [
                                      "cover",
                                      "contain"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "imageUrls",
                                  "gapPx",
                                  "background",
                                  "fit"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "transcode"
                                  },
                                  "codec": {
                                    "type": "string",
                                    "enum": [
                                      "h264",
                                      "hevc",
                                      "av1"
                                    ]
                                  },
                                  "container": {
                                    "type": "string",
                                    "enum": [
                                      "mp4",
                                      "mov",
                                      "mkv",
                                      "webm"
                                    ]
                                  },
                                  "chromaTier": {
                                    "default": "420_8bit",
                                    "type": "string",
                                    "enum": [
                                      "420_8bit",
                                      "420_10bit"
                                    ]
                                  },
                                  "quality": {
                                    "default": "balanced",
                                    "type": "string",
                                    "enum": [
                                      "draft",
                                      "balanced",
                                      "best"
                                    ]
                                  },
                                  "crf": {
                                    "type": "integer",
                                    "minimum": 14,
                                    "maximum": 40
                                  },
                                  "maxBitrateKbps": {
                                    "type": "integer",
                                    "minimum": 100,
                                    "maximum": 200000
                                  },
                                  "audioCodec": {
                                    "default": "aac",
                                    "type": "string",
                                    "enum": [
                                      "aac",
                                      "opus",
                                      "copy",
                                      "none"
                                    ]
                                  },
                                  "audioBitrateKbps": {
                                    "type": "integer",
                                    "minimum": 32,
                                    "maximum": 512
                                  },
                                  "hdr": {
                                    "type": "string",
                                    "enum": [
                                      "preserve",
                                      "hdr10",
                                      "sdr"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "codec",
                                  "chromaTier",
                                  "quality",
                                  "audioCodec"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "resize"
                                  },
                                  "resolution": {
                                    "type": "string",
                                    "enum": [
                                      "540p",
                                      "720p",
                                      "1080p",
                                      "1440p",
                                      "4k",
                                      "8k"
                                    ]
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 64,
                                    "maximum": 7680
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 64,
                                    "maximum": 4320
                                  },
                                  "fit": {
                                    "default": "inside",
                                    "type": "string",
                                    "enum": [
                                      "inside",
                                      "cover",
                                      "contain"
                                    ]
                                  },
                                  "withoutEnlargement": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "fit",
                                  "withoutEnlargement"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "crop"
                                  },
                                  "mode": {
                                    "default": "region",
                                    "type": "string",
                                    "enum": [
                                      "region",
                                      "aspect"
                                    ]
                                  },
                                  "left": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "top": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 2,
                                    "maximum": 7680
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 2,
                                    "maximum": 4320
                                  },
                                  "aspectRatio": {
                                    "type": "string",
                                    "enum": [
                                      "16:9",
                                      "9:16",
                                      "1:1",
                                      "4:5",
                                      "4:3",
                                      "21:9"
                                    ]
                                  },
                                  "gravity": {
                                    "default": "center",
                                    "type": "string",
                                    "enum": [
                                      "center",
                                      "north",
                                      "south",
                                      "east",
                                      "west"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode",
                                  "gravity"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "trim"
                                  },
                                  "startSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  "endSeconds": {
                                    "type": "number",
                                    "exclusiveMinimum": 0
                                  },
                                  "durationSeconds": {
                                    "type": "number",
                                    "exclusiveMinimum": 0
                                  }
                                },
                                "required": [
                                  "type",
                                  "startSeconds"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "fps"
                                  },
                                  "targetFps": {
                                    "type": "number",
                                    "minimum": 1,
                                    "maximum": 120
                                  },
                                  "mode": {
                                    "default": "cfr",
                                    "type": "string",
                                    "enum": [
                                      "cfr",
                                      "vfr_cap"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "targetFps",
                                  "mode"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "rotate"
                                  },
                                  "degrees": {
                                    "anyOf": [
                                      {
                                        "type": "number",
                                        "const": 90
                                      },
                                      {
                                        "type": "number",
                                        "const": 180
                                      },
                                      {
                                        "type": "number",
                                        "const": 270
                                      }
                                    ]
                                  },
                                  "autoOrient": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "speed"
                                  },
                                  "factor": {
                                    "type": "number",
                                    "minimum": 0.25,
                                    "maximum": 4
                                  },
                                  "preserveAudioPitch": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "factor",
                                  "preserveAudioPitch"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "watermark"
                                  },
                                  "text": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 120
                                  },
                                  "imageUrl": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "position": {
                                    "default": "bottom-right",
                                    "type": "string",
                                    "enum": [
                                      "top-left",
                                      "top-right",
                                      "bottom-left",
                                      "bottom-right",
                                      "center"
                                    ]
                                  },
                                  "opacity": {
                                    "default": 0.75,
                                    "type": "number",
                                    "minimum": 0.05,
                                    "maximum": 1
                                  },
                                  "scale": {
                                    "default": 0.15,
                                    "type": "number",
                                    "minimum": 0.05,
                                    "maximum": 0.5
                                  },
                                  "marginPx": {
                                    "default": 24,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 200
                                  }
                                },
                                "required": [
                                  "type",
                                  "position",
                                  "opacity",
                                  "scale",
                                  "marginPx"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "deinterlace"
                                  },
                                  "mode": {
                                    "default": "yadif",
                                    "type": "string",
                                    "enum": [
                                      "yadif",
                                      "bwdif"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "audio"
                                  },
                                  "action": {
                                    "type": "string",
                                    "enum": [
                                      "strip",
                                      "normalize",
                                      "volume",
                                      "extract"
                                    ]
                                  },
                                  "preset": {
                                    "type": "string",
                                    "enum": [
                                      "streaming",
                                      "podcast",
                                      "broadcast"
                                    ]
                                  },
                                  "gainDb": {
                                    "type": "number",
                                    "minimum": -36,
                                    "maximum": 36
                                  },
                                  "format": {
                                    "type": "string",
                                    "enum": [
                                      "mp3",
                                      "m4a",
                                      "aac",
                                      "flac",
                                      "opus",
                                      "wav"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "action"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "thumbnail"
                                  },
                                  "timestampSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  "format": {
                                    "default": "jpeg",
                                    "type": "string",
                                    "enum": [
                                      "jpeg",
                                      "png",
                                      "webp"
                                    ]
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 64,
                                    "maximum": 4096
                                  },
                                  "quality": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 100
                                  }
                                },
                                "required": [
                                  "type",
                                  "timestampSeconds",
                                  "format"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "clip"
                                  },
                                  "format": {
                                    "default": "webp",
                                    "type": "string",
                                    "enum": [
                                      "webp",
                                      "gif"
                                    ]
                                  },
                                  "startSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  "durationSeconds": {
                                    "default": 5,
                                    "type": "number",
                                    "minimum": 0.5,
                                    "maximum": 30
                                  },
                                  "fps": {
                                    "default": 15,
                                    "type": "integer",
                                    "minimum": 5,
                                    "maximum": 30
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 64,
                                    "maximum": 1280
                                  }
                                },
                                "required": [
                                  "type",
                                  "format",
                                  "startSeconds",
                                  "durationSeconds",
                                  "fps"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "strip_metadata"
                                  },
                                  "removeTags": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "removeTags"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "captions"
                                  },
                                  "format": {
                                    "default": "ass",
                                    "type": "string",
                                    "enum": [
                                      "ass",
                                      "srt",
                                      "vtt"
                                    ]
                                  },
                                  "subtitleUrl": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "subtitleUploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "subtitleJobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "subtitleContent": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 512000
                                  },
                                  "burnIn": {
                                    "default": true,
                                    "type": "boolean"
                                  },
                                  "fontSize": {
                                    "type": "integer",
                                    "minimum": 10,
                                    "maximum": 120
                                  },
                                  "fontName": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "primaryColor": {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "outlineColor": {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "marginV": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 500
                                  },
                                  "alignment": {
                                    "default": "bottom",
                                    "type": "string",
                                    "enum": [
                                      "bottom",
                                      "middle",
                                      "top"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "format",
                                  "burnIn",
                                  "alignment"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "compose"
                                  },
                                  "layout": {
                                    "default": "overlay",
                                    "type": "string",
                                    "enum": [
                                      "pip",
                                      "side_by_side",
                                      "stack_vertical",
                                      "overlay"
                                    ]
                                  },
                                  "overlayInput": {
                                    "default": "overlay",
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 32
                                  },
                                  "x": {
                                    "default": 0,
                                    "anyOf": [
                                      {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    ]
                                  },
                                  "y": {
                                    "default": 0,
                                    "anyOf": [
                                      {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      }
                                    ]
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 16,
                                    "maximum": 7680
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 16,
                                    "maximum": 4320
                                  },
                                  "opacity": {
                                    "default": 1,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 1
                                  },
                                  "startSeconds": {
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  "endSeconds": {
                                    "type": "number",
                                    "minimum": 0
                                  }
                                },
                                "required": [
                                  "type",
                                  "layout",
                                  "overlayInput",
                                  "x",
                                  "y",
                                  "opacity"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "concat"
                                  },
                                  "mode": {
                                    "default": "auto",
                                    "type": "string",
                                    "enum": [
                                      "auto",
                                      "reencode",
                                      "stream_copy"
                                    ]
                                  },
                                  "transition": {
                                    "default": "none",
                                    "type": "string",
                                    "enum": [
                                      "none",
                                      "crossfade"
                                    ]
                                  },
                                  "transitionDurationSeconds": {
                                    "default": 0.5,
                                    "type": "number",
                                    "minimum": 0.1,
                                    "maximum": 3
                                  },
                                  "normalizeAudio": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode",
                                  "transition",
                                  "transitionDurationSeconds",
                                  "normalizeAudio"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "mux"
                                  },
                                  "audioInput": {
                                    "default": "audio",
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 32
                                  },
                                  "replaceAudio": {
                                    "default": true,
                                    "type": "boolean"
                                  },
                                  "audioDelaySeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": -30,
                                    "maximum": 30
                                  },
                                  "audioVolume": {
                                    "default": 1,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 5
                                  },
                                  "shortest": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "audioInput",
                                  "replaceAudio",
                                  "audioDelaySeconds",
                                  "audioVolume",
                                  "shortest"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "chapters"
                                  },
                                  "chapters": {
                                    "minItems": 1,
                                    "maxItems": 200,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "startSeconds": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 28800
                                        },
                                        "endSeconds": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 28800
                                        },
                                        "title": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200
                                        }
                                      },
                                      "required": [
                                        "startSeconds",
                                        "title"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "fromConcatInputs": {
                                    "default": false,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "fromConcatInputs"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "extract_subtitles"
                                  },
                                  "trackIndex": {
                                    "default": 0,
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 32
                                  },
                                  "format": {
                                    "default": "srt",
                                    "type": "string",
                                    "enum": [
                                      "srt",
                                      "vtt",
                                      "ass"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "trackIndex",
                                  "format"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "storyboard"
                                  },
                                  "intervalSeconds": {
                                    "default": 10,
                                    "type": "number",
                                    "minimum": 1,
                                    "maximum": 600
                                  },
                                  "columns": {
                                    "default": 5,
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 10
                                  },
                                  "format": {
                                    "default": "jpeg",
                                    "type": "string",
                                    "enum": [
                                      "jpeg",
                                      "png",
                                      "webp"
                                    ]
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 64,
                                    "maximum": 1280
                                  }
                                },
                                "required": [
                                  "type",
                                  "intervalSeconds",
                                  "columns",
                                  "format"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "convert"
                                  },
                                  "format": {
                                    "type": "string",
                                    "enum": [
                                      "mp3",
                                      "m4a",
                                      "aac",
                                      "flac",
                                      "opus",
                                      "wav",
                                      "ogg",
                                      "aiff"
                                    ]
                                  },
                                  "bitrateKbps": {
                                    "type": "integer",
                                    "minimum": 16,
                                    "maximum": 512
                                  },
                                  "quality": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 100
                                  },
                                  "sampleRateHz": {
                                    "type": "integer",
                                    "minimum": 7350,
                                    "maximum": 192000
                                  },
                                  "compressionLevel": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 8
                                  },
                                  "sampleFormat": {
                                    "type": "string",
                                    "enum": [
                                      "s16",
                                      "s24",
                                      "s32",
                                      "f32"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "format"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "normalize"
                                  },
                                  "preset": {
                                    "default": "streaming",
                                    "type": "string",
                                    "enum": [
                                      "streaming",
                                      "podcast",
                                      "audiobook",
                                      "broadcast",
                                      "custom"
                                    ]
                                  },
                                  "targetLufs": {
                                    "type": "number",
                                    "minimum": -70,
                                    "maximum": -5
                                  },
                                  "truePeakDbtp": {
                                    "type": "number",
                                    "minimum": -9,
                                    "maximum": 0
                                  },
                                  "loudnessRange": {
                                    "default": 7,
                                    "type": "number",
                                    "minimum": 1,
                                    "maximum": 20
                                  }
                                },
                                "required": [
                                  "type",
                                  "preset",
                                  "loudnessRange"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "trim"
                                  },
                                  "startSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0
                                  },
                                  "endSeconds": {
                                    "type": "number",
                                    "exclusiveMinimum": 0
                                  },
                                  "durationSeconds": {
                                    "type": "number",
                                    "exclusiveMinimum": 0
                                  }
                                },
                                "required": [
                                  "type",
                                  "startSeconds"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "trim_silence"
                                  },
                                  "mode": {
                                    "default": "both",
                                    "type": "string",
                                    "enum": [
                                      "both",
                                      "start",
                                      "end"
                                    ]
                                  },
                                  "thresholdDb": {
                                    "default": -50,
                                    "type": "number",
                                    "minimum": -80,
                                    "maximum": -5
                                  },
                                  "minSilenceSeconds": {
                                    "default": 0.5,
                                    "type": "number",
                                    "minimum": 0.05,
                                    "maximum": 30
                                  },
                                  "keepSilenceSeconds": {
                                    "default": 0.1,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 5
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode",
                                  "thresholdDb",
                                  "minSilenceSeconds",
                                  "keepSilenceSeconds"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "fade"
                                  },
                                  "fadeInSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 60
                                  },
                                  "fadeOutSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 60
                                  },
                                  "curve": {
                                    "default": "qsin",
                                    "type": "string",
                                    "enum": [
                                      "linear",
                                      "qsin",
                                      "hsin",
                                      "esin",
                                      "log"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "fadeInSeconds",
                                  "fadeOutSeconds",
                                  "curve"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "gain"
                                  },
                                  "db": {
                                    "type": "number",
                                    "minimum": -48,
                                    "maximum": 48
                                  },
                                  "limitPeakDbtp": {
                                    "default": -0.5,
                                    "type": "number",
                                    "minimum": -6,
                                    "maximum": 0
                                  }
                                },
                                "required": [
                                  "type",
                                  "db",
                                  "limitPeakDbtp"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "speed"
                                  },
                                  "factor": {
                                    "type": "number",
                                    "minimum": 0.25,
                                    "maximum": 4
                                  }
                                },
                                "required": [
                                  "type",
                                  "factor"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "pitch"
                                  },
                                  "semitones": {
                                    "type": "number",
                                    "minimum": -12,
                                    "maximum": 12
                                  }
                                },
                                "required": [
                                  "type",
                                  "semitones"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "equalize"
                                  },
                                  "preset": {
                                    "default": "custom",
                                    "type": "string",
                                    "enum": [
                                      "voice_clarity",
                                      "podcast_warmth",
                                      "bass_boost",
                                      "treble_boost",
                                      "de_mud",
                                      "custom"
                                    ]
                                  },
                                  "bands": {
                                    "minItems": 1,
                                    "maxItems": 8,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "filter": {
                                          "type": "string",
                                          "enum": [
                                            "lowshelf",
                                            "peaking",
                                            "highshelf"
                                          ]
                                        },
                                        "frequencyHz": {
                                          "type": "number",
                                          "minimum": 20,
                                          "maximum": 20000
                                        },
                                        "gainDb": {
                                          "type": "number",
                                          "minimum": -24,
                                          "maximum": 24
                                        },
                                        "q": {
                                          "default": 1,
                                          "type": "number",
                                          "minimum": 0.1,
                                          "maximum": 10
                                        }
                                      },
                                      "required": [
                                        "filter",
                                        "frequencyHz",
                                        "gainDb",
                                        "q"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "type",
                                  "preset"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "compress"
                                  },
                                  "preset": {
                                    "default": "podcast",
                                    "type": "string",
                                    "enum": [
                                      "podcast",
                                      "broadcast",
                                      "gentle",
                                      "custom"
                                    ]
                                  },
                                  "thresholdDb": {
                                    "type": "number",
                                    "minimum": -60,
                                    "maximum": 0
                                  },
                                  "ratio": {
                                    "type": "number",
                                    "minimum": 1,
                                    "maximum": 20
                                  },
                                  "attackMs": {
                                    "type": "number",
                                    "minimum": 0.1,
                                    "maximum": 500
                                  },
                                  "releaseMs": {
                                    "type": "number",
                                    "minimum": 10,
                                    "maximum": 2000
                                  },
                                  "makeupDb": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 24
                                  },
                                  "kneeDb": {
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 12
                                  }
                                },
                                "required": [
                                  "type",
                                  "preset"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "denoise"
                                  },
                                  "strength": {
                                    "default": "medium",
                                    "type": "string",
                                    "enum": [
                                      "light",
                                      "medium",
                                      "aggressive"
                                    ]
                                  },
                                  "highpassHz": {
                                    "type": "number",
                                    "minimum": 20,
                                    "maximum": 300
                                  }
                                },
                                "required": [
                                  "type",
                                  "strength"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "channels"
                                  },
                                  "mode": {
                                    "type": "string",
                                    "enum": [
                                      "mono",
                                      "stereo",
                                      "left",
                                      "right",
                                      "swap"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "strip_metadata"
                                  },
                                  "removeTags": {
                                    "default": true,
                                    "type": "boolean"
                                  },
                                  "removeArtwork": {
                                    "default": true,
                                    "type": "boolean"
                                  },
                                  "setTags": {
                                    "type": "object",
                                    "properties": {
                                      "title": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 200
                                      },
                                      "artist": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 200
                                      },
                                      "album": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 200
                                      },
                                      "comment": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 500
                                      },
                                      "genre": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 64
                                      },
                                      "year": {
                                        "type": "string",
                                        "pattern": "^\\d{4}$"
                                      }
                                    },
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "type",
                                  "removeTags",
                                  "removeArtwork"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "tags"
                                  },
                                  "title": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "artist": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "album": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "albumArtist": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "composer": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "genre": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "year": {
                                    "type": "string",
                                    "pattern": "^\\d{4}$"
                                  },
                                  "track": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 16
                                  },
                                  "disc": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 16
                                  },
                                  "comment": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 500
                                  },
                                  "artworkUrl": {
                                    "type": "string",
                                    "format": "uri"
                                  },
                                  "chapters": {
                                    "minItems": 1,
                                    "maxItems": 200,
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "startSeconds": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 7200
                                        },
                                        "endSeconds": {
                                          "type": "number",
                                          "minimum": 0,
                                          "maximum": 7200
                                        },
                                        "title": {
                                          "type": "string",
                                          "minLength": 1,
                                          "maxLength": 200
                                        }
                                      },
                                      "required": [
                                        "startSeconds",
                                        "title"
                                      ],
                                      "additionalProperties": false
                                    }
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "waveform"
                                  },
                                  "format": {
                                    "default": "json",
                                    "type": "string",
                                    "enum": [
                                      "json",
                                      "png"
                                    ]
                                  },
                                  "bins": {
                                    "type": "integer",
                                    "minimum": 100,
                                    "maximum": 4000
                                  },
                                  "splitChannels": {
                                    "default": false,
                                    "type": "boolean"
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 100,
                                    "maximum": 4096
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 40,
                                    "maximum": 1024
                                  },
                                  "color": {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  "backgroundColor": {
                                    "anyOf": [
                                      {
                                        "type": "string",
                                        "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                      },
                                      {
                                        "type": "string",
                                        "const": "transparent"
                                      }
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "format",
                                  "splitChannels"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "concat"
                                  },
                                  "crossfadeSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 10
                                  },
                                  "normalize": {
                                    "default": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "type",
                                  "crossfadeSeconds",
                                  "normalize"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "mix"
                                  },
                                  "overlayVolumeDb": {
                                    "default": -12,
                                    "type": "number",
                                    "minimum": -48,
                                    "maximum": 12
                                  },
                                  "ducking": {
                                    "default": false,
                                    "type": "boolean"
                                  },
                                  "duckThresholdDb": {
                                    "default": -24,
                                    "type": "number",
                                    "minimum": -50,
                                    "maximum": -5
                                  },
                                  "duckRatio": {
                                    "default": 6,
                                    "type": "number",
                                    "minimum": 1,
                                    "maximum": 20
                                  },
                                  "loopOverlay": {
                                    "default": false,
                                    "type": "boolean"
                                  },
                                  "offsetSeconds": {
                                    "default": 0,
                                    "type": "number",
                                    "minimum": 0,
                                    "maximum": 7200
                                  }
                                },
                                "required": [
                                  "type",
                                  "overlayVolumeDb",
                                  "ducking",
                                  "duckThresholdDb",
                                  "duckRatio",
                                  "loopOverlay",
                                  "offsetSeconds"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        ]
                      }
                    },
                    "output": {
                      "type": "object",
                      "properties": {
                        "format": {
                          "type": "string"
                        },
                        "destination": {
                          "type": "string",
                          "format": "uri"
                        },
                        "downloadUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "expiresAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        }
                      },
                      "additionalProperties": false
                    },
                    "outputs": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "label": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "pending",
                              "delivered",
                              "failed"
                            ]
                          },
                          "format": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "contentType": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "bytes": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "durationSeconds": {
                            "anyOf": [
                              {
                                "type": "number",
                                "minimum": 0
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "width": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "height": {
                            "anyOf": [
                              {
                                "type": "integer",
                                "exclusiveMinimum": 0,
                                "maximum": 9007199254740991
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "sha256": {
                            "type": [
                              "string",
                              "null"
                            ]
                          },
                          "destination": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uri"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "downloadUrl": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "uri"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "expiresAt": {
                            "anyOf": [
                              {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "costMicros": {
                            "default": 0,
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "retentionCostMicros": {
                            "default": 0,
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "verificationReport": {
                            "anyOf": [
                              {
                                "anyOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "verified": {
                                        "type": "boolean"
                                      },
                                      "engine": {
                                        "type": "string"
                                      },
                                      "inputProbe": {
                                        "type": "object",
                                        "properties": {
                                          "width": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "height": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "format": {
                                            "type": "string"
                                          },
                                          "bytes": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "hasExif": {
                                            "type": "boolean"
                                          },
                                          "colorSpace": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "width",
                                          "height",
                                          "format",
                                          "bytes",
                                          "hasExif",
                                          "colorSpace"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "outputProbe": {
                                        "type": "object",
                                        "properties": {
                                          "width": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "height": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "format": {
                                            "type": "string",
                                            "enum": [
                                              "jpeg",
                                              "png",
                                              "webp",
                                              "avif",
                                              "heic",
                                              "gif",
                                              "bmp",
                                              "tiff",
                                              "ico",
                                              "tga",
                                              "ppm"
                                            ]
                                          },
                                          "bytes": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "exifStripped": {
                                            "type": "boolean"
                                          },
                                          "sha256": {
                                            "type": "string",
                                            "pattern": "^[a-f0-9]{64}$"
                                          }
                                        },
                                        "required": [
                                          "width",
                                          "height",
                                          "format",
                                          "bytes",
                                          "exifStripped",
                                          "sha256"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "checks": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "passed": {
                                              "type": "boolean"
                                            },
                                            "detail": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "passed"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "timingsMs": {
                                        "type": "object",
                                        "properties": {
                                          "probe": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "download": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "transform": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "verify": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "upload": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "total": {
                                            "type": "number",
                                            "minimum": 0
                                          }
                                        },
                                        "required": [
                                          "probe",
                                          "download",
                                          "transform",
                                          "verify",
                                          "upload",
                                          "total"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "verified",
                                      "engine",
                                      "inputProbe",
                                      "outputProbe",
                                      "checks",
                                      "timingsMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "verified": {
                                        "type": "boolean"
                                      },
                                      "engine": {
                                        "type": "string"
                                      },
                                      "inputProbe": {
                                        "type": "object",
                                        "properties": {
                                          "format": {
                                            "type": "string"
                                          },
                                          "codec": {
                                            "type": "string"
                                          },
                                          "bytes": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "durationSeconds": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "sampleRateHz": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "channels": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "bitrateKbps": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "hasTags": {
                                            "type": "boolean"
                                          },
                                          "hasArtwork": {
                                            "type": "boolean"
                                          },
                                          "loudness": {
                                            "type": "object",
                                            "properties": {
                                              "integratedLufs": {
                                                "type": "number"
                                              },
                                              "truePeakDbtp": {
                                                "type": "number"
                                              },
                                              "loudnessRangeLu": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "targetLufs": {
                                                "type": "number"
                                              }
                                            },
                                            "required": [
                                              "integratedLufs",
                                              "truePeakDbtp"
                                            ],
                                            "additionalProperties": false
                                          }
                                        },
                                        "required": [
                                          "format",
                                          "bytes",
                                          "durationSeconds"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "outputProbe": {
                                        "type": "object",
                                        "properties": {
                                          "format": {
                                            "type": "string",
                                            "enum": [
                                              "mp3",
                                              "m4a",
                                              "aac",
                                              "flac",
                                              "opus",
                                              "wav",
                                              "ogg",
                                              "aiff",
                                              "json",
                                              "png"
                                            ]
                                          },
                                          "codec": {
                                            "type": "string"
                                          },
                                          "bytes": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "durationSeconds": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "sampleRateHz": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "channels": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "bitrateKbps": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "tagsStripped": {
                                            "type": "boolean"
                                          },
                                          "artworkStripped": {
                                            "type": "boolean"
                                          },
                                          "loudness": {
                                            "type": "object",
                                            "properties": {
                                              "integratedLufs": {
                                                "type": "number"
                                              },
                                              "truePeakDbtp": {
                                                "type": "number"
                                              },
                                              "loudnessRangeLu": {
                                                "type": "number",
                                                "minimum": 0
                                              },
                                              "targetLufs": {
                                                "type": "number"
                                              }
                                            },
                                            "required": [
                                              "integratedLufs",
                                              "truePeakDbtp"
                                            ],
                                            "additionalProperties": false
                                          },
                                          "width": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "height": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "bins": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "sha256": {
                                            "type": "string",
                                            "pattern": "^[a-f0-9]{64}$"
                                          }
                                        },
                                        "required": [
                                          "format",
                                          "bytes",
                                          "durationSeconds",
                                          "sha256"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "loudness": {
                                        "type": "object",
                                        "properties": {
                                          "targetLufs": {
                                            "type": "number"
                                          },
                                          "targetTruePeakDbtp": {
                                            "type": "number"
                                          },
                                          "measuredLufs": {
                                            "type": "number"
                                          },
                                          "measuredTruePeakDbtp": {
                                            "type": "number"
                                          },
                                          "loudnessRangeLu": {
                                            "type": "number",
                                            "minimum": 0
                                          }
                                        },
                                        "required": [
                                          "targetLufs",
                                          "targetTruePeakDbtp",
                                          "measuredLufs",
                                          "measuredTruePeakDbtp"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "silence": {
                                        "type": "object",
                                        "properties": {
                                          "detectedSegments": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "startSeconds": {
                                                  "type": "number",
                                                  "minimum": 0
                                                },
                                                "endSeconds": {
                                                  "type": "number",
                                                  "minimum": 0
                                                }
                                              },
                                              "required": [
                                                "startSeconds",
                                                "endSeconds"
                                              ],
                                              "additionalProperties": false
                                            }
                                          }
                                        },
                                        "required": [
                                          "detectedSegments"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "chapters": {
                                        "type": "object",
                                        "properties": {
                                          "count": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "titles": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          }
                                        },
                                        "required": [
                                          "count",
                                          "titles"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "checks": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "passed": {
                                              "type": "boolean"
                                            },
                                            "detail": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "passed"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "timingsMs": {
                                        "type": "object",
                                        "properties": {
                                          "probe": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "download": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "transform": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "verify": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "upload": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "total": {
                                            "type": "number",
                                            "minimum": 0
                                          }
                                        },
                                        "required": [
                                          "probe",
                                          "download",
                                          "transform",
                                          "verify",
                                          "upload",
                                          "total"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "verified",
                                      "engine",
                                      "inputProbe",
                                      "outputProbe",
                                      "checks",
                                      "timingsMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "verified": {
                                        "type": "boolean"
                                      },
                                      "engine": {
                                        "type": "string"
                                      },
                                      "gpuClass": {
                                        "type": "string"
                                      },
                                      "inputProbe": {
                                        "type": "object",
                                        "properties": {
                                          "durationSeconds": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "width": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "height": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "fps": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "codec": {
                                            "type": "string"
                                          },
                                          "pixFmt": {
                                            "type": "string"
                                          },
                                          "chromaTier": {
                                            "type": "string",
                                            "enum": [
                                              "420_8bit",
                                              "420_10bit"
                                            ]
                                          },
                                          "bitrateKbps": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "container": {
                                            "type": "string"
                                          },
                                          "bytes": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "hasAudio": {
                                            "type": "boolean"
                                          },
                                          "audioCodec": {
                                            "type": "string"
                                          },
                                          "audioSampleRateHz": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "audioChannels": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "audioTracks": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "codec": {
                                                  "type": "string"
                                                },
                                                "language": {
                                                  "type": "string"
                                                },
                                                "channels": {
                                                  "type": "integer",
                                                  "minimum": 0,
                                                  "maximum": 9007199254740991
                                                }
                                              },
                                              "required": [
                                                "codec"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "subtitleTracks": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "codec": {
                                                  "type": "string"
                                                },
                                                "language": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "codec"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "hdrFormat": {
                                            "type": "string",
                                            "enum": [
                                              "sdr",
                                              "hdr10",
                                              "hlg",
                                              "dolby_vision"
                                            ]
                                          },
                                          "chapterCount": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "rotation": {
                                            "type": "number"
                                          },
                                          "interlaced": {
                                            "type": "boolean"
                                          },
                                          "hasTags": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "durationSeconds",
                                          "width",
                                          "height",
                                          "fps",
                                          "codec",
                                          "pixFmt",
                                          "container",
                                          "bytes",
                                          "hasAudio",
                                          "hasTags"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "outputProbe": {
                                        "type": "object",
                                        "properties": {
                                          "durationSeconds": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "width": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "height": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "fps": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "codec": {
                                            "type": "string"
                                          },
                                          "profile": {
                                            "type": "string"
                                          },
                                          "pixFmt": {
                                            "type": "string"
                                          },
                                          "container": {
                                            "type": "string",
                                            "enum": [
                                              "mp4",
                                              "mov",
                                              "mkv",
                                              "webm",
                                              "hls",
                                              "srt",
                                              "vtt",
                                              "ass",
                                              "jpeg",
                                              "png",
                                              "webp",
                                              "gif",
                                              "mp3",
                                              "m4a",
                                              "aac",
                                              "flac",
                                              "opus",
                                              "wav"
                                            ]
                                          },
                                          "bitrateKbps": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "bytes": {
                                            "type": "integer",
                                            "exclusiveMinimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "sha256": {
                                            "type": "string",
                                            "pattern": "^[a-f0-9]{64}$"
                                          },
                                          "hasAudio": {
                                            "type": "boolean"
                                          },
                                          "audioCodec": {
                                            "type": "string"
                                          },
                                          "audioTrackCount": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "subtitleTrackCount": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "hdrFormat": {
                                            "type": "string",
                                            "enum": [
                                              "sdr",
                                              "hdr10",
                                              "hlg",
                                              "dolby_vision"
                                            ]
                                          },
                                          "chapterCount": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "segmentCount": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          },
                                          "segmentFiles": {
                                            "type": "array",
                                            "items": {
                                              "type": "string"
                                            }
                                          },
                                          "subtitleFiles": {
                                            "type": "array",
                                            "items": {
                                              "type": "object",
                                              "properties": {
                                                "name": {
                                                  "type": "string"
                                                },
                                                "language": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "name",
                                                "language"
                                              ],
                                              "additionalProperties": false
                                            }
                                          },
                                          "avSyncDriftSeconds": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "keyframesVerified": {
                                            "type": "boolean"
                                          },
                                          "hasTags": {
                                            "type": "boolean"
                                          }
                                        },
                                        "required": [
                                          "durationSeconds",
                                          "width",
                                          "height",
                                          "fps",
                                          "codec",
                                          "pixFmt",
                                          "container",
                                          "bytes",
                                          "sha256",
                                          "hasAudio",
                                          "keyframesVerified",
                                          "hasTags"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "checks": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "passed": {
                                              "type": "boolean"
                                            },
                                            "detail": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "passed"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "timingsMs": {
                                        "type": "object",
                                        "properties": {
                                          "probe": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "download": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "transform": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "verify": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "upload": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "total": {
                                            "type": "number",
                                            "minimum": 0
                                          }
                                        },
                                        "required": [
                                          "probe",
                                          "download",
                                          "transform",
                                          "verify",
                                          "upload",
                                          "total"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "verified",
                                      "engine",
                                      "inputProbe",
                                      "outputProbe",
                                      "checks",
                                      "timingsMs"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "error": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string"
                                  },
                                  "message": {
                                    "type": "string"
                                  },
                                  "retryable": {
                                    "type": "boolean"
                                  },
                                  "hint": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "code",
                                  "message",
                                  "retryable"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "label",
                          "status",
                          "costMicros",
                          "retentionCostMicros"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "verificationReport": {
                      "anyOf": [
                        {
                          "anyOf": [
                            {
                              "type": "object",
                              "properties": {
                                "verified": {
                                  "type": "boolean"
                                },
                                "engine": {
                                  "type": "string"
                                },
                                "inputProbe": {
                                  "type": "object",
                                  "properties": {
                                    "width": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "height": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "format": {
                                      "type": "string"
                                    },
                                    "bytes": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "hasExif": {
                                      "type": "boolean"
                                    },
                                    "colorSpace": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "width",
                                    "height",
                                    "format",
                                    "bytes",
                                    "hasExif",
                                    "colorSpace"
                                  ],
                                  "additionalProperties": false
                                },
                                "outputProbe": {
                                  "type": "object",
                                  "properties": {
                                    "width": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "height": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "format": {
                                      "type": "string",
                                      "enum": [
                                        "jpeg",
                                        "png",
                                        "webp",
                                        "avif",
                                        "heic",
                                        "gif",
                                        "bmp",
                                        "tiff",
                                        "ico",
                                        "tga",
                                        "ppm"
                                      ]
                                    },
                                    "bytes": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "exifStripped": {
                                      "type": "boolean"
                                    },
                                    "sha256": {
                                      "type": "string",
                                      "pattern": "^[a-f0-9]{64}$"
                                    }
                                  },
                                  "required": [
                                    "width",
                                    "height",
                                    "format",
                                    "bytes",
                                    "exifStripped",
                                    "sha256"
                                  ],
                                  "additionalProperties": false
                                },
                                "checks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "passed": {
                                        "type": "boolean"
                                      },
                                      "detail": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "passed"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "timingsMs": {
                                  "type": "object",
                                  "properties": {
                                    "probe": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "download": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "transform": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "verify": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "upload": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "total": {
                                      "type": "number",
                                      "minimum": 0
                                    }
                                  },
                                  "required": [
                                    "probe",
                                    "download",
                                    "transform",
                                    "verify",
                                    "upload",
                                    "total"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "verified",
                                "engine",
                                "inputProbe",
                                "outputProbe",
                                "checks",
                                "timingsMs"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "verified": {
                                  "type": "boolean"
                                },
                                "engine": {
                                  "type": "string"
                                },
                                "inputProbe": {
                                  "type": "object",
                                  "properties": {
                                    "format": {
                                      "type": "string"
                                    },
                                    "codec": {
                                      "type": "string"
                                    },
                                    "bytes": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "durationSeconds": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "sampleRateHz": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "channels": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "bitrateKbps": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "hasTags": {
                                      "type": "boolean"
                                    },
                                    "hasArtwork": {
                                      "type": "boolean"
                                    },
                                    "loudness": {
                                      "type": "object",
                                      "properties": {
                                        "integratedLufs": {
                                          "type": "number"
                                        },
                                        "truePeakDbtp": {
                                          "type": "number"
                                        },
                                        "loudnessRangeLu": {
                                          "type": "number",
                                          "minimum": 0
                                        },
                                        "targetLufs": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "integratedLufs",
                                        "truePeakDbtp"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "required": [
                                    "format",
                                    "bytes",
                                    "durationSeconds"
                                  ],
                                  "additionalProperties": false
                                },
                                "outputProbe": {
                                  "type": "object",
                                  "properties": {
                                    "format": {
                                      "type": "string",
                                      "enum": [
                                        "mp3",
                                        "m4a",
                                        "aac",
                                        "flac",
                                        "opus",
                                        "wav",
                                        "ogg",
                                        "aiff",
                                        "json",
                                        "png"
                                      ]
                                    },
                                    "codec": {
                                      "type": "string"
                                    },
                                    "bytes": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "durationSeconds": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "sampleRateHz": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "channels": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "bitrateKbps": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "tagsStripped": {
                                      "type": "boolean"
                                    },
                                    "artworkStripped": {
                                      "type": "boolean"
                                    },
                                    "loudness": {
                                      "type": "object",
                                      "properties": {
                                        "integratedLufs": {
                                          "type": "number"
                                        },
                                        "truePeakDbtp": {
                                          "type": "number"
                                        },
                                        "loudnessRangeLu": {
                                          "type": "number",
                                          "minimum": 0
                                        },
                                        "targetLufs": {
                                          "type": "number"
                                        }
                                      },
                                      "required": [
                                        "integratedLufs",
                                        "truePeakDbtp"
                                      ],
                                      "additionalProperties": false
                                    },
                                    "width": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "height": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "bins": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "sha256": {
                                      "type": "string",
                                      "pattern": "^[a-f0-9]{64}$"
                                    }
                                  },
                                  "required": [
                                    "format",
                                    "bytes",
                                    "durationSeconds",
                                    "sha256"
                                  ],
                                  "additionalProperties": false
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "targetLufs": {
                                      "type": "number"
                                    },
                                    "targetTruePeakDbtp": {
                                      "type": "number"
                                    },
                                    "measuredLufs": {
                                      "type": "number"
                                    },
                                    "measuredTruePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    }
                                  },
                                  "required": [
                                    "targetLufs",
                                    "targetTruePeakDbtp",
                                    "measuredLufs",
                                    "measuredTruePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                },
                                "silence": {
                                  "type": "object",
                                  "properties": {
                                    "detectedSegments": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "startSeconds": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "endSeconds": {
                                            "type": "number",
                                            "minimum": 0
                                          }
                                        },
                                        "required": [
                                          "startSeconds",
                                          "endSeconds"
                                        ],
                                        "additionalProperties": false
                                      }
                                    }
                                  },
                                  "required": [
                                    "detectedSegments"
                                  ],
                                  "additionalProperties": false
                                },
                                "chapters": {
                                  "type": "object",
                                  "properties": {
                                    "count": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "titles": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    }
                                  },
                                  "required": [
                                    "count",
                                    "titles"
                                  ],
                                  "additionalProperties": false
                                },
                                "checks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "passed": {
                                        "type": "boolean"
                                      },
                                      "detail": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "passed"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "timingsMs": {
                                  "type": "object",
                                  "properties": {
                                    "probe": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "download": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "transform": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "verify": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "upload": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "total": {
                                      "type": "number",
                                      "minimum": 0
                                    }
                                  },
                                  "required": [
                                    "probe",
                                    "download",
                                    "transform",
                                    "verify",
                                    "upload",
                                    "total"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "verified",
                                "engine",
                                "inputProbe",
                                "outputProbe",
                                "checks",
                                "timingsMs"
                              ],
                              "additionalProperties": false
                            },
                            {
                              "type": "object",
                              "properties": {
                                "verified": {
                                  "type": "boolean"
                                },
                                "engine": {
                                  "type": "string"
                                },
                                "gpuClass": {
                                  "type": "string"
                                },
                                "inputProbe": {
                                  "type": "object",
                                  "properties": {
                                    "durationSeconds": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "width": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "height": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "fps": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "codec": {
                                      "type": "string"
                                    },
                                    "pixFmt": {
                                      "type": "string"
                                    },
                                    "chromaTier": {
                                      "type": "string",
                                      "enum": [
                                        "420_8bit",
                                        "420_10bit"
                                      ]
                                    },
                                    "bitrateKbps": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "container": {
                                      "type": "string"
                                    },
                                    "bytes": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "hasAudio": {
                                      "type": "boolean"
                                    },
                                    "audioCodec": {
                                      "type": "string"
                                    },
                                    "audioSampleRateHz": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "audioChannels": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "audioTracks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "codec": {
                                            "type": "string"
                                          },
                                          "language": {
                                            "type": "string"
                                          },
                                          "channels": {
                                            "type": "integer",
                                            "minimum": 0,
                                            "maximum": 9007199254740991
                                          }
                                        },
                                        "required": [
                                          "codec"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "subtitleTracks": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "codec": {
                                            "type": "string"
                                          },
                                          "language": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "codec"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "hdrFormat": {
                                      "type": "string",
                                      "enum": [
                                        "sdr",
                                        "hdr10",
                                        "hlg",
                                        "dolby_vision"
                                      ]
                                    },
                                    "chapterCount": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "rotation": {
                                      "type": "number"
                                    },
                                    "interlaced": {
                                      "type": "boolean"
                                    },
                                    "hasTags": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "durationSeconds",
                                    "width",
                                    "height",
                                    "fps",
                                    "codec",
                                    "pixFmt",
                                    "container",
                                    "bytes",
                                    "hasAudio",
                                    "hasTags"
                                  ],
                                  "additionalProperties": false
                                },
                                "outputProbe": {
                                  "type": "object",
                                  "properties": {
                                    "durationSeconds": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "width": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "height": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "fps": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "codec": {
                                      "type": "string"
                                    },
                                    "profile": {
                                      "type": "string"
                                    },
                                    "pixFmt": {
                                      "type": "string"
                                    },
                                    "container": {
                                      "type": "string",
                                      "enum": [
                                        "mp4",
                                        "mov",
                                        "mkv",
                                        "webm",
                                        "hls",
                                        "srt",
                                        "vtt",
                                        "ass",
                                        "jpeg",
                                        "png",
                                        "webp",
                                        "gif",
                                        "mp3",
                                        "m4a",
                                        "aac",
                                        "flac",
                                        "opus",
                                        "wav"
                                      ]
                                    },
                                    "bitrateKbps": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "bytes": {
                                      "type": "integer",
                                      "exclusiveMinimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "sha256": {
                                      "type": "string",
                                      "pattern": "^[a-f0-9]{64}$"
                                    },
                                    "hasAudio": {
                                      "type": "boolean"
                                    },
                                    "audioCodec": {
                                      "type": "string"
                                    },
                                    "audioTrackCount": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "subtitleTrackCount": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "hdrFormat": {
                                      "type": "string",
                                      "enum": [
                                        "sdr",
                                        "hdr10",
                                        "hlg",
                                        "dolby_vision"
                                      ]
                                    },
                                    "chapterCount": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "segmentCount": {
                                      "type": "integer",
                                      "minimum": 0,
                                      "maximum": 9007199254740991
                                    },
                                    "segmentFiles": {
                                      "type": "array",
                                      "items": {
                                        "type": "string"
                                      }
                                    },
                                    "subtitleFiles": {
                                      "type": "array",
                                      "items": {
                                        "type": "object",
                                        "properties": {
                                          "name": {
                                            "type": "string"
                                          },
                                          "language": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "name",
                                          "language"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "avSyncDriftSeconds": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "keyframesVerified": {
                                      "type": "boolean"
                                    },
                                    "hasTags": {
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "durationSeconds",
                                    "width",
                                    "height",
                                    "fps",
                                    "codec",
                                    "pixFmt",
                                    "container",
                                    "bytes",
                                    "sha256",
                                    "hasAudio",
                                    "keyframesVerified",
                                    "hasTags"
                                  ],
                                  "additionalProperties": false
                                },
                                "checks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "passed": {
                                        "type": "boolean"
                                      },
                                      "detail": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "passed"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "timingsMs": {
                                  "type": "object",
                                  "properties": {
                                    "probe": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "download": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "transform": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "verify": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "upload": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "total": {
                                      "type": "number",
                                      "minimum": 0
                                    }
                                  },
                                  "required": [
                                    "probe",
                                    "download",
                                    "transform",
                                    "verify",
                                    "upload",
                                    "total"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "verified",
                                "engine",
                                "inputProbe",
                                "outputProbe",
                                "checks",
                                "timingsMs"
                              ],
                              "additionalProperties": false
                            }
                          ]
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "costMicros": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    "costUsd": {
                      "type": "number",
                      "minimum": 0
                    },
                    "billed": {
                      "type": "boolean"
                    },
                    "error": {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retryable": {
                          "type": "boolean"
                        },
                        "hint": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "retryable"
                      ],
                      "additionalProperties": false
                    },
                    "metadata": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {
                        "type": "string"
                      }
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "completedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "queueWaitMs": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "execMs": {
                      "anyOf": [
                        {
                          "type": "number",
                          "minimum": 0
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "kind",
                    "priority",
                    "state",
                    "retentionHours",
                    "input",
                    "operations",
                    "output",
                    "costMicros",
                    "costUsd",
                    "billed",
                    "createdAt",
                    "updatedAt"
                  ],
                  "additionalProperties": false
                },
                "error": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "retryable": {
                      "type": "boolean"
                    },
                    "retryAfterSeconds": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "code",
                    "message"
                  ],
                  "additionalProperties": false
                }
              },
              "required": [
                "index",
                "ok"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "batchId",
          "total",
          "submitted",
          "failed",
          "items"
        ],
        "additionalProperties": false
      },
      "BatchJobStatusRequest": {
        "type": "object",
        "properties": {
          "jobIds": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 64
            }
          }
        },
        "required": [
          "jobIds"
        ],
        "additionalProperties": false
      },
      "BatchJobStatusResponse": {
        "type": "object",
        "properties": {
          "jobs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "accountId": {
                  "type": "string"
                },
                "apiKeyId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "requestId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "workerVersion": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "image",
                    "video",
                    "audio"
                  ]
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "image",
                    "audio",
                    "video",
                    "render",
                    "doc",
                    "ai"
                  ]
                },
                "priority": {
                  "default": "standard",
                  "type": "string",
                  "enum": [
                    "standard",
                    "flex"
                  ]
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "accepted",
                    "probing",
                    "rejected",
                    "queued",
                    "provisioning",
                    "running",
                    "verifying",
                    "partial",
                    "delivered",
                    "failed",
                    "canceled"
                  ]
                },
                "retentionHours": {
                  "default": 24,
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "retainDays": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 30
                },
                "retentionCostMicros": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "gpuClass": {
                  "type": "string"
                },
                "routingReason": {
                  "type": "string"
                },
                "bucketId": {
                  "type": "string"
                },
                "parentJobIds": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "input": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": "string",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "url"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "uploadId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        }
                      },
                      "required": [
                        "uploadId"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "jobId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "output": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        }
                      },
                      "required": [
                        "jobId"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "inputs": {
                  "anyOf": [
                    {
                      "minItems": 1,
                      "maxItems": 16,
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": [
                                  "url"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "uploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "uploadId"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "jobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "output": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "jobId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        ]
                      }
                    },
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": [
                                  "url"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "uploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "uploadId"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "jobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "output": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "jobId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                },
                "inputProbe": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "width": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "height": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "format": {
                              "type": "string"
                            },
                            "bytes": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "hasExif": {
                              "type": "boolean"
                            },
                            "colorSpace": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "width",
                            "height",
                            "format",
                            "bytes",
                            "hasExif",
                            "colorSpace"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "format": {
                              "type": "string"
                            },
                            "codec": {
                              "type": "string"
                            },
                            "bytes": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0
                            },
                            "sampleRateHz": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "channels": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "bitrateKbps": {
                              "type": "number",
                              "minimum": 0
                            },
                            "hasTags": {
                              "type": "boolean"
                            },
                            "hasArtwork": {
                              "type": "boolean"
                            },
                            "loudness": {
                              "type": "object",
                              "properties": {
                                "integratedLufs": {
                                  "type": "number"
                                },
                                "truePeakDbtp": {
                                  "type": "number"
                                },
                                "loudnessRangeLu": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "targetLufs": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "integratedLufs",
                                "truePeakDbtp"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "format",
                            "bytes",
                            "durationSeconds"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "height": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "fps": {
                              "type": "number",
                              "minimum": 0
                            },
                            "codec": {
                              "type": "string"
                            },
                            "pixFmt": {
                              "type": "string"
                            },
                            "chromaTier": {
                              "type": "string",
                              "enum": [
                                "420_8bit",
                                "420_10bit"
                              ]
                            },
                            "bitrateKbps": {
                              "type": "number",
                              "minimum": 0
                            },
                            "container": {
                              "type": "string"
                            },
                            "bytes": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "hasAudio": {
                              "type": "boolean"
                            },
                            "audioCodec": {
                              "type": "string"
                            },
                            "audioSampleRateHz": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "audioChannels": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "audioTracks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "codec": {
                                    "type": "string"
                                  },
                                  "language": {
                                    "type": "string"
                                  },
                                  "channels": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "codec"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "subtitleTracks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "codec": {
                                    "type": "string"
                                  },
                                  "language": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "codec"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "hdrFormat": {
                              "type": "string",
                              "enum": [
                                "sdr",
                                "hdr10",
                                "hlg",
                                "dolby_vision"
                              ]
                            },
                            "chapterCount": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "rotation": {
                              "type": "number"
                            },
                            "interlaced": {
                              "type": "boolean"
                            },
                            "hasTags": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "durationSeconds",
                            "width",
                            "height",
                            "fps",
                            "codec",
                            "pixFmt",
                            "container",
                            "bytes",
                            "hasAudio",
                            "hasTags"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "operations": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "resize"
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "fit": {
                                "default": "inside",
                                "type": "string",
                                "enum": [
                                  "contain",
                                  "cover",
                                  "fill",
                                  "inside",
                                  "outside"
                                ]
                              },
                              "withoutEnlargement": {
                                "default": true,
                                "type": "boolean"
                              },
                              "background": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              }
                            },
                            "required": [
                              "type",
                              "fit",
                              "withoutEnlargement"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "crop"
                                  },
                                  "mode": {
                                    "type": "string",
                                    "const": "region"
                                  },
                                  "x": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "y": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode",
                                  "x",
                                  "y",
                                  "width",
                                  "height"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "crop"
                                  },
                                  "mode": {
                                    "type": "string",
                                    "const": "aspect"
                                  },
                                  "aspectRatio": {
                                    "type": "string",
                                    "pattern": "^[1-9]\\d{0,3}:[1-9]\\d{0,3}$"
                                  },
                                  "gravity": {
                                    "default": "center",
                                    "type": "string",
                                    "enum": [
                                      "center",
                                      "north",
                                      "south",
                                      "east",
                                      "west",
                                      "smart"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode",
                                  "aspectRatio",
                                  "gravity"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "rotate"
                              },
                              "angle": {
                                "type": "number",
                                "minimum": -360,
                                "maximum": 360
                              },
                              "background": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "expand": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "angle",
                              "expand"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "flip"
                              },
                              "direction": {
                                "type": "string",
                                "enum": [
                                  "horizontal",
                                  "vertical",
                                  "both"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "direction"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "pad"
                              },
                              "top": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "right": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "bottom": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "left": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "background": {
                                "default": "#00000000",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              }
                            },
                            "required": [
                              "type",
                              "top",
                              "right",
                              "bottom",
                              "left",
                              "background"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim"
                              },
                              "threshold": {
                                "default": 10,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              }
                            },
                            "required": [
                              "type",
                              "threshold"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "blur"
                              },
                              "radius": {
                                "default": 2,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 50
                              }
                            },
                            "required": [
                              "type",
                              "radius"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "sharpen"
                              },
                              "amount": {
                                "default": 1.5,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 5
                              },
                              "radius": {
                                "default": 1.5,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 10
                              }
                            },
                            "required": [
                              "type",
                              "amount",
                              "radius"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "adjust"
                              },
                              "brightness": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 3
                              },
                              "contrast": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 3
                              },
                              "saturation": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 3
                              },
                              "gamma": {
                                "type": "number",
                                "minimum": 0.2,
                                "maximum": 5
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "filter"
                              },
                              "name": {
                                "type": "string",
                                "enum": [
                                  "grayscale",
                                  "sepia",
                                  "invert",
                                  "auto_contrast",
                                  "equalize",
                                  "emboss",
                                  "contour"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "pixelate"
                              },
                              "blockSize": {
                                "default": 10,
                                "type": "integer",
                                "minimum": 2,
                                "maximum": 100
                              }
                            },
                            "required": [
                              "type",
                              "blockSize"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "watermark"
                              },
                              "text": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 120
                              },
                              "imageUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "position": {
                                "default": "bottom-right",
                                "type": "string",
                                "enum": [
                                  "top-left",
                                  "top-right",
                                  "bottom-left",
                                  "bottom-right",
                                  "center"
                                ]
                              },
                              "opacity": {
                                "default": 0.5,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "fontSize": {
                                "default": 28,
                                "type": "integer",
                                "minimum": 12,
                                "maximum": 200
                              },
                              "color": {
                                "default": "#FFFFFF",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "margin": {
                                "default": 20,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 200
                              }
                            },
                            "required": [
                              "type",
                              "position",
                              "opacity",
                              "fontSize",
                              "color",
                              "margin"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "composite"
                              },
                              "imageUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "uploadId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "jobId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "output": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "position": {
                                "default": "bottom_right",
                                "type": "string",
                                "enum": [
                                  "top_left",
                                  "top_center",
                                  "top_right",
                                  "center_left",
                                  "center",
                                  "center_right",
                                  "bottom_left",
                                  "bottom_center",
                                  "bottom_right",
                                  "custom"
                                ]
                              },
                              "x": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              },
                              "y": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "scale": {
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 2
                              },
                              "opacity": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "marginPx": {
                                "default": 16,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 500
                              }
                            },
                            "required": [
                              "type",
                              "position",
                              "opacity",
                              "marginPx"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "strip_metadata"
                              },
                              "keepOrientation": {
                                "default": true,
                                "type": "boolean"
                              },
                              "keepColorProfile": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "keepOrientation",
                              "keepColorProfile"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "convert"
                              },
                              "format": {
                                "type": "string",
                                "enum": [
                                  "jpeg",
                                  "png",
                                  "webp",
                                  "avif",
                                  "heic",
                                  "gif",
                                  "bmp",
                                  "tiff",
                                  "ico",
                                  "tga",
                                  "ppm"
                                ]
                              },
                              "quality": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 100
                              },
                              "lossless": {
                                "type": "boolean"
                              },
                              "progressive": {
                                "type": "boolean"
                              },
                              "background": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "colorProfile": {
                                "type": "string",
                                "enum": [
                                  "keep",
                                  "srgb"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "text"
                              },
                              "content": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "fontSize": {
                                "default": 32,
                                "type": "integer",
                                "minimum": 8,
                                "maximum": 400
                              },
                              "color": {
                                "default": "#000000",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "position": {
                                "default": "bottom_left",
                                "type": "string",
                                "enum": [
                                  "top_left",
                                  "top_center",
                                  "top_right",
                                  "center_left",
                                  "center",
                                  "center_right",
                                  "bottom_left",
                                  "bottom_center",
                                  "bottom_right",
                                  "custom"
                                ]
                              },
                              "opacity": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "align": {
                                "default": "left",
                                "type": "string",
                                "enum": [
                                  "left",
                                  "center",
                                  "right"
                                ]
                              },
                              "marginPx": {
                                "default": 16,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 500
                              },
                              "x": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              },
                              "y": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              }
                            },
                            "required": [
                              "type",
                              "content",
                              "fontSize",
                              "color",
                              "position",
                              "opacity",
                              "align",
                              "marginPx"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "corners"
                              },
                              "radius": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              }
                            },
                            "required": [
                              "type",
                              "radius"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "grid"
                              },
                              "imageUrls": {
                                "minItems": 2,
                                "maxItems": 16,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uri"
                                }
                              },
                              "columns": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 8
                              },
                              "gapPx": {
                                "default": 8,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 200
                              },
                              "background": {
                                "default": "#FFFFFF",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "fit": {
                                "default": "cover",
                                "type": "string",
                                "enum": [
                                  "cover",
                                  "contain"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "imageUrls",
                              "gapPx",
                              "background",
                              "fit"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "transcode"
                              },
                              "codec": {
                                "type": "string",
                                "enum": [
                                  "h264",
                                  "hevc",
                                  "av1"
                                ]
                              },
                              "container": {
                                "type": "string",
                                "enum": [
                                  "mp4",
                                  "mov",
                                  "mkv",
                                  "webm"
                                ]
                              },
                              "chromaTier": {
                                "default": "420_8bit",
                                "type": "string",
                                "enum": [
                                  "420_8bit",
                                  "420_10bit"
                                ]
                              },
                              "quality": {
                                "default": "balanced",
                                "type": "string",
                                "enum": [
                                  "draft",
                                  "balanced",
                                  "best"
                                ]
                              },
                              "crf": {
                                "type": "integer",
                                "minimum": 14,
                                "maximum": 40
                              },
                              "maxBitrateKbps": {
                                "type": "integer",
                                "minimum": 100,
                                "maximum": 200000
                              },
                              "audioCodec": {
                                "default": "aac",
                                "type": "string",
                                "enum": [
                                  "aac",
                                  "opus",
                                  "copy",
                                  "none"
                                ]
                              },
                              "audioBitrateKbps": {
                                "type": "integer",
                                "minimum": 32,
                                "maximum": 512
                              },
                              "hdr": {
                                "type": "string",
                                "enum": [
                                  "preserve",
                                  "hdr10",
                                  "sdr"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "codec",
                              "chromaTier",
                              "quality",
                              "audioCodec"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "resize"
                              },
                              "resolution": {
                                "type": "string",
                                "enum": [
                                  "540p",
                                  "720p",
                                  "1080p",
                                  "1440p",
                                  "4k",
                                  "8k"
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 7680
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 4320
                              },
                              "fit": {
                                "default": "inside",
                                "type": "string",
                                "enum": [
                                  "inside",
                                  "cover",
                                  "contain"
                                ]
                              },
                              "withoutEnlargement": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "fit",
                              "withoutEnlargement"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "crop"
                              },
                              "mode": {
                                "default": "region",
                                "type": "string",
                                "enum": [
                                  "region",
                                  "aspect"
                                ]
                              },
                              "left": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "top": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 2,
                                "maximum": 7680
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 2,
                                "maximum": 4320
                              },
                              "aspectRatio": {
                                "type": "string",
                                "enum": [
                                  "16:9",
                                  "9:16",
                                  "1:1",
                                  "4:5",
                                  "4:3",
                                  "21:9"
                                ]
                              },
                              "gravity": {
                                "default": "center",
                                "type": "string",
                                "enum": [
                                  "center",
                                  "north",
                                  "south",
                                  "east",
                                  "west"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "mode",
                              "gravity"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim"
                              },
                              "startSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "endSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              "durationSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              }
                            },
                            "required": [
                              "type",
                              "startSeconds"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fps"
                              },
                              "targetFps": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 120
                              },
                              "mode": {
                                "default": "cfr",
                                "type": "string",
                                "enum": [
                                  "cfr",
                                  "vfr_cap"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "targetFps",
                              "mode"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "rotate"
                              },
                              "degrees": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "const": 90
                                  },
                                  {
                                    "type": "number",
                                    "const": 180
                                  },
                                  {
                                    "type": "number",
                                    "const": 270
                                  }
                                ]
                              },
                              "autoOrient": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "speed"
                              },
                              "factor": {
                                "type": "number",
                                "minimum": 0.25,
                                "maximum": 4
                              },
                              "preserveAudioPitch": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "factor",
                              "preserveAudioPitch"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "watermark"
                              },
                              "text": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 120
                              },
                              "imageUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "position": {
                                "default": "bottom-right",
                                "type": "string",
                                "enum": [
                                  "top-left",
                                  "top-right",
                                  "bottom-left",
                                  "bottom-right",
                                  "center"
                                ]
                              },
                              "opacity": {
                                "default": 0.75,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "scale": {
                                "default": 0.15,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 0.5
                              },
                              "marginPx": {
                                "default": 24,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 200
                              }
                            },
                            "required": [
                              "type",
                              "position",
                              "opacity",
                              "scale",
                              "marginPx"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "deinterlace"
                              },
                              "mode": {
                                "default": "yadif",
                                "type": "string",
                                "enum": [
                                  "yadif",
                                  "bwdif"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "mode"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "audio"
                              },
                              "action": {
                                "type": "string",
                                "enum": [
                                  "strip",
                                  "normalize",
                                  "volume",
                                  "extract"
                                ]
                              },
                              "preset": {
                                "type": "string",
                                "enum": [
                                  "streaming",
                                  "podcast",
                                  "broadcast"
                                ]
                              },
                              "gainDb": {
                                "type": "number",
                                "minimum": -36,
                                "maximum": 36
                              },
                              "format": {
                                "type": "string",
                                "enum": [
                                  "mp3",
                                  "m4a",
                                  "aac",
                                  "flac",
                                  "opus",
                                  "wav"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "action"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "thumbnail"
                              },
                              "timestampSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "format": {
                                "default": "jpeg",
                                "type": "string",
                                "enum": [
                                  "jpeg",
                                  "png",
                                  "webp"
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 4096
                              },
                              "quality": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 100
                              }
                            },
                            "required": [
                              "type",
                              "timestampSeconds",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "clip"
                              },
                              "format": {
                                "default": "webp",
                                "type": "string",
                                "enum": [
                                  "webp",
                                  "gif"
                                ]
                              },
                              "startSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "durationSeconds": {
                                "default": 5,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 30
                              },
                              "fps": {
                                "default": 15,
                                "type": "integer",
                                "minimum": 5,
                                "maximum": 30
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 1280
                              }
                            },
                            "required": [
                              "type",
                              "format",
                              "startSeconds",
                              "durationSeconds",
                              "fps"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "strip_metadata"
                              },
                              "removeTags": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "removeTags"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "captions"
                              },
                              "format": {
                                "default": "ass",
                                "type": "string",
                                "enum": [
                                  "ass",
                                  "srt",
                                  "vtt"
                                ]
                              },
                              "subtitleUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "subtitleUploadId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "subtitleJobId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "subtitleContent": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 512000
                              },
                              "burnIn": {
                                "default": true,
                                "type": "boolean"
                              },
                              "fontSize": {
                                "type": "integer",
                                "minimum": 10,
                                "maximum": 120
                              },
                              "fontName": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "primaryColor": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "outlineColor": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "marginV": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 500
                              },
                              "alignment": {
                                "default": "bottom",
                                "type": "string",
                                "enum": [
                                  "bottom",
                                  "middle",
                                  "top"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format",
                              "burnIn",
                              "alignment"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "compose"
                              },
                              "layout": {
                                "default": "overlay",
                                "type": "string",
                                "enum": [
                                  "pip",
                                  "side_by_side",
                                  "stack_vertical",
                                  "overlay"
                                ]
                              },
                              "overlayInput": {
                                "default": "overlay",
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 32
                              },
                              "x": {
                                "default": 0,
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                ]
                              },
                              "y": {
                                "default": 0,
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 16,
                                "maximum": 7680
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 16,
                                "maximum": 4320
                              },
                              "opacity": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 1
                              },
                              "startSeconds": {
                                "type": "number",
                                "minimum": 0
                              },
                              "endSeconds": {
                                "type": "number",
                                "minimum": 0
                              }
                            },
                            "required": [
                              "type",
                              "layout",
                              "overlayInput",
                              "x",
                              "y",
                              "opacity"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "concat"
                              },
                              "mode": {
                                "default": "auto",
                                "type": "string",
                                "enum": [
                                  "auto",
                                  "reencode",
                                  "stream_copy"
                                ]
                              },
                              "transition": {
                                "default": "none",
                                "type": "string",
                                "enum": [
                                  "none",
                                  "crossfade"
                                ]
                              },
                              "transitionDurationSeconds": {
                                "default": 0.5,
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 3
                              },
                              "normalizeAudio": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "mode",
                              "transition",
                              "transitionDurationSeconds",
                              "normalizeAudio"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "mux"
                              },
                              "audioInput": {
                                "default": "audio",
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 32
                              },
                              "replaceAudio": {
                                "default": true,
                                "type": "boolean"
                              },
                              "audioDelaySeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": -30,
                                "maximum": 30
                              },
                              "audioVolume": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 5
                              },
                              "shortest": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "audioInput",
                              "replaceAudio",
                              "audioDelaySeconds",
                              "audioVolume",
                              "shortest"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "chapters"
                              },
                              "chapters": {
                                "minItems": 1,
                                "maxItems": 200,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "startSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 28800
                                    },
                                    "endSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 28800
                                    },
                                    "title": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200
                                    }
                                  },
                                  "required": [
                                    "startSeconds",
                                    "title"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "fromConcatInputs": {
                                "default": false,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "fromConcatInputs"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "extract_subtitles"
                              },
                              "trackIndex": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 32
                              },
                              "format": {
                                "default": "srt",
                                "type": "string",
                                "enum": [
                                  "srt",
                                  "vtt",
                                  "ass"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "trackIndex",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "storyboard"
                              },
                              "intervalSeconds": {
                                "default": 10,
                                "type": "number",
                                "minimum": 1,
                                "maximum": 600
                              },
                              "columns": {
                                "default": 5,
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 10
                              },
                              "format": {
                                "default": "jpeg",
                                "type": "string",
                                "enum": [
                                  "jpeg",
                                  "png",
                                  "webp"
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 1280
                              }
                            },
                            "required": [
                              "type",
                              "intervalSeconds",
                              "columns",
                              "format"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "convert"
                              },
                              "format": {
                                "type": "string",
                                "enum": [
                                  "mp3",
                                  "m4a",
                                  "aac",
                                  "flac",
                                  "opus",
                                  "wav",
                                  "ogg",
                                  "aiff"
                                ]
                              },
                              "bitrateKbps": {
                                "type": "integer",
                                "minimum": 16,
                                "maximum": 512
                              },
                              "quality": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 100
                              },
                              "sampleRateHz": {
                                "type": "integer",
                                "minimum": 7350,
                                "maximum": 192000
                              },
                              "compressionLevel": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 8
                              },
                              "sampleFormat": {
                                "type": "string",
                                "enum": [
                                  "s16",
                                  "s24",
                                  "s32",
                                  "f32"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "normalize"
                              },
                              "preset": {
                                "default": "streaming",
                                "type": "string",
                                "enum": [
                                  "streaming",
                                  "podcast",
                                  "audiobook",
                                  "broadcast",
                                  "custom"
                                ]
                              },
                              "targetLufs": {
                                "type": "number",
                                "minimum": -70,
                                "maximum": -5
                              },
                              "truePeakDbtp": {
                                "type": "number",
                                "minimum": -9,
                                "maximum": 0
                              },
                              "loudnessRange": {
                                "default": 7,
                                "type": "number",
                                "minimum": 1,
                                "maximum": 20
                              }
                            },
                            "required": [
                              "type",
                              "preset",
                              "loudnessRange"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim"
                              },
                              "startSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "endSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              "durationSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              }
                            },
                            "required": [
                              "type",
                              "startSeconds"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim_silence"
                              },
                              "mode": {
                                "default": "both",
                                "type": "string",
                                "enum": [
                                  "both",
                                  "start",
                                  "end"
                                ]
                              },
                              "thresholdDb": {
                                "default": -50,
                                "type": "number",
                                "minimum": -80,
                                "maximum": -5
                              },
                              "minSilenceSeconds": {
                                "default": 0.5,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 30
                              },
                              "keepSilenceSeconds": {
                                "default": 0.1,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 5
                              }
                            },
                            "required": [
                              "type",
                              "mode",
                              "thresholdDb",
                              "minSilenceSeconds",
                              "keepSilenceSeconds"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fade"
                              },
                              "fadeInSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 60
                              },
                              "fadeOutSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 60
                              },
                              "curve": {
                                "default": "qsin",
                                "type": "string",
                                "enum": [
                                  "linear",
                                  "qsin",
                                  "hsin",
                                  "esin",
                                  "log"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "fadeInSeconds",
                              "fadeOutSeconds",
                              "curve"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "gain"
                              },
                              "db": {
                                "type": "number",
                                "minimum": -48,
                                "maximum": 48
                              },
                              "limitPeakDbtp": {
                                "default": -0.5,
                                "type": "number",
                                "minimum": -6,
                                "maximum": 0
                              }
                            },
                            "required": [
                              "type",
                              "db",
                              "limitPeakDbtp"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "speed"
                              },
                              "factor": {
                                "type": "number",
                                "minimum": 0.25,
                                "maximum": 4
                              }
                            },
                            "required": [
                              "type",
                              "factor"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "pitch"
                              },
                              "semitones": {
                                "type": "number",
                                "minimum": -12,
                                "maximum": 12
                              }
                            },
                            "required": [
                              "type",
                              "semitones"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "equalize"
                              },
                              "preset": {
                                "default": "custom",
                                "type": "string",
                                "enum": [
                                  "voice_clarity",
                                  "podcast_warmth",
                                  "bass_boost",
                                  "treble_boost",
                                  "de_mud",
                                  "custom"
                                ]
                              },
                              "bands": {
                                "minItems": 1,
                                "maxItems": 8,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "filter": {
                                      "type": "string",
                                      "enum": [
                                        "lowshelf",
                                        "peaking",
                                        "highshelf"
                                      ]
                                    },
                                    "frequencyHz": {
                                      "type": "number",
                                      "minimum": 20,
                                      "maximum": 20000
                                    },
                                    "gainDb": {
                                      "type": "number",
                                      "minimum": -24,
                                      "maximum": 24
                                    },
                                    "q": {
                                      "default": 1,
                                      "type": "number",
                                      "minimum": 0.1,
                                      "maximum": 10
                                    }
                                  },
                                  "required": [
                                    "filter",
                                    "frequencyHz",
                                    "gainDb",
                                    "q"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "type",
                              "preset"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "compress"
                              },
                              "preset": {
                                "default": "podcast",
                                "type": "string",
                                "enum": [
                                  "podcast",
                                  "broadcast",
                                  "gentle",
                                  "custom"
                                ]
                              },
                              "thresholdDb": {
                                "type": "number",
                                "minimum": -60,
                                "maximum": 0
                              },
                              "ratio": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 20
                              },
                              "attackMs": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 500
                              },
                              "releaseMs": {
                                "type": "number",
                                "minimum": 10,
                                "maximum": 2000
                              },
                              "makeupDb": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 24
                              },
                              "kneeDb": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 12
                              }
                            },
                            "required": [
                              "type",
                              "preset"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "denoise"
                              },
                              "strength": {
                                "default": "medium",
                                "type": "string",
                                "enum": [
                                  "light",
                                  "medium",
                                  "aggressive"
                                ]
                              },
                              "highpassHz": {
                                "type": "number",
                                "minimum": 20,
                                "maximum": 300
                              }
                            },
                            "required": [
                              "type",
                              "strength"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "channels"
                              },
                              "mode": {
                                "type": "string",
                                "enum": [
                                  "mono",
                                  "stereo",
                                  "left",
                                  "right",
                                  "swap"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "mode"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "strip_metadata"
                              },
                              "removeTags": {
                                "default": true,
                                "type": "boolean"
                              },
                              "removeArtwork": {
                                "default": true,
                                "type": "boolean"
                              },
                              "setTags": {
                                "type": "object",
                                "properties": {
                                  "title": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "artist": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "album": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "comment": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 500
                                  },
                                  "genre": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "year": {
                                    "type": "string",
                                    "pattern": "^\\d{4}$"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "type",
                              "removeTags",
                              "removeArtwork"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "tags"
                              },
                              "title": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "artist": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "album": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "albumArtist": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "composer": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "genre": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "year": {
                                "type": "string",
                                "pattern": "^\\d{4}$"
                              },
                              "track": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 16
                              },
                              "disc": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 16
                              },
                              "comment": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              },
                              "artworkUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "chapters": {
                                "minItems": 1,
                                "maxItems": 200,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "startSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 7200
                                    },
                                    "endSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 7200
                                    },
                                    "title": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200
                                    }
                                  },
                                  "required": [
                                    "startSeconds",
                                    "title"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "waveform"
                              },
                              "format": {
                                "default": "json",
                                "type": "string",
                                "enum": [
                                  "json",
                                  "png"
                                ]
                              },
                              "bins": {
                                "type": "integer",
                                "minimum": 100,
                                "maximum": 4000
                              },
                              "splitChannels": {
                                "default": false,
                                "type": "boolean"
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 100,
                                "maximum": 4096
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 40,
                                "maximum": 1024
                              },
                              "color": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "backgroundColor": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "const": "transparent"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format",
                              "splitChannels"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "concat"
                              },
                              "crossfadeSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 10
                              },
                              "normalize": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "crossfadeSeconds",
                              "normalize"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "mix"
                              },
                              "overlayVolumeDb": {
                                "default": -12,
                                "type": "number",
                                "minimum": -48,
                                "maximum": 12
                              },
                              "ducking": {
                                "default": false,
                                "type": "boolean"
                              },
                              "duckThresholdDb": {
                                "default": -24,
                                "type": "number",
                                "minimum": -50,
                                "maximum": -5
                              },
                              "duckRatio": {
                                "default": 6,
                                "type": "number",
                                "minimum": 1,
                                "maximum": 20
                              },
                              "loopOverlay": {
                                "default": false,
                                "type": "boolean"
                              },
                              "offsetSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 7200
                              }
                            },
                            "required": [
                              "type",
                              "overlayVolumeDb",
                              "ducking",
                              "duckThresholdDb",
                              "duckRatio",
                              "loopOverlay",
                              "offsetSeconds"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      }
                    ]
                  }
                },
                "output": {
                  "type": "object",
                  "properties": {
                    "format": {
                      "type": "string"
                    },
                    "destination": {
                      "type": "string",
                      "format": "uri"
                    },
                    "downloadUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "expiresAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    }
                  },
                  "additionalProperties": false
                },
                "outputs": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "pending",
                          "delivered",
                          "failed"
                        ]
                      },
                      "format": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contentType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "bytes": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "durationSeconds": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "width": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "height": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sha256": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "destination": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "downloadUrl": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "expiresAt": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "costMicros": {
                        "default": 0,
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "retentionCostMicros": {
                        "default": 0,
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "verificationReport": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "verified": {
                                    "type": "boolean"
                                  },
                                  "engine": {
                                    "type": "string"
                                  },
                                  "inputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "width": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "format": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "hasExif": {
                                        "type": "boolean"
                                      },
                                      "colorSpace": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "width",
                                      "height",
                                      "format",
                                      "bytes",
                                      "hasExif",
                                      "colorSpace"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "outputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "width": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "format": {
                                        "type": "string",
                                        "enum": [
                                          "jpeg",
                                          "png",
                                          "webp",
                                          "avif",
                                          "heic",
                                          "gif",
                                          "bmp",
                                          "tiff",
                                          "ico",
                                          "tga",
                                          "ppm"
                                        ]
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "exifStripped": {
                                        "type": "boolean"
                                      },
                                      "sha256": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{64}$"
                                      }
                                    },
                                    "required": [
                                      "width",
                                      "height",
                                      "format",
                                      "bytes",
                                      "exifStripped",
                                      "sha256"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "checks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "passed": {
                                          "type": "boolean"
                                        },
                                        "detail": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "passed"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "timingsMs": {
                                    "type": "object",
                                    "properties": {
                                      "probe": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "download": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "transform": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "verify": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "upload": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "total": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "probe",
                                      "download",
                                      "transform",
                                      "verify",
                                      "upload",
                                      "total"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "verified",
                                  "engine",
                                  "inputProbe",
                                  "outputProbe",
                                  "checks",
                                  "timingsMs"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "verified": {
                                    "type": "boolean"
                                  },
                                  "engine": {
                                    "type": "string"
                                  },
                                  "inputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "format": {
                                        "type": "string"
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "sampleRateHz": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "hasTags": {
                                        "type": "boolean"
                                      },
                                      "hasArtwork": {
                                        "type": "boolean"
                                      },
                                      "loudness": {
                                        "type": "object",
                                        "properties": {
                                          "integratedLufs": {
                                            "type": "number"
                                          },
                                          "truePeakDbtp": {
                                            "type": "number"
                                          },
                                          "loudnessRangeLu": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "targetLufs": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "integratedLufs",
                                          "truePeakDbtp"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "format",
                                      "bytes",
                                      "durationSeconds"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "outputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "format": {
                                        "type": "string",
                                        "enum": [
                                          "mp3",
                                          "m4a",
                                          "aac",
                                          "flac",
                                          "opus",
                                          "wav",
                                          "ogg",
                                          "aiff",
                                          "json",
                                          "png"
                                        ]
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "sampleRateHz": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "tagsStripped": {
                                        "type": "boolean"
                                      },
                                      "artworkStripped": {
                                        "type": "boolean"
                                      },
                                      "loudness": {
                                        "type": "object",
                                        "properties": {
                                          "integratedLufs": {
                                            "type": "number"
                                          },
                                          "truePeakDbtp": {
                                            "type": "number"
                                          },
                                          "loudnessRangeLu": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "targetLufs": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "integratedLufs",
                                          "truePeakDbtp"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "width": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "bins": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "sha256": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{64}$"
                                      }
                                    },
                                    "required": [
                                      "format",
                                      "bytes",
                                      "durationSeconds",
                                      "sha256"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "loudness": {
                                    "type": "object",
                                    "properties": {
                                      "targetLufs": {
                                        "type": "number"
                                      },
                                      "targetTruePeakDbtp": {
                                        "type": "number"
                                      },
                                      "measuredLufs": {
                                        "type": "number"
                                      },
                                      "measuredTruePeakDbtp": {
                                        "type": "number"
                                      },
                                      "loudnessRangeLu": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "targetLufs",
                                      "targetTruePeakDbtp",
                                      "measuredLufs",
                                      "measuredTruePeakDbtp"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "silence": {
                                    "type": "object",
                                    "properties": {
                                      "detectedSegments": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "startSeconds": {
                                              "type": "number",
                                              "minimum": 0
                                            },
                                            "endSeconds": {
                                              "type": "number",
                                              "minimum": 0
                                            }
                                          },
                                          "required": [
                                            "startSeconds",
                                            "endSeconds"
                                          ],
                                          "additionalProperties": false
                                        }
                                      }
                                    },
                                    "required": [
                                      "detectedSegments"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "chapters": {
                                    "type": "object",
                                    "properties": {
                                      "count": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "titles": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "required": [
                                      "count",
                                      "titles"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "checks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "passed": {
                                          "type": "boolean"
                                        },
                                        "detail": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "passed"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "timingsMs": {
                                    "type": "object",
                                    "properties": {
                                      "probe": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "download": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "transform": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "verify": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "upload": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "total": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "probe",
                                      "download",
                                      "transform",
                                      "verify",
                                      "upload",
                                      "total"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "verified",
                                  "engine",
                                  "inputProbe",
                                  "outputProbe",
                                  "checks",
                                  "timingsMs"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "verified": {
                                    "type": "boolean"
                                  },
                                  "engine": {
                                    "type": "string"
                                  },
                                  "gpuClass": {
                                    "type": "string"
                                  },
                                  "inputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "width": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "pixFmt": {
                                        "type": "string"
                                      },
                                      "chromaTier": {
                                        "type": "string",
                                        "enum": [
                                          "420_8bit",
                                          "420_10bit"
                                        ]
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "container": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "hasAudio": {
                                        "type": "boolean"
                                      },
                                      "audioCodec": {
                                        "type": "string"
                                      },
                                      "audioSampleRateHz": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "audioChannels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "audioTracks": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "codec": {
                                              "type": "string"
                                            },
                                            "language": {
                                              "type": "string"
                                            },
                                            "channels": {
                                              "type": "integer",
                                              "minimum": 0,
                                              "maximum": 9007199254740991
                                            }
                                          },
                                          "required": [
                                            "codec"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "subtitleTracks": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "codec": {
                                              "type": "string"
                                            },
                                            "language": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "codec"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "hdrFormat": {
                                        "type": "string",
                                        "enum": [
                                          "sdr",
                                          "hdr10",
                                          "hlg",
                                          "dolby_vision"
                                        ]
                                      },
                                      "chapterCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "rotation": {
                                        "type": "number"
                                      },
                                      "interlaced": {
                                        "type": "boolean"
                                      },
                                      "hasTags": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "durationSeconds",
                                      "width",
                                      "height",
                                      "fps",
                                      "codec",
                                      "pixFmt",
                                      "container",
                                      "bytes",
                                      "hasAudio",
                                      "hasTags"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "outputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "width": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "profile": {
                                        "type": "string"
                                      },
                                      "pixFmt": {
                                        "type": "string"
                                      },
                                      "container": {
                                        "type": "string",
                                        "enum": [
                                          "mp4",
                                          "mov",
                                          "mkv",
                                          "webm",
                                          "hls",
                                          "srt",
                                          "vtt",
                                          "ass",
                                          "jpeg",
                                          "png",
                                          "webp",
                                          "gif",
                                          "mp3",
                                          "m4a",
                                          "aac",
                                          "flac",
                                          "opus",
                                          "wav"
                                        ]
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "sha256": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{64}$"
                                      },
                                      "hasAudio": {
                                        "type": "boolean"
                                      },
                                      "audioCodec": {
                                        "type": "string"
                                      },
                                      "audioTrackCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "subtitleTrackCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "hdrFormat": {
                                        "type": "string",
                                        "enum": [
                                          "sdr",
                                          "hdr10",
                                          "hlg",
                                          "dolby_vision"
                                        ]
                                      },
                                      "chapterCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "segmentCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "segmentFiles": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "subtitleFiles": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "language": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "language"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "avSyncDriftSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "keyframesVerified": {
                                        "type": "boolean"
                                      },
                                      "hasTags": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "durationSeconds",
                                      "width",
                                      "height",
                                      "fps",
                                      "codec",
                                      "pixFmt",
                                      "container",
                                      "bytes",
                                      "sha256",
                                      "hasAudio",
                                      "keyframesVerified",
                                      "hasTags"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "checks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "passed": {
                                          "type": "boolean"
                                        },
                                        "detail": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "passed"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "timingsMs": {
                                    "type": "object",
                                    "properties": {
                                      "probe": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "download": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "transform": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "verify": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "upload": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "total": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "probe",
                                      "download",
                                      "transform",
                                      "verify",
                                      "upload",
                                      "total"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "verified",
                                  "engine",
                                  "inputProbe",
                                  "outputProbe",
                                  "checks",
                                  "timingsMs"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "error": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "retryable": {
                                "type": "boolean"
                              },
                              "hint": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message",
                              "retryable"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "status",
                      "costMicros",
                      "retentionCostMicros"
                    ],
                    "additionalProperties": false
                  }
                },
                "verificationReport": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "format": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasExif": {
                                  "type": "boolean"
                                },
                                "colorSpace": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "width",
                                "height",
                                "format",
                                "bytes",
                                "hasExif",
                                "colorSpace"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "format": {
                                  "type": "string",
                                  "enum": [
                                    "jpeg",
                                    "png",
                                    "webp",
                                    "avif",
                                    "heic",
                                    "gif",
                                    "bmp",
                                    "tiff",
                                    "ico",
                                    "tga",
                                    "ppm"
                                  ]
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "exifStripped": {
                                  "type": "boolean"
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "width",
                                "height",
                                "format",
                                "bytes",
                                "exifStripped",
                                "sha256"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "format": {
                                  "type": "string"
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "sampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "channels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "hasTags": {
                                  "type": "boolean"
                                },
                                "hasArtwork": {
                                  "type": "boolean"
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "integratedLufs": {
                                      "type": "number"
                                    },
                                    "truePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "targetLufs": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "integratedLufs",
                                    "truePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "format",
                                "bytes",
                                "durationSeconds"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "format": {
                                  "type": "string",
                                  "enum": [
                                    "mp3",
                                    "m4a",
                                    "aac",
                                    "flac",
                                    "opus",
                                    "wav",
                                    "ogg",
                                    "aiff",
                                    "json",
                                    "png"
                                  ]
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "sampleRateHz": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "channels": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "tagsStripped": {
                                  "type": "boolean"
                                },
                                "artworkStripped": {
                                  "type": "boolean"
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "integratedLufs": {
                                      "type": "number"
                                    },
                                    "truePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "targetLufs": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "integratedLufs",
                                    "truePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                },
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bins": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "format",
                                "bytes",
                                "durationSeconds",
                                "sha256"
                              ],
                              "additionalProperties": false
                            },
                            "loudness": {
                              "type": "object",
                              "properties": {
                                "targetLufs": {
                                  "type": "number"
                                },
                                "targetTruePeakDbtp": {
                                  "type": "number"
                                },
                                "measuredLufs": {
                                  "type": "number"
                                },
                                "measuredTruePeakDbtp": {
                                  "type": "number"
                                },
                                "loudnessRangeLu": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "targetLufs",
                                "targetTruePeakDbtp",
                                "measuredLufs",
                                "measuredTruePeakDbtp"
                              ],
                              "additionalProperties": false
                            },
                            "silence": {
                              "type": "object",
                              "properties": {
                                "detectedSegments": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "startSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "endSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "startSeconds",
                                      "endSeconds"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "detectedSegments"
                              ],
                              "additionalProperties": false
                            },
                            "chapters": {
                              "type": "object",
                              "properties": {
                                "count": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "titles": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "count",
                                "titles"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "gpuClass": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "fps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "pixFmt": {
                                  "type": "string"
                                },
                                "chromaTier": {
                                  "type": "string",
                                  "enum": [
                                    "420_8bit",
                                    "420_10bit"
                                  ]
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "container": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasAudio": {
                                  "type": "boolean"
                                },
                                "audioCodec": {
                                  "type": "string"
                                },
                                "audioSampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioChannels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "subtitleTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "hdrFormat": {
                                  "type": "string",
                                  "enum": [
                                    "sdr",
                                    "hdr10",
                                    "hlg",
                                    "dolby_vision"
                                  ]
                                },
                                "chapterCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "rotation": {
                                  "type": "number"
                                },
                                "interlaced": {
                                  "type": "boolean"
                                },
                                "hasTags": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "durationSeconds",
                                "width",
                                "height",
                                "fps",
                                "codec",
                                "pixFmt",
                                "container",
                                "bytes",
                                "hasAudio",
                                "hasTags"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "fps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "pixFmt": {
                                  "type": "string"
                                },
                                "container": {
                                  "type": "string",
                                  "enum": [
                                    "mp4",
                                    "mov",
                                    "mkv",
                                    "webm",
                                    "hls",
                                    "srt",
                                    "vtt",
                                    "ass",
                                    "jpeg",
                                    "png",
                                    "webp",
                                    "gif",
                                    "mp3",
                                    "m4a",
                                    "aac",
                                    "flac",
                                    "opus",
                                    "wav"
                                  ]
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                },
                                "hasAudio": {
                                  "type": "boolean"
                                },
                                "audioCodec": {
                                  "type": "string"
                                },
                                "audioTrackCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "subtitleTrackCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hdrFormat": {
                                  "type": "string",
                                  "enum": [
                                    "sdr",
                                    "hdr10",
                                    "hlg",
                                    "dolby_vision"
                                  ]
                                },
                                "chapterCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "segmentCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "segmentFiles": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "subtitleFiles": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "language"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "avSyncDriftSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "keyframesVerified": {
                                  "type": "boolean"
                                },
                                "hasTags": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "durationSeconds",
                                "width",
                                "height",
                                "fps",
                                "codec",
                                "pixFmt",
                                "container",
                                "bytes",
                                "sha256",
                                "hasAudio",
                                "keyframesVerified",
                                "hasTags"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "costMicros": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "costUsd": {
                  "type": "number",
                  "minimum": 0
                },
                "billed": {
                  "type": "boolean"
                },
                "error": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "retryable": {
                      "type": "boolean"
                    },
                    "hint": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "retryable"
                  ],
                  "additionalProperties": false
                },
                "metadata": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "completedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "queueWaitMs": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "execMs": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "kind",
                "priority",
                "state",
                "retentionHours",
                "input",
                "operations",
                "output",
                "costMicros",
                "costUsd",
                "billed",
                "createdAt",
                "updatedAt"
              ],
              "additionalProperties": false
            }
          },
          "missing": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "jobs",
          "missing"
        ],
        "additionalProperties": false
      },
      "EstimateJobResponse": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "enum": [
              "image",
              "audio",
              "video",
              "render",
              "doc",
              "ai"
            ]
          },
          "pool": {
            "type": "string"
          },
          "gpuClass": {
            "type": "string"
          },
          "flexApplied": {
            "type": "boolean"
          },
          "estimatedMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "estimatedUsd": {
            "type": "number",
            "minimum": 0
          },
          "computeEstimateMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "retentionEstimateMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "outputCount": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "notes": {
            "type": "string"
          }
        },
        "required": [
          "category",
          "pool",
          "flexApplied",
          "estimatedMicros",
          "estimatedUsd",
          "computeEstimateMicros",
          "retentionEstimateMicros",
          "outputCount"
        ],
        "additionalProperties": false
      },
      "VerificationReport": {
        "type": "object",
        "properties": {
          "verified": {
            "type": "boolean"
          },
          "engine": {
            "type": "string"
          },
          "inputProbe": {
            "type": "object",
            "properties": {
              "width": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "height": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "format": {
                "type": "string"
              },
              "bytes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "hasExif": {
                "type": "boolean"
              },
              "colorSpace": {
                "type": "string"
              }
            },
            "required": [
              "width",
              "height",
              "format",
              "bytes",
              "hasExif",
              "colorSpace"
            ],
            "additionalProperties": false
          },
          "outputProbe": {
            "type": "object",
            "properties": {
              "width": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "height": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "format": {
                "type": "string",
                "enum": [
                  "jpeg",
                  "png",
                  "webp",
                  "avif",
                  "heic",
                  "gif",
                  "bmp",
                  "tiff",
                  "ico",
                  "tga",
                  "ppm"
                ]
              },
              "bytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "exifStripped": {
                "type": "boolean"
              },
              "sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "width",
              "height",
              "format",
              "bytes",
              "exifStripped",
              "sha256"
            ],
            "additionalProperties": false
          },
          "checks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "passed": {
                  "type": "boolean"
                },
                "detail": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "passed"
              ],
              "additionalProperties": false
            }
          },
          "timingsMs": {
            "type": "object",
            "properties": {
              "probe": {
                "type": "number",
                "minimum": 0
              },
              "download": {
                "type": "number",
                "minimum": 0
              },
              "transform": {
                "type": "number",
                "minimum": 0
              },
              "verify": {
                "type": "number",
                "minimum": 0
              },
              "upload": {
                "type": "number",
                "minimum": 0
              },
              "total": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "probe",
              "download",
              "transform",
              "verify",
              "upload",
              "total"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "verified",
          "engine",
          "inputProbe",
          "outputProbe",
          "checks",
          "timingsMs"
        ],
        "additionalProperties": false
      },
      "AudioVerificationReport": {
        "type": "object",
        "properties": {
          "verified": {
            "type": "boolean"
          },
          "engine": {
            "type": "string"
          },
          "inputProbe": {
            "type": "object",
            "properties": {
              "format": {
                "type": "string"
              },
              "codec": {
                "type": "string"
              },
              "bytes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "durationSeconds": {
                "type": "number",
                "minimum": 0
              },
              "sampleRateHz": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "channels": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "bitrateKbps": {
                "type": "number",
                "minimum": 0
              },
              "hasTags": {
                "type": "boolean"
              },
              "hasArtwork": {
                "type": "boolean"
              },
              "loudness": {
                "type": "object",
                "properties": {
                  "integratedLufs": {
                    "type": "number"
                  },
                  "truePeakDbtp": {
                    "type": "number"
                  },
                  "loudnessRangeLu": {
                    "type": "number",
                    "minimum": 0
                  },
                  "targetLufs": {
                    "type": "number"
                  }
                },
                "required": [
                  "integratedLufs",
                  "truePeakDbtp"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "format",
              "bytes",
              "durationSeconds"
            ],
            "additionalProperties": false
          },
          "outputProbe": {
            "type": "object",
            "properties": {
              "format": {
                "type": "string",
                "enum": [
                  "mp3",
                  "m4a",
                  "aac",
                  "flac",
                  "opus",
                  "wav",
                  "ogg",
                  "aiff",
                  "json",
                  "png"
                ]
              },
              "codec": {
                "type": "string"
              },
              "bytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "durationSeconds": {
                "type": "number",
                "minimum": 0
              },
              "sampleRateHz": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "channels": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "bitrateKbps": {
                "type": "number",
                "minimum": 0
              },
              "tagsStripped": {
                "type": "boolean"
              },
              "artworkStripped": {
                "type": "boolean"
              },
              "loudness": {
                "type": "object",
                "properties": {
                  "integratedLufs": {
                    "type": "number"
                  },
                  "truePeakDbtp": {
                    "type": "number"
                  },
                  "loudnessRangeLu": {
                    "type": "number",
                    "minimum": 0
                  },
                  "targetLufs": {
                    "type": "number"
                  }
                },
                "required": [
                  "integratedLufs",
                  "truePeakDbtp"
                ],
                "additionalProperties": false
              },
              "width": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "height": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "bins": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              }
            },
            "required": [
              "format",
              "bytes",
              "durationSeconds",
              "sha256"
            ],
            "additionalProperties": false
          },
          "loudness": {
            "type": "object",
            "properties": {
              "targetLufs": {
                "type": "number"
              },
              "targetTruePeakDbtp": {
                "type": "number"
              },
              "measuredLufs": {
                "type": "number"
              },
              "measuredTruePeakDbtp": {
                "type": "number"
              },
              "loudnessRangeLu": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "targetLufs",
              "targetTruePeakDbtp",
              "measuredLufs",
              "measuredTruePeakDbtp"
            ],
            "additionalProperties": false
          },
          "silence": {
            "type": "object",
            "properties": {
              "detectedSegments": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "startSeconds": {
                      "type": "number",
                      "minimum": 0
                    },
                    "endSeconds": {
                      "type": "number",
                      "minimum": 0
                    }
                  },
                  "required": [
                    "startSeconds",
                    "endSeconds"
                  ],
                  "additionalProperties": false
                }
              }
            },
            "required": [
              "detectedSegments"
            ],
            "additionalProperties": false
          },
          "chapters": {
            "type": "object",
            "properties": {
              "count": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "titles": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "count",
              "titles"
            ],
            "additionalProperties": false
          },
          "checks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "passed": {
                  "type": "boolean"
                },
                "detail": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "passed"
              ],
              "additionalProperties": false
            }
          },
          "timingsMs": {
            "type": "object",
            "properties": {
              "probe": {
                "type": "number",
                "minimum": 0
              },
              "download": {
                "type": "number",
                "minimum": 0
              },
              "transform": {
                "type": "number",
                "minimum": 0
              },
              "verify": {
                "type": "number",
                "minimum": 0
              },
              "upload": {
                "type": "number",
                "minimum": 0
              },
              "total": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "probe",
              "download",
              "transform",
              "verify",
              "upload",
              "total"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "verified",
          "engine",
          "inputProbe",
          "outputProbe",
          "checks",
          "timingsMs"
        ],
        "additionalProperties": false
      },
      "VideoVerificationReport": {
        "type": "object",
        "properties": {
          "verified": {
            "type": "boolean"
          },
          "engine": {
            "type": "string"
          },
          "gpuClass": {
            "type": "string"
          },
          "inputProbe": {
            "type": "object",
            "properties": {
              "durationSeconds": {
                "type": "number",
                "minimum": 0
              },
              "width": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "height": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "fps": {
                "type": "number",
                "minimum": 0
              },
              "codec": {
                "type": "string"
              },
              "pixFmt": {
                "type": "string"
              },
              "chromaTier": {
                "type": "string",
                "enum": [
                  "420_8bit",
                  "420_10bit"
                ]
              },
              "bitrateKbps": {
                "type": "number",
                "minimum": 0
              },
              "container": {
                "type": "string"
              },
              "bytes": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "hasAudio": {
                "type": "boolean"
              },
              "audioCodec": {
                "type": "string"
              },
              "audioSampleRateHz": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "audioChannels": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "audioTracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "codec": {
                      "type": "string"
                    },
                    "language": {
                      "type": "string"
                    },
                    "channels": {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "codec"
                  ],
                  "additionalProperties": false
                }
              },
              "subtitleTracks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "codec": {
                      "type": "string"
                    },
                    "language": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "codec"
                  ],
                  "additionalProperties": false
                }
              },
              "hdrFormat": {
                "type": "string",
                "enum": [
                  "sdr",
                  "hdr10",
                  "hlg",
                  "dolby_vision"
                ]
              },
              "chapterCount": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "rotation": {
                "type": "number"
              },
              "interlaced": {
                "type": "boolean"
              },
              "hasTags": {
                "type": "boolean"
              }
            },
            "required": [
              "durationSeconds",
              "width",
              "height",
              "fps",
              "codec",
              "pixFmt",
              "container",
              "bytes",
              "hasAudio",
              "hasTags"
            ],
            "additionalProperties": false
          },
          "outputProbe": {
            "type": "object",
            "properties": {
              "durationSeconds": {
                "type": "number",
                "minimum": 0
              },
              "width": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "height": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "fps": {
                "type": "number",
                "minimum": 0
              },
              "codec": {
                "type": "string"
              },
              "profile": {
                "type": "string"
              },
              "pixFmt": {
                "type": "string"
              },
              "container": {
                "type": "string",
                "enum": [
                  "mp4",
                  "mov",
                  "mkv",
                  "webm",
                  "hls",
                  "srt",
                  "vtt",
                  "ass",
                  "jpeg",
                  "png",
                  "webp",
                  "gif",
                  "mp3",
                  "m4a",
                  "aac",
                  "flac",
                  "opus",
                  "wav"
                ]
              },
              "bitrateKbps": {
                "type": "number",
                "minimum": 0
              },
              "bytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "sha256": {
                "type": "string",
                "pattern": "^[a-f0-9]{64}$"
              },
              "hasAudio": {
                "type": "boolean"
              },
              "audioCodec": {
                "type": "string"
              },
              "audioTrackCount": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "subtitleTrackCount": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "hdrFormat": {
                "type": "string",
                "enum": [
                  "sdr",
                  "hdr10",
                  "hlg",
                  "dolby_vision"
                ]
              },
              "chapterCount": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "segmentCount": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "segmentFiles": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "subtitleFiles": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "language": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "language"
                  ],
                  "additionalProperties": false
                }
              },
              "avSyncDriftSeconds": {
                "type": "number",
                "minimum": 0
              },
              "keyframesVerified": {
                "type": "boolean"
              },
              "hasTags": {
                "type": "boolean"
              }
            },
            "required": [
              "durationSeconds",
              "width",
              "height",
              "fps",
              "codec",
              "pixFmt",
              "container",
              "bytes",
              "sha256",
              "hasAudio",
              "keyframesVerified",
              "hasTags"
            ],
            "additionalProperties": false
          },
          "checks": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string"
                },
                "passed": {
                  "type": "boolean"
                },
                "detail": {
                  "type": "string"
                }
              },
              "required": [
                "name",
                "passed"
              ],
              "additionalProperties": false
            }
          },
          "timingsMs": {
            "type": "object",
            "properties": {
              "probe": {
                "type": "number",
                "minimum": 0
              },
              "download": {
                "type": "number",
                "minimum": 0
              },
              "transform": {
                "type": "number",
                "minimum": 0
              },
              "verify": {
                "type": "number",
                "minimum": 0
              },
              "upload": {
                "type": "number",
                "minimum": 0
              },
              "total": {
                "type": "number",
                "minimum": 0
              }
            },
            "required": [
              "probe",
              "download",
              "transform",
              "verify",
              "upload",
              "total"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "verified",
          "engine",
          "inputProbe",
          "outputProbe",
          "checks",
          "timingsMs"
        ],
        "additionalProperties": false
      },
      "MediaVerificationReport": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "verified": {
                "type": "boolean"
              },
              "engine": {
                "type": "string"
              },
              "inputProbe": {
                "type": "object",
                "properties": {
                  "width": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "format": {
                    "type": "string"
                  },
                  "bytes": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "hasExif": {
                    "type": "boolean"
                  },
                  "colorSpace": {
                    "type": "string"
                  }
                },
                "required": [
                  "width",
                  "height",
                  "format",
                  "bytes",
                  "hasExif",
                  "colorSpace"
                ],
                "additionalProperties": false
              },
              "outputProbe": {
                "type": "object",
                "properties": {
                  "width": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "format": {
                    "type": "string",
                    "enum": [
                      "jpeg",
                      "png",
                      "webp",
                      "avif",
                      "heic",
                      "gif",
                      "bmp",
                      "tiff",
                      "ico",
                      "tga",
                      "ppm"
                    ]
                  },
                  "bytes": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "exifStripped": {
                    "type": "boolean"
                  },
                  "sha256": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  }
                },
                "required": [
                  "width",
                  "height",
                  "format",
                  "bytes",
                  "exifStripped",
                  "sha256"
                ],
                "additionalProperties": false
              },
              "checks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "passed": {
                      "type": "boolean"
                    },
                    "detail": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "passed"
                  ],
                  "additionalProperties": false
                }
              },
              "timingsMs": {
                "type": "object",
                "properties": {
                  "probe": {
                    "type": "number",
                    "minimum": 0
                  },
                  "download": {
                    "type": "number",
                    "minimum": 0
                  },
                  "transform": {
                    "type": "number",
                    "minimum": 0
                  },
                  "verify": {
                    "type": "number",
                    "minimum": 0
                  },
                  "upload": {
                    "type": "number",
                    "minimum": 0
                  },
                  "total": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "required": [
                  "probe",
                  "download",
                  "transform",
                  "verify",
                  "upload",
                  "total"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "verified",
              "engine",
              "inputProbe",
              "outputProbe",
              "checks",
              "timingsMs"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "verified": {
                "type": "boolean"
              },
              "engine": {
                "type": "string"
              },
              "inputProbe": {
                "type": "object",
                "properties": {
                  "format": {
                    "type": "string"
                  },
                  "codec": {
                    "type": "string"
                  },
                  "bytes": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "durationSeconds": {
                    "type": "number",
                    "minimum": 0
                  },
                  "sampleRateHz": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "channels": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "bitrateKbps": {
                    "type": "number",
                    "minimum": 0
                  },
                  "hasTags": {
                    "type": "boolean"
                  },
                  "hasArtwork": {
                    "type": "boolean"
                  },
                  "loudness": {
                    "type": "object",
                    "properties": {
                      "integratedLufs": {
                        "type": "number"
                      },
                      "truePeakDbtp": {
                        "type": "number"
                      },
                      "loudnessRangeLu": {
                        "type": "number",
                        "minimum": 0
                      },
                      "targetLufs": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "integratedLufs",
                      "truePeakDbtp"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "format",
                  "bytes",
                  "durationSeconds"
                ],
                "additionalProperties": false
              },
              "outputProbe": {
                "type": "object",
                "properties": {
                  "format": {
                    "type": "string",
                    "enum": [
                      "mp3",
                      "m4a",
                      "aac",
                      "flac",
                      "opus",
                      "wav",
                      "ogg",
                      "aiff",
                      "json",
                      "png"
                    ]
                  },
                  "codec": {
                    "type": "string"
                  },
                  "bytes": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "durationSeconds": {
                    "type": "number",
                    "minimum": 0
                  },
                  "sampleRateHz": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "channels": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "bitrateKbps": {
                    "type": "number",
                    "minimum": 0
                  },
                  "tagsStripped": {
                    "type": "boolean"
                  },
                  "artworkStripped": {
                    "type": "boolean"
                  },
                  "loudness": {
                    "type": "object",
                    "properties": {
                      "integratedLufs": {
                        "type": "number"
                      },
                      "truePeakDbtp": {
                        "type": "number"
                      },
                      "loudnessRangeLu": {
                        "type": "number",
                        "minimum": 0
                      },
                      "targetLufs": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "integratedLufs",
                      "truePeakDbtp"
                    ],
                    "additionalProperties": false
                  },
                  "width": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "bins": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "sha256": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  }
                },
                "required": [
                  "format",
                  "bytes",
                  "durationSeconds",
                  "sha256"
                ],
                "additionalProperties": false
              },
              "loudness": {
                "type": "object",
                "properties": {
                  "targetLufs": {
                    "type": "number"
                  },
                  "targetTruePeakDbtp": {
                    "type": "number"
                  },
                  "measuredLufs": {
                    "type": "number"
                  },
                  "measuredTruePeakDbtp": {
                    "type": "number"
                  },
                  "loudnessRangeLu": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "required": [
                  "targetLufs",
                  "targetTruePeakDbtp",
                  "measuredLufs",
                  "measuredTruePeakDbtp"
                ],
                "additionalProperties": false
              },
              "silence": {
                "type": "object",
                "properties": {
                  "detectedSegments": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "startSeconds": {
                          "type": "number",
                          "minimum": 0
                        },
                        "endSeconds": {
                          "type": "number",
                          "minimum": 0
                        }
                      },
                      "required": [
                        "startSeconds",
                        "endSeconds"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "detectedSegments"
                ],
                "additionalProperties": false
              },
              "chapters": {
                "type": "object",
                "properties": {
                  "count": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "titles": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "count",
                  "titles"
                ],
                "additionalProperties": false
              },
              "checks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "passed": {
                      "type": "boolean"
                    },
                    "detail": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "passed"
                  ],
                  "additionalProperties": false
                }
              },
              "timingsMs": {
                "type": "object",
                "properties": {
                  "probe": {
                    "type": "number",
                    "minimum": 0
                  },
                  "download": {
                    "type": "number",
                    "minimum": 0
                  },
                  "transform": {
                    "type": "number",
                    "minimum": 0
                  },
                  "verify": {
                    "type": "number",
                    "minimum": 0
                  },
                  "upload": {
                    "type": "number",
                    "minimum": 0
                  },
                  "total": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "required": [
                  "probe",
                  "download",
                  "transform",
                  "verify",
                  "upload",
                  "total"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "verified",
              "engine",
              "inputProbe",
              "outputProbe",
              "checks",
              "timingsMs"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "verified": {
                "type": "boolean"
              },
              "engine": {
                "type": "string"
              },
              "gpuClass": {
                "type": "string"
              },
              "inputProbe": {
                "type": "object",
                "properties": {
                  "durationSeconds": {
                    "type": "number",
                    "minimum": 0
                  },
                  "width": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "fps": {
                    "type": "number",
                    "minimum": 0
                  },
                  "codec": {
                    "type": "string"
                  },
                  "pixFmt": {
                    "type": "string"
                  },
                  "chromaTier": {
                    "type": "string",
                    "enum": [
                      "420_8bit",
                      "420_10bit"
                    ]
                  },
                  "bitrateKbps": {
                    "type": "number",
                    "minimum": 0
                  },
                  "container": {
                    "type": "string"
                  },
                  "bytes": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "hasAudio": {
                    "type": "boolean"
                  },
                  "audioCodec": {
                    "type": "string"
                  },
                  "audioSampleRateHz": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "audioChannels": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "audioTracks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "codec": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        },
                        "channels": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "codec"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "subtitleTracks": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "codec": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "codec"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "hdrFormat": {
                    "type": "string",
                    "enum": [
                      "sdr",
                      "hdr10",
                      "hlg",
                      "dolby_vision"
                    ]
                  },
                  "chapterCount": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "rotation": {
                    "type": "number"
                  },
                  "interlaced": {
                    "type": "boolean"
                  },
                  "hasTags": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "durationSeconds",
                  "width",
                  "height",
                  "fps",
                  "codec",
                  "pixFmt",
                  "container",
                  "bytes",
                  "hasAudio",
                  "hasTags"
                ],
                "additionalProperties": false
              },
              "outputProbe": {
                "type": "object",
                "properties": {
                  "durationSeconds": {
                    "type": "number",
                    "minimum": 0
                  },
                  "width": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "height": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "fps": {
                    "type": "number",
                    "minimum": 0
                  },
                  "codec": {
                    "type": "string"
                  },
                  "profile": {
                    "type": "string"
                  },
                  "pixFmt": {
                    "type": "string"
                  },
                  "container": {
                    "type": "string",
                    "enum": [
                      "mp4",
                      "mov",
                      "mkv",
                      "webm",
                      "hls",
                      "srt",
                      "vtt",
                      "ass",
                      "jpeg",
                      "png",
                      "webp",
                      "gif",
                      "mp3",
                      "m4a",
                      "aac",
                      "flac",
                      "opus",
                      "wav"
                    ]
                  },
                  "bitrateKbps": {
                    "type": "number",
                    "minimum": 0
                  },
                  "bytes": {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  "sha256": {
                    "type": "string",
                    "pattern": "^[a-f0-9]{64}$"
                  },
                  "hasAudio": {
                    "type": "boolean"
                  },
                  "audioCodec": {
                    "type": "string"
                  },
                  "audioTrackCount": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "subtitleTrackCount": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "hdrFormat": {
                    "type": "string",
                    "enum": [
                      "sdr",
                      "hdr10",
                      "hlg",
                      "dolby_vision"
                    ]
                  },
                  "chapterCount": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "segmentCount": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  "segmentFiles": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  },
                  "subtitleFiles": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "language": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "language"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "avSyncDriftSeconds": {
                    "type": "number",
                    "minimum": 0
                  },
                  "keyframesVerified": {
                    "type": "boolean"
                  },
                  "hasTags": {
                    "type": "boolean"
                  }
                },
                "required": [
                  "durationSeconds",
                  "width",
                  "height",
                  "fps",
                  "codec",
                  "pixFmt",
                  "container",
                  "bytes",
                  "sha256",
                  "hasAudio",
                  "keyframesVerified",
                  "hasTags"
                ],
                "additionalProperties": false
              },
              "checks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "passed": {
                      "type": "boolean"
                    },
                    "detail": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "passed"
                  ],
                  "additionalProperties": false
                }
              },
              "timingsMs": {
                "type": "object",
                "properties": {
                  "probe": {
                    "type": "number",
                    "minimum": 0
                  },
                  "download": {
                    "type": "number",
                    "minimum": 0
                  },
                  "transform": {
                    "type": "number",
                    "minimum": 0
                  },
                  "verify": {
                    "type": "number",
                    "minimum": 0
                  },
                  "upload": {
                    "type": "number",
                    "minimum": 0
                  },
                  "total": {
                    "type": "number",
                    "minimum": 0
                  }
                },
                "required": [
                  "probe",
                  "download",
                  "transform",
                  "verify",
                  "upload",
                  "total"
                ],
                "additionalProperties": false
              }
            },
            "required": [
              "verified",
              "engine",
              "inputProbe",
              "outputProbe",
              "checks",
              "timingsMs"
            ],
            "additionalProperties": false
          }
        ]
      },
      "JobArtifactResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "delivered",
              "failed"
            ]
          },
          "format": {
            "type": [
              "string",
              "null"
            ]
          },
          "contentType": {
            "type": [
              "string",
              "null"
            ]
          },
          "bytes": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "durationSeconds": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "width": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "height": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "sha256": {
            "type": [
              "string",
              "null"
            ]
          },
          "destination": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "downloadUrl": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "expiresAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "costMicros": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "retentionCostMicros": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "verificationReport": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "verified": {
                        "type": "boolean"
                      },
                      "engine": {
                        "type": "string"
                      },
                      "inputProbe": {
                        "type": "object",
                        "properties": {
                          "width": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "format": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "hasExif": {
                            "type": "boolean"
                          },
                          "colorSpace": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "width",
                          "height",
                          "format",
                          "bytes",
                          "hasExif",
                          "colorSpace"
                        ],
                        "additionalProperties": false
                      },
                      "outputProbe": {
                        "type": "object",
                        "properties": {
                          "width": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "format": {
                            "type": "string",
                            "enum": [
                              "jpeg",
                              "png",
                              "webp",
                              "avif",
                              "heic",
                              "gif",
                              "bmp",
                              "tiff",
                              "ico",
                              "tga",
                              "ppm"
                            ]
                          },
                          "bytes": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "exifStripped": {
                            "type": "boolean"
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          }
                        },
                        "required": [
                          "width",
                          "height",
                          "format",
                          "bytes",
                          "exifStripped",
                          "sha256"
                        ],
                        "additionalProperties": false
                      },
                      "checks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "passed": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "passed"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "timingsMs": {
                        "type": "object",
                        "properties": {
                          "probe": {
                            "type": "number",
                            "minimum": 0
                          },
                          "download": {
                            "type": "number",
                            "minimum": 0
                          },
                          "transform": {
                            "type": "number",
                            "minimum": 0
                          },
                          "verify": {
                            "type": "number",
                            "minimum": 0
                          },
                          "upload": {
                            "type": "number",
                            "minimum": 0
                          },
                          "total": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "probe",
                          "download",
                          "transform",
                          "verify",
                          "upload",
                          "total"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "verified",
                      "engine",
                      "inputProbe",
                      "outputProbe",
                      "checks",
                      "timingsMs"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "verified": {
                        "type": "boolean"
                      },
                      "engine": {
                        "type": "string"
                      },
                      "inputProbe": {
                        "type": "object",
                        "properties": {
                          "format": {
                            "type": "string"
                          },
                          "codec": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "sampleRateHz": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "channels": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "hasTags": {
                            "type": "boolean"
                          },
                          "hasArtwork": {
                            "type": "boolean"
                          },
                          "loudness": {
                            "type": "object",
                            "properties": {
                              "integratedLufs": {
                                "type": "number"
                              },
                              "truePeakDbtp": {
                                "type": "number"
                              },
                              "loudnessRangeLu": {
                                "type": "number",
                                "minimum": 0
                              },
                              "targetLufs": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "integratedLufs",
                              "truePeakDbtp"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "format",
                          "bytes",
                          "durationSeconds"
                        ],
                        "additionalProperties": false
                      },
                      "outputProbe": {
                        "type": "object",
                        "properties": {
                          "format": {
                            "type": "string",
                            "enum": [
                              "mp3",
                              "m4a",
                              "aac",
                              "flac",
                              "opus",
                              "wav",
                              "ogg",
                              "aiff",
                              "json",
                              "png"
                            ]
                          },
                          "codec": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "sampleRateHz": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "channels": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "tagsStripped": {
                            "type": "boolean"
                          },
                          "artworkStripped": {
                            "type": "boolean"
                          },
                          "loudness": {
                            "type": "object",
                            "properties": {
                              "integratedLufs": {
                                "type": "number"
                              },
                              "truePeakDbtp": {
                                "type": "number"
                              },
                              "loudnessRangeLu": {
                                "type": "number",
                                "minimum": 0
                              },
                              "targetLufs": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "integratedLufs",
                              "truePeakDbtp"
                            ],
                            "additionalProperties": false
                          },
                          "width": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "bins": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          }
                        },
                        "required": [
                          "format",
                          "bytes",
                          "durationSeconds",
                          "sha256"
                        ],
                        "additionalProperties": false
                      },
                      "loudness": {
                        "type": "object",
                        "properties": {
                          "targetLufs": {
                            "type": "number"
                          },
                          "targetTruePeakDbtp": {
                            "type": "number"
                          },
                          "measuredLufs": {
                            "type": "number"
                          },
                          "measuredTruePeakDbtp": {
                            "type": "number"
                          },
                          "loudnessRangeLu": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "targetLufs",
                          "targetTruePeakDbtp",
                          "measuredLufs",
                          "measuredTruePeakDbtp"
                        ],
                        "additionalProperties": false
                      },
                      "silence": {
                        "type": "object",
                        "properties": {
                          "detectedSegments": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "startSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "endSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "startSeconds",
                                "endSeconds"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "detectedSegments"
                        ],
                        "additionalProperties": false
                      },
                      "chapters": {
                        "type": "object",
                        "properties": {
                          "count": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "titles": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "count",
                          "titles"
                        ],
                        "additionalProperties": false
                      },
                      "checks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "passed": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "passed"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "timingsMs": {
                        "type": "object",
                        "properties": {
                          "probe": {
                            "type": "number",
                            "minimum": 0
                          },
                          "download": {
                            "type": "number",
                            "minimum": 0
                          },
                          "transform": {
                            "type": "number",
                            "minimum": 0
                          },
                          "verify": {
                            "type": "number",
                            "minimum": 0
                          },
                          "upload": {
                            "type": "number",
                            "minimum": 0
                          },
                          "total": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "probe",
                          "download",
                          "transform",
                          "verify",
                          "upload",
                          "total"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "verified",
                      "engine",
                      "inputProbe",
                      "outputProbe",
                      "checks",
                      "timingsMs"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "verified": {
                        "type": "boolean"
                      },
                      "engine": {
                        "type": "string"
                      },
                      "gpuClass": {
                        "type": "string"
                      },
                      "inputProbe": {
                        "type": "object",
                        "properties": {
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "width": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "fps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "codec": {
                            "type": "string"
                          },
                          "pixFmt": {
                            "type": "string"
                          },
                          "chromaTier": {
                            "type": "string",
                            "enum": [
                              "420_8bit",
                              "420_10bit"
                            ]
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "container": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "hasAudio": {
                            "type": "boolean"
                          },
                          "audioCodec": {
                            "type": "string"
                          },
                          "audioSampleRateHz": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "audioChannels": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "audioTracks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "codec": {
                                  "type": "string"
                                },
                                "language": {
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "codec"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "subtitleTracks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "codec": {
                                  "type": "string"
                                },
                                "language": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "codec"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "hdrFormat": {
                            "type": "string",
                            "enum": [
                              "sdr",
                              "hdr10",
                              "hlg",
                              "dolby_vision"
                            ]
                          },
                          "chapterCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "rotation": {
                            "type": "number"
                          },
                          "interlaced": {
                            "type": "boolean"
                          },
                          "hasTags": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "durationSeconds",
                          "width",
                          "height",
                          "fps",
                          "codec",
                          "pixFmt",
                          "container",
                          "bytes",
                          "hasAudio",
                          "hasTags"
                        ],
                        "additionalProperties": false
                      },
                      "outputProbe": {
                        "type": "object",
                        "properties": {
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "width": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "fps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "codec": {
                            "type": "string"
                          },
                          "profile": {
                            "type": "string"
                          },
                          "pixFmt": {
                            "type": "string"
                          },
                          "container": {
                            "type": "string",
                            "enum": [
                              "mp4",
                              "mov",
                              "mkv",
                              "webm",
                              "hls",
                              "srt",
                              "vtt",
                              "ass",
                              "jpeg",
                              "png",
                              "webp",
                              "gif",
                              "mp3",
                              "m4a",
                              "aac",
                              "flac",
                              "opus",
                              "wav"
                            ]
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "bytes": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          },
                          "hasAudio": {
                            "type": "boolean"
                          },
                          "audioCodec": {
                            "type": "string"
                          },
                          "audioTrackCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "subtitleTrackCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "hdrFormat": {
                            "type": "string",
                            "enum": [
                              "sdr",
                              "hdr10",
                              "hlg",
                              "dolby_vision"
                            ]
                          },
                          "chapterCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "segmentCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "segmentFiles": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "subtitleFiles": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "language": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name",
                                "language"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "avSyncDriftSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "keyframesVerified": {
                            "type": "boolean"
                          },
                          "hasTags": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "durationSeconds",
                          "width",
                          "height",
                          "fps",
                          "codec",
                          "pixFmt",
                          "container",
                          "bytes",
                          "sha256",
                          "hasAudio",
                          "keyframesVerified",
                          "hasTags"
                        ],
                        "additionalProperties": false
                      },
                      "checks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "passed": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "passed"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "timingsMs": {
                        "type": "object",
                        "properties": {
                          "probe": {
                            "type": "number",
                            "minimum": 0
                          },
                          "download": {
                            "type": "number",
                            "minimum": 0
                          },
                          "transform": {
                            "type": "number",
                            "minimum": 0
                          },
                          "verify": {
                            "type": "number",
                            "minimum": 0
                          },
                          "upload": {
                            "type": "number",
                            "minimum": 0
                          },
                          "total": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "probe",
                          "download",
                          "transform",
                          "verify",
                          "upload",
                          "total"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "verified",
                      "engine",
                      "inputProbe",
                      "outputProbe",
                      "checks",
                      "timingsMs"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "error": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "code": {
                    "type": "string"
                  },
                  "message": {
                    "type": "string"
                  },
                  "retryable": {
                    "type": "boolean"
                  },
                  "hint": {
                    "type": "string"
                  }
                },
                "required": [
                  "code",
                  "message",
                  "retryable"
                ],
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "label",
          "status",
          "costMicros",
          "retentionCostMicros"
        ],
        "additionalProperties": false
      },
      "JobResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          },
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "requestId": {
            "type": [
              "string",
              "null"
            ]
          },
          "workerVersion": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string",
            "enum": [
              "image",
              "video",
              "audio"
            ]
          },
          "category": {
            "type": "string",
            "enum": [
              "image",
              "audio",
              "video",
              "render",
              "doc",
              "ai"
            ]
          },
          "priority": {
            "default": "standard",
            "type": "string",
            "enum": [
              "standard",
              "flex"
            ]
          },
          "state": {
            "type": "string",
            "enum": [
              "accepted",
              "probing",
              "rejected",
              "queued",
              "provisioning",
              "running",
              "verifying",
              "partial",
              "delivered",
              "failed",
              "canceled"
            ]
          },
          "retentionHours": {
            "default": 24,
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "retainDays": {
            "type": "integer",
            "minimum": 1,
            "maximum": 30
          },
          "retentionCostMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "gpuClass": {
            "type": "string"
          },
          "routingReason": {
            "type": "string"
          },
          "bucketId": {
            "type": "string"
          },
          "parentJobIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "input": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "format": "uri"
                  }
                },
                "required": [
                  "url"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "uploadId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  }
                },
                "required": [
                  "uploadId"
                ],
                "additionalProperties": false
              },
              {
                "type": "object",
                "properties": {
                  "jobId": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "output": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  }
                },
                "required": [
                  "jobId"
                ],
                "additionalProperties": false
              }
            ]
          },
          "inputs": {
            "anyOf": [
              {
                "minItems": 1,
                "maxItems": 16,
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "uploadId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "uploadId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "jobId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "output": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "jobId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  ]
                }
              },
              {
                "type": "object",
                "propertyNames": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 32
                },
                "additionalProperties": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "uri"
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "uploadId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "uploadId"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "jobId": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "output": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          },
                          "required": [
                            "jobId"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    }
                  ]
                }
              }
            ]
          },
          "inputProbe": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "width": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "height": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "format": {
                        "type": "string"
                      },
                      "bytes": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "hasExif": {
                        "type": "boolean"
                      },
                      "colorSpace": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "width",
                      "height",
                      "format",
                      "bytes",
                      "hasExif",
                      "colorSpace"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "format": {
                        "type": "string"
                      },
                      "codec": {
                        "type": "string"
                      },
                      "bytes": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "durationSeconds": {
                        "type": "number",
                        "minimum": 0
                      },
                      "sampleRateHz": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "channels": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "bitrateKbps": {
                        "type": "number",
                        "minimum": 0
                      },
                      "hasTags": {
                        "type": "boolean"
                      },
                      "hasArtwork": {
                        "type": "boolean"
                      },
                      "loudness": {
                        "type": "object",
                        "properties": {
                          "integratedLufs": {
                            "type": "number"
                          },
                          "truePeakDbtp": {
                            "type": "number"
                          },
                          "loudnessRangeLu": {
                            "type": "number",
                            "minimum": 0
                          },
                          "targetLufs": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "integratedLufs",
                          "truePeakDbtp"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "format",
                      "bytes",
                      "durationSeconds"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "durationSeconds": {
                        "type": "number",
                        "minimum": 0
                      },
                      "width": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "height": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "fps": {
                        "type": "number",
                        "minimum": 0
                      },
                      "codec": {
                        "type": "string"
                      },
                      "pixFmt": {
                        "type": "string"
                      },
                      "chromaTier": {
                        "type": "string",
                        "enum": [
                          "420_8bit",
                          "420_10bit"
                        ]
                      },
                      "bitrateKbps": {
                        "type": "number",
                        "minimum": 0
                      },
                      "container": {
                        "type": "string"
                      },
                      "bytes": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "hasAudio": {
                        "type": "boolean"
                      },
                      "audioCodec": {
                        "type": "string"
                      },
                      "audioSampleRateHz": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "audioChannels": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "audioTracks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "codec": {
                              "type": "string"
                            },
                            "language": {
                              "type": "string"
                            },
                            "channels": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "codec"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "subtitleTracks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "codec": {
                              "type": "string"
                            },
                            "language": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "codec"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "hdrFormat": {
                        "type": "string",
                        "enum": [
                          "sdr",
                          "hdr10",
                          "hlg",
                          "dolby_vision"
                        ]
                      },
                      "chapterCount": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "rotation": {
                        "type": "number"
                      },
                      "interlaced": {
                        "type": "boolean"
                      },
                      "hasTags": {
                        "type": "boolean"
                      }
                    },
                    "required": [
                      "durationSeconds",
                      "width",
                      "height",
                      "fps",
                      "codec",
                      "pixFmt",
                      "container",
                      "bytes",
                      "hasAudio",
                      "hasTags"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "operations": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "resize"
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 16384
                        },
                        "height": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 16384
                        },
                        "fit": {
                          "default": "inside",
                          "type": "string",
                          "enum": [
                            "contain",
                            "cover",
                            "fill",
                            "inside",
                            "outside"
                          ]
                        },
                        "withoutEnlargement": {
                          "default": true,
                          "type": "boolean"
                        },
                        "background": {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        }
                      },
                      "required": [
                        "type",
                        "fit",
                        "withoutEnlargement"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "crop"
                            },
                            "mode": {
                              "type": "string",
                              "const": "region"
                            },
                            "x": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "y": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "width": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 16384
                            },
                            "height": {
                              "type": "integer",
                              "minimum": 1,
                              "maximum": 16384
                            }
                          },
                          "required": [
                            "type",
                            "mode",
                            "x",
                            "y",
                            "width",
                            "height"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "const": "crop"
                            },
                            "mode": {
                              "type": "string",
                              "const": "aspect"
                            },
                            "aspectRatio": {
                              "type": "string",
                              "pattern": "^[1-9]\\d{0,3}:[1-9]\\d{0,3}$"
                            },
                            "gravity": {
                              "default": "center",
                              "type": "string",
                              "enum": [
                                "center",
                                "north",
                                "south",
                                "east",
                                "west",
                                "smart"
                              ]
                            }
                          },
                          "required": [
                            "type",
                            "mode",
                            "aspectRatio",
                            "gravity"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "rotate"
                        },
                        "angle": {
                          "type": "number",
                          "minimum": -360,
                          "maximum": 360
                        },
                        "background": {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "expand": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "angle",
                        "expand"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "flip"
                        },
                        "direction": {
                          "type": "string",
                          "enum": [
                            "horizontal",
                            "vertical",
                            "both"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "direction"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "pad"
                        },
                        "top": {
                          "default": 0,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 4096
                        },
                        "right": {
                          "default": 0,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 4096
                        },
                        "bottom": {
                          "default": 0,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 4096
                        },
                        "left": {
                          "default": 0,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 4096
                        },
                        "background": {
                          "default": "#00000000",
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        }
                      },
                      "required": [
                        "type",
                        "top",
                        "right",
                        "bottom",
                        "left",
                        "background"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "trim"
                        },
                        "threshold": {
                          "default": 10,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 100
                        }
                      },
                      "required": [
                        "type",
                        "threshold"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "blur"
                        },
                        "radius": {
                          "default": 2,
                          "type": "number",
                          "minimum": 0.5,
                          "maximum": 50
                        }
                      },
                      "required": [
                        "type",
                        "radius"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "sharpen"
                        },
                        "amount": {
                          "default": 1.5,
                          "type": "number",
                          "minimum": 0.5,
                          "maximum": 5
                        },
                        "radius": {
                          "default": 1.5,
                          "type": "number",
                          "minimum": 0.5,
                          "maximum": 10
                        }
                      },
                      "required": [
                        "type",
                        "amount",
                        "radius"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "adjust"
                        },
                        "brightness": {
                          "type": "number",
                          "minimum": 0.1,
                          "maximum": 3
                        },
                        "contrast": {
                          "type": "number",
                          "minimum": 0.1,
                          "maximum": 3
                        },
                        "saturation": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 3
                        },
                        "gamma": {
                          "type": "number",
                          "minimum": 0.2,
                          "maximum": 5
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "filter"
                        },
                        "name": {
                          "type": "string",
                          "enum": [
                            "grayscale",
                            "sepia",
                            "invert",
                            "auto_contrast",
                            "equalize",
                            "emboss",
                            "contour"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "pixelate"
                        },
                        "blockSize": {
                          "default": 10,
                          "type": "integer",
                          "minimum": 2,
                          "maximum": 100
                        }
                      },
                      "required": [
                        "type",
                        "blockSize"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "watermark"
                        },
                        "text": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 120
                        },
                        "imageUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "position": {
                          "default": "bottom-right",
                          "type": "string",
                          "enum": [
                            "top-left",
                            "top-right",
                            "bottom-left",
                            "bottom-right",
                            "center"
                          ]
                        },
                        "opacity": {
                          "default": 0.5,
                          "type": "number",
                          "minimum": 0.05,
                          "maximum": 1
                        },
                        "fontSize": {
                          "default": 28,
                          "type": "integer",
                          "minimum": 12,
                          "maximum": 200
                        },
                        "color": {
                          "default": "#FFFFFF",
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "margin": {
                          "default": 20,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 200
                        }
                      },
                      "required": [
                        "type",
                        "position",
                        "opacity",
                        "fontSize",
                        "color",
                        "margin"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "composite"
                        },
                        "imageUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "uploadId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "jobId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "output": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "position": {
                          "default": "bottom_right",
                          "type": "string",
                          "enum": [
                            "top_left",
                            "top_center",
                            "top_right",
                            "center_left",
                            "center",
                            "center_right",
                            "bottom_left",
                            "bottom_center",
                            "bottom_right",
                            "custom"
                          ]
                        },
                        "x": {
                          "type": "integer",
                          "minimum": -16384,
                          "maximum": 16384
                        },
                        "y": {
                          "type": "integer",
                          "minimum": -16384,
                          "maximum": 16384
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 16384
                        },
                        "height": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 16384
                        },
                        "scale": {
                          "type": "number",
                          "minimum": 0.05,
                          "maximum": 2
                        },
                        "opacity": {
                          "default": 1,
                          "type": "number",
                          "minimum": 0.05,
                          "maximum": 1
                        },
                        "marginPx": {
                          "default": 16,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 500
                        }
                      },
                      "required": [
                        "type",
                        "position",
                        "opacity",
                        "marginPx"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "strip_metadata"
                        },
                        "keepOrientation": {
                          "default": true,
                          "type": "boolean"
                        },
                        "keepColorProfile": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "keepOrientation",
                        "keepColorProfile"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "convert"
                        },
                        "format": {
                          "type": "string",
                          "enum": [
                            "jpeg",
                            "png",
                            "webp",
                            "avif",
                            "heic",
                            "gif",
                            "bmp",
                            "tiff",
                            "ico",
                            "tga",
                            "ppm"
                          ]
                        },
                        "quality": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100
                        },
                        "lossless": {
                          "type": "boolean"
                        },
                        "progressive": {
                          "type": "boolean"
                        },
                        "background": {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "colorProfile": {
                          "type": "string",
                          "enum": [
                            "keep",
                            "srgb"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "format"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "text"
                        },
                        "content": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 2000
                        },
                        "fontSize": {
                          "default": 32,
                          "type": "integer",
                          "minimum": 8,
                          "maximum": 400
                        },
                        "color": {
                          "default": "#000000",
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "position": {
                          "default": "bottom_left",
                          "type": "string",
                          "enum": [
                            "top_left",
                            "top_center",
                            "top_right",
                            "center_left",
                            "center",
                            "center_right",
                            "bottom_left",
                            "bottom_center",
                            "bottom_right",
                            "custom"
                          ]
                        },
                        "opacity": {
                          "default": 1,
                          "type": "number",
                          "minimum": 0.05,
                          "maximum": 1
                        },
                        "align": {
                          "default": "left",
                          "type": "string",
                          "enum": [
                            "left",
                            "center",
                            "right"
                          ]
                        },
                        "marginPx": {
                          "default": 16,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 500
                        },
                        "x": {
                          "type": "integer",
                          "minimum": -16384,
                          "maximum": 16384
                        },
                        "y": {
                          "type": "integer",
                          "minimum": -16384,
                          "maximum": 16384
                        }
                      },
                      "required": [
                        "type",
                        "content",
                        "fontSize",
                        "color",
                        "position",
                        "opacity",
                        "align",
                        "marginPx"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "corners"
                        },
                        "radius": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 4096
                        }
                      },
                      "required": [
                        "type",
                        "radius"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "grid"
                        },
                        "imageUrls": {
                          "minItems": 2,
                          "maxItems": 16,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uri"
                          }
                        },
                        "columns": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 8
                        },
                        "gapPx": {
                          "default": 8,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 200
                        },
                        "background": {
                          "default": "#FFFFFF",
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "fit": {
                          "default": "cover",
                          "type": "string",
                          "enum": [
                            "cover",
                            "contain"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "imageUrls",
                        "gapPx",
                        "background",
                        "fit"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "transcode"
                        },
                        "codec": {
                          "type": "string",
                          "enum": [
                            "h264",
                            "hevc",
                            "av1"
                          ]
                        },
                        "container": {
                          "type": "string",
                          "enum": [
                            "mp4",
                            "mov",
                            "mkv",
                            "webm"
                          ]
                        },
                        "chromaTier": {
                          "default": "420_8bit",
                          "type": "string",
                          "enum": [
                            "420_8bit",
                            "420_10bit"
                          ]
                        },
                        "quality": {
                          "default": "balanced",
                          "type": "string",
                          "enum": [
                            "draft",
                            "balanced",
                            "best"
                          ]
                        },
                        "crf": {
                          "type": "integer",
                          "minimum": 14,
                          "maximum": 40
                        },
                        "maxBitrateKbps": {
                          "type": "integer",
                          "minimum": 100,
                          "maximum": 200000
                        },
                        "audioCodec": {
                          "default": "aac",
                          "type": "string",
                          "enum": [
                            "aac",
                            "opus",
                            "copy",
                            "none"
                          ]
                        },
                        "audioBitrateKbps": {
                          "type": "integer",
                          "minimum": 32,
                          "maximum": 512
                        },
                        "hdr": {
                          "type": "string",
                          "enum": [
                            "preserve",
                            "hdr10",
                            "sdr"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "codec",
                        "chromaTier",
                        "quality",
                        "audioCodec"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "resize"
                        },
                        "resolution": {
                          "type": "string",
                          "enum": [
                            "540p",
                            "720p",
                            "1080p",
                            "1440p",
                            "4k",
                            "8k"
                          ]
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 64,
                          "maximum": 7680
                        },
                        "height": {
                          "type": "integer",
                          "minimum": 64,
                          "maximum": 4320
                        },
                        "fit": {
                          "default": "inside",
                          "type": "string",
                          "enum": [
                            "inside",
                            "cover",
                            "contain"
                          ]
                        },
                        "withoutEnlargement": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "fit",
                        "withoutEnlargement"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "crop"
                        },
                        "mode": {
                          "default": "region",
                          "type": "string",
                          "enum": [
                            "region",
                            "aspect"
                          ]
                        },
                        "left": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "top": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 2,
                          "maximum": 7680
                        },
                        "height": {
                          "type": "integer",
                          "minimum": 2,
                          "maximum": 4320
                        },
                        "aspectRatio": {
                          "type": "string",
                          "enum": [
                            "16:9",
                            "9:16",
                            "1:1",
                            "4:5",
                            "4:3",
                            "21:9"
                          ]
                        },
                        "gravity": {
                          "default": "center",
                          "type": "string",
                          "enum": [
                            "center",
                            "north",
                            "south",
                            "east",
                            "west"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "mode",
                        "gravity"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "trim"
                        },
                        "startSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0
                        },
                        "endSeconds": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "durationSeconds": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        }
                      },
                      "required": [
                        "type",
                        "startSeconds"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "fps"
                        },
                        "targetFps": {
                          "type": "number",
                          "minimum": 1,
                          "maximum": 120
                        },
                        "mode": {
                          "default": "cfr",
                          "type": "string",
                          "enum": [
                            "cfr",
                            "vfr_cap"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "targetFps",
                        "mode"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "rotate"
                        },
                        "degrees": {
                          "anyOf": [
                            {
                              "type": "number",
                              "const": 90
                            },
                            {
                              "type": "number",
                              "const": 180
                            },
                            {
                              "type": "number",
                              "const": 270
                            }
                          ]
                        },
                        "autoOrient": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "speed"
                        },
                        "factor": {
                          "type": "number",
                          "minimum": 0.25,
                          "maximum": 4
                        },
                        "preserveAudioPitch": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "factor",
                        "preserveAudioPitch"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "watermark"
                        },
                        "text": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 120
                        },
                        "imageUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "position": {
                          "default": "bottom-right",
                          "type": "string",
                          "enum": [
                            "top-left",
                            "top-right",
                            "bottom-left",
                            "bottom-right",
                            "center"
                          ]
                        },
                        "opacity": {
                          "default": 0.75,
                          "type": "number",
                          "minimum": 0.05,
                          "maximum": 1
                        },
                        "scale": {
                          "default": 0.15,
                          "type": "number",
                          "minimum": 0.05,
                          "maximum": 0.5
                        },
                        "marginPx": {
                          "default": 24,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 200
                        }
                      },
                      "required": [
                        "type",
                        "position",
                        "opacity",
                        "scale",
                        "marginPx"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "deinterlace"
                        },
                        "mode": {
                          "default": "yadif",
                          "type": "string",
                          "enum": [
                            "yadif",
                            "bwdif"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "mode"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "audio"
                        },
                        "action": {
                          "type": "string",
                          "enum": [
                            "strip",
                            "normalize",
                            "volume",
                            "extract"
                          ]
                        },
                        "preset": {
                          "type": "string",
                          "enum": [
                            "streaming",
                            "podcast",
                            "broadcast"
                          ]
                        },
                        "gainDb": {
                          "type": "number",
                          "minimum": -36,
                          "maximum": 36
                        },
                        "format": {
                          "type": "string",
                          "enum": [
                            "mp3",
                            "m4a",
                            "aac",
                            "flac",
                            "opus",
                            "wav"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "action"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "thumbnail"
                        },
                        "timestampSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0
                        },
                        "format": {
                          "default": "jpeg",
                          "type": "string",
                          "enum": [
                            "jpeg",
                            "png",
                            "webp"
                          ]
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 64,
                          "maximum": 4096
                        },
                        "quality": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100
                        }
                      },
                      "required": [
                        "type",
                        "timestampSeconds",
                        "format"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "clip"
                        },
                        "format": {
                          "default": "webp",
                          "type": "string",
                          "enum": [
                            "webp",
                            "gif"
                          ]
                        },
                        "startSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0
                        },
                        "durationSeconds": {
                          "default": 5,
                          "type": "number",
                          "minimum": 0.5,
                          "maximum": 30
                        },
                        "fps": {
                          "default": 15,
                          "type": "integer",
                          "minimum": 5,
                          "maximum": 30
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 64,
                          "maximum": 1280
                        }
                      },
                      "required": [
                        "type",
                        "format",
                        "startSeconds",
                        "durationSeconds",
                        "fps"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "strip_metadata"
                        },
                        "removeTags": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "removeTags"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "captions"
                        },
                        "format": {
                          "default": "ass",
                          "type": "string",
                          "enum": [
                            "ass",
                            "srt",
                            "vtt"
                          ]
                        },
                        "subtitleUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "subtitleUploadId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "subtitleJobId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "subtitleContent": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 512000
                        },
                        "burnIn": {
                          "default": true,
                          "type": "boolean"
                        },
                        "fontSize": {
                          "type": "integer",
                          "minimum": 10,
                          "maximum": 120
                        },
                        "fontName": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "primaryColor": {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "outlineColor": {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "marginV": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 500
                        },
                        "alignment": {
                          "default": "bottom",
                          "type": "string",
                          "enum": [
                            "bottom",
                            "middle",
                            "top"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "format",
                        "burnIn",
                        "alignment"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "compose"
                        },
                        "layout": {
                          "default": "overlay",
                          "type": "string",
                          "enum": [
                            "pip",
                            "side_by_side",
                            "stack_vertical",
                            "overlay"
                          ]
                        },
                        "overlayInput": {
                          "default": "overlay",
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 32
                        },
                        "x": {
                          "default": 0,
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          ]
                        },
                        "y": {
                          "default": 0,
                          "anyOf": [
                            {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            }
                          ]
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 16,
                          "maximum": 7680
                        },
                        "height": {
                          "type": "integer",
                          "minimum": 16,
                          "maximum": 4320
                        },
                        "opacity": {
                          "default": 1,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 1
                        },
                        "startSeconds": {
                          "type": "number",
                          "minimum": 0
                        },
                        "endSeconds": {
                          "type": "number",
                          "minimum": 0
                        }
                      },
                      "required": [
                        "type",
                        "layout",
                        "overlayInput",
                        "x",
                        "y",
                        "opacity"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "concat"
                        },
                        "mode": {
                          "default": "auto",
                          "type": "string",
                          "enum": [
                            "auto",
                            "reencode",
                            "stream_copy"
                          ]
                        },
                        "transition": {
                          "default": "none",
                          "type": "string",
                          "enum": [
                            "none",
                            "crossfade"
                          ]
                        },
                        "transitionDurationSeconds": {
                          "default": 0.5,
                          "type": "number",
                          "minimum": 0.1,
                          "maximum": 3
                        },
                        "normalizeAudio": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "mode",
                        "transition",
                        "transitionDurationSeconds",
                        "normalizeAudio"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "mux"
                        },
                        "audioInput": {
                          "default": "audio",
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 32
                        },
                        "replaceAudio": {
                          "default": true,
                          "type": "boolean"
                        },
                        "audioDelaySeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": -30,
                          "maximum": 30
                        },
                        "audioVolume": {
                          "default": 1,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 5
                        },
                        "shortest": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "audioInput",
                        "replaceAudio",
                        "audioDelaySeconds",
                        "audioVolume",
                        "shortest"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "chapters"
                        },
                        "chapters": {
                          "minItems": 1,
                          "maxItems": 200,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "startSeconds": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 28800
                              },
                              "endSeconds": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 28800
                              },
                              "title": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "startSeconds",
                              "title"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "fromConcatInputs": {
                          "default": false,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "fromConcatInputs"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "extract_subtitles"
                        },
                        "trackIndex": {
                          "default": 0,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 32
                        },
                        "format": {
                          "default": "srt",
                          "type": "string",
                          "enum": [
                            "srt",
                            "vtt",
                            "ass"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "trackIndex",
                        "format"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "storyboard"
                        },
                        "intervalSeconds": {
                          "default": 10,
                          "type": "number",
                          "minimum": 1,
                          "maximum": 600
                        },
                        "columns": {
                          "default": 5,
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 10
                        },
                        "format": {
                          "default": "jpeg",
                          "type": "string",
                          "enum": [
                            "jpeg",
                            "png",
                            "webp"
                          ]
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 64,
                          "maximum": 1280
                        }
                      },
                      "required": [
                        "type",
                        "intervalSeconds",
                        "columns",
                        "format"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "convert"
                        },
                        "format": {
                          "type": "string",
                          "enum": [
                            "mp3",
                            "m4a",
                            "aac",
                            "flac",
                            "opus",
                            "wav",
                            "ogg",
                            "aiff"
                          ]
                        },
                        "bitrateKbps": {
                          "type": "integer",
                          "minimum": 16,
                          "maximum": 512
                        },
                        "quality": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100
                        },
                        "sampleRateHz": {
                          "type": "integer",
                          "minimum": 7350,
                          "maximum": 192000
                        },
                        "compressionLevel": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 8
                        },
                        "sampleFormat": {
                          "type": "string",
                          "enum": [
                            "s16",
                            "s24",
                            "s32",
                            "f32"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "format"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "normalize"
                        },
                        "preset": {
                          "default": "streaming",
                          "type": "string",
                          "enum": [
                            "streaming",
                            "podcast",
                            "audiobook",
                            "broadcast",
                            "custom"
                          ]
                        },
                        "targetLufs": {
                          "type": "number",
                          "minimum": -70,
                          "maximum": -5
                        },
                        "truePeakDbtp": {
                          "type": "number",
                          "minimum": -9,
                          "maximum": 0
                        },
                        "loudnessRange": {
                          "default": 7,
                          "type": "number",
                          "minimum": 1,
                          "maximum": 20
                        }
                      },
                      "required": [
                        "type",
                        "preset",
                        "loudnessRange"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "trim"
                        },
                        "startSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0
                        },
                        "endSeconds": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        },
                        "durationSeconds": {
                          "type": "number",
                          "exclusiveMinimum": 0
                        }
                      },
                      "required": [
                        "type",
                        "startSeconds"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "trim_silence"
                        },
                        "mode": {
                          "default": "both",
                          "type": "string",
                          "enum": [
                            "both",
                            "start",
                            "end"
                          ]
                        },
                        "thresholdDb": {
                          "default": -50,
                          "type": "number",
                          "minimum": -80,
                          "maximum": -5
                        },
                        "minSilenceSeconds": {
                          "default": 0.5,
                          "type": "number",
                          "minimum": 0.05,
                          "maximum": 30
                        },
                        "keepSilenceSeconds": {
                          "default": 0.1,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 5
                        }
                      },
                      "required": [
                        "type",
                        "mode",
                        "thresholdDb",
                        "minSilenceSeconds",
                        "keepSilenceSeconds"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "fade"
                        },
                        "fadeInSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 60
                        },
                        "fadeOutSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 60
                        },
                        "curve": {
                          "default": "qsin",
                          "type": "string",
                          "enum": [
                            "linear",
                            "qsin",
                            "hsin",
                            "esin",
                            "log"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "fadeInSeconds",
                        "fadeOutSeconds",
                        "curve"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "gain"
                        },
                        "db": {
                          "type": "number",
                          "minimum": -48,
                          "maximum": 48
                        },
                        "limitPeakDbtp": {
                          "default": -0.5,
                          "type": "number",
                          "minimum": -6,
                          "maximum": 0
                        }
                      },
                      "required": [
                        "type",
                        "db",
                        "limitPeakDbtp"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "speed"
                        },
                        "factor": {
                          "type": "number",
                          "minimum": 0.25,
                          "maximum": 4
                        }
                      },
                      "required": [
                        "type",
                        "factor"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "pitch"
                        },
                        "semitones": {
                          "type": "number",
                          "minimum": -12,
                          "maximum": 12
                        }
                      },
                      "required": [
                        "type",
                        "semitones"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "equalize"
                        },
                        "preset": {
                          "default": "custom",
                          "type": "string",
                          "enum": [
                            "voice_clarity",
                            "podcast_warmth",
                            "bass_boost",
                            "treble_boost",
                            "de_mud",
                            "custom"
                          ]
                        },
                        "bands": {
                          "minItems": 1,
                          "maxItems": 8,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "filter": {
                                "type": "string",
                                "enum": [
                                  "lowshelf",
                                  "peaking",
                                  "highshelf"
                                ]
                              },
                              "frequencyHz": {
                                "type": "number",
                                "minimum": 20,
                                "maximum": 20000
                              },
                              "gainDb": {
                                "type": "number",
                                "minimum": -24,
                                "maximum": 24
                              },
                              "q": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 10
                              }
                            },
                            "required": [
                              "filter",
                              "frequencyHz",
                              "gainDb",
                              "q"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "type",
                        "preset"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "compress"
                        },
                        "preset": {
                          "default": "podcast",
                          "type": "string",
                          "enum": [
                            "podcast",
                            "broadcast",
                            "gentle",
                            "custom"
                          ]
                        },
                        "thresholdDb": {
                          "type": "number",
                          "minimum": -60,
                          "maximum": 0
                        },
                        "ratio": {
                          "type": "number",
                          "minimum": 1,
                          "maximum": 20
                        },
                        "attackMs": {
                          "type": "number",
                          "minimum": 0.1,
                          "maximum": 500
                        },
                        "releaseMs": {
                          "type": "number",
                          "minimum": 10,
                          "maximum": 2000
                        },
                        "makeupDb": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 24
                        },
                        "kneeDb": {
                          "type": "number",
                          "minimum": 0,
                          "maximum": 12
                        }
                      },
                      "required": [
                        "type",
                        "preset"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "denoise"
                        },
                        "strength": {
                          "default": "medium",
                          "type": "string",
                          "enum": [
                            "light",
                            "medium",
                            "aggressive"
                          ]
                        },
                        "highpassHz": {
                          "type": "number",
                          "minimum": 20,
                          "maximum": 300
                        }
                      },
                      "required": [
                        "type",
                        "strength"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "channels"
                        },
                        "mode": {
                          "type": "string",
                          "enum": [
                            "mono",
                            "stereo",
                            "left",
                            "right",
                            "swap"
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "mode"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "strip_metadata"
                        },
                        "removeTags": {
                          "default": true,
                          "type": "boolean"
                        },
                        "removeArtwork": {
                          "default": true,
                          "type": "boolean"
                        },
                        "setTags": {
                          "type": "object",
                          "properties": {
                            "title": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "artist": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "album": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 200
                            },
                            "comment": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 500
                            },
                            "genre": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 64
                            },
                            "year": {
                              "type": "string",
                              "pattern": "^\\d{4}$"
                            }
                          },
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "type",
                        "removeTags",
                        "removeArtwork"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "tags"
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "artist": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "album": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "albumArtist": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "composer": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 200
                        },
                        "genre": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "year": {
                          "type": "string",
                          "pattern": "^\\d{4}$"
                        },
                        "track": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 16
                        },
                        "disc": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 16
                        },
                        "comment": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 500
                        },
                        "artworkUrl": {
                          "type": "string",
                          "format": "uri"
                        },
                        "chapters": {
                          "minItems": 1,
                          "maxItems": 200,
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "startSeconds": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 7200
                              },
                              "endSeconds": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 7200
                              },
                              "title": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              }
                            },
                            "required": [
                              "startSeconds",
                              "title"
                            ],
                            "additionalProperties": false
                          }
                        }
                      },
                      "required": [
                        "type"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "waveform"
                        },
                        "format": {
                          "default": "json",
                          "type": "string",
                          "enum": [
                            "json",
                            "png"
                          ]
                        },
                        "bins": {
                          "type": "integer",
                          "minimum": 100,
                          "maximum": 4000
                        },
                        "splitChannels": {
                          "default": false,
                          "type": "boolean"
                        },
                        "width": {
                          "type": "integer",
                          "minimum": 100,
                          "maximum": 4096
                        },
                        "height": {
                          "type": "integer",
                          "minimum": 40,
                          "maximum": 1024
                        },
                        "color": {
                          "type": "string",
                          "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                        },
                        "backgroundColor": {
                          "anyOf": [
                            {
                              "type": "string",
                              "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                            },
                            {
                              "type": "string",
                              "const": "transparent"
                            }
                          ]
                        }
                      },
                      "required": [
                        "type",
                        "format",
                        "splitChannels"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "concat"
                        },
                        "crossfadeSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 10
                        },
                        "normalize": {
                          "default": true,
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "type",
                        "crossfadeSeconds",
                        "normalize"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "const": "mix"
                        },
                        "overlayVolumeDb": {
                          "default": -12,
                          "type": "number",
                          "minimum": -48,
                          "maximum": 12
                        },
                        "ducking": {
                          "default": false,
                          "type": "boolean"
                        },
                        "duckThresholdDb": {
                          "default": -24,
                          "type": "number",
                          "minimum": -50,
                          "maximum": -5
                        },
                        "duckRatio": {
                          "default": 6,
                          "type": "number",
                          "minimum": 1,
                          "maximum": 20
                        },
                        "loopOverlay": {
                          "default": false,
                          "type": "boolean"
                        },
                        "offsetSeconds": {
                          "default": 0,
                          "type": "number",
                          "minimum": 0,
                          "maximum": 7200
                        }
                      },
                      "required": [
                        "type",
                        "overlayVolumeDb",
                        "ducking",
                        "duckThresholdDb",
                        "duckRatio",
                        "loopOverlay",
                        "offsetSeconds"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              ]
            }
          },
          "output": {
            "type": "object",
            "properties": {
              "format": {
                "type": "string"
              },
              "destination": {
                "type": "string",
                "format": "uri"
              },
              "downloadUrl": {
                "type": "string",
                "format": "uri"
              },
              "expiresAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              }
            },
            "additionalProperties": false
          },
          "outputs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "label": {
                  "type": "string"
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "delivered",
                    "failed"
                  ]
                },
                "format": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "contentType": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "bytes": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "durationSeconds": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "width": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "height": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "sha256": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "destination": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "downloadUrl": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "expiresAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "costMicros": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "retentionCostMicros": {
                  "default": 0,
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "verificationReport": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "format": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasExif": {
                                  "type": "boolean"
                                },
                                "colorSpace": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "width",
                                "height",
                                "format",
                                "bytes",
                                "hasExif",
                                "colorSpace"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "format": {
                                  "type": "string",
                                  "enum": [
                                    "jpeg",
                                    "png",
                                    "webp",
                                    "avif",
                                    "heic",
                                    "gif",
                                    "bmp",
                                    "tiff",
                                    "ico",
                                    "tga",
                                    "ppm"
                                  ]
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "exifStripped": {
                                  "type": "boolean"
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "width",
                                "height",
                                "format",
                                "bytes",
                                "exifStripped",
                                "sha256"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "format": {
                                  "type": "string"
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "sampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "channels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "hasTags": {
                                  "type": "boolean"
                                },
                                "hasArtwork": {
                                  "type": "boolean"
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "integratedLufs": {
                                      "type": "number"
                                    },
                                    "truePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "targetLufs": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "integratedLufs",
                                    "truePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "format",
                                "bytes",
                                "durationSeconds"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "format": {
                                  "type": "string",
                                  "enum": [
                                    "mp3",
                                    "m4a",
                                    "aac",
                                    "flac",
                                    "opus",
                                    "wav",
                                    "ogg",
                                    "aiff",
                                    "json",
                                    "png"
                                  ]
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "sampleRateHz": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "channels": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "tagsStripped": {
                                  "type": "boolean"
                                },
                                "artworkStripped": {
                                  "type": "boolean"
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "integratedLufs": {
                                      "type": "number"
                                    },
                                    "truePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "targetLufs": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "integratedLufs",
                                    "truePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                },
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bins": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "format",
                                "bytes",
                                "durationSeconds",
                                "sha256"
                              ],
                              "additionalProperties": false
                            },
                            "loudness": {
                              "type": "object",
                              "properties": {
                                "targetLufs": {
                                  "type": "number"
                                },
                                "targetTruePeakDbtp": {
                                  "type": "number"
                                },
                                "measuredLufs": {
                                  "type": "number"
                                },
                                "measuredTruePeakDbtp": {
                                  "type": "number"
                                },
                                "loudnessRangeLu": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "targetLufs",
                                "targetTruePeakDbtp",
                                "measuredLufs",
                                "measuredTruePeakDbtp"
                              ],
                              "additionalProperties": false
                            },
                            "silence": {
                              "type": "object",
                              "properties": {
                                "detectedSegments": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "startSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "endSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "startSeconds",
                                      "endSeconds"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "detectedSegments"
                              ],
                              "additionalProperties": false
                            },
                            "chapters": {
                              "type": "object",
                              "properties": {
                                "count": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "titles": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "count",
                                "titles"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "gpuClass": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "fps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "pixFmt": {
                                  "type": "string"
                                },
                                "chromaTier": {
                                  "type": "string",
                                  "enum": [
                                    "420_8bit",
                                    "420_10bit"
                                  ]
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "container": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasAudio": {
                                  "type": "boolean"
                                },
                                "audioCodec": {
                                  "type": "string"
                                },
                                "audioSampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioChannels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "subtitleTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "hdrFormat": {
                                  "type": "string",
                                  "enum": [
                                    "sdr",
                                    "hdr10",
                                    "hlg",
                                    "dolby_vision"
                                  ]
                                },
                                "chapterCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "rotation": {
                                  "type": "number"
                                },
                                "interlaced": {
                                  "type": "boolean"
                                },
                                "hasTags": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "durationSeconds",
                                "width",
                                "height",
                                "fps",
                                "codec",
                                "pixFmt",
                                "container",
                                "bytes",
                                "hasAudio",
                                "hasTags"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "fps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "pixFmt": {
                                  "type": "string"
                                },
                                "container": {
                                  "type": "string",
                                  "enum": [
                                    "mp4",
                                    "mov",
                                    "mkv",
                                    "webm",
                                    "hls",
                                    "srt",
                                    "vtt",
                                    "ass",
                                    "jpeg",
                                    "png",
                                    "webp",
                                    "gif",
                                    "mp3",
                                    "m4a",
                                    "aac",
                                    "flac",
                                    "opus",
                                    "wav"
                                  ]
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                },
                                "hasAudio": {
                                  "type": "boolean"
                                },
                                "audioCodec": {
                                  "type": "string"
                                },
                                "audioTrackCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "subtitleTrackCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hdrFormat": {
                                  "type": "string",
                                  "enum": [
                                    "sdr",
                                    "hdr10",
                                    "hlg",
                                    "dolby_vision"
                                  ]
                                },
                                "chapterCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "segmentCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "segmentFiles": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "subtitleFiles": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "language"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "avSyncDriftSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "keyframesVerified": {
                                  "type": "boolean"
                                },
                                "hasTags": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "durationSeconds",
                                "width",
                                "height",
                                "fps",
                                "codec",
                                "pixFmt",
                                "container",
                                "bytes",
                                "sha256",
                                "hasAudio",
                                "keyframesVerified",
                                "hasTags"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "error": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "code": {
                          "type": "string"
                        },
                        "message": {
                          "type": "string"
                        },
                        "retryable": {
                          "type": "boolean"
                        },
                        "hint": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "message",
                        "retryable"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "label",
                "status",
                "costMicros",
                "retentionCostMicros"
              ],
              "additionalProperties": false
            }
          },
          "verificationReport": {
            "anyOf": [
              {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "verified": {
                        "type": "boolean"
                      },
                      "engine": {
                        "type": "string"
                      },
                      "inputProbe": {
                        "type": "object",
                        "properties": {
                          "width": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "format": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "hasExif": {
                            "type": "boolean"
                          },
                          "colorSpace": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "width",
                          "height",
                          "format",
                          "bytes",
                          "hasExif",
                          "colorSpace"
                        ],
                        "additionalProperties": false
                      },
                      "outputProbe": {
                        "type": "object",
                        "properties": {
                          "width": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "format": {
                            "type": "string",
                            "enum": [
                              "jpeg",
                              "png",
                              "webp",
                              "avif",
                              "heic",
                              "gif",
                              "bmp",
                              "tiff",
                              "ico",
                              "tga",
                              "ppm"
                            ]
                          },
                          "bytes": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "exifStripped": {
                            "type": "boolean"
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          }
                        },
                        "required": [
                          "width",
                          "height",
                          "format",
                          "bytes",
                          "exifStripped",
                          "sha256"
                        ],
                        "additionalProperties": false
                      },
                      "checks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "passed": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "passed"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "timingsMs": {
                        "type": "object",
                        "properties": {
                          "probe": {
                            "type": "number",
                            "minimum": 0
                          },
                          "download": {
                            "type": "number",
                            "minimum": 0
                          },
                          "transform": {
                            "type": "number",
                            "minimum": 0
                          },
                          "verify": {
                            "type": "number",
                            "minimum": 0
                          },
                          "upload": {
                            "type": "number",
                            "minimum": 0
                          },
                          "total": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "probe",
                          "download",
                          "transform",
                          "verify",
                          "upload",
                          "total"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "verified",
                      "engine",
                      "inputProbe",
                      "outputProbe",
                      "checks",
                      "timingsMs"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "verified": {
                        "type": "boolean"
                      },
                      "engine": {
                        "type": "string"
                      },
                      "inputProbe": {
                        "type": "object",
                        "properties": {
                          "format": {
                            "type": "string"
                          },
                          "codec": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "sampleRateHz": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "channels": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "hasTags": {
                            "type": "boolean"
                          },
                          "hasArtwork": {
                            "type": "boolean"
                          },
                          "loudness": {
                            "type": "object",
                            "properties": {
                              "integratedLufs": {
                                "type": "number"
                              },
                              "truePeakDbtp": {
                                "type": "number"
                              },
                              "loudnessRangeLu": {
                                "type": "number",
                                "minimum": 0
                              },
                              "targetLufs": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "integratedLufs",
                              "truePeakDbtp"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "format",
                          "bytes",
                          "durationSeconds"
                        ],
                        "additionalProperties": false
                      },
                      "outputProbe": {
                        "type": "object",
                        "properties": {
                          "format": {
                            "type": "string",
                            "enum": [
                              "mp3",
                              "m4a",
                              "aac",
                              "flac",
                              "opus",
                              "wav",
                              "ogg",
                              "aiff",
                              "json",
                              "png"
                            ]
                          },
                          "codec": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "sampleRateHz": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "channels": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "tagsStripped": {
                            "type": "boolean"
                          },
                          "artworkStripped": {
                            "type": "boolean"
                          },
                          "loudness": {
                            "type": "object",
                            "properties": {
                              "integratedLufs": {
                                "type": "number"
                              },
                              "truePeakDbtp": {
                                "type": "number"
                              },
                              "loudnessRangeLu": {
                                "type": "number",
                                "minimum": 0
                              },
                              "targetLufs": {
                                "type": "number"
                              }
                            },
                            "required": [
                              "integratedLufs",
                              "truePeakDbtp"
                            ],
                            "additionalProperties": false
                          },
                          "width": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "bins": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          }
                        },
                        "required": [
                          "format",
                          "bytes",
                          "durationSeconds",
                          "sha256"
                        ],
                        "additionalProperties": false
                      },
                      "loudness": {
                        "type": "object",
                        "properties": {
                          "targetLufs": {
                            "type": "number"
                          },
                          "targetTruePeakDbtp": {
                            "type": "number"
                          },
                          "measuredLufs": {
                            "type": "number"
                          },
                          "measuredTruePeakDbtp": {
                            "type": "number"
                          },
                          "loudnessRangeLu": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "targetLufs",
                          "targetTruePeakDbtp",
                          "measuredLufs",
                          "measuredTruePeakDbtp"
                        ],
                        "additionalProperties": false
                      },
                      "silence": {
                        "type": "object",
                        "properties": {
                          "detectedSegments": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "startSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "endSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "startSeconds",
                                "endSeconds"
                              ],
                              "additionalProperties": false
                            }
                          }
                        },
                        "required": [
                          "detectedSegments"
                        ],
                        "additionalProperties": false
                      },
                      "chapters": {
                        "type": "object",
                        "properties": {
                          "count": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "titles": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          }
                        },
                        "required": [
                          "count",
                          "titles"
                        ],
                        "additionalProperties": false
                      },
                      "checks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "passed": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "passed"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "timingsMs": {
                        "type": "object",
                        "properties": {
                          "probe": {
                            "type": "number",
                            "minimum": 0
                          },
                          "download": {
                            "type": "number",
                            "minimum": 0
                          },
                          "transform": {
                            "type": "number",
                            "minimum": 0
                          },
                          "verify": {
                            "type": "number",
                            "minimum": 0
                          },
                          "upload": {
                            "type": "number",
                            "minimum": 0
                          },
                          "total": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "probe",
                          "download",
                          "transform",
                          "verify",
                          "upload",
                          "total"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "verified",
                      "engine",
                      "inputProbe",
                      "outputProbe",
                      "checks",
                      "timingsMs"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "verified": {
                        "type": "boolean"
                      },
                      "engine": {
                        "type": "string"
                      },
                      "gpuClass": {
                        "type": "string"
                      },
                      "inputProbe": {
                        "type": "object",
                        "properties": {
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "width": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "fps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "codec": {
                            "type": "string"
                          },
                          "pixFmt": {
                            "type": "string"
                          },
                          "chromaTier": {
                            "type": "string",
                            "enum": [
                              "420_8bit",
                              "420_10bit"
                            ]
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "container": {
                            "type": "string"
                          },
                          "bytes": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "hasAudio": {
                            "type": "boolean"
                          },
                          "audioCodec": {
                            "type": "string"
                          },
                          "audioSampleRateHz": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "audioChannels": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "audioTracks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "codec": {
                                  "type": "string"
                                },
                                "language": {
                                  "type": "string"
                                },
                                "channels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "codec"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "subtitleTracks": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "codec": {
                                  "type": "string"
                                },
                                "language": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "codec"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "hdrFormat": {
                            "type": "string",
                            "enum": [
                              "sdr",
                              "hdr10",
                              "hlg",
                              "dolby_vision"
                            ]
                          },
                          "chapterCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "rotation": {
                            "type": "number"
                          },
                          "interlaced": {
                            "type": "boolean"
                          },
                          "hasTags": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "durationSeconds",
                          "width",
                          "height",
                          "fps",
                          "codec",
                          "pixFmt",
                          "container",
                          "bytes",
                          "hasAudio",
                          "hasTags"
                        ],
                        "additionalProperties": false
                      },
                      "outputProbe": {
                        "type": "object",
                        "properties": {
                          "durationSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "width": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "height": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "fps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "codec": {
                            "type": "string"
                          },
                          "profile": {
                            "type": "string"
                          },
                          "pixFmt": {
                            "type": "string"
                          },
                          "container": {
                            "type": "string",
                            "enum": [
                              "mp4",
                              "mov",
                              "mkv",
                              "webm",
                              "hls",
                              "srt",
                              "vtt",
                              "ass",
                              "jpeg",
                              "png",
                              "webp",
                              "gif",
                              "mp3",
                              "m4a",
                              "aac",
                              "flac",
                              "opus",
                              "wav"
                            ]
                          },
                          "bitrateKbps": {
                            "type": "number",
                            "minimum": 0
                          },
                          "bytes": {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          "sha256": {
                            "type": "string",
                            "pattern": "^[a-f0-9]{64}$"
                          },
                          "hasAudio": {
                            "type": "boolean"
                          },
                          "audioCodec": {
                            "type": "string"
                          },
                          "audioTrackCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "subtitleTrackCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "hdrFormat": {
                            "type": "string",
                            "enum": [
                              "sdr",
                              "hdr10",
                              "hlg",
                              "dolby_vision"
                            ]
                          },
                          "chapterCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "segmentCount": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "segmentFiles": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "subtitleFiles": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "language": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "name",
                                "language"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "avSyncDriftSeconds": {
                            "type": "number",
                            "minimum": 0
                          },
                          "keyframesVerified": {
                            "type": "boolean"
                          },
                          "hasTags": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "durationSeconds",
                          "width",
                          "height",
                          "fps",
                          "codec",
                          "pixFmt",
                          "container",
                          "bytes",
                          "sha256",
                          "hasAudio",
                          "keyframesVerified",
                          "hasTags"
                        ],
                        "additionalProperties": false
                      },
                      "checks": {
                        "type": "array",
                        "items": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "passed": {
                              "type": "boolean"
                            },
                            "detail": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "name",
                            "passed"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "timingsMs": {
                        "type": "object",
                        "properties": {
                          "probe": {
                            "type": "number",
                            "minimum": 0
                          },
                          "download": {
                            "type": "number",
                            "minimum": 0
                          },
                          "transform": {
                            "type": "number",
                            "minimum": 0
                          },
                          "verify": {
                            "type": "number",
                            "minimum": 0
                          },
                          "upload": {
                            "type": "number",
                            "minimum": 0
                          },
                          "total": {
                            "type": "number",
                            "minimum": 0
                          }
                        },
                        "required": [
                          "probe",
                          "download",
                          "transform",
                          "verify",
                          "upload",
                          "total"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "verified",
                      "engine",
                      "inputProbe",
                      "outputProbe",
                      "checks",
                      "timingsMs"
                    ],
                    "additionalProperties": false
                  }
                ]
              },
              {
                "type": "null"
              }
            ]
          },
          "costMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "costUsd": {
            "type": "number",
            "minimum": 0
          },
          "billed": {
            "type": "boolean"
          },
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              },
              "hint": {
                "type": "string"
              }
            },
            "required": [
              "code",
              "message",
              "retryable"
            ],
            "additionalProperties": false
          },
          "metadata": {
            "type": "object",
            "propertyNames": {
              "type": "string"
            },
            "additionalProperties": {
              "type": "string"
            }
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "completedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "queueWaitMs": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          },
          "execMs": {
            "anyOf": [
              {
                "type": "number",
                "minimum": 0
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "id",
          "kind",
          "priority",
          "state",
          "retentionHours",
          "input",
          "operations",
          "output",
          "costMicros",
          "costUsd",
          "billed",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      },
      "ListJobsResponse": {
        "type": "object",
        "properties": {
          "jobs": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "accountId": {
                  "type": "string"
                },
                "apiKeyId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "requestId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "workerVersion": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "image",
                    "video",
                    "audio"
                  ]
                },
                "category": {
                  "type": "string",
                  "enum": [
                    "image",
                    "audio",
                    "video",
                    "render",
                    "doc",
                    "ai"
                  ]
                },
                "priority": {
                  "default": "standard",
                  "type": "string",
                  "enum": [
                    "standard",
                    "flex"
                  ]
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "accepted",
                    "probing",
                    "rejected",
                    "queued",
                    "provisioning",
                    "running",
                    "verifying",
                    "partial",
                    "delivered",
                    "failed",
                    "canceled"
                  ]
                },
                "retentionHours": {
                  "default": 24,
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "retainDays": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 30
                },
                "retentionCostMicros": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "gpuClass": {
                  "type": "string"
                },
                "routingReason": {
                  "type": "string"
                },
                "bucketId": {
                  "type": "string"
                },
                "parentJobIds": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "input": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "url": {
                          "type": "string",
                          "format": "uri"
                        }
                      },
                      "required": [
                        "url"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "uploadId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        }
                      },
                      "required": [
                        "uploadId"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "jobId": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "output": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        }
                      },
                      "required": [
                        "jobId"
                      ],
                      "additionalProperties": false
                    }
                  ]
                },
                "inputs": {
                  "anyOf": [
                    {
                      "minItems": 1,
                      "maxItems": 16,
                      "type": "array",
                      "items": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": [
                                  "url"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "uploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "uploadId"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "jobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "output": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "jobId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        ]
                      }
                    },
                    {
                      "type": "object",
                      "propertyNames": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 32
                      },
                      "additionalProperties": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string",
                                    "format": "uri"
                                  }
                                },
                                "required": [
                                  "url"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "uploadId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "uploadId"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "jobId": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "output": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                },
                                "required": [
                                  "jobId"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        ]
                      }
                    }
                  ]
                },
                "inputProbe": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "width": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "height": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "format": {
                              "type": "string"
                            },
                            "bytes": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "hasExif": {
                              "type": "boolean"
                            },
                            "colorSpace": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "width",
                            "height",
                            "format",
                            "bytes",
                            "hasExif",
                            "colorSpace"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "format": {
                              "type": "string"
                            },
                            "codec": {
                              "type": "string"
                            },
                            "bytes": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0
                            },
                            "sampleRateHz": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "channels": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "bitrateKbps": {
                              "type": "number",
                              "minimum": 0
                            },
                            "hasTags": {
                              "type": "boolean"
                            },
                            "hasArtwork": {
                              "type": "boolean"
                            },
                            "loudness": {
                              "type": "object",
                              "properties": {
                                "integratedLufs": {
                                  "type": "number"
                                },
                                "truePeakDbtp": {
                                  "type": "number"
                                },
                                "loudnessRangeLu": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "targetLufs": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "integratedLufs",
                                "truePeakDbtp"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "format",
                            "bytes",
                            "durationSeconds"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "durationSeconds": {
                              "type": "number",
                              "minimum": 0
                            },
                            "width": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "height": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "fps": {
                              "type": "number",
                              "minimum": 0
                            },
                            "codec": {
                              "type": "string"
                            },
                            "pixFmt": {
                              "type": "string"
                            },
                            "chromaTier": {
                              "type": "string",
                              "enum": [
                                "420_8bit",
                                "420_10bit"
                              ]
                            },
                            "bitrateKbps": {
                              "type": "number",
                              "minimum": 0
                            },
                            "container": {
                              "type": "string"
                            },
                            "bytes": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "hasAudio": {
                              "type": "boolean"
                            },
                            "audioCodec": {
                              "type": "string"
                            },
                            "audioSampleRateHz": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "audioChannels": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "audioTracks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "codec": {
                                    "type": "string"
                                  },
                                  "language": {
                                    "type": "string"
                                  },
                                  "channels": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "codec"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "subtitleTracks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "codec": {
                                    "type": "string"
                                  },
                                  "language": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "codec"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "hdrFormat": {
                              "type": "string",
                              "enum": [
                                "sdr",
                                "hdr10",
                                "hlg",
                                "dolby_vision"
                              ]
                            },
                            "chapterCount": {
                              "type": "integer",
                              "minimum": 0,
                              "maximum": 9007199254740991
                            },
                            "rotation": {
                              "type": "number"
                            },
                            "interlaced": {
                              "type": "boolean"
                            },
                            "hasTags": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "durationSeconds",
                            "width",
                            "height",
                            "fps",
                            "codec",
                            "pixFmt",
                            "container",
                            "bytes",
                            "hasAudio",
                            "hasTags"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "operations": {
                  "type": "array",
                  "items": {
                    "anyOf": [
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "resize"
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "fit": {
                                "default": "inside",
                                "type": "string",
                                "enum": [
                                  "contain",
                                  "cover",
                                  "fill",
                                  "inside",
                                  "outside"
                                ]
                              },
                              "withoutEnlargement": {
                                "default": true,
                                "type": "boolean"
                              },
                              "background": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              }
                            },
                            "required": [
                              "type",
                              "fit",
                              "withoutEnlargement"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "crop"
                                  },
                                  "mode": {
                                    "type": "string",
                                    "const": "region"
                                  },
                                  "x": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "y": {
                                    "type": "integer",
                                    "minimum": 0,
                                    "maximum": 9007199254740991
                                  },
                                  "width": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  },
                                  "height": {
                                    "type": "integer",
                                    "minimum": 1,
                                    "maximum": 16384
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode",
                                  "x",
                                  "y",
                                  "width",
                                  "height"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "const": "crop"
                                  },
                                  "mode": {
                                    "type": "string",
                                    "const": "aspect"
                                  },
                                  "aspectRatio": {
                                    "type": "string",
                                    "pattern": "^[1-9]\\d{0,3}:[1-9]\\d{0,3}$"
                                  },
                                  "gravity": {
                                    "default": "center",
                                    "type": "string",
                                    "enum": [
                                      "center",
                                      "north",
                                      "south",
                                      "east",
                                      "west",
                                      "smart"
                                    ]
                                  }
                                },
                                "required": [
                                  "type",
                                  "mode",
                                  "aspectRatio",
                                  "gravity"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "rotate"
                              },
                              "angle": {
                                "type": "number",
                                "minimum": -360,
                                "maximum": 360
                              },
                              "background": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "expand": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "angle",
                              "expand"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "flip"
                              },
                              "direction": {
                                "type": "string",
                                "enum": [
                                  "horizontal",
                                  "vertical",
                                  "both"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "direction"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "pad"
                              },
                              "top": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "right": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "bottom": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "left": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              },
                              "background": {
                                "default": "#00000000",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              }
                            },
                            "required": [
                              "type",
                              "top",
                              "right",
                              "bottom",
                              "left",
                              "background"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim"
                              },
                              "threshold": {
                                "default": 10,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 100
                              }
                            },
                            "required": [
                              "type",
                              "threshold"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "blur"
                              },
                              "radius": {
                                "default": 2,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 50
                              }
                            },
                            "required": [
                              "type",
                              "radius"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "sharpen"
                              },
                              "amount": {
                                "default": 1.5,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 5
                              },
                              "radius": {
                                "default": 1.5,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 10
                              }
                            },
                            "required": [
                              "type",
                              "amount",
                              "radius"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "adjust"
                              },
                              "brightness": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 3
                              },
                              "contrast": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 3
                              },
                              "saturation": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 3
                              },
                              "gamma": {
                                "type": "number",
                                "minimum": 0.2,
                                "maximum": 5
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "filter"
                              },
                              "name": {
                                "type": "string",
                                "enum": [
                                  "grayscale",
                                  "sepia",
                                  "invert",
                                  "auto_contrast",
                                  "equalize",
                                  "emboss",
                                  "contour"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "pixelate"
                              },
                              "blockSize": {
                                "default": 10,
                                "type": "integer",
                                "minimum": 2,
                                "maximum": 100
                              }
                            },
                            "required": [
                              "type",
                              "blockSize"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "watermark"
                              },
                              "text": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 120
                              },
                              "imageUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "position": {
                                "default": "bottom-right",
                                "type": "string",
                                "enum": [
                                  "top-left",
                                  "top-right",
                                  "bottom-left",
                                  "bottom-right",
                                  "center"
                                ]
                              },
                              "opacity": {
                                "default": 0.5,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "fontSize": {
                                "default": 28,
                                "type": "integer",
                                "minimum": 12,
                                "maximum": 200
                              },
                              "color": {
                                "default": "#FFFFFF",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "margin": {
                                "default": 20,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 200
                              }
                            },
                            "required": [
                              "type",
                              "position",
                              "opacity",
                              "fontSize",
                              "color",
                              "margin"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "composite"
                              },
                              "imageUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "uploadId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "jobId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "output": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "position": {
                                "default": "bottom_right",
                                "type": "string",
                                "enum": [
                                  "top_left",
                                  "top_center",
                                  "top_right",
                                  "center_left",
                                  "center",
                                  "center_right",
                                  "bottom_left",
                                  "bottom_center",
                                  "bottom_right",
                                  "custom"
                                ]
                              },
                              "x": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              },
                              "y": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 16384
                              },
                              "scale": {
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 2
                              },
                              "opacity": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "marginPx": {
                                "default": 16,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 500
                              }
                            },
                            "required": [
                              "type",
                              "position",
                              "opacity",
                              "marginPx"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "strip_metadata"
                              },
                              "keepOrientation": {
                                "default": true,
                                "type": "boolean"
                              },
                              "keepColorProfile": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "keepOrientation",
                              "keepColorProfile"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "convert"
                              },
                              "format": {
                                "type": "string",
                                "enum": [
                                  "jpeg",
                                  "png",
                                  "webp",
                                  "avif",
                                  "heic",
                                  "gif",
                                  "bmp",
                                  "tiff",
                                  "ico",
                                  "tga",
                                  "ppm"
                                ]
                              },
                              "quality": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 100
                              },
                              "lossless": {
                                "type": "boolean"
                              },
                              "progressive": {
                                "type": "boolean"
                              },
                              "background": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "colorProfile": {
                                "type": "string",
                                "enum": [
                                  "keep",
                                  "srgb"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "text"
                              },
                              "content": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 2000
                              },
                              "fontSize": {
                                "default": 32,
                                "type": "integer",
                                "minimum": 8,
                                "maximum": 400
                              },
                              "color": {
                                "default": "#000000",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "position": {
                                "default": "bottom_left",
                                "type": "string",
                                "enum": [
                                  "top_left",
                                  "top_center",
                                  "top_right",
                                  "center_left",
                                  "center",
                                  "center_right",
                                  "bottom_left",
                                  "bottom_center",
                                  "bottom_right",
                                  "custom"
                                ]
                              },
                              "opacity": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "align": {
                                "default": "left",
                                "type": "string",
                                "enum": [
                                  "left",
                                  "center",
                                  "right"
                                ]
                              },
                              "marginPx": {
                                "default": 16,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 500
                              },
                              "x": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              },
                              "y": {
                                "type": "integer",
                                "minimum": -16384,
                                "maximum": 16384
                              }
                            },
                            "required": [
                              "type",
                              "content",
                              "fontSize",
                              "color",
                              "position",
                              "opacity",
                              "align",
                              "marginPx"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "corners"
                              },
                              "radius": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 4096
                              }
                            },
                            "required": [
                              "type",
                              "radius"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "grid"
                              },
                              "imageUrls": {
                                "minItems": 2,
                                "maxItems": 16,
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uri"
                                }
                              },
                              "columns": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 8
                              },
                              "gapPx": {
                                "default": 8,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 200
                              },
                              "background": {
                                "default": "#FFFFFF",
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "fit": {
                                "default": "cover",
                                "type": "string",
                                "enum": [
                                  "cover",
                                  "contain"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "imageUrls",
                              "gapPx",
                              "background",
                              "fit"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "transcode"
                              },
                              "codec": {
                                "type": "string",
                                "enum": [
                                  "h264",
                                  "hevc",
                                  "av1"
                                ]
                              },
                              "container": {
                                "type": "string",
                                "enum": [
                                  "mp4",
                                  "mov",
                                  "mkv",
                                  "webm"
                                ]
                              },
                              "chromaTier": {
                                "default": "420_8bit",
                                "type": "string",
                                "enum": [
                                  "420_8bit",
                                  "420_10bit"
                                ]
                              },
                              "quality": {
                                "default": "balanced",
                                "type": "string",
                                "enum": [
                                  "draft",
                                  "balanced",
                                  "best"
                                ]
                              },
                              "crf": {
                                "type": "integer",
                                "minimum": 14,
                                "maximum": 40
                              },
                              "maxBitrateKbps": {
                                "type": "integer",
                                "minimum": 100,
                                "maximum": 200000
                              },
                              "audioCodec": {
                                "default": "aac",
                                "type": "string",
                                "enum": [
                                  "aac",
                                  "opus",
                                  "copy",
                                  "none"
                                ]
                              },
                              "audioBitrateKbps": {
                                "type": "integer",
                                "minimum": 32,
                                "maximum": 512
                              },
                              "hdr": {
                                "type": "string",
                                "enum": [
                                  "preserve",
                                  "hdr10",
                                  "sdr"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "codec",
                              "chromaTier",
                              "quality",
                              "audioCodec"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "resize"
                              },
                              "resolution": {
                                "type": "string",
                                "enum": [
                                  "540p",
                                  "720p",
                                  "1080p",
                                  "1440p",
                                  "4k",
                                  "8k"
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 7680
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 4320
                              },
                              "fit": {
                                "default": "inside",
                                "type": "string",
                                "enum": [
                                  "inside",
                                  "cover",
                                  "contain"
                                ]
                              },
                              "withoutEnlargement": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "fit",
                              "withoutEnlargement"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "crop"
                              },
                              "mode": {
                                "default": "region",
                                "type": "string",
                                "enum": [
                                  "region",
                                  "aspect"
                                ]
                              },
                              "left": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "top": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 9007199254740991
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 2,
                                "maximum": 7680
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 2,
                                "maximum": 4320
                              },
                              "aspectRatio": {
                                "type": "string",
                                "enum": [
                                  "16:9",
                                  "9:16",
                                  "1:1",
                                  "4:5",
                                  "4:3",
                                  "21:9"
                                ]
                              },
                              "gravity": {
                                "default": "center",
                                "type": "string",
                                "enum": [
                                  "center",
                                  "north",
                                  "south",
                                  "east",
                                  "west"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "mode",
                              "gravity"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim"
                              },
                              "startSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "endSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              "durationSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              }
                            },
                            "required": [
                              "type",
                              "startSeconds"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fps"
                              },
                              "targetFps": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 120
                              },
                              "mode": {
                                "default": "cfr",
                                "type": "string",
                                "enum": [
                                  "cfr",
                                  "vfr_cap"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "targetFps",
                              "mode"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "rotate"
                              },
                              "degrees": {
                                "anyOf": [
                                  {
                                    "type": "number",
                                    "const": 90
                                  },
                                  {
                                    "type": "number",
                                    "const": 180
                                  },
                                  {
                                    "type": "number",
                                    "const": 270
                                  }
                                ]
                              },
                              "autoOrient": {
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "speed"
                              },
                              "factor": {
                                "type": "number",
                                "minimum": 0.25,
                                "maximum": 4
                              },
                              "preserveAudioPitch": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "factor",
                              "preserveAudioPitch"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "watermark"
                              },
                              "text": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 120
                              },
                              "imageUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "position": {
                                "default": "bottom-right",
                                "type": "string",
                                "enum": [
                                  "top-left",
                                  "top-right",
                                  "bottom-left",
                                  "bottom-right",
                                  "center"
                                ]
                              },
                              "opacity": {
                                "default": 0.75,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 1
                              },
                              "scale": {
                                "default": 0.15,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 0.5
                              },
                              "marginPx": {
                                "default": 24,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 200
                              }
                            },
                            "required": [
                              "type",
                              "position",
                              "opacity",
                              "scale",
                              "marginPx"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "deinterlace"
                              },
                              "mode": {
                                "default": "yadif",
                                "type": "string",
                                "enum": [
                                  "yadif",
                                  "bwdif"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "mode"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "audio"
                              },
                              "action": {
                                "type": "string",
                                "enum": [
                                  "strip",
                                  "normalize",
                                  "volume",
                                  "extract"
                                ]
                              },
                              "preset": {
                                "type": "string",
                                "enum": [
                                  "streaming",
                                  "podcast",
                                  "broadcast"
                                ]
                              },
                              "gainDb": {
                                "type": "number",
                                "minimum": -36,
                                "maximum": 36
                              },
                              "format": {
                                "type": "string",
                                "enum": [
                                  "mp3",
                                  "m4a",
                                  "aac",
                                  "flac",
                                  "opus",
                                  "wav"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "action"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "thumbnail"
                              },
                              "timestampSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "format": {
                                "default": "jpeg",
                                "type": "string",
                                "enum": [
                                  "jpeg",
                                  "png",
                                  "webp"
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 4096
                              },
                              "quality": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 100
                              }
                            },
                            "required": [
                              "type",
                              "timestampSeconds",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "clip"
                              },
                              "format": {
                                "default": "webp",
                                "type": "string",
                                "enum": [
                                  "webp",
                                  "gif"
                                ]
                              },
                              "startSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "durationSeconds": {
                                "default": 5,
                                "type": "number",
                                "minimum": 0.5,
                                "maximum": 30
                              },
                              "fps": {
                                "default": 15,
                                "type": "integer",
                                "minimum": 5,
                                "maximum": 30
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 1280
                              }
                            },
                            "required": [
                              "type",
                              "format",
                              "startSeconds",
                              "durationSeconds",
                              "fps"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "strip_metadata"
                              },
                              "removeTags": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "removeTags"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "captions"
                              },
                              "format": {
                                "default": "ass",
                                "type": "string",
                                "enum": [
                                  "ass",
                                  "srt",
                                  "vtt"
                                ]
                              },
                              "subtitleUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "subtitleUploadId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "subtitleJobId": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "subtitleContent": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 512000
                              },
                              "burnIn": {
                                "default": true,
                                "type": "boolean"
                              },
                              "fontSize": {
                                "type": "integer",
                                "minimum": 10,
                                "maximum": 120
                              },
                              "fontName": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "primaryColor": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "outlineColor": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "marginV": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 500
                              },
                              "alignment": {
                                "default": "bottom",
                                "type": "string",
                                "enum": [
                                  "bottom",
                                  "middle",
                                  "top"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format",
                              "burnIn",
                              "alignment"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "compose"
                              },
                              "layout": {
                                "default": "overlay",
                                "type": "string",
                                "enum": [
                                  "pip",
                                  "side_by_side",
                                  "stack_vertical",
                                  "overlay"
                                ]
                              },
                              "overlayInput": {
                                "default": "overlay",
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 32
                              },
                              "x": {
                                "default": 0,
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                ]
                              },
                              "y": {
                                "default": 0,
                                "anyOf": [
                                  {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  }
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 16,
                                "maximum": 7680
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 16,
                                "maximum": 4320
                              },
                              "opacity": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 1
                              },
                              "startSeconds": {
                                "type": "number",
                                "minimum": 0
                              },
                              "endSeconds": {
                                "type": "number",
                                "minimum": 0
                              }
                            },
                            "required": [
                              "type",
                              "layout",
                              "overlayInput",
                              "x",
                              "y",
                              "opacity"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "concat"
                              },
                              "mode": {
                                "default": "auto",
                                "type": "string",
                                "enum": [
                                  "auto",
                                  "reencode",
                                  "stream_copy"
                                ]
                              },
                              "transition": {
                                "default": "none",
                                "type": "string",
                                "enum": [
                                  "none",
                                  "crossfade"
                                ]
                              },
                              "transitionDurationSeconds": {
                                "default": 0.5,
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 3
                              },
                              "normalizeAudio": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "mode",
                              "transition",
                              "transitionDurationSeconds",
                              "normalizeAudio"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "mux"
                              },
                              "audioInput": {
                                "default": "audio",
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 32
                              },
                              "replaceAudio": {
                                "default": true,
                                "type": "boolean"
                              },
                              "audioDelaySeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": -30,
                                "maximum": 30
                              },
                              "audioVolume": {
                                "default": 1,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 5
                              },
                              "shortest": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "audioInput",
                              "replaceAudio",
                              "audioDelaySeconds",
                              "audioVolume",
                              "shortest"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "chapters"
                              },
                              "chapters": {
                                "minItems": 1,
                                "maxItems": 200,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "startSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 28800
                                    },
                                    "endSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 28800
                                    },
                                    "title": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200
                                    }
                                  },
                                  "required": [
                                    "startSeconds",
                                    "title"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "fromConcatInputs": {
                                "default": false,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "fromConcatInputs"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "extract_subtitles"
                              },
                              "trackIndex": {
                                "default": 0,
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 32
                              },
                              "format": {
                                "default": "srt",
                                "type": "string",
                                "enum": [
                                  "srt",
                                  "vtt",
                                  "ass"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "trackIndex",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "storyboard"
                              },
                              "intervalSeconds": {
                                "default": 10,
                                "type": "number",
                                "minimum": 1,
                                "maximum": 600
                              },
                              "columns": {
                                "default": 5,
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 10
                              },
                              "format": {
                                "default": "jpeg",
                                "type": "string",
                                "enum": [
                                  "jpeg",
                                  "png",
                                  "webp"
                                ]
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 64,
                                "maximum": 1280
                              }
                            },
                            "required": [
                              "type",
                              "intervalSeconds",
                              "columns",
                              "format"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      },
                      {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "convert"
                              },
                              "format": {
                                "type": "string",
                                "enum": [
                                  "mp3",
                                  "m4a",
                                  "aac",
                                  "flac",
                                  "opus",
                                  "wav",
                                  "ogg",
                                  "aiff"
                                ]
                              },
                              "bitrateKbps": {
                                "type": "integer",
                                "minimum": 16,
                                "maximum": 512
                              },
                              "quality": {
                                "type": "integer",
                                "minimum": 1,
                                "maximum": 100
                              },
                              "sampleRateHz": {
                                "type": "integer",
                                "minimum": 7350,
                                "maximum": 192000
                              },
                              "compressionLevel": {
                                "type": "integer",
                                "minimum": 0,
                                "maximum": 8
                              },
                              "sampleFormat": {
                                "type": "string",
                                "enum": [
                                  "s16",
                                  "s24",
                                  "s32",
                                  "f32"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "normalize"
                              },
                              "preset": {
                                "default": "streaming",
                                "type": "string",
                                "enum": [
                                  "streaming",
                                  "podcast",
                                  "audiobook",
                                  "broadcast",
                                  "custom"
                                ]
                              },
                              "targetLufs": {
                                "type": "number",
                                "minimum": -70,
                                "maximum": -5
                              },
                              "truePeakDbtp": {
                                "type": "number",
                                "minimum": -9,
                                "maximum": 0
                              },
                              "loudnessRange": {
                                "default": 7,
                                "type": "number",
                                "minimum": 1,
                                "maximum": 20
                              }
                            },
                            "required": [
                              "type",
                              "preset",
                              "loudnessRange"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim"
                              },
                              "startSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0
                              },
                              "endSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              },
                              "durationSeconds": {
                                "type": "number",
                                "exclusiveMinimum": 0
                              }
                            },
                            "required": [
                              "type",
                              "startSeconds"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "trim_silence"
                              },
                              "mode": {
                                "default": "both",
                                "type": "string",
                                "enum": [
                                  "both",
                                  "start",
                                  "end"
                                ]
                              },
                              "thresholdDb": {
                                "default": -50,
                                "type": "number",
                                "minimum": -80,
                                "maximum": -5
                              },
                              "minSilenceSeconds": {
                                "default": 0.5,
                                "type": "number",
                                "minimum": 0.05,
                                "maximum": 30
                              },
                              "keepSilenceSeconds": {
                                "default": 0.1,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 5
                              }
                            },
                            "required": [
                              "type",
                              "mode",
                              "thresholdDb",
                              "minSilenceSeconds",
                              "keepSilenceSeconds"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "fade"
                              },
                              "fadeInSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 60
                              },
                              "fadeOutSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 60
                              },
                              "curve": {
                                "default": "qsin",
                                "type": "string",
                                "enum": [
                                  "linear",
                                  "qsin",
                                  "hsin",
                                  "esin",
                                  "log"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "fadeInSeconds",
                              "fadeOutSeconds",
                              "curve"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "gain"
                              },
                              "db": {
                                "type": "number",
                                "minimum": -48,
                                "maximum": 48
                              },
                              "limitPeakDbtp": {
                                "default": -0.5,
                                "type": "number",
                                "minimum": -6,
                                "maximum": 0
                              }
                            },
                            "required": [
                              "type",
                              "db",
                              "limitPeakDbtp"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "speed"
                              },
                              "factor": {
                                "type": "number",
                                "minimum": 0.25,
                                "maximum": 4
                              }
                            },
                            "required": [
                              "type",
                              "factor"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "pitch"
                              },
                              "semitones": {
                                "type": "number",
                                "minimum": -12,
                                "maximum": 12
                              }
                            },
                            "required": [
                              "type",
                              "semitones"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "equalize"
                              },
                              "preset": {
                                "default": "custom",
                                "type": "string",
                                "enum": [
                                  "voice_clarity",
                                  "podcast_warmth",
                                  "bass_boost",
                                  "treble_boost",
                                  "de_mud",
                                  "custom"
                                ]
                              },
                              "bands": {
                                "minItems": 1,
                                "maxItems": 8,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "filter": {
                                      "type": "string",
                                      "enum": [
                                        "lowshelf",
                                        "peaking",
                                        "highshelf"
                                      ]
                                    },
                                    "frequencyHz": {
                                      "type": "number",
                                      "minimum": 20,
                                      "maximum": 20000
                                    },
                                    "gainDb": {
                                      "type": "number",
                                      "minimum": -24,
                                      "maximum": 24
                                    },
                                    "q": {
                                      "default": 1,
                                      "type": "number",
                                      "minimum": 0.1,
                                      "maximum": 10
                                    }
                                  },
                                  "required": [
                                    "filter",
                                    "frequencyHz",
                                    "gainDb",
                                    "q"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "type",
                              "preset"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "compress"
                              },
                              "preset": {
                                "default": "podcast",
                                "type": "string",
                                "enum": [
                                  "podcast",
                                  "broadcast",
                                  "gentle",
                                  "custom"
                                ]
                              },
                              "thresholdDb": {
                                "type": "number",
                                "minimum": -60,
                                "maximum": 0
                              },
                              "ratio": {
                                "type": "number",
                                "minimum": 1,
                                "maximum": 20
                              },
                              "attackMs": {
                                "type": "number",
                                "minimum": 0.1,
                                "maximum": 500
                              },
                              "releaseMs": {
                                "type": "number",
                                "minimum": 10,
                                "maximum": 2000
                              },
                              "makeupDb": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 24
                              },
                              "kneeDb": {
                                "type": "number",
                                "minimum": 0,
                                "maximum": 12
                              }
                            },
                            "required": [
                              "type",
                              "preset"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "denoise"
                              },
                              "strength": {
                                "default": "medium",
                                "type": "string",
                                "enum": [
                                  "light",
                                  "medium",
                                  "aggressive"
                                ]
                              },
                              "highpassHz": {
                                "type": "number",
                                "minimum": 20,
                                "maximum": 300
                              }
                            },
                            "required": [
                              "type",
                              "strength"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "channels"
                              },
                              "mode": {
                                "type": "string",
                                "enum": [
                                  "mono",
                                  "stereo",
                                  "left",
                                  "right",
                                  "swap"
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "mode"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "strip_metadata"
                              },
                              "removeTags": {
                                "default": true,
                                "type": "boolean"
                              },
                              "removeArtwork": {
                                "default": true,
                                "type": "boolean"
                              },
                              "setTags": {
                                "type": "object",
                                "properties": {
                                  "title": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "artist": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "album": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "comment": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 500
                                  },
                                  "genre": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 64
                                  },
                                  "year": {
                                    "type": "string",
                                    "pattern": "^\\d{4}$"
                                  }
                                },
                                "additionalProperties": false
                              }
                            },
                            "required": [
                              "type",
                              "removeTags",
                              "removeArtwork"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "tags"
                              },
                              "title": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "artist": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "album": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "albumArtist": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "composer": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 200
                              },
                              "genre": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 64
                              },
                              "year": {
                                "type": "string",
                                "pattern": "^\\d{4}$"
                              },
                              "track": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 16
                              },
                              "disc": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 16
                              },
                              "comment": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 500
                              },
                              "artworkUrl": {
                                "type": "string",
                                "format": "uri"
                              },
                              "chapters": {
                                "minItems": 1,
                                "maxItems": 200,
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "startSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 7200
                                    },
                                    "endSeconds": {
                                      "type": "number",
                                      "minimum": 0,
                                      "maximum": 7200
                                    },
                                    "title": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200
                                    }
                                  },
                                  "required": [
                                    "startSeconds",
                                    "title"
                                  ],
                                  "additionalProperties": false
                                }
                              }
                            },
                            "required": [
                              "type"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "waveform"
                              },
                              "format": {
                                "default": "json",
                                "type": "string",
                                "enum": [
                                  "json",
                                  "png"
                                ]
                              },
                              "bins": {
                                "type": "integer",
                                "minimum": 100,
                                "maximum": 4000
                              },
                              "splitChannels": {
                                "default": false,
                                "type": "boolean"
                              },
                              "width": {
                                "type": "integer",
                                "minimum": 100,
                                "maximum": 4096
                              },
                              "height": {
                                "type": "integer",
                                "minimum": 40,
                                "maximum": 1024
                              },
                              "color": {
                                "type": "string",
                                "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                              },
                              "backgroundColor": {
                                "anyOf": [
                                  {
                                    "type": "string",
                                    "pattern": "^#([0-9a-fA-F]{3}|[0-9a-fA-F]{4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
                                  },
                                  {
                                    "type": "string",
                                    "const": "transparent"
                                  }
                                ]
                              }
                            },
                            "required": [
                              "type",
                              "format",
                              "splitChannels"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "concat"
                              },
                              "crossfadeSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 10
                              },
                              "normalize": {
                                "default": true,
                                "type": "boolean"
                              }
                            },
                            "required": [
                              "type",
                              "crossfadeSeconds",
                              "normalize"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "const": "mix"
                              },
                              "overlayVolumeDb": {
                                "default": -12,
                                "type": "number",
                                "minimum": -48,
                                "maximum": 12
                              },
                              "ducking": {
                                "default": false,
                                "type": "boolean"
                              },
                              "duckThresholdDb": {
                                "default": -24,
                                "type": "number",
                                "minimum": -50,
                                "maximum": -5
                              },
                              "duckRatio": {
                                "default": 6,
                                "type": "number",
                                "minimum": 1,
                                "maximum": 20
                              },
                              "loopOverlay": {
                                "default": false,
                                "type": "boolean"
                              },
                              "offsetSeconds": {
                                "default": 0,
                                "type": "number",
                                "minimum": 0,
                                "maximum": 7200
                              }
                            },
                            "required": [
                              "type",
                              "overlayVolumeDb",
                              "ducking",
                              "duckThresholdDb",
                              "duckRatio",
                              "loopOverlay",
                              "offsetSeconds"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      }
                    ]
                  }
                },
                "output": {
                  "type": "object",
                  "properties": {
                    "format": {
                      "type": "string"
                    },
                    "destination": {
                      "type": "string",
                      "format": "uri"
                    },
                    "downloadUrl": {
                      "type": "string",
                      "format": "uri"
                    },
                    "expiresAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    }
                  },
                  "additionalProperties": false
                },
                "outputs": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "pending",
                          "delivered",
                          "failed"
                        ]
                      },
                      "format": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "contentType": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "bytes": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "durationSeconds": {
                        "anyOf": [
                          {
                            "type": "number",
                            "minimum": 0
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "width": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "height": {
                        "anyOf": [
                          {
                            "type": "integer",
                            "exclusiveMinimum": 0,
                            "maximum": 9007199254740991
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "sha256": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "destination": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "downloadUrl": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uri"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "expiresAt": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "costMicros": {
                        "default": 0,
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "retentionCostMicros": {
                        "default": 0,
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 9007199254740991
                      },
                      "verificationReport": {
                        "anyOf": [
                          {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "verified": {
                                    "type": "boolean"
                                  },
                                  "engine": {
                                    "type": "string"
                                  },
                                  "inputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "width": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "format": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "hasExif": {
                                        "type": "boolean"
                                      },
                                      "colorSpace": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "width",
                                      "height",
                                      "format",
                                      "bytes",
                                      "hasExif",
                                      "colorSpace"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "outputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "width": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "format": {
                                        "type": "string",
                                        "enum": [
                                          "jpeg",
                                          "png",
                                          "webp",
                                          "avif",
                                          "heic",
                                          "gif",
                                          "bmp",
                                          "tiff",
                                          "ico",
                                          "tga",
                                          "ppm"
                                        ]
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "exifStripped": {
                                        "type": "boolean"
                                      },
                                      "sha256": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{64}$"
                                      }
                                    },
                                    "required": [
                                      "width",
                                      "height",
                                      "format",
                                      "bytes",
                                      "exifStripped",
                                      "sha256"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "checks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "passed": {
                                          "type": "boolean"
                                        },
                                        "detail": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "passed"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "timingsMs": {
                                    "type": "object",
                                    "properties": {
                                      "probe": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "download": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "transform": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "verify": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "upload": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "total": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "probe",
                                      "download",
                                      "transform",
                                      "verify",
                                      "upload",
                                      "total"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "verified",
                                  "engine",
                                  "inputProbe",
                                  "outputProbe",
                                  "checks",
                                  "timingsMs"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "verified": {
                                    "type": "boolean"
                                  },
                                  "engine": {
                                    "type": "string"
                                  },
                                  "inputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "format": {
                                        "type": "string"
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "sampleRateHz": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "hasTags": {
                                        "type": "boolean"
                                      },
                                      "hasArtwork": {
                                        "type": "boolean"
                                      },
                                      "loudness": {
                                        "type": "object",
                                        "properties": {
                                          "integratedLufs": {
                                            "type": "number"
                                          },
                                          "truePeakDbtp": {
                                            "type": "number"
                                          },
                                          "loudnessRangeLu": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "targetLufs": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "integratedLufs",
                                          "truePeakDbtp"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "format",
                                      "bytes",
                                      "durationSeconds"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "outputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "format": {
                                        "type": "string",
                                        "enum": [
                                          "mp3",
                                          "m4a",
                                          "aac",
                                          "flac",
                                          "opus",
                                          "wav",
                                          "ogg",
                                          "aiff",
                                          "json",
                                          "png"
                                        ]
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "sampleRateHz": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "tagsStripped": {
                                        "type": "boolean"
                                      },
                                      "artworkStripped": {
                                        "type": "boolean"
                                      },
                                      "loudness": {
                                        "type": "object",
                                        "properties": {
                                          "integratedLufs": {
                                            "type": "number"
                                          },
                                          "truePeakDbtp": {
                                            "type": "number"
                                          },
                                          "loudnessRangeLu": {
                                            "type": "number",
                                            "minimum": 0
                                          },
                                          "targetLufs": {
                                            "type": "number"
                                          }
                                        },
                                        "required": [
                                          "integratedLufs",
                                          "truePeakDbtp"
                                        ],
                                        "additionalProperties": false
                                      },
                                      "width": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "bins": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "sha256": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{64}$"
                                      }
                                    },
                                    "required": [
                                      "format",
                                      "bytes",
                                      "durationSeconds",
                                      "sha256"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "loudness": {
                                    "type": "object",
                                    "properties": {
                                      "targetLufs": {
                                        "type": "number"
                                      },
                                      "targetTruePeakDbtp": {
                                        "type": "number"
                                      },
                                      "measuredLufs": {
                                        "type": "number"
                                      },
                                      "measuredTruePeakDbtp": {
                                        "type": "number"
                                      },
                                      "loudnessRangeLu": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "targetLufs",
                                      "targetTruePeakDbtp",
                                      "measuredLufs",
                                      "measuredTruePeakDbtp"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "silence": {
                                    "type": "object",
                                    "properties": {
                                      "detectedSegments": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "startSeconds": {
                                              "type": "number",
                                              "minimum": 0
                                            },
                                            "endSeconds": {
                                              "type": "number",
                                              "minimum": 0
                                            }
                                          },
                                          "required": [
                                            "startSeconds",
                                            "endSeconds"
                                          ],
                                          "additionalProperties": false
                                        }
                                      }
                                    },
                                    "required": [
                                      "detectedSegments"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "chapters": {
                                    "type": "object",
                                    "properties": {
                                      "count": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "titles": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      }
                                    },
                                    "required": [
                                      "count",
                                      "titles"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "checks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "passed": {
                                          "type": "boolean"
                                        },
                                        "detail": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "passed"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "timingsMs": {
                                    "type": "object",
                                    "properties": {
                                      "probe": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "download": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "transform": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "verify": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "upload": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "total": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "probe",
                                      "download",
                                      "transform",
                                      "verify",
                                      "upload",
                                      "total"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "verified",
                                  "engine",
                                  "inputProbe",
                                  "outputProbe",
                                  "checks",
                                  "timingsMs"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "verified": {
                                    "type": "boolean"
                                  },
                                  "engine": {
                                    "type": "string"
                                  },
                                  "gpuClass": {
                                    "type": "string"
                                  },
                                  "inputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "width": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "pixFmt": {
                                        "type": "string"
                                      },
                                      "chromaTier": {
                                        "type": "string",
                                        "enum": [
                                          "420_8bit",
                                          "420_10bit"
                                        ]
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "container": {
                                        "type": "string"
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "hasAudio": {
                                        "type": "boolean"
                                      },
                                      "audioCodec": {
                                        "type": "string"
                                      },
                                      "audioSampleRateHz": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "audioChannels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "audioTracks": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "codec": {
                                              "type": "string"
                                            },
                                            "language": {
                                              "type": "string"
                                            },
                                            "channels": {
                                              "type": "integer",
                                              "minimum": 0,
                                              "maximum": 9007199254740991
                                            }
                                          },
                                          "required": [
                                            "codec"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "subtitleTracks": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "codec": {
                                              "type": "string"
                                            },
                                            "language": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "codec"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "hdrFormat": {
                                        "type": "string",
                                        "enum": [
                                          "sdr",
                                          "hdr10",
                                          "hlg",
                                          "dolby_vision"
                                        ]
                                      },
                                      "chapterCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "rotation": {
                                        "type": "number"
                                      },
                                      "interlaced": {
                                        "type": "boolean"
                                      },
                                      "hasTags": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "durationSeconds",
                                      "width",
                                      "height",
                                      "fps",
                                      "codec",
                                      "pixFmt",
                                      "container",
                                      "bytes",
                                      "hasAudio",
                                      "hasTags"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "outputProbe": {
                                    "type": "object",
                                    "properties": {
                                      "durationSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "width": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "height": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "fps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "codec": {
                                        "type": "string"
                                      },
                                      "profile": {
                                        "type": "string"
                                      },
                                      "pixFmt": {
                                        "type": "string"
                                      },
                                      "container": {
                                        "type": "string",
                                        "enum": [
                                          "mp4",
                                          "mov",
                                          "mkv",
                                          "webm",
                                          "hls",
                                          "srt",
                                          "vtt",
                                          "ass",
                                          "jpeg",
                                          "png",
                                          "webp",
                                          "gif",
                                          "mp3",
                                          "m4a",
                                          "aac",
                                          "flac",
                                          "opus",
                                          "wav"
                                        ]
                                      },
                                      "bitrateKbps": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "bytes": {
                                        "type": "integer",
                                        "exclusiveMinimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "sha256": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{64}$"
                                      },
                                      "hasAudio": {
                                        "type": "boolean"
                                      },
                                      "audioCodec": {
                                        "type": "string"
                                      },
                                      "audioTrackCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "subtitleTrackCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "hdrFormat": {
                                        "type": "string",
                                        "enum": [
                                          "sdr",
                                          "hdr10",
                                          "hlg",
                                          "dolby_vision"
                                        ]
                                      },
                                      "chapterCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "segmentCount": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      },
                                      "segmentFiles": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "subtitleFiles": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "language": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "language"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "avSyncDriftSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "keyframesVerified": {
                                        "type": "boolean"
                                      },
                                      "hasTags": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "durationSeconds",
                                      "width",
                                      "height",
                                      "fps",
                                      "codec",
                                      "pixFmt",
                                      "container",
                                      "bytes",
                                      "sha256",
                                      "hasAudio",
                                      "keyframesVerified",
                                      "hasTags"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "checks": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "passed": {
                                          "type": "boolean"
                                        },
                                        "detail": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "passed"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "timingsMs": {
                                    "type": "object",
                                    "properties": {
                                      "probe": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "download": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "transform": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "verify": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "upload": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "total": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "probe",
                                      "download",
                                      "transform",
                                      "verify",
                                      "upload",
                                      "total"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "verified",
                                  "engine",
                                  "inputProbe",
                                  "outputProbe",
                                  "checks",
                                  "timingsMs"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "error": {
                        "anyOf": [
                          {
                            "type": "object",
                            "properties": {
                              "code": {
                                "type": "string"
                              },
                              "message": {
                                "type": "string"
                              },
                              "retryable": {
                                "type": "boolean"
                              },
                              "hint": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "code",
                              "message",
                              "retryable"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "id",
                      "label",
                      "status",
                      "costMicros",
                      "retentionCostMicros"
                    ],
                    "additionalProperties": false
                  }
                },
                "verificationReport": {
                  "anyOf": [
                    {
                      "anyOf": [
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "format": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasExif": {
                                  "type": "boolean"
                                },
                                "colorSpace": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "width",
                                "height",
                                "format",
                                "bytes",
                                "hasExif",
                                "colorSpace"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "format": {
                                  "type": "string",
                                  "enum": [
                                    "jpeg",
                                    "png",
                                    "webp",
                                    "avif",
                                    "heic",
                                    "gif",
                                    "bmp",
                                    "tiff",
                                    "ico",
                                    "tga",
                                    "ppm"
                                  ]
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "exifStripped": {
                                  "type": "boolean"
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "width",
                                "height",
                                "format",
                                "bytes",
                                "exifStripped",
                                "sha256"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "format": {
                                  "type": "string"
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "sampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "channels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "hasTags": {
                                  "type": "boolean"
                                },
                                "hasArtwork": {
                                  "type": "boolean"
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "integratedLufs": {
                                      "type": "number"
                                    },
                                    "truePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "targetLufs": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "integratedLufs",
                                    "truePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "format",
                                "bytes",
                                "durationSeconds"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "format": {
                                  "type": "string",
                                  "enum": [
                                    "mp3",
                                    "m4a",
                                    "aac",
                                    "flac",
                                    "opus",
                                    "wav",
                                    "ogg",
                                    "aiff",
                                    "json",
                                    "png"
                                  ]
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "sampleRateHz": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "channels": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "tagsStripped": {
                                  "type": "boolean"
                                },
                                "artworkStripped": {
                                  "type": "boolean"
                                },
                                "loudness": {
                                  "type": "object",
                                  "properties": {
                                    "integratedLufs": {
                                      "type": "number"
                                    },
                                    "truePeakDbtp": {
                                      "type": "number"
                                    },
                                    "loudnessRangeLu": {
                                      "type": "number",
                                      "minimum": 0
                                    },
                                    "targetLufs": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "integratedLufs",
                                    "truePeakDbtp"
                                  ],
                                  "additionalProperties": false
                                },
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "bins": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                }
                              },
                              "required": [
                                "format",
                                "bytes",
                                "durationSeconds",
                                "sha256"
                              ],
                              "additionalProperties": false
                            },
                            "loudness": {
                              "type": "object",
                              "properties": {
                                "targetLufs": {
                                  "type": "number"
                                },
                                "targetTruePeakDbtp": {
                                  "type": "number"
                                },
                                "measuredLufs": {
                                  "type": "number"
                                },
                                "measuredTruePeakDbtp": {
                                  "type": "number"
                                },
                                "loudnessRangeLu": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "targetLufs",
                                "targetTruePeakDbtp",
                                "measuredLufs",
                                "measuredTruePeakDbtp"
                              ],
                              "additionalProperties": false
                            },
                            "silence": {
                              "type": "object",
                              "properties": {
                                "detectedSegments": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "startSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      },
                                      "endSeconds": {
                                        "type": "number",
                                        "minimum": 0
                                      }
                                    },
                                    "required": [
                                      "startSeconds",
                                      "endSeconds"
                                    ],
                                    "additionalProperties": false
                                  }
                                }
                              },
                              "required": [
                                "detectedSegments"
                              ],
                              "additionalProperties": false
                            },
                            "chapters": {
                              "type": "object",
                              "properties": {
                                "count": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "titles": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                }
                              },
                              "required": [
                                "count",
                                "titles"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "verified": {
                              "type": "boolean"
                            },
                            "engine": {
                              "type": "string"
                            },
                            "gpuClass": {
                              "type": "string"
                            },
                            "inputProbe": {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "width": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "fps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "pixFmt": {
                                  "type": "string"
                                },
                                "chromaTier": {
                                  "type": "string",
                                  "enum": [
                                    "420_8bit",
                                    "420_10bit"
                                  ]
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "container": {
                                  "type": "string"
                                },
                                "bytes": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hasAudio": {
                                  "type": "boolean"
                                },
                                "audioCodec": {
                                  "type": "string"
                                },
                                "audioSampleRateHz": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioChannels": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "audioTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      },
                                      "channels": {
                                        "type": "integer",
                                        "minimum": 0,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "subtitleTracks": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "codec": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "codec"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "hdrFormat": {
                                  "type": "string",
                                  "enum": [
                                    "sdr",
                                    "hdr10",
                                    "hlg",
                                    "dolby_vision"
                                  ]
                                },
                                "chapterCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "rotation": {
                                  "type": "number"
                                },
                                "interlaced": {
                                  "type": "boolean"
                                },
                                "hasTags": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "durationSeconds",
                                "width",
                                "height",
                                "fps",
                                "codec",
                                "pixFmt",
                                "container",
                                "bytes",
                                "hasAudio",
                                "hasTags"
                              ],
                              "additionalProperties": false
                            },
                            "outputProbe": {
                              "type": "object",
                              "properties": {
                                "durationSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "width": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "height": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "fps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "codec": {
                                  "type": "string"
                                },
                                "profile": {
                                  "type": "string"
                                },
                                "pixFmt": {
                                  "type": "string"
                                },
                                "container": {
                                  "type": "string",
                                  "enum": [
                                    "mp4",
                                    "mov",
                                    "mkv",
                                    "webm",
                                    "hls",
                                    "srt",
                                    "vtt",
                                    "ass",
                                    "jpeg",
                                    "png",
                                    "webp",
                                    "gif",
                                    "mp3",
                                    "m4a",
                                    "aac",
                                    "flac",
                                    "opus",
                                    "wav"
                                  ]
                                },
                                "bitrateKbps": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "bytes": {
                                  "type": "integer",
                                  "exclusiveMinimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "sha256": {
                                  "type": "string",
                                  "pattern": "^[a-f0-9]{64}$"
                                },
                                "hasAudio": {
                                  "type": "boolean"
                                },
                                "audioCodec": {
                                  "type": "string"
                                },
                                "audioTrackCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "subtitleTrackCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "hdrFormat": {
                                  "type": "string",
                                  "enum": [
                                    "sdr",
                                    "hdr10",
                                    "hlg",
                                    "dolby_vision"
                                  ]
                                },
                                "chapterCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "segmentCount": {
                                  "type": "integer",
                                  "minimum": 0,
                                  "maximum": 9007199254740991
                                },
                                "segmentFiles": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "subtitleFiles": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "language": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "language"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "avSyncDriftSeconds": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "keyframesVerified": {
                                  "type": "boolean"
                                },
                                "hasTags": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "durationSeconds",
                                "width",
                                "height",
                                "fps",
                                "codec",
                                "pixFmt",
                                "container",
                                "bytes",
                                "sha256",
                                "hasAudio",
                                "keyframesVerified",
                                "hasTags"
                              ],
                              "additionalProperties": false
                            },
                            "checks": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "passed": {
                                    "type": "boolean"
                                  },
                                  "detail": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "passed"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "timingsMs": {
                              "type": "object",
                              "properties": {
                                "probe": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "download": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "transform": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "verify": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "upload": {
                                  "type": "number",
                                  "minimum": 0
                                },
                                "total": {
                                  "type": "number",
                                  "minimum": 0
                                }
                              },
                              "required": [
                                "probe",
                                "download",
                                "transform",
                                "verify",
                                "upload",
                                "total"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "verified",
                            "engine",
                            "inputProbe",
                            "outputProbe",
                            "checks",
                            "timingsMs"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "costMicros": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "costUsd": {
                  "type": "number",
                  "minimum": 0
                },
                "billed": {
                  "type": "boolean"
                },
                "error": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "retryable": {
                      "type": "boolean"
                    },
                    "hint": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "code",
                    "message",
                    "retryable"
                  ],
                  "additionalProperties": false
                },
                "metadata": {
                  "type": "object",
                  "propertyNames": {
                    "type": "string"
                  },
                  "additionalProperties": {
                    "type": "string"
                  }
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "completedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "queueWaitMs": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "execMs": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "id",
                "kind",
                "priority",
                "state",
                "retentionHours",
                "input",
                "operations",
                "output",
                "costMicros",
                "costUsd",
                "billed",
                "createdAt",
                "updatedAt"
              ],
              "additionalProperties": false
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          },
          "totalCount": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          }
        },
        "required": [
          "jobs",
          "nextCursor"
        ],
        "additionalProperties": false
      },
      "AccountOverrides": {
        "type": "object",
        "properties": {
          "maxVideoBytes": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "maxVideoDurationSeconds": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "maxConcurrency": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "rpm": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "maxRetentionDays": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 1,
                "maximum": 365
              },
              {
                "type": "null"
              }
            ]
          },
          "flexEnabledOverride": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "suspended": {
            "type": [
              "boolean",
              "null"
            ]
          },
          "suspensionReason": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 500
              },
              {
                "type": "null"
              }
            ]
          },
          "notes": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 2000
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ResolvedEntitlements": {
        "type": "object",
        "properties": {
          "tier": {
            "type": "string",
            "enum": [
              "free",
              "payg",
              "basic",
              "pro",
              "scale",
              "studio"
            ]
          },
          "concurrency": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "rpm": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "maxKeys": {
            "anyOf": [
              {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "perKeySpendCaps": {
            "type": "boolean"
          },
          "maxImageBytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "maxAudioBytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "maxVideoBytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "maxVideoDurationSeconds": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "retentionHours": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "includedRetainDays": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "maxRetainDays": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "maxBuckets": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "flexAsyncEnabled": {
            "type": "boolean"
          },
          "webhookReplayDays": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "gpuMinFloorMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "audioMinFloorMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "aiMinFloorMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "aiMinTopupRequired": {
            "default": true,
            "type": "boolean"
          }
        },
        "required": [
          "tier",
          "concurrency",
          "rpm",
          "maxKeys",
          "perKeySpendCaps",
          "maxImageBytes",
          "maxAudioBytes",
          "maxVideoBytes",
          "maxVideoDurationSeconds",
          "retentionHours",
          "includedRetainDays",
          "maxRetainDays",
          "maxBuckets",
          "flexAsyncEnabled",
          "webhookReplayDays",
          "gpuMinFloorMicros",
          "audioMinFloorMicros",
          "aiMinFloorMicros",
          "aiMinTopupRequired"
        ],
        "additionalProperties": false
      },
      "AccountResponse": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "type": {
            "type": "string",
            "enum": [
              "personal",
              "organization"
            ]
          },
          "name": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "tier": {
            "type": "string",
            "enum": [
              "free",
              "payg",
              "basic",
              "pro",
              "scale",
              "studio"
            ]
          },
          "paygUnlockedConcurrency": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "eligiblePaygConcurrency": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "purchasedMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "totalAvailableMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "activeJobs": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "lowBalanceThresholdMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "monthlySpendCapMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "entitlements": {
            "type": "object",
            "properties": {
              "tier": {
                "type": "string",
                "enum": [
                  "free",
                  "payg",
                  "basic",
                  "pro",
                  "scale",
                  "studio"
                ]
              },
              "concurrency": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "rpm": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxKeys": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "perKeySpendCaps": {
                "type": "boolean"
              },
              "maxImageBytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxAudioBytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxVideoBytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxVideoDurationSeconds": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "retentionHours": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "includedRetainDays": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxRetainDays": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxBuckets": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "flexAsyncEnabled": {
                "type": "boolean"
              },
              "webhookReplayDays": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "gpuMinFloorMicros": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "audioMinFloorMicros": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "aiMinFloorMicros": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "aiMinTopupRequired": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "tier",
              "concurrency",
              "rpm",
              "maxKeys",
              "perKeySpendCaps",
              "maxImageBytes",
              "maxAudioBytes",
              "maxVideoBytes",
              "maxVideoDurationSeconds",
              "retentionHours",
              "includedRetainDays",
              "maxRetainDays",
              "maxBuckets",
              "flexAsyncEnabled",
              "webhookReplayDays",
              "gpuMinFloorMicros",
              "audioMinFloorMicros",
              "aiMinFloorMicros",
              "aiMinTopupRequired"
            ],
            "additionalProperties": false
          },
          "overrides": {
            "anyOf": [
              {
                "type": "object",
                "properties": {
                  "maxVideoBytes": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "maxVideoDurationSeconds": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "maxConcurrency": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rpm": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "exclusiveMinimum": 0,
                        "maximum": 9007199254740991
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "maxRetentionDays": {
                    "anyOf": [
                      {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "flexEnabledOverride": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "suspended": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "suspensionReason": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 500
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "notes": {
                    "anyOf": [
                      {
                        "type": "string",
                        "maxLength": 2000
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "additionalProperties": false
              },
              {
                "type": "null"
              }
            ]
          },
          "suspended": {
            "default": false,
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "accountId",
          "type",
          "name",
          "email",
          "tier",
          "paygUnlockedConcurrency",
          "eligiblePaygConcurrency",
          "purchasedMicros",
          "totalAvailableMicros",
          "activeJobs",
          "lowBalanceThresholdMicros",
          "monthlySpendCapMicros",
          "entitlements",
          "overrides",
          "suspended",
          "createdAt"
        ],
        "additionalProperties": false
      },
      "UpdateAccountSettingsRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "lowBalanceThresholdMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "monthlySpendCapMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ConcurrencyUnlockRequest": {
        "type": "object",
        "properties": {
          "targetConcurrency": {
            "anyOf": [
              {
                "type": "number",
                "const": 10
              },
              {
                "type": "number",
                "const": 20
              },
              {
                "type": "number",
                "const": 30
              }
            ]
          }
        },
        "required": [
          "targetConcurrency"
        ],
        "additionalProperties": false
      },
      "ConcurrencyUnlockResponse": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "paygUnlockedConcurrency": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "entitlements": {
            "type": "object",
            "properties": {
              "tier": {
                "type": "string",
                "enum": [
                  "free",
                  "payg",
                  "basic",
                  "pro",
                  "scale",
                  "studio"
                ]
              },
              "concurrency": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "rpm": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxKeys": {
                "anyOf": [
                  {
                    "type": "integer",
                    "exclusiveMinimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "perKeySpendCaps": {
                "type": "boolean"
              },
              "maxImageBytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxAudioBytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxVideoBytes": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxVideoDurationSeconds": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "retentionHours": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "includedRetainDays": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxRetainDays": {
                "type": "integer",
                "exclusiveMinimum": 0,
                "maximum": 9007199254740991
              },
              "maxBuckets": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "flexAsyncEnabled": {
                "type": "boolean"
              },
              "webhookReplayDays": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "gpuMinFloorMicros": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "audioMinFloorMicros": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "aiMinFloorMicros": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "aiMinTopupRequired": {
                "default": true,
                "type": "boolean"
              }
            },
            "required": [
              "tier",
              "concurrency",
              "rpm",
              "maxKeys",
              "perKeySpendCaps",
              "maxImageBytes",
              "maxAudioBytes",
              "maxVideoBytes",
              "maxVideoDurationSeconds",
              "retentionHours",
              "includedRetainDays",
              "maxRetainDays",
              "maxBuckets",
              "flexAsyncEnabled",
              "webhookReplayDays",
              "gpuMinFloorMicros",
              "audioMinFloorMicros",
              "aiMinFloorMicros",
              "aiMinTopupRequired"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "accountId",
          "paygUnlockedConcurrency",
          "entitlements"
        ],
        "additionalProperties": false
      },
      "BalanceResponse": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "totalAvailableMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "totalAvailableUsd": {
            "type": "number",
            "minimum": 0
          },
          "promoMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "promoGrants": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "reason": {
                  "type": "string"
                },
                "initialMicros": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "remainingMicros": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "expiresAt": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                }
              },
              "required": [
                "id",
                "reason",
                "initialMicros",
                "remainingMicros",
                "expiresAt",
                "createdAt"
              ],
              "additionalProperties": false
            }
          },
          "subscriptionMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "subscription": {
            "type": "object",
            "properties": {
              "planTier": {
                "anyOf": [
                  {
                    "type": "string",
                    "enum": [
                      "basic",
                      "pro",
                      "scale",
                      "studio"
                    ]
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "status": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "resetsAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "planTier",
              "status",
              "resetsAt"
            ],
            "additionalProperties": false
          },
          "purchasedMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "reservedMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "accountTier": {
            "type": "string",
            "enum": [
              "free",
              "payg",
              "basic",
              "pro",
              "scale",
              "studio"
            ]
          },
          "hasEverPurchased": {
            "type": "boolean"
          },
          "paygUnlockedConcurrency": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "lowBalanceThresholdMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "monthlySpendCapMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "spendOrder": {
            "default": [
              "promo",
              "subscription",
              "purchased"
            ],
            "type": "array",
            "prefixItems": [
              {
                "type": "string",
                "const": "promo"
              },
              {
                "type": "string",
                "const": "subscription"
              },
              {
                "type": "string",
                "const": "purchased"
              }
            ],
            "items": false,
            "minItems": 3,
            "maxItems": 3
          }
        },
        "required": [
          "totalAvailableMicros",
          "totalAvailableUsd",
          "promoMicros",
          "promoGrants",
          "subscriptionMicros",
          "subscription",
          "purchasedMicros",
          "reservedMicros",
          "spendOrder"
        ],
        "additionalProperties": false
      },
      "LedgerEntry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "entryType": {
            "type": "string",
            "enum": [
              "promo_grant",
              "promo_expire",
              "topup",
              "subscription_grant",
              "subscription_reset",
              "reserve",
              "capture",
              "retention_capture",
              "release",
              "refund",
              "dispute_hold",
              "admin_credit",
              "admin_debit"
            ]
          },
          "deltaPromoMicros": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "deltaSubscriptionMicros": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "deltaPurchasedMicros": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "deltaReservedMicros": {
            "type": "integer",
            "minimum": -9007199254740991,
            "maximum": 9007199254740991
          },
          "jobId": {
            "type": [
              "string",
              "null"
            ]
          },
          "promoGrantId": {
            "type": [
              "string",
              "null"
            ]
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "id",
          "entryType",
          "deltaPromoMicros",
          "deltaSubscriptionMicros",
          "deltaPurchasedMicros",
          "deltaReservedMicros",
          "jobId",
          "promoGrantId",
          "description",
          "createdAt"
        ],
        "additionalProperties": false
      },
      "ListLedgerResponse": {
        "type": "object",
        "properties": {
          "entries": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "entryType": {
                  "type": "string",
                  "enum": [
                    "promo_grant",
                    "promo_expire",
                    "topup",
                    "subscription_grant",
                    "subscription_reset",
                    "reserve",
                    "capture",
                    "retention_capture",
                    "release",
                    "refund",
                    "dispute_hold",
                    "admin_credit",
                    "admin_debit"
                  ]
                },
                "deltaPromoMicros": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "deltaSubscriptionMicros": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "deltaPurchasedMicros": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "deltaReservedMicros": {
                  "type": "integer",
                  "minimum": -9007199254740991,
                  "maximum": 9007199254740991
                },
                "jobId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "promoGrantId": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "description": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                }
              },
              "required": [
                "id",
                "entryType",
                "deltaPromoMicros",
                "deltaSubscriptionMicros",
                "deltaPurchasedMicros",
                "deltaReservedMicros",
                "jobId",
                "promoGrantId",
                "description",
                "createdAt"
              ],
              "additionalProperties": false
            }
          },
          "nextCursor": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "entries",
          "nextCursor"
        ],
        "additionalProperties": false
      },
      "CreateApiKeyRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "description": {
            "type": "string",
            "maxLength": 256
          },
          "environment": {
            "default": "live",
            "type": "string",
            "enum": [
              "live",
              "test"
            ]
          },
          "scopes": {
            "default": [
              "jobs:write",
              "jobs:read"
            ],
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "jobs:write",
                "jobs:read",
                "billing:read",
                "webhooks:manage"
              ]
            }
          },
          "monthlySpendCapMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "defaultBucketId": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "defaultWebhookEndpointId": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "name",
          "environment",
          "scopes"
        ],
        "additionalProperties": false
      },
      "UpdateApiKeyRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "description": {
            "anyOf": [
              {
                "type": "string",
                "maxLength": 256
              },
              {
                "type": "null"
              }
            ]
          },
          "scopes": {
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "jobs:write",
                "jobs:read",
                "billing:read",
                "webhooks:manage"
              ]
            }
          },
          "monthlySpendCapMicros": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "defaultBucketId": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "defaultWebhookEndpointId": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "additionalProperties": false
      },
      "ApiKeySummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "string",
              "null"
            ]
          },
          "prefix": {
            "type": "string"
          },
          "environment": {
            "default": "live",
            "type": "string",
            "enum": [
              "live",
              "test"
            ]
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "jobs:write",
                "jobs:read",
                "billing:read",
                "webhooks:manage"
              ]
            }
          },
          "monthlySpendCapMicros": {
            "default": null,
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "currentMonthSpendMicros": {
            "default": 0,
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "spendPeriodStartAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "defaultBucketId": {
            "type": [
              "string",
              "null"
            ]
          },
          "defaultWebhookEndpointId": {
            "type": [
              "string",
              "null"
            ]
          },
          "lastUsedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "revokedAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "id",
          "name",
          "prefix",
          "environment",
          "scopes",
          "monthlySpendCapMicros",
          "currentMonthSpendMicros",
          "lastUsedAt",
          "revokedAt",
          "createdAt"
        ],
        "additionalProperties": false
      },
      "CreateApiKeyResponse": {
        "type": "object",
        "properties": {
          "apiKey": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "accountId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "description": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "prefix": {
                "type": "string"
              },
              "environment": {
                "default": "live",
                "type": "string",
                "enum": [
                  "live",
                  "test"
                ]
              },
              "scopes": {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "jobs:write",
                    "jobs:read",
                    "billing:read",
                    "webhooks:manage"
                  ]
                }
              },
              "monthlySpendCapMicros": {
                "default": null,
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "currentMonthSpendMicros": {
                "default": 0,
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "spendPeriodStartAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "defaultBucketId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "defaultWebhookEndpointId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "lastUsedAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "revokedAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              }
            },
            "required": [
              "id",
              "name",
              "prefix",
              "environment",
              "scopes",
              "monthlySpendCapMicros",
              "currentMonthSpendMicros",
              "lastUsedAt",
              "revokedAt",
              "createdAt"
            ],
            "additionalProperties": false
          },
          "secretKey": {
            "type": "string"
          }
        },
        "required": [
          "apiKey",
          "secretKey"
        ],
        "additionalProperties": false
      },
      "ApiKeyUsageResponse": {
        "type": "object",
        "properties": {
          "apiKeyId": {
            "type": "string"
          },
          "windowDays": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "totalJobs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "deliveredJobs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "failedJobs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "totalSpendMicros": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "totalSpendUsd": {
            "type": "number",
            "minimum": 0
          },
          "byCategory": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "category": {
                  "type": "string"
                },
                "jobCount": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "spendMicros": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                }
              },
              "required": [
                "category",
                "jobCount",
                "spendMicros"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "apiKeyId",
          "windowDays",
          "totalJobs",
          "deliveredJobs",
          "failedJobs",
          "totalSpendMicros",
          "totalSpendUsd",
          "byCategory"
        ],
        "additionalProperties": false
      },
      "PresignUploadRequest": {
        "type": "object",
        "required": [
          "contentType",
          "bytes"
        ],
        "properties": {
          "filename": {
            "type": "string",
            "default": "upload.jpg"
          },
          "contentType": {
            "type": "string",
            "enum": [
              "image/jpeg",
              "image/jpg",
              "image/png",
              "image/webp",
              "image/avif",
              "image/heic",
              "image/heif",
              "image/gif",
              "image/bmp",
              "image/x-ms-bmp",
              "image/tiff",
              "image/x-icon",
              "image/vnd.microsoft.icon",
              "image/x-tga",
              "image/tga",
              "image/x-targa",
              "image/x-portable-pixmap",
              "image/x-portable-anymap",
              "image/svg+xml",
              "audio/mpeg",
              "audio/mp3",
              "audio/wav",
              "audio/wave",
              "audio/x-wav",
              "audio/mp4",
              "audio/x-m4a",
              "audio/m4a",
              "audio/aac",
              "audio/aacp",
              "audio/x-aac",
              "audio/flac",
              "audio/x-flac",
              "audio/ogg",
              "application/ogg",
              "audio/opus",
              "audio/aiff",
              "audio/x-aiff",
              "audio/webm",
              "audio/x-matroska",
              "audio/x-ms-wma",
              "audio/wma",
              "audio/amr",
              "audio/amr-wb",
              "video/mp4",
              "application/mp4",
              "video/quicktime",
              "video/webm",
              "video/x-matroska",
              "video/matroska",
              "video/x-msvideo",
              "video/avi",
              "video/mp2t",
              "video/x-flv",
              "video/x-m4v",
              "video/3gpp",
              "video/3gpp2",
              "video/ogg"
            ],
            "example": "image/jpeg"
          },
          "bytes": {
            "type": "integer",
            "minimum": 1,
            "maximum": 10737418240,
            "description": "File size in bytes (subject to your plan's per-media limits)."
          }
        }
      },
      "PresignUploadResponse": {
        "type": "object",
        "required": [
          "uploadId",
          "uploadUrl",
          "inputUrl",
          "key",
          "expiresInSeconds"
        ],
        "properties": {
          "uploadId": {
            "type": "string"
          },
          "uploadUrl": {
            "type": "string",
            "format": "uri"
          },
          "inputUrl": {
            "type": "string",
            "format": "uri"
          },
          "key": {
            "type": "string"
          },
          "expiresInSeconds": {
            "type": "integer"
          },
          "requiredHeaders": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "PresignBatchUploadRequest": {
        "type": "object",
        "properties": {
          "items": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "filename": {
                  "default": "upload.jpg",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 255
                },
                "contentType": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128
                },
                "bytes": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "kind": {
                  "type": "string",
                  "enum": [
                    "image",
                    "video",
                    "audio"
                  ]
                }
              },
              "required": [
                "filename",
                "contentType",
                "bytes"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "items"
        ],
        "additionalProperties": false
      },
      "PresignBatchUploadResponse": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "index": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "key": {
                  "type": "string"
                },
                "uploadUrl": {
                  "type": "string",
                  "format": "uri"
                },
                "inputUrl": {
                  "type": "string",
                  "format": "uri"
                },
                "expiresAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                }
              },
              "required": [
                "index",
                "key",
                "uploadUrl",
                "inputUrl",
                "expiresAt"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "items"
        ],
        "additionalProperties": false
      },
      "CreateMultipartUploadRequest": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "minLength": 1,
            "maxLength": 255
          },
          "contentType": {
            "type": "string",
            "minLength": 1,
            "maxLength": 128
          },
          "kind": {
            "default": "video",
            "type": "string",
            "enum": [
              "image",
              "video",
              "audio"
            ]
          },
          "declaredBytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "partSizeBytes": {
            "type": "integer",
            "minimum": 5242880,
            "maximum": 524288000
          }
        },
        "required": [
          "filename",
          "contentType",
          "kind",
          "declaredBytes"
        ],
        "additionalProperties": false
      },
      "CreateMultipartUploadResponse": {
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "partSizeBytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "totalParts": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "uploadId",
          "key",
          "partSizeBytes",
          "totalParts",
          "expiresAt"
        ],
        "additionalProperties": false
      },
      "PresignMultipartPartsRequest": {
        "type": "object",
        "properties": {
          "partNumbers": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          }
        },
        "required": [
          "partNumbers"
        ],
        "additionalProperties": false
      },
      "PresignMultipartPartsResponse": {
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string"
          },
          "parts": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "partNumber": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 100
                },
                "uploadUrl": {
                  "type": "string",
                  "format": "uri"
                },
                "expiresAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                }
              },
              "required": [
                "partNumber",
                "uploadUrl",
                "expiresAt"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "uploadId",
          "parts"
        ],
        "additionalProperties": false
      },
      "CompleteMultipartUploadRequest": {
        "type": "object",
        "properties": {
          "parts": {
            "minItems": 1,
            "maxItems": 100,
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "partNumber": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 100
                },
                "etag": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 256
                }
              },
              "required": [
                "partNumber",
                "etag"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "parts"
        ],
        "additionalProperties": false
      },
      "CompleteMultipartUploadResponse": {
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string"
          },
          "key": {
            "type": "string"
          },
          "inputUrl": {
            "type": "string",
            "format": "uri"
          },
          "bytes": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "uploadId",
          "key",
          "inputUrl",
          "bytes",
          "expiresAt"
        ],
        "additionalProperties": false
      },
      "CreateStorageBucketRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          },
          "provider": {
            "type": "string",
            "enum": [
              "s3",
              "r2",
              "gcs"
            ]
          },
          "bucket": {
            "type": "string",
            "minLength": 3,
            "maxLength": 63,
            "pattern": "^[a-z0-9][a-z0-9._-]{1,61}[a-z0-9]$"
          },
          "region": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64,
            "pattern": "^[a-z0-9-]+$"
          },
          "endpoint": {
            "type": "string",
            "format": "uri"
          },
          "prefix": {
            "type": "string",
            "maxLength": 256
          },
          "accessKeyId": {
            "type": "string",
            "minLength": 4,
            "maxLength": 256
          },
          "secretAccessKey": {
            "type": "string",
            "minLength": 8,
            "maxLength": 512
          }
        },
        "required": [
          "name",
          "provider",
          "bucket",
          "accessKeyId",
          "secretAccessKey"
        ],
        "additionalProperties": false
      },
      "StorageBucketResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "provider": {
            "type": "string",
            "enum": [
              "s3",
              "r2",
              "gcs"
            ]
          },
          "bucket": {
            "type": "string"
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "endpoint": {
            "anyOf": [
              {
                "type": "string",
                "format": "uri"
              },
              {
                "type": "null"
              }
            ]
          },
          "prefix": {
            "type": [
              "string",
              "null"
            ]
          },
          "accessKeyIdPreview": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "id",
          "name",
          "provider",
          "bucket",
          "region",
          "endpoint",
          "prefix",
          "accessKeyIdPreview",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      },
      "ListStorageBucketsResponse": {
        "type": "object",
        "properties": {
          "buckets": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "name": {
                  "type": "string"
                },
                "provider": {
                  "type": "string",
                  "enum": [
                    "s3",
                    "r2",
                    "gcs"
                  ]
                },
                "bucket": {
                  "type": "string"
                },
                "region": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "endpoint": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uri"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "prefix": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "accessKeyIdPreview": {
                  "type": "string"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                }
              },
              "required": [
                "id",
                "name",
                "provider",
                "bucket",
                "region",
                "endpoint",
                "prefix",
                "accessKeyIdPreview",
                "createdAt",
                "updatedAt"
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "buckets"
        ],
        "additionalProperties": false
      },
      "CreateWebhookEndpointRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "events": {
            "default": [
              "*"
            ],
            "minItems": 1,
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "const": "*"
                },
                {
                  "type": "string",
                  "enum": [
                    "job.delivered",
                    "job.failed",
                    "job.partial",
                    "job.rejected",
                    "api_key.cap_reached",
                    "balance.low",
                    "webhook.test"
                  ]
                }
              ]
            }
          },
          "apiKeyId": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "enabled": {
            "default": true,
            "type": "boolean"
          }
        },
        "required": [
          "name",
          "url",
          "events",
          "enabled"
        ],
        "additionalProperties": false
      },
      "UpdateWebhookEndpointRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "minLength": 1,
            "maxLength": 80
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "events": {
            "minItems": 1,
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "const": "*"
                },
                {
                  "type": "string",
                  "enum": [
                    "job.delivered",
                    "job.failed",
                    "job.partial",
                    "job.rejected",
                    "api_key.cap_reached",
                    "balance.low",
                    "webhook.test"
                  ]
                }
              ]
            }
          },
          "apiKeyId": {
            "anyOf": [
              {
                "type": "string",
                "minLength": 1,
                "maxLength": 64
              },
              {
                "type": "null"
              }
            ]
          },
          "enabled": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "WebhookEndpointSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "events": {
            "type": "array",
            "items": {
              "anyOf": [
                {
                  "type": "string",
                  "const": "*"
                },
                {
                  "type": "string",
                  "enum": [
                    "job.delivered",
                    "job.failed",
                    "job.partial",
                    "job.rejected",
                    "api_key.cap_reached",
                    "balance.low",
                    "webhook.test"
                  ]
                }
              ]
            }
          },
          "apiKeyId": {
            "type": [
              "string",
              "null"
            ]
          },
          "enabled": {
            "type": "boolean"
          },
          "hasSecret": {
            "type": "boolean"
          },
          "hasPreviousSecret": {
            "default": false,
            "type": "boolean"
          },
          "previousSecretExpiresAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "id",
          "accountId",
          "name",
          "url",
          "events",
          "apiKeyId",
          "enabled",
          "hasSecret",
          "hasPreviousSecret",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      },
      "CreateWebhookEndpointResponse": {
        "type": "object",
        "properties": {
          "endpoint": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "accountId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "events": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "const": "*"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "job.delivered",
                        "job.failed",
                        "job.partial",
                        "job.rejected",
                        "api_key.cap_reached",
                        "balance.low",
                        "webhook.test"
                      ]
                    }
                  ]
                }
              },
              "apiKeyId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "hasSecret": {
                "type": "boolean"
              },
              "hasPreviousSecret": {
                "default": false,
                "type": "boolean"
              },
              "previousSecretExpiresAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              }
            },
            "required": [
              "id",
              "accountId",
              "name",
              "url",
              "events",
              "apiKeyId",
              "enabled",
              "hasSecret",
              "hasPreviousSecret",
              "createdAt",
              "updatedAt"
            ],
            "additionalProperties": false
          },
          "signingSecret": {
            "type": "string"
          }
        },
        "required": [
          "endpoint",
          "signingSecret"
        ],
        "additionalProperties": false
      },
      "RotateWebhookSecretResponse": {
        "type": "object",
        "properties": {
          "endpoint": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "accountId": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "events": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "string",
                      "const": "*"
                    },
                    {
                      "type": "string",
                      "enum": [
                        "job.delivered",
                        "job.failed",
                        "job.partial",
                        "job.rejected",
                        "api_key.cap_reached",
                        "balance.low",
                        "webhook.test"
                      ]
                    }
                  ]
                }
              },
              "apiKeyId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "enabled": {
                "type": "boolean"
              },
              "hasSecret": {
                "type": "boolean"
              },
              "hasPreviousSecret": {
                "default": false,
                "type": "boolean"
              },
              "previousSecretExpiresAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              }
            },
            "required": [
              "id",
              "accountId",
              "name",
              "url",
              "events",
              "apiKeyId",
              "enabled",
              "hasSecret",
              "hasPreviousSecret",
              "createdAt",
              "updatedAt"
            ],
            "additionalProperties": false
          },
          "signingSecret": {
            "type": "string"
          },
          "previousSecretExpiresAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "endpoint",
          "signingSecret",
          "previousSecretExpiresAt"
        ],
        "additionalProperties": false
      },
      "TestWebhookResponse": {
        "type": "object",
        "properties": {
          "deliveryId": {
            "type": "string"
          },
          "delivered": {
            "type": "boolean"
          },
          "httpStatus": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "latencyMs": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "responseBodySnippet": {
            "type": [
              "string",
              "null"
            ]
          },
          "error": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "deliveryId",
          "delivered",
          "httpStatus",
          "latencyMs",
          "responseBodySnippet",
          "error"
        ],
        "additionalProperties": false
      },
      "WebhookDeliverySummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "accountId": {
            "type": "string"
          },
          "endpointId": {
            "type": [
              "string",
              "null"
            ]
          },
          "jobId": {
            "type": [
              "string",
              "null"
            ]
          },
          "event": {
            "type": "string",
            "enum": [
              "job.delivered",
              "job.failed",
              "job.partial",
              "job.rejected",
              "api_key.cap_reached",
              "balance.low",
              "webhook.test"
            ]
          },
          "url": {
            "type": "string",
            "format": "uri"
          },
          "status": {
            "type": "string",
            "enum": [
              "pending",
              "delivered",
              "failed",
              "dead_lettered"
            ]
          },
          "httpStatus": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": -9007199254740991,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "latencyMs": {
            "anyOf": [
              {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              {
                "type": "null"
              }
            ]
          },
          "responseBodySnippet": {
            "type": [
              "string",
              "null"
            ]
          },
          "attempts": {
            "type": "integer",
            "minimum": 0,
            "maximum": 9007199254740991
          },
          "lastError": {
            "type": [
              "string",
              "null"
            ]
          },
          "nextRetryAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "deadLetteredAt": {
            "anyOf": [
              {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              {
                "type": "null"
              }
            ]
          },
          "replayedFromId": {
            "type": [
              "string",
              "null"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
          }
        },
        "required": [
          "id",
          "jobId",
          "event",
          "url",
          "status",
          "httpStatus",
          "attempts",
          "lastError",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      },
      "ReplayWebhookDeliveryResponse": {
        "type": "object",
        "properties": {
          "delivery": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "accountId": {
                "type": "string"
              },
              "endpointId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "jobId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "event": {
                "type": "string",
                "enum": [
                  "job.delivered",
                  "job.failed",
                  "job.partial",
                  "job.rejected",
                  "api_key.cap_reached",
                  "balance.low",
                  "webhook.test"
                ]
              },
              "url": {
                "type": "string",
                "format": "uri"
              },
              "status": {
                "type": "string",
                "enum": [
                  "pending",
                  "delivered",
                  "failed",
                  "dead_lettered"
                ]
              },
              "httpStatus": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": -9007199254740991,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "latencyMs": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 9007199254740991
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "responseBodySnippet": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "attempts": {
                "type": "integer",
                "minimum": 0,
                "maximum": 9007199254740991
              },
              "lastError": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "nextRetryAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "deadLetteredAt": {
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "replayedFromId": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
              }
            },
            "required": [
              "id",
              "jobId",
              "event",
              "url",
              "status",
              "httpStatus",
              "attempts",
              "lastError",
              "createdAt",
              "updatedAt"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "delivery"
        ],
        "additionalProperties": false
      },
      "ErrorDetail": {
        "type": "object",
        "required": [
          "code",
          "message",
          "retryable",
          "requestId",
          "docsUrl"
        ],
        "properties": {
          "code": {
            "type": "string",
            "example": "validation_error"
          },
          "message": {
            "type": "string"
          },
          "hint": {
            "type": "string"
          },
          "retryable": {
            "type": "boolean"
          },
          "requestId": {
            "type": "string",
            "example": "req_01j..."
          },
          "docsUrl": {
            "type": "string",
            "format": "uri",
            "example": "https://docs.splixir.com/reference/errors#validation_error"
          },
          "details": {}
        }
      },
      "ErrorResponse": {
        "type": "object",
        "required": [
          "error"
        ],
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorDetail"
          }
        }
      }
    }
  },
  "paths": {
    "/health": {
      "get": {
        "tags": [
          "System"
        ],
        "summary": "Health check",
        "security": [],
        "responses": {
          "200": {
            "description": "Service healthy",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "service": {
                      "type": "string"
                    },
                    "environment": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/capabilities": {
      "get": {
        "tags": [
          "Capabilities"
        ],
        "summary": "List all product categories, operations, limits, and pricing",
        "description": "Public unauthenticated discovery endpoint returning machine-readable schemas, formats, limits, and USD rates across all Splixir categories.",
        "security": [],
        "responses": {
          "200": {
            "description": "Full capabilities catalog",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CapabilitiesResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/capabilities/{category}": {
      "get": {
        "tags": [
          "Capabilities"
        ],
        "summary": "Get capabilities for a single category",
        "description": "Returns formats, operations, limits, and pricing for a single category (image, audio, video, render, doc, or ai).",
        "security": [],
        "parameters": [
          {
            "name": "category",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "image",
                "audio",
                "video",
                "render",
                "doc",
                "ai"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Category capability manifest",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CategoryCapability"
                }
              }
            }
          },
          "404": {
            "description": "Unknown capability category",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/probe": {
      "post": {
        "tags": [
          "Probe"
        ],
        "summary": "Probe a remote URL, completed upload, or delivered job output",
        "description": "Inspects headers and metadata of an external HTTPS URL, completed upload ({ uploadId }), or delivered job artifact ({ jobId, output? }) without billing. Requires jobs:read scope.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProbeRequest"
              },
              "examples": {
                "url": {
                  "summary": "Probe a remote URL",
                  "value": {
                    "url": "https://example.com/clip.mp4"
                  }
                },
                "uploadId": {
                  "summary": "Probe a staged upload",
                  "value": {
                    "uploadId": "upl_01j..."
                  }
                },
                "jobOutput": {
                  "summary": "Probe a delivered job artifact",
                  "value": {
                    "jobId": "job_01j...",
                    "output": "default"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Probed media metadata",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProbeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid probe request body",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Missing required jobs:read scope",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Upload or job not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Blocked URL, expired upload, or unavailable job artifact",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/account": {
      "get": {
        "tags": [
          "Account"
        ],
        "summary": "Get authenticated account details, tier, and entitlements",
        "responses": {
          "200": {
            "description": "Account profile and resolved entitlements",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "401": {
            "description": "Authentication required",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Account"
        ],
        "summary": "Update account name, low-balance alert threshold, or monthly spend cap",
        "description": "Console-only mutation. Requires a Console session; API keys cannot modify account settings and receive 403 forbidden_auth_method.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAccountSettingsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated account settings",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AccountResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request payload",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Console session required (API keys cannot mutate account settings)",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/account/concurrency-unlock": {
      "post": {
        "tags": [
          "Account"
        ],
        "summary": "Unlock PAYG concurrency milestones ($50 -> 10, $150 -> 20, $300 -> 30)",
        "description": "Console-only mutation. Self-serve upgrade for Pay-As-You-Go accounts holding at least $50 (10 concurrent jobs), $150 (20 concurrent jobs), or $300 (30 concurrent jobs) in purchased balance. Requires a Console session; API keys receive 403 forbidden_auth_method.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConcurrencyUnlockRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated PAYG concurrency unlock and resolved entitlements",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConcurrencyUnlockResponse"
                }
              }
            }
          },
          "402": {
            "description": "Purchased balance is below the milestone threshold",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Console session required (API keys cannot unlock concurrency)",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/estimate": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "summary": "Estimate USD cost for a job payload without creating a job",
        "description": "Validates the job payload, resolves compute pool and Flex eligibility, and returns an itemized USD cost estimate (compute plus optional custom retainDays surcharge).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateJobRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Pre-flight USD cost estimate",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EstimateJobResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid job payload",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Incompatible operation pools or invalid input reference",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/batch": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "summary": "Submit up to 100 jobs in a single asynchronous batch",
        "description": "Validates and queues 1 to 100 structured jobs asynchronously (wait: false). Returns per-item job objects or errors, with optional stopOnError handling.",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 128
            },
            "description": "Optional batch-level Idempotency-Key derived per item when item.idempotencyKey is omitted."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBatchJobsRequest"
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Batch accepted with per-item submission results",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateBatchJobsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON or invalid batch envelope",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Missing required jobs:write scope",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/status-batch": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "summary": "Poll status and outputs for up to 100 jobs in one request",
        "description": "Deduplicates jobIds and fetches matching jobs and artifacts for the authenticated account in a single lookup, listing unfound IDs in missing[].",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchJobStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Batch job statuses and missing IDs",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BatchJobStatusResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid jobIds payload",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Missing required jobs:read scope",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs": {
      "post": {
        "tags": [
          "Jobs"
        ],
        "summary": "Create a structured media transformation job",
        "description": "Validates inputs and runs structured operations. Supports omitted kind when operations are namespaced (image.*, audio.*, video.*), multi-input compositions (inputs) including audio.concat, audio.mix, video.compose, video.concat, and video.mux, image.composite overlays, animated GIF/WebP frame preservation, multi-output ladders (outputs[]), { url | uploadId | jobId, output? } chaining, custom retainDays (1..30 at $0.002/GB-day beyond included retention), and Idempotency-Key deduplication. Constraints: h264 supports 8-bit only (chromaTier 420_10bit requires hevc or av1), video.captions accepts exactly one of subtitleContent, subtitleUrl, subtitleUploadId, or subtitleJobId, audio duration caps at 300s Free / 7200s Paid ($0.24 job cap), paid images support up to 100 MiB and ICO sizes up to 512px. Failed jobs bill $0.00.",
        "parameters": [
          {
            "name": "wait",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            },
            "description": "Wait up to 25s for synchronous completion and return 200 OK."
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 128
            },
            "description": "Unique request key (24h window). Matching payload returns original job with Idempotent-Replayed: true; differing payload returns 409 idempotency_key_mismatch."
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/CreateJobRequest"
                  },
                  {
                    "$ref": "#/components/schemas/CreateImageJobRequest"
                  },
                  {
                    "$ref": "#/components/schemas/CreateAudioJobRequest"
                  },
                  {
                    "$ref": "#/components/schemas/CreateVideoJobRequest"
                  }
                ]
              },
              "examples": {
                "namespacedImage": {
                  "summary": "Namespaced image resize and WebP convert (kind omitted)",
                  "value": {
                    "input": {
                      "url": "https://example.com/photo.jpg"
                    },
                    "operations": [
                      {
                        "type": "image.resize",
                        "width": 1200,
                        "fit": "inside",
                        "withoutEnlargement": true
                      },
                      {
                        "type": "image.strip_metadata",
                        "keepOrientation": true,
                        "keepColorProfile": true
                      },
                      {
                        "type": "image.convert",
                        "format": "webp",
                        "quality": 82
                      }
                    ],
                    "retainDays": 7,
                    "wait": true
                  }
                },
                "chainedMultiOutputVideo": {
                  "summary": "Chained multi-output video ladder",
                  "value": {
                    "input": {
                      "jobId": "job_parent123",
                      "output": "master"
                    },
                    "outputs": [
                      {
                        "label": "1080p",
                        "operations": [
                          {
                            "type": "video.resize",
                            "resolution": "1080p"
                          },
                          {
                            "type": "video.transcode",
                            "codec": "h264",
                            "container": "mp4"
                          }
                        ],
                        "format": "mp4"
                      },
                      {
                        "label": "thumb",
                        "operations": [
                          {
                            "type": "video.thumbnail",
                            "timestampSeconds": 2,
                            "format": "webp"
                          }
                        ],
                        "format": "webp"
                      }
                    ]
                  }
                },
                "imageComposite": {
                  "summary": "Composite an overlay image onto a base image",
                  "value": {
                    "input": {
                      "url": "https://example.com/base.png"
                    },
                    "operations": [
                      {
                        "type": "image.composite",
                        "imageUrl": "https://example.com/badge.png",
                        "position": "bottom_right",
                        "scale": 0.25,
                        "opacity": 0.9,
                        "marginPx": 24
                      }
                    ],
                    "wait": true
                  }
                },
                "audioConcat": {
                  "summary": "Concatenate multiple audio inputs with crossfade",
                  "value": {
                    "inputs": [
                      "https://example.com/intro.mp3",
                      "https://example.com/episode.mp3"
                    ],
                    "operations": [
                      {
                        "type": "audio.concat",
                        "crossfadeSeconds": 1.5,
                        "normalize": true
                      },
                      {
                        "type": "audio.convert",
                        "format": "mp3",
                        "bitrateKbps": 192
                      }
                    ]
                  }
                },
                "audioMix": {
                  "summary": "Mix base voice track with looping ducked music overlay",
                  "value": {
                    "inputs": {
                      "base": "https://example.com/voice.wav",
                      "overlay": "https://example.com/music.mp3"
                    },
                    "operations": [
                      {
                        "type": "audio.mix",
                        "overlayVolumeDb": -14,
                        "ducking": true,
                        "loopOverlay": true
                      }
                    ]
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Job completed synchronously within 25s",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-Splixir-Concurrency-Active": {
                "$ref": "#/components/headers/X-Splixir-Concurrency-Active"
              },
              "X-Splixir-Concurrency-Limit": {
                "$ref": "#/components/headers/X-Splixir-Concurrency-Limit"
              },
              "Idempotent-Replayed": {
                "description": "Present and set to true when replaying a matching Idempotency-Key.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                }
              }
            }
          },
          "202": {
            "description": "Job accepted and queued for asynchronous processing",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "X-Splixir-Concurrency-Active": {
                "$ref": "#/components/headers/X-Splixir-Concurrency-Active"
              },
              "X-Splixir-Concurrency-Limit": {
                "$ref": "#/components/headers/X-Splixir-Concurrency-Limit"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                }
              }
            }
          },
          "400": {
            "description": "Malformed JSON or schema validation error",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient wallet balance or API key monthly spend cap exceeded",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Feature requires Scale/Studio plan or higher retention allowance",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Idempotency-Key reused with a different request payload",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Input rejected during validation, incompatible operation pools, or expiring parent artifact ($0 billed)",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Rate limit or concurrent job limit exceeded",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Jobs"
        ],
        "summary": "List jobs for the authenticated account",
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "image",
                "audio",
                "video",
                "render",
                "doc",
                "ai"
              ]
            }
          },
          {
            "name": "kind",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "image",
                "video",
                "audio"
              ]
            },
            "description": "Legacy alias for category."
          },
          {
            "name": "apiKeyId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "priority",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "standard",
                "flex"
              ]
            }
          },
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string",
              "maxLength": 128
            },
            "description": "Search by job ID, input URL, format, or error code."
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "createdAt",
                "costMicros",
                "state",
                "category",
                "durationSeconds"
              ],
              "default": "createdAt"
            }
          },
          {
            "name": "sortDir",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ],
              "default": "desc"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 20
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated job list",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListJobsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/{id}": {
      "get": {
        "tags": [
          "Jobs"
        ],
        "summary": "Get a job by ID",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job details including output downloadUrl, outputs[] artifacts, and verificationReport",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                }
              }
            }
          },
          "404": {
            "description": "Job not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Jobs"
        ],
        "summary": "Cancel an active job ($0 billed)",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job canceled",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JobResponse"
                }
              }
            }
          },
          "404": {
            "description": "Job not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Delivered or partial jobs cannot be canceled",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/jobs/{id}/report": {
      "get": {
        "tags": [
          "Jobs"
        ],
        "summary": "Get the VerificationReport for a job",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Verification report",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MediaVerificationReport"
                }
              }
            }
          },
          "404": {
            "description": "Job or report not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Job has not completed yet",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/uploads": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Create a direct upload URL for local files",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PresignUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Presigned PUT uploadUrl, uploadId, and readable inputUrl",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresignUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid file size or content type",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient wallet balance",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/uploads/presign": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Create a direct upload URL for local files (alias for POST /v1/uploads)",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PresignUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Presigned PUT uploadUrl, uploadId, and readable inputUrl",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresignUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid file size or content type",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient wallet balance",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/uploads/presign-batch": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Create presigned PUT and GET URLs for up to 100 local files in one call",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PresignBatchUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Presigned PUT uploadUrl and readable inputUrl for every item",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresignBatchUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid file size or content type",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient wallet balance",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Item contentType does not match declared kind",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/uploads/multipart/create": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Initiate a multipart upload session for large media files",
        "description": "Initiates a multipart upload session. Individual part sizes are supported from 5 MiB up to 500 MiB (MAX_MULTIPART_PART_BYTES).",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMultipartUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Multipart upload session details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateMultipartUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid upload size or part configuration",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "402": {
            "description": "Insufficient wallet balance",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/uploads/multipart/{uploadId}/parts": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Create signed part upload URLs for a multipart upload",
        "parameters": [
          {
            "name": "uploadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PresignMultipartPartsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Presigned part upload URLs",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PresignMultipartPartsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Upload session not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "410": {
            "description": "Upload session expired",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/uploads/multipart/{uploadId}/complete": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Finalize a multipart upload and obtain uploadId and inputUrl",
        "parameters": [
          {
            "name": "uploadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CompleteMultipartUploadRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Completed multipart upload with inputUrl",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteMultipartUploadResponse"
                }
              }
            }
          },
          "400": {
            "description": "Incomplete or duplicate parts",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Upload session not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/uploads/multipart/{uploadId}/abort": {
      "post": {
        "tags": [
          "Uploads"
        ],
        "summary": "Abort an active multipart upload",
        "parameters": [
          {
            "name": "uploadId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Multipart upload aborted"
          },
          "404": {
            "description": "Upload session not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Completed upload cannot be aborted",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/buckets": {
      "get": {
        "tags": [
          "Buckets"
        ],
        "summary": "List saved output storage buckets",
        "responses": {
          "200": {
            "description": "Saved buckets",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListStorageBucketsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Buckets"
        ],
        "summary": "Save an encrypted S3-compatible or GCS output storage bucket",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStorageBucketRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Bucket saved",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "bucket": {
                      "$ref": "#/components/schemas/StorageBucketResponse"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Bucket limit reached for account tier",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "409": {
            "description": "Bucket name already exists",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/buckets/{id}": {
      "patch": {
        "tags": [
          "Buckets"
        ],
        "summary": "Update a saved storage bucket",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "region": {
                    "type": "string",
                    "nullable": true
                  },
                  "endpoint": {
                    "type": "string",
                    "format": "uri",
                    "nullable": true
                  },
                  "prefix": {
                    "type": "string",
                    "nullable": true
                  },
                  "accessKeyId": {
                    "type": "string",
                    "minLength": 4,
                    "maxLength": 256
                  },
                  "secretAccessKey": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 512
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Bucket updated",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "bucket": {
                      "$ref": "#/components/schemas/StorageBucketResponse"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Bucket not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Buckets"
        ],
        "summary": "Delete a saved storage bucket",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Bucket deleted"
          },
          "404": {
            "description": "Bucket not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/keys": {
      "get": {
        "tags": [
          "Keys"
        ],
        "summary": "List API keys for the authenticated account",
        "responses": {
          "200": {
            "description": "API keys list",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "keys": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/ApiKeySummary"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Keys"
        ],
        "summary": "Create a live scoped API key",
        "description": "Console-only mutation. Requires a Console session; API keys cannot create API keys and receive 403 forbidden_auth_method.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateApiKeyRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Created live API key (secretKey is shown once)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateApiKeyResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid request or unavailable test environment",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "403": {
            "description": "Console session required, active API key limit reached, or spend caps require paid tier",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/keys/{id}": {
      "patch": {
        "tags": [
          "Keys"
        ],
        "summary": "Update API key name, scopes, monthly spend cap, or default bindings",
        "description": "Console-only mutation. Requires a Console session; API keys cannot modify API keys and receive 403 forbidden_auth_method.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateApiKeyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated API key",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "apiKey": {
                      "$ref": "#/components/schemas/ApiKeySummary"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Console session required",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "API key, default bucket, or default webhook not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Keys"
        ],
        "summary": "Revoke an API key",
        "description": "Console-only mutation. Requires a Console session; API keys cannot revoke API keys and receive 403 forbidden_auth_method.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "API key revoked",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "revoked": {
                      "type": "boolean"
                    },
                    "id": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "Console session required",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "API key not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/keys/{id}/usage": {
      "get": {
        "tags": [
          "Keys"
        ],
        "summary": "Get per-key spend, job counts, and category breakdown",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 365,
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Per-key usage summary",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiKeyUsageResponse"
                }
              }
            }
          },
          "404": {
            "description": "API key not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "List webhook endpoints and recent deliveries",
        "responses": {
          "200": {
            "description": "Webhook endpoints and recent delivery attempts",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "endpoints": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/WebhookEndpointSummary"
                      }
                    },
                    "deliveries": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/WebhookDeliverySummary"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Create a webhook endpoint with event subscriptions and optional API key filter",
        "description": "Webhook URLs must use https://.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateWebhookEndpointRequest"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Webhook endpoint created (signingSecret shown once)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateWebhookEndpointResponse"
                }
              }
            }
          },
          "422": {
            "description": "Invalid, non-https://, or blocked webhook URL",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{id}": {
      "patch": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Update a webhook endpoint",
        "description": "Updated webhook URLs must use https://.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWebhookEndpointRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Updated webhook endpoint",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "endpoint": {
                      "$ref": "#/components/schemas/WebhookEndpointSummary"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "Webhook endpoint not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Delete a webhook endpoint",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook endpoint deleted"
          },
          "404": {
            "description": "Webhook endpoint not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{id}/rotate-secret": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Rotate a webhook signing secret with a 24-hour dual-secret grace period",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "New signing secret and previous secret expiration timestamp",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateWebhookSecretResponse"
                }
              }
            }
          },
          "404": {
            "description": "Webhook endpoint not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/{id}/test": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Send a signed webhook.test ping and inspect status and latency",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Live test delivery diagnostic result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestWebhookResponse"
                }
              }
            }
          },
          "404": {
            "description": "Webhook endpoint not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "422": {
            "description": "Blocked webhook URL",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/deliveries": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "List webhook delivery attempts with status, latency, and response snippets",
        "parameters": [
          {
            "name": "endpointId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "pending",
                "delivered",
                "failed",
                "dead_lettered"
              ]
            }
          },
          {
            "name": "event",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook deliveries",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "deliveries": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/WebhookDeliverySummary"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/webhooks/deliveries/{id}/replay": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Replay a webhook delivery",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook delivery replayed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReplayWebhookDeliveryResponse"
                }
              }
            }
          },
          "403": {
            "description": "Replay window expired or plan upgrade required",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "404": {
            "description": "Delivery not found",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "429": {
            "description": "Replay limit exceeded",
            "headers": {
              "X-Request-Id": {
                "$ref": "#/components/headers/X-Request-Id"
              },
              "Retry-After": {
                "description": "Seconds to wait before retrying.",
                "schema": {
                  "type": "integer"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/balance": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Get current wallet balance breakdown and tier entitlements",
        "responses": {
          "200": {
            "description": "Current wallet balance and resolved entitlements",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BalanceResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/ledger": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "List keyset-paginated wallet ledger entries",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 100,
              "default": 25
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Paginated wallet ledger entries",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListLedgerResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v1/account/entitlements": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Get live account tier and plan entitlements",
        "responses": {
          "200": {
            "description": "Current tier entitlements",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResolvedEntitlements"
                }
              }
            }
          }
        }
      }
    },
    "/v1/usage": {
      "get": {
        "tags": [
          "Billing"
        ],
        "summary": "Get usage summary over a rolling day window",
        "parameters": [
          {
            "name": "days",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "default": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Usage summary",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "periodDays": {
                      "type": "integer"
                    },
                    "totalJobs": {
                      "type": "integer"
                    },
                    "deliveredJobs": {
                      "type": "integer"
                    },
                    "failedJobs": {
                      "type": "integer"
                    },
                    "rejectedJobs": {
                      "type": "integer"
                    },
                    "totalCostMicros": {
                      "type": "integer"
                    },
                    "totalCostUsd": {
                      "type": "number"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-splixir-limits": {
    "minRetainDays": 1,
    "maxRetainDays": 30,
    "maxImageBytesFree": 26214400,
    "maxImageBytesPaid": 104857600,
    "maxIcoSizePx": 512,
    "maxAudioBytesFree": 52428800,
    "maxAudioBytesPaid": 524288000,
    "maxAudioDurationSecondsFree": 300,
    "maxAudioDurationSecondsPaid": 7200,
    "audioMaxBillableMicros": 240000,
    "maxVideoBytesPaid": 10737418240,
    "maxVideoDurationSecondsPaid": 7200,
    "maxMultipartPartBytes": 524288000,
    "maxBatchSize": 100
  },
  "x-splixir-mcp": {
    "endpoint": "https://mcp.splixir.com",
    "transport": "streamable-http",
    "protocolVersions": [
      "2026-07-28",
      "2025-11-25",
      "2025-06-18",
      "2025-03-26",
      "2024-11-05"
    ],
    "toolsCount": 16
  }
}
