{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-structure/user-pools-associate-software-token-response-structure.json",
  "name": "AssociateSoftwareTokenResponse",
  "description": "AssociateSoftwareTokenResponse schema from Amazon Cognito API",
  "type": "object",
  "properties": {
    "SecretCode": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SecretCodeType"
        },
        {
          "description": "A unique generated shared secret code that is used in the TOTP algorithm to generate a one-time code."
        }
      ]
    },
    "Session": {
      "allOf": [
        {
          "$ref": "#/components/schemas/SessionType"
        },
        {
          "description": "The session that should be passed both ways in challenge-response calls to the service. This allows authentication of the user as part of the MFA setup process."
        }
      ]
    }
  }
}