{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-search-users-response-schema.json",
  "title": "SearchUsersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-user-api-openapi.yml#/components/schemas/SearchUsersResponse",
  "type": "object",
  "properties": {
    "UserMatches": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserMatch"
      },
      "description": "An array of UserMatch objects that matched the input face along with the confidence in the match. Array will be empty if there are no matches."
    },
    "FaceModelVersion": {
      "type": "string",
      "description": "Version number of the face detection model associated with the input CollectionId."
    },
    "SearchedFace": {
      "$ref": "#/$defs/SearchedFace"
    },
    "SearchedUser": {
      "$ref": "#/$defs/SearchedUser"
    }
  },
  "$defs": {
    "MatchedUser": {
      "type": "object",
      "properties": {
        "UserId": {
          "type": "string",
          "description": "A provided ID for the UserID. Unique within the collection."
        },
        "UserStatus": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "UPDATING",
            "CREATING",
            "CREATED"
          ],
          "description": "The status of the user matched to a provided FaceID."
        }
      }
    },
    "SearchedFace": {
      "type": "object",
      "properties": {
        "FaceId": {
          "type": "string",
          "description": "Unique identifier assigned to the face."
        }
      }
    },
    "SearchedUser": {
      "type": "object",
      "properties": {
        "UserId": {
          "type": "string",
          "description": "A provided ID for the UserID. Unique within the collection."
        }
      }
    },
    "UserMatch": {
      "type": "object",
      "properties": {
        "Similarity": {
          "type": "number",
          "description": "Describes the UserID metadata."
        },
        "User": {
          "$ref": "#/$defs/MatchedUser"
        }
      }
    }
  }
}