{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-job-status-result-schema.json",
  "title": "JobStatusResult",
  "description": "Result of performing a batch job operation",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-splitdocument-api-openapi.yml#/components/schemas/JobStatusResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation to check the status of the job was successful, false otherwise",
      "type": "boolean"
    },
    "AsyncJobStatus": {
      "description": "Returns the job status of the Async Job, if applicable.  Possible states are STARTED and COMPLETED",
      "type": "string"
    },
    "AsyncJobID": {
      "description": "When the job exceeds 25 pages, an Async Job ID is returned.  Use the CheckPdfOcrJobStatus API to check on the status of this job using the AsyncJobID and get the result when it finishes",
      "type": "string"
    },
    "PptxResult": {
      "$ref": "#/$defs/SplitPptxPresentationResult",
      "description": "PowerPoint split result (if applicable)"
    },
    "ErrorMessage": {
      "description": "Error message (if any)",
      "type": "string"
    }
  },
  "$defs": {
    "PresentationResult": {
      "description": "A single PowerPoint PPTX file corresponding to one slide in the original presentation",
      "type": "object",
      "properties": {
        "SlideNumber": {
          "format": "int32",
          "description": "Worksheet number of the converted page, starting with 1 for the left-most worksheet",
          "type": "integer"
        },
        "URL": {
          "description": "URL to the PPTX file of this slide; file is stored in an in-memory cache and will be deleted",
          "type": "string"
        },
        "PresentationContents": {
          "format": "byte",
          "description": "Contents of the presentation in bytes",
          "type": "string"
        }
      }
    },
    "SplitPptxPresentationResult": {
      "description": "The result of splitting a presentation into individual PowerPoint PPTX slides",
      "type": "object",
      "properties": {
        "ResultPresentations": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PresentationResult"
          }
        },
        "Successful": {
          "description": "True if the operation was successful, false otherwise",
          "type": "boolean"
        }
      }
    }
  }
}