{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slideforge-dev/json-schema/slideforge-dev-deck-update-request-schema.json",
  "title": "DeckUpdateRequest",
  "description": "PATCH /v1/deck/{deck_id} request body.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slideforge-dev-deck-api-openapi.yml#/components/schemas/DeckUpdateRequest",
  "properties": {
    "replace": {
      "items": {
        "$ref": "#/$defs/SlideReplacement"
      },
      "type": "array",
      "title": "Replace"
    },
    "title": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Title"
    },
    "author": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Author"
    },
    "slide_numbers": {
      "type": "boolean",
      "title": "Slide Numbers",
      "default": true
    }
  },
  "type": "object",
  "required": [
    "replace"
  ],
  "$defs": {
    "SlideReplacement": {
      "properties": {
        "position": {
          "type": "integer",
          "title": "Position"
        },
        "job_id": {
          "type": "string",
          "title": "Job Id"
        }
      },
      "type": "object",
      "required": [
        "position",
        "job_id"
      ],
      "title": "SlideReplacement",
      "description": "One slide to swap in a deck."
    }
  }
}