{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-rekognition/json-schema/amazon-rekognition-disassociate-faces-response-schema.json",
  "title": "DisassociateFacesResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-rekognition-face-api-openapi.yml#/components/schemas/DisassociateFacesResponse",
  "type": "object",
  "properties": {
    "DisassociatedFaces": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DisassociatedFace"
      },
      "description": "An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful."
    },
    "UnsuccessfulFaceDisassociations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UnsuccessfulFaceDisassociation"
      },
      "description": "An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful."
    },
    "UserStatus": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "UPDATING",
        "CREATING",
        "CREATED"
      ],
      "description": "The status of an update made to a User. Reflects if the User has been updated for every requested change."
    }
  },
  "$defs": {
    "DisassociatedFace": {
      "type": "object",
      "properties": {
        "FaceId": {
          "type": "string",
          "description": "Unique identifier assigned to the face."
        }
      }
    },
    "UnsuccessfulFaceDisassociation": {
      "type": "object",
      "properties": {
        "FaceId": {
          "type": "string",
          "description": "A unique identifier assigned to the face."
        },
        "UserId": {
          "type": "string",
          "description": "A provided ID for the UserID. Unique within the collection."
        },
        "Reasons": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "FACE_NOT_FOUND",
              "ASSOCIATED_TO_A_DIFFERENT_USER"
            ]
          },
          "description": "The reason why the deletion was unsuccessful."
        }
      }
    }
  }
}