{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-autodetect-get-info-result-schema.json",
  "title": "AutodetectGetInfoResult",
  "description": "Result of an autodetect/get-info operation",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-convertdocument-api-openapi.yml#/components/schemas/AutodetectGetInfoResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "DetectedFileExtension": {
      "description": "Detected file extension of the file format, with a leading period",
      "type": "string"
    },
    "DetectedMimeType": {
      "description": "MIME type of this file extension",
      "type": "string"
    },
    "PageCount": {
      "format": "int64",
      "description": "Number of pages in a page-based document; for presentations, this is the number of slides and for a spreadsheet this is the number of worksheets.  Contains 0 when the page count cannot be determined, or if the concept of page count does not apply (e.g. for an image)",
      "type": "integer"
    },
    "Author": {
      "description": "User name of the creator/author of the document, if available, null if not available",
      "type": "string"
    },
    "DateModified": {
      "format": "date-time",
      "description": "The timestamp that the document was last modified, if available, null if not available",
      "type": "string"
    },
    "AlternateFileTypeCandidates": {
      "description": "Alternate file type options and their probability",
      "type": "array",
      "items": {
        "$ref": "#/$defs/AlternateFileFormatCandidate"
      }
    }
  },
  "$defs": {
    "AlternateFileFormatCandidate": {
      "description": "Alternate file format possibility",
      "type": "object",
      "properties": {
        "Probability": {
          "format": "double",
          "description": "Probability that this extension is the right one; possible values are between 0.0 (lowest confidence) and 1.0 (highest confidence)",
          "type": "number"
        },
        "DetectedFileExtension": {
          "description": "Detected file extension of the file format, with a leading period",
          "type": "string"
        },
        "DetectedMimeType": {
          "description": "MIME type of this file extension",
          "type": "string"
        }
      }
    }
  }
}