{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-image-metadata-schema.json",
  "title": "ImageMetadata",
  "description": "Metadata from an image",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-info-api-openapi.yml#/components/schemas/ImageMetadata",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "IsValidImage": {
      "description": "True if the input image is a valid image file, false otherwise",
      "type": "boolean"
    },
    "FileFormat": {
      "description": "File format of the image",
      "type": "string"
    },
    "Width": {
      "format": "int32",
      "description": "Width of the image in pixels",
      "type": "integer"
    },
    "Height": {
      "format": "int32",
      "description": "Height of the image in pixels",
      "type": "integer"
    },
    "BitDepth": {
      "format": "int32",
      "description": "Bits per pixel",
      "type": "integer"
    },
    "HasTransparency": {
      "description": "True if the image has transaprency in the form of an alpha channel, false otherwise",
      "type": "boolean"
    },
    "ColorSpace": {
      "description": "Color space of the image",
      "type": "string"
    },
    "ExifProfileName": {
      "description": "Name of the EXIF profile used",
      "type": "string"
    },
    "ExifValues": {
      "description": "EXIF tags and values embedded in the image",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ImageMetadataExifValue"
      }
    }
  },
  "$defs": {
    "ImageMetadataExifValue": {
      "description": "EXIF tag and value",
      "type": "object",
      "properties": {
        "Tag": {
          "description": "Tag name for the EXIF value",
          "type": "string"
        },
        "DataType": {
          "description": "Date type of the EXIF value",
          "type": "string"
        },
        "DataValue": {
          "description": "Value, formatted as a string of the EXIF value",
          "type": "string"
        }
      }
    }
  }
}