{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-get-user-response-schema.json",
  "title": "GetUserResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-users-api-openapi.yml#/components/schemas/GetUserResponse",
  "type": "object",
  "properties": {
    "userAliases": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/UserAlias"
      },
      "description": "A list of user aliases attached to a user."
    }
  },
  "$defs": {
    "UserAlias": {
      "type": "object",
      "properties": {
        "indexId": {
          "type": "string",
          "description": "The identifier of the index that the user aliases are associated with."
        },
        "dataSourceId": {
          "type": "string",
          "description": "The identifier of the data source that the user aliases are associated with."
        },
        "userId": {
          "type": "string",
          "description": "The identifier of the user id associated with the user aliases."
        }
      },
      "required": [
        "userId"
      ]
    }
  }
}