{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-get-celebrity-recognition-response-schema.json",
  "title": "GetCelebrityRecognitionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-celebrity-recognition-api-openapi.yml#/components/schemas/GetCelebrityRecognitionResponse",
  "type": "object",
  "properties": {
    "JobStatus": {
      "type": "string",
      "enum": [
        "IN_PROGRESS",
        "SUCCEEDED",
        "FAILED"
      ],
      "description": "The current status of the celebrity recognition job."
    },
    "StatusMessage": {
      "type": "string",
      "description": "If the job fails, StatusMessage provides a descriptive error message."
    },
    "VideoMetadata": {
      "$ref": "#/$defs/VideoMetadata"
    },
    "NextToken": {
      "type": "string",
      "description": "If the response is truncated, Amazon Rekognition Video returns this token that you can use in the subsequent request to retrieve the next set of celebrities."
    },
    "Celebrities": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CelebrityRecognition"
      },
      "description": "Array of celebrities recognized in the video."
    },
    "JobId": {
      "type": "string",
      "description": "Job identifier for the celebrity recognition operation for which you want to obtain results. The job identifer is returned by an initial call to StartCelebrityRecognition."
    },
    "Video": {
      "$ref": "#/$defs/Video"
    },
    "JobTag": {
      "type": "string",
      "description": "A job identifier specified in the call to StartCelebrityRecognition and returned in the job completion notification sent to your Amazon Simple Notification Service topic."
    }
  },
  "$defs": {
    "AgeRange": {
      "type": "object",
      "properties": {
        "Low": {
          "type": "integer",
          "description": "The lowest estimated age."
        },
        "High": {
          "type": "integer",
          "description": "The highest estimated age."
        }
      }
    },
    "Beard": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "Boolean value that indicates whether the face has beard or not."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "BoundingBox": {
      "type": "object",
      "properties": {
        "Width": {
          "type": "number",
          "description": "Width of the bounding box as a ratio of the overall image width."
        },
        "Height": {
          "type": "number",
          "description": "Height of the bounding box as a ratio of the overall image height."
        },
        "Left": {
          "type": "number",
          "description": "Left coordinate of the bounding box as a ratio of overall image width."
        },
        "Top": {
          "type": "number",
          "description": "Top coordinate of the bounding box as a ratio of overall image height."
        }
      }
    },
    "CelebrityDetail": {
      "type": "object",
      "properties": {
        "Urls": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An array of URLs pointing to additional celebrity information."
        },
        "Name": {
          "type": "string",
          "description": "The name of the celebrity."
        },
        "Id": {
          "type": "string",
          "description": "The unique identifier for the celebrity."
        },
        "Confidence": {
          "type": "number",
          "description": "The confidence, in percentage, that Amazon Rekognition has that the recognized face is the celebrity."
        },
        "BoundingBox": {
          "$ref": "#/$defs/BoundingBox"
        },
        "Face": {
          "$ref": "#/$defs/FaceDetail"
        },
        "KnownGender": {
          "$ref": "#/$defs/KnownGender"
        }
      }
    },
    "CelebrityRecognition": {
      "type": "object",
      "properties": {
        "Timestamp": {
          "type": "integer",
          "description": "The time, in milliseconds from the start of the video, that the celebrity was recognized. Note that Timestamp is not guaranteed to be accurate to the individual frame where the celebrity first appears."
        },
        "Celebrity": {
          "$ref": "#/$defs/CelebrityDetail"
        }
      }
    },
    "Emotion": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "HAPPY",
            "SAD",
            "ANGRY",
            "CONFUSED",
            "DISGUSTED",
            "SURPRISED",
            "CALM",
            "UNKNOWN",
            "FEAR"
          ],
          "description": "Type of emotion detected."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "EyeDirection": {
      "type": "object",
      "properties": {
        "Yaw": {
          "type": "number",
          "description": "Value representing eye direction on the yaw axis."
        },
        "Pitch": {
          "type": "number",
          "description": "Value representing eye direction on the pitch axis."
        },
        "Confidence": {
          "type": "number",
          "description": "The confidence that the service has in its predicted eye direction."
        }
      }
    },
    "EyeOpen": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "Boolean value that indicates whether the eyes on the face are open."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "Eyeglasses": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "Boolean value that indicates whether the face is wearing eye glasses or not."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "FaceDetail": {
      "type": "object",
      "properties": {
        "BoundingBox": {
          "$ref": "#/$defs/BoundingBox"
        },
        "AgeRange": {
          "$ref": "#/$defs/AgeRange"
        },
        "Smile": {
          "$ref": "#/$defs/Smile"
        },
        "Eyeglasses": {
          "$ref": "#/$defs/Eyeglasses"
        },
        "Sunglasses": {
          "$ref": "#/$defs/Sunglasses"
        },
        "Gender": {
          "$ref": "#/$defs/Gender"
        },
        "Beard": {
          "$ref": "#/$defs/Beard"
        },
        "Mustache": {
          "$ref": "#/$defs/Mustache"
        },
        "EyesOpen": {
          "$ref": "#/$defs/EyeOpen"
        },
        "MouthOpen": {
          "$ref": "#/$defs/MouthOpen"
        },
        "Emotions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Emotion"
          },
          "description": "The emotions that appear to be expressed on the face, and the confidence level in the determination. The API is only making a determination of the physical appearance of a person's face. It is not a determination of the person’s internal emotional state and should not be used in such a way. For example, a person pretending to have a sad face might not be sad emotionally."
        },
        "Landmarks": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Landmark"
          },
          "description": "Indicates the location of landmarks on the face. Default attribute."
        },
        "Pose": {
          "$ref": "#/$defs/Pose"
        },
        "Quality": {
          "$ref": "#/$defs/ImageQuality"
        },
        "Confidence": {
          "type": "number",
          "description": "Confidence level that the bounding box contains a face (and not a different object such as a tree). Default attribute."
        },
        "FaceOccluded": {
          "$ref": "#/$defs/FaceOccluded"
        },
        "EyeDirection": {
          "$ref": "#/$defs/EyeDirection"
        }
      }
    },
    "FaceOccluded": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others."
        },
        "Confidence": {
          "type": "number",
          "description": "The confidence that the service has detected the presence of a face occlusion."
        }
      }
    },
    "Gender": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "string",
          "enum": [
            "Male",
            "Female"
          ],
          "description": "The predicted gender of the face."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the prediction."
        }
      }
    },
    "ImageQuality": {
      "type": "object",
      "properties": {
        "Brightness": {
          "type": "number",
          "description": "Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image."
        },
        "Sharpness": {
          "type": "number",
          "description": "Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image."
        }
      }
    },
    "KnownGender": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "Male",
            "Female",
            "Nonbinary",
            "Unlisted"
          ],
          "description": "A string value of the KnownGender info about the Celebrity."
        }
      }
    },
    "Landmark": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "eyeLeft",
            "eyeRight",
            "nose",
            "mouthLeft",
            "mouthRight",
            "leftEyeBrowLeft",
            "leftEyeBrowRight",
            "leftEyeBrowUp",
            "rightEyeBrowLeft",
            "rightEyeBrowRight",
            "rightEyeBrowUp",
            "leftEyeLeft",
            "leftEyeRight",
            "leftEyeUp",
            "leftEyeDown",
            "rightEyeLeft",
            "rightEyeRight",
            "rightEyeUp",
            "rightEyeDown",
            "noseLeft",
            "noseRight",
            "mouthUp",
            "mouthDown",
            "leftPupil",
            "rightPupil",
            "upperJawlineLeft",
            "midJawlineLeft",
            "chinBottom",
            "midJawlineRight",
            "upperJawlineRight"
          ],
          "description": "Type of landmark."
        },
        "X": {
          "type": "number",
          "description": "The x-coordinate of the landmark expressed as a ratio of the width of the image. The x-coordinate is measured from the left-side of the image. For example, if the image is 700 pixels wide and the x-coordinate of the landmark is at 350 pixels, this value is 0.5."
        },
        "Y": {
          "type": "number",
          "description": "The y-coordinate of the landmark expressed as a ratio of the height of the image. The y-coordinate is measured from the top of the image. For example, if the image height is 200 pixels and the y-coordinate of the landmark is at 50 pixels, this value is 0.25."
        }
      }
    },
    "MouthOpen": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "Boolean value that indicates whether the mouth on the face is open or not."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "Mustache": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "Boolean value that indicates whether the face has mustache or not."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "Pose": {
      "type": "object",
      "properties": {
        "Roll": {
          "type": "number",
          "description": "Value representing the face rotation on the roll axis."
        },
        "Yaw": {
          "type": "number",
          "description": "Value representing the face rotation on the yaw axis."
        },
        "Pitch": {
          "type": "number",
          "description": "Value representing the face rotation on the pitch axis."
        }
      }
    },
    "S3Object": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "Name of the S3 bucket."
        },
        "Name": {
          "type": "string",
          "description": "S3 object key name."
        },
        "Version": {
          "type": "string",
          "description": "If the bucket is versioning enabled, you can specify the object version."
        }
      }
    },
    "Smile": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "Boolean value that indicates whether the face is smiling or not."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "Sunglasses": {
      "type": "object",
      "properties": {
        "Value": {
          "type": "boolean",
          "description": "Boolean value that indicates whether the face is wearing sunglasses or not."
        },
        "Confidence": {
          "type": "number",
          "description": "Level of confidence in the determination."
        }
      }
    },
    "Video": {
      "type": "object",
      "properties": {
        "S3Object": {
          "$ref": "#/$defs/S3Object"
        }
      }
    },
    "VideoMetadata": {
      "type": "object",
      "properties": {
        "Codec": {
          "type": "string",
          "description": "Type of compression used in the analyzed video."
        },
        "DurationMillis": {
          "type": "integer",
          "description": "Length of the video in milliseconds."
        },
        "Format": {
          "type": "string",
          "description": "Format of the analyzed video. Possible values are MP4, MOV and AVI."
        },
        "FrameRate": {
          "type": "number",
          "description": "Number of frames per second in the video."
        },
        "FrameHeight": {
          "type": "integer",
          "description": "Vertical pixel dimension of the video."
        },
        "FrameWidth": {
          "type": "integer",
          "description": "Horizontal pixel dimension of the video."
        },
        "ColorRange": {
          "type": "string",
          "enum": [
            "FULL",
            "LIMITED"
          ],
          "description": "A description of the range of luminance values in a video, either LIMITED (16 to 235) or FULL (0 to 255)."
        }
      }
    }
  }
}