{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-start-face-search-request-schema.json",
  "title": "StartFaceSearchRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-face-search-api-openapi.yml#/components/schemas/StartFaceSearchRequest",
  "type": "object",
  "properties": {
    "Video": {
      "$ref": "#/$defs/Video"
    },
    "ClientRequestToken": {
      "type": "string",
      "description": "Idempotent token used to identify the start request. If you use the same token with multiple StartFaceSearch requests, the same JobId is returned. Use ClientRequestToken to prevent the same job from being accidently started more than once."
    },
    "FaceMatchThreshold": {
      "type": "number",
      "description": "The minimum confidence in the person match to return. For example, don't return any matches where confidence in matches is less than 70%. The default value is 80%."
    },
    "CollectionId": {
      "type": "string",
      "description": "ID of the collection that contains the faces you want to search for."
    },
    "NotificationChannel": {
      "$ref": "#/$defs/NotificationChannel"
    },
    "JobTag": {
      "type": "string",
      "description": "An identifier you specify that's returned in the completion notification that's published to your Amazon Simple Notification Service topic. For example, you can use JobTag to group related jobs and identify them in the completion notification."
    }
  },
  "required": [
    "Video",
    "CollectionId"
  ],
  "$defs": {
    "NotificationChannel": {
      "type": "object",
      "properties": {
        "SNSTopicArn": {
          "type": "string",
          "description": "The Amazon SNS topic to which Amazon Rekognition posts the completion status."
        },
        "RoleArn": {
          "type": "string",
          "description": "The ARN of an IAM role that gives Amazon Rekognition publishing permissions to the Amazon SNS topic."
        }
      },
      "required": [
        "SNSTopicArn",
        "RoleArn"
      ]
    },
    "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."
        }
      }
    },
    "Video": {
      "type": "object",
      "properties": {
        "S3Object": {
          "$ref": "#/$defs/S3Object"
        }
      }
    }
  }
}