{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slideforge-dev/json-schema/slideforge-dev-repair-request-schema.json",
  "title": "RepairRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slideforge-dev-repair-api-openapi.yml#/components/schemas/RepairRequest",
  "properties": {
    "job_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Job Id",
      "description": "A prior SlideForge slide/deck job to inspect"
    },
    "pptx_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pptx Url",
      "description": "HTTPS URL to a .pptx"
    },
    "pptx_base64": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pptx Base64",
      "description": "Base64-encoded .pptx (≤25 MB decoded)"
    },
    "actions": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Actions",
      "description": "Subset of ['shrink_to_fit', 'raise_min_font', 'remove_off_canvas', 'fix_contrast'] (default: all)"
    },
    "dry_run": {
      "type": "boolean",
      "title": "Dry Run",
      "description": "Plan the fixes without mutating anything (free preview)",
      "default": false
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Job name for the repaired deck"
    }
  },
  "type": "object"
}