{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-dominant-color-result-schema.json",
  "title": "DominantColorResult",
  "description": "Result of performing a get dominant color operation",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-info-api-openapi.yml#/components/schemas/DominantColorResult",
  "type": "object",
  "properties": {
    "Successful": {
      "description": "True if the operation was successful, false otherwise",
      "type": "boolean"
    },
    "DominantColors": {
      "description": "Dominant colors in the image, in order where most dominant color is in the first index position (0), the second most-dominant color is in index position 1 and so on",
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColorResult"
      }
    }
  },
  "$defs": {
    "ColorResult": {
      "description": "Individual color",
      "type": "object",
      "properties": {
        "R": {
          "format": "int32",
          "description": "Red (R) channel pixel value of this color",
          "type": "integer"
        },
        "G": {
          "format": "int32",
          "description": "Green (G) channel pixel value of this color",
          "type": "integer"
        },
        "B": {
          "format": "int32",
          "description": "Blue (B) channel pixel value of this color",
          "type": "integer"
        }
      }
    }
  }
}