{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-media-information-schema.json",
  "title": "MediaInformation",
  "description": "Result of retrieving information about a video or audio file",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-video-api-openapi.yml#/components/schemas/MediaInformation",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "FileFormat": {
      "description": "The file's short format name",
      "type": "string"
    },
    "FileFormatFull": {
      "description": "The file's full format name",
      "type": "string"
    },
    "ValidFileFormats": {
      "description": "A list of the file's valid formats",
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "Width": {
      "format": "int32",
      "description": "The video's width, if file is a video",
      "type": "integer"
    },
    "Height": {
      "format": "int32",
      "description": "The video's height, if file is a video",
      "type": "integer"
    },
    "Size": {
      "format": "int32",
      "description": "The file's size in bytes",
      "type": "integer"
    },
    "BitRate": {
      "format": "int32",
      "description": "The file's bit rate",
      "type": "integer"
    },
    "Duration": {
      "format": "double",
      "description": "The file's duration in seconds",
      "type": "number"
    },
    "StartTime": {
      "format": "double",
      "description": "The file's media start time",
      "type": "number"
    }
  }
}