{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-cognito/refs/heads/main/json-schema/user-pools-get-user-response-schema.json", "title": "GetUserResponse", "description": "Represents the response from the server from the request to get information about the user.", "type": "object", "properties": { "Username": { "allOf": [ { "$ref": "#/components/schemas/UsernameType" }, { "description": "The username of the user that you requested." } ] }, "UserAttributes": { "allOf": [ { "$ref": "#/components/schemas/AttributeListType" }, { "description": "
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom: prefix to the attribute name.
SMS_MFA and SOFTWARE_TOKEN_MFA."
}
]
}
},
"required": [
"Username",
"UserAttributes"
]
}