openapi: 3.0.0
info:
    title: App client API
    version: 'v1'
servers:
    -   url: http://localhost:5001/v1/
        description: Development server
paths:
    ##### Auth
    /auth/sign-up:
        post:
            operationId: authSignUp
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserSignUpRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: number
    /auth/promo-code:
        get:
            operationId: authValidatePromoCode
            tags:
                - Auth
            parameters:
                -   in: query
                    name: code
                    schema:
                        type: string
                    required: true
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PromoCodeValidationResult'
    /auth/sign-in:
        post:
            operationId: authSignIn
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserSignInRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UserSignInResponse'
    /auth/refresh:
        post:
            operationId: authRefresh
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserSignInRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UserSignInResponse'
    /auth/user/{username}:
        get:
            operationId: authGetPublicUserInfo
            tags:
                - Auth
            parameters:
                -   in: path
                    required: true
                    name: username
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PublicUserInfo'
    /auth/confirm-email:
        post:
            operationId: authConfirmUserEmail
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ConfirmUserEmailRequest'
            responses:
                '204':
                    description: OK
    /auth/confirm-withdraw:
        post:
            operationId: authConfirmWithdraw
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ConfirmWithdrawRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ConfirmWithdrawResponse'
    /auth/reset-password:
        post:
            operationId: authResetPasswordRequest
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ResetPasswordRequest'
            responses:
                '204':
                    description: OK
    /auth/set-new-password:
        post:
            operationId: authSetNewPassword
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SetNewPasswordRequest'
            responses:
                '204':
                    description: OK
    /auth/remind-username:
        post:
            operationId: authRemindUsername
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/RemindUsernameRequest'
            responses:
                '200':
                    description: OK
    /auth/mfa/reset/email:
        post:
            operationId: authSendResetMfaEmail
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SendResetMfaEmailRequest'
            responses:
                '200':
                    description: OK
    /auth/mfa/reset/code:
        post:
            operationId: authConfirmResetMfaCode
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ConfirmResetMfaCodeRequest'
            responses:
                '200':
                    description: OK
                    content:
                        text/plain:
                            schema:
                                type: string
    /auth/businesses/register:
        post:
            operationId: authBusinessesRegister
            tags:
                - Auth
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateBusinessRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /auth/businesses/login:
        get:
            operationId: authBusinessesLogin
            tags:
                - Auth
            parameters:
                -   in: query
                    required: true
                    name: email
                    schema:
                        type: string
                -   in: query
                    required: true
                    name: password
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/BusinessSignInResponse'
    /auth/businesses/refresh:
        get:
            operationId: authBusinessesRefresh
            tags:
                - Auth
            parameters:
                -   in: query
                    required: true
                    name: refreshToken
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/BusinessSignInResponse'
    /auth/businesses/reset-password-request:
        post:
            operationId: authBusinessesResetPasswordRequest
            tags:
                - Auth
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/BusinessResetPasswordRequest'
            responses:
                '200':
                    description: OK
    /auth/businesses/set-new-password:
        post:
            operationId: authBusinessesSetNewPassword
            tags:
                - Auth
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/BusinessSetNewPasswordRequest'
            responses:
                '200':
                    description: OK
    /auth/businesses/confirm-business:
        post:
            operationId: authBusinessesConfirmEmail
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ConfirmBusinessEmailRequest'
            responses:
                '204':
                    description: OK
    /auth/businesses/confirm-business-individual:
        post:
            operationId: authBusinessesConfirmIndividualEmail
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ConfirmBusinessIndividualEmailRequest'
            responses:
                '204':
                    description: OK
    /auth/businesses/confirm-business-company-shareholder:
        post:
            operationId: authBusinessesConfirmCompanyShareholderEmail
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ConfirmBusinessCompanyShareholderEmailRequest'
            responses:
                '204':
                    description: OK
    /auth/businesses/confirm-authorized-representative:
        post:
            operationId: authBusinessesConfirmAuthorizedRepresentativeEmail
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ConfirmBusinessAuthorizedRepresentativeEmailRequest'
            responses:
                '204':
                    description: OK
    /auth/verify/email/submit:
        post:
            operationId: verifyEmail
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitEmailVerificationCodeRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/SubmitEmailVerificationCodeResponse'
    /auth/verify/email/resend-user-email-confirmation:
        post:
            operationId: resendUserEmailConfirmation
            tags:
                - Auth
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ResendUserEmailConfirmationRequest'
            responses:
                '200':
                    description: OK
    ##### Markets
    /markets/mobile:
        get:
            operationId: marketsGetMarketsForMobileApp
            tags:
                - Markets
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/MarketMobileDetail'
    /markets/{symbol}:
        get:
            operationId: marketsGetMarkets
            tags:
                - Markets
            parameters:
                -   in: path
                    required: true
                    name: symbol
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/MarketDetail'
    ##### Public
    /staking-marketing/{symbol}:
        get:
            operationId: publicGetStakingMarketingData
            tags:
                - Public
            parameters:
                -   in: path
                    name: symbol
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StakingMarketingData'
    /fiat-exchange-rates/{symbol}:
        get:
            operationId: publicGetFiatExchangeRates
            tags:
                - Public
            parameters:
                -   in: path
                    name: symbol
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/FiatExchangeRates'
    /exchange-rates/{symbol1}/{symbol2}:
        get:
            operationId: publicGetExchangeRates
            tags:
                - Public
            parameters:
                -   in: path
                    name: symbol1
                    required: true
                    schema:
                        type: string
                -   in: path
                    name: symbol2
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    rate:
                                        type: number
                                required:
                                    - rate
    /announcements:
        get:
            operationId: publicGetActiveAnnouncements
            tags:
                - Public
            parameters:
                -   in: query
                    name: platform
                    schema:
                        $ref: '#/components/schemas/AnnouncementPlatformType'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/AnnouncementInfo'
    /web-config:
        get:
            operationId: publicGetWebConfig
            tags:
                - Public
            parameters:
                -   in: query
                    name: hash
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/WebConfig'
    /products:
        get:
            operationId: publicGetEnabledProducts
            tags:
                - Public
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfProductConfigurations'
    /instruments:
        get:
            operationId: publicGetEnabledInstruments
            tags:
                - Public
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfInstrumentConfigurations'
    /add-to-country-subscriber-list:
        post:
            operationId: publicAddToCountrySubscriberList
            tags:
                - Public
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AddToCountrySubscribersListRequest'
            responses:
                '200':
                    description: OK
    /otc:
        post:
            operationId: publicSendOTCRequest
            tags:
                - Public
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SendOTCRequest'
            responses:
                '200':
                    description: OK
    /otc2:
        post:
            operationId: publicSendOTCRequest2
            tags:
                - Public
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SendOTCRequest2'
            responses:
                '200':
                    description: OK
    /ticker:
        get:
            operationId: publicGetTicker
            tags:
                - Public
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
    /ticker-btc:
        get:
            operationId: publicGetTickerBTC
            tags:
                - Public
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
    /orderbook/{pair}:
        get:
            operationId: publicGetOrderBook
            tags:
                - Public
            parameters:
                -   in: path
                    name: pair
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: depth
                    required: true
                    schema:
                        type: number
                -   in: query
                    name: level
                    required: true
                    schema:
                        $ref: '#/components/schemas/OrderBookLevel'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/MarketPairOrderBook'
    /trades/{pair}:
        get:
            operationId: publicGetRecentTrades
            tags:
                - Public
            parameters:
                -   in: path
                    name: pair
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/RecentTrade'
    /subscribe-to-news:
        post:
            operationId: publicSubscribeToNews
            tags:
                - Public
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubscribeToNewsRequest'
            responses:
                '200':
                    description: OK
    /address-blocked/{address}:
        get:
            operationId: publicCheckIfCryptoAddressBlocked
            tags:
                - Public
            parameters:
                -   in: path
                    name: address
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    blocked:
                                        type: boolean
                                required:
                                    - blocked
    /product-version/{productType}/{version}:
        get:
            operationId: publicGetProductVersion
            tags:
                - Public
            parameters:
                -   in: path
                    name: productType
                    required: true
                    schema:
                        $ref: '#/components/schemas/ProductVersionType'
                -   in: path
                    name: version
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/GetProductVersionResponse'
    /under-maintenanace:
        get:
            operationId: publicCheckIfUnderMaintenance
            tags:
                - Public
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    underMaintenance:
                                        type: boolean
                                required:
                                    - underMaintenance
    /date:
        get:
            operationId: publicGetDate
            tags:
                - Public
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    date:
                                        type: string
                                        format: 'date-time'
                                required:
                                    - date
    /affiliate-click:
        post:
            operationId: publicOnAffiliateClick
            tags:
                - Public
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AffiliateClickRequest'
            responses:
                '200':
                    description: OK
    ##### Activity logs
    /user/activity:
        get:
            operationId: activityLogsGetList
            tags:
                - Activity Logs
            parameters:
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: timezoneOffset
                    schema:
                        type: integer
                    required: true
                -   in: query
                    name: from
                    schema:
                        type: string
                    required: false
                -   in: query
                    name: to
                    schema:
                        type: string
                    required: false
                -   in: query
                    name: types
                    schema:
                        type: string
                    required: false
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ActivityLogsList'
    ##### Crypto Addresses
    /user/addresses:
        get:
            operationId: cryptoAddressesGet
            tags:
                - Crypto Addresses
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfCryptoAddresses'
        post:
            operationId: cryptoAddressesCreate
            tags:
                - Crypto Addresses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateCryptoAddressRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/CryptoAddress'
    /user/addresses/{id}:
        patch:
            operationId: cryptoAddressesUpdate
            tags:
                - Crypto Addresses
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateCryptoAddressRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/CryptoAddress'
        delete:
            operationId: cryptoAddressesDelete
            tags:
                - Crypto Addresses
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    /user/addresses/{id}/favourite:
        patch:
            operationId: cryptoAddressesToggleAsFavourite
            tags:
                - Crypto Addresses
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    favourite:
                                        type: boolean
                                required:
                                    - favourite
    /user/addresses/{id}/whitelist:
        post:
            operationId: cryptoAddressesWhitelist
            tags:
                - Crypto Addresses
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        text/plain:
                            schema:
                                $ref: '#/components/schemas/CryptoAddressWhitelistingStatus'
    /user/addresses/{id}/unwhitelist:
        post:
            operationId: cryptoAddressesUnwhitelist
            tags:
                - Crypto Addresses
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    ##### Affiliates
    /user/affiliates/rewards:
        get:
            operationId: affiliatesGetRewards
            tags:
                - Affiliates
            parameters:
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AffiliateRewardsList'
    /user/affiliates/stats:
        get:
            operationId: affiliatesGetStats
            tags:
                - Affiliates
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AffiliateStats'
    ##### API Keys
    /user/api-keys:
        get:
            operationId: apiKeysGet
            tags:
                - API Keys
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfApiKeys'
        post:
            operationId: apiKeysCreate
            tags:
                - API Keys
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateUserApiKeyRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ApiKey'
    /user/api-keys/{apiKey}:
        delete:
            operationId: apiKeysDelete
            tags:
                - API Keys
            parameters:
                -   in: path
                    name: apiKey
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    ##### Bank Accounts
    /user/bank-accounts:
        get:
            operationId: bankAccountsGet
            tags:
                - Bank Accounts
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfBankAccounts'
        post:
            operationId: bankAccountsCreate
            tags:
                - Bank Accounts
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateBankAccountRequest'
            responses:
                '201':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/BankAccount'
    /user/bank-accounts/{id}:
        patch:
            operationId: bankAccountsUpdate
            tags:
                - Bank Accounts
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateBankAccountRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/BankAccount'
        delete:
            operationId: bankAccountsDelete
            tags:
                - Bank Accounts
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    /user/bank-accounts/{id}/favourite:
        patch:
            operationId: bankAccountsToggleAsFavourite
            tags:
                - Bank Accounts
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    favourite:
                                        type: boolean
                                required:
                                    - favourite
    ##### Internal users
    /user/internal-users:
        get:
            operationId: internalUsersGet
            tags:
                - Internal users
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfInternalUsers'
        post:
            operationId: internalUsersCreate
            tags:
                - Internal users
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateInternalUserRequest'
            responses:
                '201':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/InternalUser'
    /user/internal-users/{id}:
        patch:
            operationId: internalUsersUpdate
            tags:
                - Internal users
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateInternalUserRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/InternalUser'
        delete:
            operationId: internalUsersDelete
            tags:
                - Internal users
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    /user/internal-users/{id}/favourite:
        patch:
            operationId: internalUsersToggleAsFavourite
            tags:
                - Internal users
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    favourite:
                                        type: boolean
                                required:
                                    - favourite
    ##### Businesses
    /businesses:
        get:
            operationId: businessesGetBusiness
            tags:
                - Businesses
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/verify-phone:
        post:
            operationId: businessesVerifyPhone
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/VerifyBusinessPhoneRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/VerifyBusinessPhoneResponse'
    /businesses/update:
        patch:
            operationId: businessesUpdateBusinessInfo
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateBusinessInfoRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/update-phone:
        patch:
            operationId: businessesUpdateBusinessPhone
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateBusinessPhoneRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/update-address:
        patch:
            operationId: businessesUpdateBusinessAddress
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/BusinessAddress'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/kyb-documents:
        post:
            operationId: businessesUploadBusinessKybDocument
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UploadBusinessKybDocumentRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/kyb-documents/{documentId}:
        get:
            operationId: businessesDownloadBusinessKybDocument
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: documentId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    "x-is-file": true
                    content:
                        "application/octet-stream":
                            schema:
                                type: string
                                format: binary
        delete:
            operationId: businessesDeleteBusinessKybDocument
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: documentId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/internal-documents:
        post:
            operationId: businessesUploadBusinessInternalDocument
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UploadBusinessInternalDocumentRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/internal-documents/{documentId}:
        get:
            operationId: businessesDownloadBusinessInternalDocument
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: documentId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    "x-is-file": true
                    content:
                        "application/octet-stream":
                            schema:
                                type: string
                                format: binary
        delete:
            operationId: businessesDeleteBusinessInternalDocument
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: documentId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/submit:
        post:
            operationId: businessesSubmitBusiness
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitBusinessRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/individuals:
        post:
            operationId: businessesCreateIndividual
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateBusinessIndividualRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/individuals/{individualId}:
        patch:
            operationId: businessesUpdateIndividual
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: individualId
                    required: true
                    schema:
                        type: string
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateBusinessIndividualRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
        delete:
            operationId: businessesDeleteIndividual
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: individualId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/individuals/{individualId}/resend-confirmation-email:
        post:
            operationId: businessesResendIndividualConfirmationEmail
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: individualId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    /businesses/company-shareholders:
        post:
            operationId: businessesCreateCompanyShareholder
            tags:
                - Businesses
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateBusinessCompanyShareholderRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/company-shareholders/{companyShareholderId}:
        patch:
            operationId: businessesUpdateCompanyShareholder
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: companyShareholderId
                    required: true
                    schema:
                        type: string
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateBusinessCompanyShareholderRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
        delete:
            operationId: businessesDeleteCompanyShareholder
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: companyShareholderId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/Business'
    /businesses/company-shareholders/{companyShareholderId}/resend-confirmation-email:
        post:
            operationId: businessesResendCompanyShareholderConfirmationEmail
            tags:
                - Businesses
            parameters:
                -   in: path
                    name: companyShareholderId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    ##### Missing Deposits
    /user/deposits/confirm:
        post:
            operationId: missingDepositsSubmitWireTransferDepositInfo
            tags:
                - Missing Deposits
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                        minimum: 0
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitMissingWireTransferDepositInfoRequest'
            responses:
                '200':
                    description: OK
    /user/missing-deposits/interac:
        post:
            operationId: missingDepositsSubmitInteracETransfer
            tags:
                - Missing Deposits
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                        minimum: 0
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitMissingInteracETransferRequest'
            responses:
                '200':
                    description: OK
    /user/missing-deposits/crypto:
        post:
            operationId: missingDepositsSubmitMissingCryptoDeposit
            tags:
                - Missing Deposits
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                        minimum: 0
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitMissingCryptoDepositRequest'
            responses:
                '200':
                    description: OK
    /user/missing-deposits/crypto/find:
        post:
            operationId: missingDepositsFindCryptoDeposit
            tags:
                - Missing Deposits
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/FindMissingCryptoDepositRequest'
            responses:
                '200':
                    description: OK
    ##### Device API Keys
    /user/device-api-keys:
        get:
            operationId: deviceApiKeysGet
            tags:
                - Device API Keys
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfDeviceApiKeys'
        post:
            operationId: deviceApiKeysGenerate
            tags:
                - Device API Keys
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateDeviceApiKeyRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ApiKey'
        delete:
            operationId: deviceApiKeysDeleteAll
            tags:
                - Device API Keys
            responses:
                '200':
                    description: OK
    /user/device-api-keys/{deviceId}:
        delete:
            operationId: deviceApiKeysDelete
            tags:
                - Device API Keys
            parameters:
                -   in: path
                    name: deviceId
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    ##### Portfolio
    /user/portfolio/performance:
        get:
            operationId: portfolioGetPerformance
            tags:
                - Portfolio
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: productIds
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: interval
                    required: true
                    schema:
                        $ref: '#/components/schemas/PortfolioInterval'
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PortfolioPerformance'
    /user/portfolio/info:
        get:
            operationId: portfolioGetInfo
            tags:
                - Portfolio
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PortfolioInfo'
    /user/portfolio/trading-activity:
        get:
            operationId: portfolioGetTradingActivity
            tags:
                - Portfolio
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: productIds
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: interval
                    required: true
                    schema:
                        $ref: '#/components/schemas/PortfolioInterval'
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PortfolioTradingActivity'
    /user/portfolio/advanced-performance:
        get:
            operationId: portfolioGetAdvancedPerformance
            tags:
                - Portfolio
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: number
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PortfolioAdvancedPerformance'
    /user/portfolio/trading-activity-latest:
        get:
            operationId: portfolioGetLatestTradingActivity
            tags:
                - Portfolio
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: number
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/PortfolioTradingActivityInfo'
    /user/portfolio/advanced-performance-chart:
        get:
            operationId: portfolioGetAdvancedPerformanceChart
            tags:
                - Portfolio
            parameters:
                -   in: query
                    name: startDate
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: productIds
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: interval
                    required: true
                    schema:
                        $ref: '#/components/schemas/PortfolioInterval'
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AdvancedPerformanceChart'
    /user/portfolio/mobile:
        get:
            operationId: portfolioGetMobileInfo
            tags:
                - Portfolio
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: number
                -   in: query
                    name: productId
                    required: false
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/PortfolioMobileInfo'
    ##### Price Movement Alerts
    /user/price-movement-alerts:
        get:
            operationId: priceMovementAlertsGet
            tags:
                - Price Movement Alerts
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/PriceMovementAlert'
        post:
            operationId: priceMovementAlertsCreate
            tags:
                - Price Movement Alerts
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreatePriceMovementAlertRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PriceMovementAlert'
    /user/price-movement-alerts/{id}:
        patch:
            operationId: priceMovementAlertsUpdate
            tags:
                - Price Movement Alerts
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdatePriceMovementAlertRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PriceMovementAlert'
        delete:
            operationId: priceMovementAlertsDelete
            tags:
                - Price Movement Alerts
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    ##### Withdrawals
    /user/withdrawals/limit:
        get:
            operationId: withdrawalsCheckMinAmountFirstWithdrawal
            tags:
                - Withdrawals
            parameters:
                -   in: query
                    name: productId
                    schema:
                        type: number
                    required: true
                -   in: query
                    name: accountProviderId
                    schema:
                        type: number
                    required: true
                -   in: query
                    name: address
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    allowed:
                                        type: boolean
                                required:
                                    - allowed
    ##### Recurring Purchases
    /user/recurring-purchases/subscriptions:
        get:
            operationId: recurringPurchasesGetSubscriptions
            tags:
                - Recurring Purchases
            parameters:
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/RecurringPurchasesSubscription'
        post:
            operationId: recurringPurchasesCreateSubscription
            tags:
                - Recurring Purchases
            parameters:
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateRecurringPurchasesSubscriptionRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RecurringPurchasesSubscription'
    /user/recurring-purchases/subscriptions/{id}:
        patch:
            operationId: recurringPurchasesUpdateSubscription
            tags:
                - Recurring Purchases
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateRecurringPurchasesSubscriptionRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RecurringPurchasesSubscription'
        delete:
            operationId: recurringPurchasesDeleteSubscription
            tags:
                - Recurring Purchases
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '204':
                    description: OK
    /user/recurring-purchases/subscriptions/{id}/activate:
        post:
            operationId: recurringPurchasesActivateSubscription
            tags:
                - Recurring Purchases
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RecurringPurchasesSubscription'
    /user/recurring-purchases/subscriptions/{id}/deactivate:
        post:
            operationId: recurringPurchasesDeactivateSubscription
            tags:
                - Recurring Purchases
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RecurringPurchasesSubscription'
    /user/recurring-purchases/tickets:
        get:
            operationId: recurringPurchasesGetTickets
            tags:
                - Recurring Purchases
            parameters:
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
                -   in: query
                    name: timezoneOffset
                    schema:
                        type: number
                    required: true
                -   in: query
                    name: status
                    schema:
                        $ref: '#/components/schemas/RecurringPurchasesTicketStatus'
                -   in: query
                    name: from
                    schema:
                        type: string
                        format: 'date-time'
                -   in: query
                    name: to
                    schema:
                        type: string
                        format: 'date-time'
                -   in: query
                    name: productId
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/RecurringPurchasesTicketsList'
    /user/recurring-purchases/instruments:
        get:
            operationId: recurringPurchasesGetInstrumentConfigs
            tags:
                - Recurring Purchases
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/RecurringPurchasesInstrumentConfig'
    ##### Reports
    /user/reports/records:
        get:
            operationId: reportsGetRecords
            tags:
                - Reports
            parameters:
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: format
                    schema:
                        $ref: '#/components/schemas/ReportFormat'
                -   in: query
                    name: type
                    schema:
                        $ref: '#/components/schemas/ReportType'
                -   in: query
                    name: from
                    schema:
                        type: string
                        format: date-time
                -   in: query
                    name: to
                    schema:
                        type: string
                        format: date-time
                -   in: query
                    name: productOrInstrumentId
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ReportRecordsList'
        post:
            operationId: reportsCreateRecord
            tags:
                - Reports
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateReportRecordRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ReportRecord'
        delete:
            operationId: reportsDeleteRecord
            tags:
                - Reports
            parameters:
                -   in: query
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK


    /user/reports/records/updates:
        get:
            operationId: reportsGetUpdates
            tags:
                - Reports
            parameters:
                -   in: query
                    name: ids
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/ReportsUpdateResponse'
    /user/reports/files:
        get:
            operationId: reportsGetFile
            tags:
                - Reports
            parameters:
                -   in: query
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    "x-is-file": true
                    content:
                        "application/octet-stream":
                            schema:
                                type: string
                                format: binary
    /user/reports/cyclic:
        get:
            operationId: reportsGetCyclicReports
            tags:
                - Reports
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfCyclicReports'
        post:
            operationId: reportsCreateCyclicReport
            tags:
                - Reports
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateCyclicReportRequest'
            responses:
                '201':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/CyclicReport'
        delete:
            operationId: reportsDeleteCyclicReport
            tags:
                - Reports
            parameters:
                -   in: query
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
    ##### Statements
    /user/statements/daily-confirmation:
        get:
            operationId: getStatementDailyConfirmation
            tags:
                - Statements
            parameters:
                -   in: query
                    name: date
                    required: true
                    schema:
                        type: string
                        format: date
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    "x-is-file": true
                    content:
                        "application/octet-stream":
                            schema:
                                type: string
                                format: binary
    /user/statements/daily-confirmation/days:
        get:
            operationId: getStatementDailyConfirmationTradingDays
            tags:
                - Statements
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/DailyConfirmationTradingDaysList'
    /user/statements/updates:
        get:
            operationId: getStatementUpdates
            tags:
                - Statements
            parameters:
                -   in: query
                    name: ids
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StatementReport'

    /user/statements/file:
        get:
            operationId: getStatementFile
            tags:
                - Statements
            parameters:
                -   in: query
                    name: id
                    required: true
                    schema:
                        type: string
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    "x-is-file": true
                    content:
                        "application/octet-stream":
                            schema:
                                type: string
                                format: binary
    /user/statements/list:
        get:
            operationId: getStatementList
            tags:
                - Statements
            parameters:
                -   in: query
                    name: page
                    required: true
                    schema:
                        type: number
                -   in: query
                    name: size
                    required: true
                    schema:
                        type: number
                -   in: query
                    name: statementType
                    required: false
                    schema:
                        $ref: '#/components/schemas/StatementType'
                -   in: query
                    name: startDate
                    required: false
                    schema:
                        type: string
                        format: date-time
                -   in: query
                    name: endDate
                    required: false
                    schema:
                        type: string
                        format: date-time
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                required:
                                    - total
                                    - data
                                properties:
                                    total:
                                        type: number
                                    data:
                                        type: array
                                        items:
                                            $ref: '#/components/schemas/StatementReport'
    /user/statements/generate/monthly:
        post:
            operationId: generateMonthlyStatement
            tags:
                - Statements
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/GenerateMonthlyStatementRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/StatementReport'
    /user/statements/generate/quarterly:
        post:
            operationId: generateQuarterlyStatement
            tags:
                - Statements
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/GenerateQuarterlyStatementRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/StatementReport'
    /user/statements/generate/annually:
        post:
            operationId: generateAnnuallyStatement
            tags:
                - Statements
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/GenerateAnnuallyStatementRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/StatementReport'
    ##### Staking
    /user/staking/plans:
        get:
            operationId: stakingGetPlans
            tags:
                - Staking
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StakingPlan'
    /user/staking/subscriptions:
        get:
            operationId: stakingGetSubscriptions
            tags:
                - Staking
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: page
                    schema:
                        type: integer
                        minimum: 0
                -   in: query
                    name: size
                    schema:
                        type: integer
                        minimum: 1
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                description: OK
                                items:
                                    $ref: '#/components/schemas/StakingSubscription'
    /user/staking/stake:
        post:
            operationId: stakingStake
            tags:
                - Staking
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/StakeRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/StakingSubscription'
    /user/staking/info:
        get:
            operationId: stakingGetAccountInfo
            tags:
                - Staking
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/StakingAccountInfo'
    /user/staking/queue-state:
        get:
            operationId: stakingGetSubscriptionsQueueState
            tags:
                - Staking
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: ids
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StakingSubscriptionQueueStateResponse'
    /user/staking/performance:
        get:
            operationId: stakingGetPerformance
            tags:
                - Staking
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: interval
                    required: true
                    schema:
                        $ref: '#/components/schemas/StakingChartIntervalType'
                -   in: query
                    name: baseFiatId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: productIds
                    required: false
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    type: array
                                    items:
                                        anyOf:
                                            -   type: number
                                            -   type: array
                                                items:
                                                    type: number
                                        minLength: 7
                                        maxLength: 7
                                    minLength: 2
                                    maxLength: 2
    /user/staking/subscriptions/{id}/redeem:
        post:
            operationId: stakingRedeem
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/StakingRedeemRequest'
            responses:
                '200':
                    description: OK
    /user/staking/subscriptions/{id}/partial-unstake:
        post:
            operationId: stakingPartialUnstake
            tags:
                - Staking
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/StakingPartialUnstakeRequest'
            responses:
                '200':
                    description: OK
    /user/staking/statistics:
        get:
            operationId: stakingGetStatistics
            tags:
                - Staking
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StakingStatisticsElement'
    /user/staking/subscriptions/{id}/deposits:
        get:
            operationId: stakingGetSubscriptionDeposits
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StakingDeposit'
    /user/staking/subscriptions/{id}/partial-unstake-tickets:
        get:
            operationId: stakingGetSubscriptionPartialUnstakeTickets
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/PartialUnstakeTicket'
    /user/staking/rewards:
        get:
            operationId: stakingGetAllRewards
            tags:
                - Staking
            parameters:
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    required: true
                    name: accountId
                    schema:
                        type: integer
                -   in: query
                    required: true
                    name: productId
                    schema:
                        type: integer
                -   in: query
                    required: false
                    name: baseFiatId
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StakingReward'
    /user/staking/subscriptions/{id}/rewards:
        get:
            operationId: stakingGetSubscriptionRewards
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/StakingReward'
    /user/staking/subscriptions/{id}/deposit:
        post:
            operationId: stakingDepositFunds
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/StakingDepositFundsRequest'
            responses:
                '200':
                    description: OK
    /user/staking/subscriptions/{id}/cancel:
        post:
            operationId: stakingCancelSubscription
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
    /user/staking/subscriptions/{id}/deposit-automation:
        post:
            operationId: stakingSetDepositAutomation
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/StakingDepositAutomationRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/StakingSubscription'
    /user/staking/subscriptions/{id}/redemption-policies/{policyType}/info:
        get:
            operationId: stakingGetRedemptionPolicyInfo
            tags:
                - Staking
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: integer
                -   in: path
                    name: policyType
                    required: true
                    schema:
                        $ref: '#/components/schemas/StakingRedemptionPolicyType'
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: unstakeAmount
                    required: false
                    schema:
                        type: string
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/StakingRedemptionPolicyInfo'
    /user/staking/transactions:
        get:
            operationId: stakingGetTransactions
            tags:
                - Staking
            parameters:
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: integer
                -   in: query
                    name: type
                    required: false
                    schema:
                        $ref: '#/components/schemas/StakingTransactionType'
                -   in: query
                    name: currency
                    required: false
                    schema:
                        type: integer
                -   in: query
                    name: from
                    required: false
                    schema:
                        type: string
                -   in: query
                    name: to
                    required: false
                    schema:
                        type: string
                -   in: query
                    name: timezoneOffset
                    required: false
                    schema:
                        type: integer
                -   in: query
                    name: baseFiatId
                    required: false
                    schema:
                        type: integer
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    type: array
                                    items:
                                        anyOf:
                                            -   type: number
                                            -   type: array
                                                items:
                                                    $ref: '#/components/schemas/StakingTransaction'
                                    minLength: 2
                                    maxLength: 2
    /user/staking/open-pool-notification:
        post:
            operationId: stakingSubscribeOnOpenPoolNotification
            tags:
                - Staking
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/OpenPoolNotificationSubscriptionRequest'
            responses:
                '200':
                    description: OK
    ##### Support Center
    /user/support/widget-token:
        post:
            operationId: supportCenterGetWidgetToken
            tags:
                - Support Center
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/GetSupportCenterWidgetTokenResponse"
    /user/support/articles:
        get:
            operationId: supportCenterGetSuggestedArticles
            tags:
                - Support Center
            parameters:
                -   in: query
                    name: enquiry
                    required: true
                    schema:
                        type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: "#/components/schemas/SupportCenterArticle"
    /user/support/tickets:
        get:
            operationId: supportCenterGetTickets
            tags:
                - Support Center
            parameters:
                -   in: query
                    name: size
                    required: false
                    schema:
                        type: number
                -   in: query
                    name: timezoneOffset
                    required: false
                    schema:
                        type: number
                -   in: query
                    name: status
                    required: false
                    schema:
                        $ref: "#/components/schemas/SupportCenterTicketStatus"
                -   in: query
                    name: to
                    required: false
                    schema:
                        type: string
                        format: date
                -   in: query
                    name: from
                    required: false
                    schema:
                        type: string
                        format: date
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicketsList"
        post:
            operationId: supportCenterCreateTicket
            tags:
                - Support Center
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: "#/components/schemas/SupportCenterCreateTicketRequest"
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicket"
    /user/support/tickets/more:
        get:
            operationId: supportCenterGetGetMoreTickets
            tags:
                - Support Center
            parameters:
                -   in: query
                    name: path
                    required: false
                    schema:
                        type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicketsList"
    /user/support/tickets/{id}/close:
        post:
            operationId: supportCenterCloseTicket
            tags:
                - Support Center
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicket"
    /user/support/tickets/{id}/open:
        post:
            operationId: supportCenterReopenTicket
            tags:
                - Support Center
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicket"
    /user/support/tickets/fields:
        get:
            operationId: supportCenterGetTicketFormFields
            tags:
                - Support Center
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: "#/components/schemas/SupportCenterTicketField"
    /user/support/tickets/{id}/comments:
        get:
            operationId: supportCenterGetComments
            tags:
                - Support Center
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicketCommentsList"
        post:
            operationId: supportCenterAddComment
            tags:
                - Support Center
            parameters:
                -   in: path
                    name: id
                    required: true
                    schema:
                        type: string
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: "#/components/schemas/CreateSupportCenterTicketCommentRequest"
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicketCommentsList"
    /user/support/tickets/comments/more:
        get:
            operationId: supportCenterGetMoreComments
            tags:
                - Support Center
            parameters:
                -   in: query
                    name: path
                    required: false
                    schema:
                        type: string
            responses:
                "200":
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/SupportCenterTicketCommentsList"
    ##### Transfer Funds
    /user/transfers:
        get:
            operationId: transferFundsGetList
            tags:
                - Transfer Funds
            parameters:
                -   $ref: '#/components/parameters/pageParam'
                -   $ref: '#/components/parameters/sizeParam'
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
                -   in: query
                    name: type
                    schema:
                        $ref: '#/components/schemas/TransferFundsType'
                    required: true
                -   in: query
                    name: timezoneOffset
                    schema:
                        type: number
                -   in: query
                    name: currency
                    schema:
                        type: number
                -   in: query
                    name: from
                    schema:
                        type: string
                        format: 'date-time'
                -   in: query
                    name: to
                    schema:
                        type: string
                        format: 'date-time'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/TransferFundsList'
    /user/transfers/limits:
        get:
            operationId: transferFundsGetLimits
            tags:
                - Transfer Funds
            parameters:
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/TransferFundsLimits'
    /user/transfers/gift-events:
        get:
            operationId: transferFundsGetActiveGiftEvents
            tags:
                - Transfer Funds
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/ActiveGiftEvent'
    /user/transfers/send:
        post:
            operationId: transferFundsSend
            tags:
                - Transfer Funds
            parameters:
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SendTransferFundsRequest'
            responses:
                '204':
                    description: OK
    /user/transfers/{id}/cancel:
        post:
            operationId: transferFundsCancel
            tags:
                - Transfer Funds
            parameters:
                -   in: path
                    required: true
                    name: id
                    schema:
                        type: string
            responses:
                '204':
                    description: OK
    ##### User
    /user:
        get:
            operationId: userGetUserAndVerificationTicket
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UserAndVerificationTicket'
        patch:
            operationId: userUpdateUserInfo
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserUpdateUserInfoRequest'
            responses:
                '204':
                    description: OK
    /user/verification-ticket:
        get:
            operationId: userGetVerificationTicket
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UserVerificationTicket'
        patch:
            operationId: userAcknowledgeVerificationTicket
            tags:
                - User
            responses:
                '200':
                    description: OK
    /user/withdraw-after-login-delay:
        get:
            operationId: userGetWithdrawalAfterLoginDelay
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        text/plain:
                            schema:
                                type: number
    /user/delay-id-resubmission:
        patch:
            operationId: userDelayIdResubmission
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/DelayIdResubmissionResponse'
    /user/avatar:
        patch:
            operationId: userUpdateAvatar
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UploadUserAvatarRequest'
            responses:
                '200':
                    description: OK
                    content:
                        text/plain:
                            schema:
                                type: string
    /user/notification/preferences:
        patch:
            operationId: userUpdateNotificationPreferences
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateUserNotificationPreferencesRequest'
            responses:
                '204':
                    description: OK
    /user/email/change/send-code:
        post:
            operationId: userEmailChangeSendCode
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserEmailSendCodeRequest'
            responses:
                '200':
                    description: OK
    /user/email/change:
        patch:
            operationId: userEmailChange
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserEmailChangeRequest'
            responses:
                '200':
                    description: OK
    /user/phone/send-code:
        post:
            operationId: userPhoneSendCode
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserPhoneSendCodeRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UserVerifyUserPhoneResponse'
    /user/phone/change:
        patch:
            operationId: userPhoneChange
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserPhoneChangeRequest'
            responses:
                '200':
                    description: OK
    /user/update-address:
        patch:
            operationId: userUpdateAddress
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserUpdateUserAddressRequest'
            responses:
                '204':
                    description: OK
    /user/update-occupation:
        patch:
            operationId: userUpdateOccupation
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserUpdateOccupationRequest'
            responses:
                '204':
                    description: OK
    /user/id-resubmission-token2:
        get:
            operationId: userGetIdResubmissionToken
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        text/plain:
                            schema:
                                type: string
    /user/yearly-info-check:
        patch:
            operationId: userAnnualInfoCheck
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserAnnualInfoCheckRequest'
            responses:
                '200':
                    description: OK
                    content:
                        text/plain:
                            schema:
                                type: string
    /user/verification-link2:
        get:
            operationId: userGetVerificationLink
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        text/plain:
                            schema:
                                type: string
    /user/verify:
        patch:
            operationId: userVerify
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserVerifyRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UserVerificationTicket'
    /user/is-allowed-to-request-data-deletion:
        get:
            operationId: userIsAllowedToRequestDataDeletion
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: object
                                properties:
                                    allowed:
                                        type: boolean
                                required:
                                    - allowed
    /user/pending-deals:
        get:
            operationId: userGetPendingDeals
            tags:
                - User
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UserPendingDealsInfo'
    /user/close-account:
        post:
            operationId: userCloseAccount
            tags:
                - User
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserCloseAccountRequest'
            responses:
                '200':
                    description: OK
    /user/device-token:
        patch:
            operationId: updateUserDeviceToken
            tags:
                - User
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UserDeviceTokenUpdateRequest'
            responses:
                '204':
                    description: OK
    /user/account-compliance-amount:
        get:
            operationId: getAccountComplianceAmount
            tags:
                - User
            parameters:
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
                -   in: query
                    name: instrumentId
                    required: true
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AccountComplianceAmountResponse'

    ##### Tax reporting
    /user/tax-reporting/sso:
        post:
            operationId: authenticateTaxReportingSSO
            tags:
                - Tax Reporting
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/TaxReportingSsoAuthenticateRequestBody'
            responses:
                '201':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/TaxReportingSsoAuthenticateResponse'
    /user/tax-reporting/api-keys:
        get:
            operationId: getTaxReportingApiKeysByUserId
            tags:
                - Tax Reporting
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/TaxReportApiKey'
    /user/tax-reporting/api-keys/{taxReportingApiKeyId}:
        delete:
            operationId: deleteTaxReportingApiKey
            tags:
                - Tax Reporting
            parameters:
                -   in: path
                    name: taxReportingApiKeyId
                    schema:
                        type: string
                    required: true
            responses:
                '200':
                    description: OK
    # Policies
    /user/policies/acknowledge:
        post:
            operationId: acknowledgePolicies
            tags:
                - Policies
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AcknowledgePoliciesOptions'
            responses:
                '200':
                    description: OK
    /policy/{type}:
        get:
            operationId: getPolicy
            tags:
                - Policies
            parameters:
                -   in: path
                    name: type
                    schema:
                        $ref: '#/components/schemas/PolicyType'
                    required: true
                -   in: query
                    name: version
                    schema:
                        type: string
                    required: false
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/PolicyInfo'
    # Dynamic policies
    /user/dynamic-policies:
        get:
            operationId: getDynamicPolicy
            tags:
                - Dynamic Policies
            parameters:
                -   in: query
                    name: group
                    schema:
                        $ref: '#/components/schemas/DynamicPolicyGroup'
                    required: true
                -   in: query
                    name: identifier
                    schema:
                        type: integer
                    required: true
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/DynamicPolicyInfo'
        post:
            operationId: acknowledgeDynamicPolicy
            tags:
                - Dynamic Policies
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AcknowledgeDynamicPolicyOptions'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/DynamicPolicyInfo'

    /user/dynamic-policies/unacknowledged:
        get:
            operationId: getUnacknowledgedDynamicPolicy
            tags:
                - Dynamic Policies
            parameters:
                -   in: query
                    name: group
                    schema:
                        $ref: '#/components/schemas/DynamicPolicyGroup'
                    required: true
                -   in: query
                    name: identifier
                    schema:
                        type: integer
                    required: true
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/UnaknowledgedDynamicPolicy'

    # Asset convertor
    /user/asset-converter/reserve-price:
        post:
            operationId: reservePrice
            tags:
                - Asset converter
            parameters:
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/ReserveConversionPriceOptions'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ConversionPriceReservationResponse'

    /user/asset-converter/convert:
        post:
            operationId: convertAssets
            tags:
                - Asset converter
            parameters:
                -   in: query
                    name: accountId
                    schema:
                        type: number
                    required: true
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AssetConversionOptions'
            responses:
                '200':
                    description: OK
    # Trusted contacts
    /user/trusted-contacts:
        get:
            operationId: getUserTrustedContacts
            tags:
                - Trusted Contacts
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/ArrayOfTrustedContacts'
        post:
            operationId: createUserTrustedContact
            tags:
                - Trusted Contacts
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/CreateTrustedContactRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/TrustedContact'
    /user/trusted-contacts/{id}:
        patch:
            operationId: updateUserTrustedContact
            tags:
                - Trusted Contacts
            parameters:
                -   $ref: '#/components/parameters/mongoIdParam'
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/UpdateTrustedContactRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/TrustedContact'
        delete:
            summary: Delete trusted contact
            operationId: deleteUserTrustedContact
            tags:
                - Trusted Contacts
            parameters:
                -   $ref: '#/components/parameters/mongoIdParam'
            responses:
                '200':
                    description: OK
    # Appropriateness questionnaire
    /user/appropriateness-questionnaire/questions:
        get:
            operationId: appropriatenessQuestionnaireGetTruncatedList
            tags:
                - Appropriateness Questionnaire
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/AppropriatenessQuestionnaireQuestion'
    /user/appropriateness-questionnaire/submit/initial:
        post:
            operationId: appropriatenessQuestionnaireSubmitInitial
            tags:
                - Appropriateness Questionnaire
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitAppropriatenessQuestionnaireRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AppropriatenessQuestionnaireResponse'
    /user/appropriateness-questionnaire/submit/annual:
        post:
            operationId: appropriatenessQuestionnaireSubmitAnnual
            tags:
                - Appropriateness Questionnaire
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitAppropriatenessQuestionnaireRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AppropriatenessQuestionnaireResponse'
    /user/appropriateness-questionnaire/submit/{flag}:
        post:
            operationId: appropriatenessQuestionnaireSubmitFlag
            tags:
                - Appropriateness Questionnaire
            parameters:
                -   in: path
                    name: flag
                    schema:
                        $ref: '#/components/schemas/AppropriatenessQuestionnaireQuestionFlag'
                    required: true
            requestBody:
                required: true
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/SubmitAppropriatenessQuestionnaireRequest'
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/AppropriatenessQuestionnaireResponse'
    ##### LOSS NOTIFICATIONS
    /user/account-losses/unacknowledged:
        get:
            operationId: getUnacknowledgedLosses
            tags:
                - Account losses
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                type: array
                                items:
                                    $ref: '#/components/schemas/UnacknowledgedAccountLose'
    /user/analytics/track-event:
        post:
            operationId: trackEvent
            tags:
                - Analytics event tracker
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AnalyticsTrackEvent'
            responses:
                '200':
                    description: OK

    /user/account-losses/acknowledge:
        post:
            operationId: acknowledgeLosses
            tags:
                - Account losses
            requestBody:
                content:
                    application/json:
                        schema:
                            $ref: '#/components/schemas/AcknowledgeAccountLosses'
            responses:
                '200':
                    description: OK
    ##### PRU
    /user/pru/non-specified-crypto-assets-limit:
        get:
            operationId: getNonSpecifiedCryptoAssetsLimit
            tags:
                - Pru
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: number
                -   in: query
                    required: false
                    name: baseCurrencyId
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/NonSpecifiedCryptoAssetResponse'
    /user/pru/investment-limit:
        get:
            operationId: getInvestmentLimit
            tags:
                - Pru
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: number
                -   in: query
                    required: false
                    name: baseCurrencyId
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/InvestmentLimitResponse'
    /user/pru/total-purchase-value:
        get:
            operationId: getAccountTotalPurchaseValue
            tags:
                - Pru
            parameters:
                -   in: query
                    name: accountId
                    required: true
                    schema:
                        type: number
                -   in: query
                    required: true
                    name: year
                    schema:
                        type: number
                -   in: query
                    required: false
                    name: baseCurrencyId
                    schema:
                        type: number
            responses:
                '200':
                    description: OK
                    content:
                        application/json:
                            schema:
                                $ref: '#/components/schemas/TotalPurchaseValueResponse'
    # OAUTH
    /oauth/session:
        get:
            operationId: oauthGetSession
            tags:
                - Oauth
            responses:
                "200":
                    description: Ok
                    content:
                        application/json:
                            schema:
                                $ref: "#/components/schemas/OauthSessionParams"
    /oauth/register:
        get:
            operationId: oauthRegister
            tags:
                - Oauth
            responses:
                "200":
                    description: Ok
    /oauth/login:
        get:
            operationId: oauthLogin
            tags:
                - Oauth
            responses:
                "200":
                    description: Ok
    /oauth/logout:
        get:
            operationId: oauthLogout
            tags:
                - Oauth
            responses:
                "200":
                    description: Ok
    /oauth/refresh:
        post:
            operationId: oauthRefresh
            tags:
                - Oauth
            responses:
                "200":
                    description: Ok
components:
    parameters:
        pageParam:
            in: query
            name: page
            required: true
            schema:
                type: integer
                minimum: 0
        sizeParam:
            in: query
            name: size
            required: true
            schema:
                type: integer
                minimum: 1
        mongoIdParam:
            in: path
            name: id
            required: true
            schema:
                type: string
    schemas:
        ##### Shared
        TwilioChannel:
            type: string
            enum:
                - sms
                - call
        RateLimitedResult:
            type: object
            properties:
                currentCount:
                    type: number
                maxCount:
                    type: number
                currentTimeout:
                    type: number
                maxTimeout:
                    type: number
            required:
                - currentCount
                - maxCount
                - currentTimeout
                - maxTimeout
        ##### Auth
        UserSignUpRequest:
            type: object
            properties:
                firstName:
                    type: string
                lastName:
                    type: string
                username:
                    type: string
                email:
                    type: string
                password:
                    type: string
                countryCode:
                    type: string
                affiliateTag:
                    type: string
                promoCode:
                    type: string
                dfpRequestId:
                    type: string
                sardineSessionKey:
                    type: string
                acknowledgePolicies:
                    type: array
                    items:
                        $ref: '#/components/schemas/PolicyIdentifier'
                platform:
                    $ref: '#/components/schemas/Platform'
                receiveMarketingEmails:
                    type: boolean
                siteReferrer:
                    type: string
            required:
                - firstName
                - lastName
                - username
                - email
                - password
                - countryCode
        AcknowledgePoliciesOptions:
            type: object
            properties:
                policies:
                    type: array
                    items:
                        $ref: '#/components/schemas/PolicyIdentifier'
            required:
                - policies
        PromoCodeValidationResult:
            type: object
            properties:
                icon:
                    type: string
                title:
                    type: string
                message:
                    type: string
                referrerUserId:
                    type: string
            required:
                - icon
                - title
                - message
                - referrerUserId
        UserSignInRequest:
            type: object
            properties:
                token:
                    type: string
                deviceToken:
                    type: string
                platform:
                    type: string
                sardineSessionKey:
                    type: string
                deviceId:
                    type: string
            required:
                - token
        UserSignInResponse:
            type: object
            properties:
                accessToken:
                    type: string
            required:
                - accessToken
        PublicUserInfo:
            type: object
            properties:
                exists:
                    type: boolean
                closed:
                    type: boolean
                emailVerified:
                    type: boolean
                locked:
                    type: boolean
            required:
                - exists
                - locked
                - closed
                - emailVerified
        ConfirmUserEmailRequest:
            type: object
            properties:
                userId:
                    type: number
                code:
                    type: string
            required:
                - userId
                - code
        ConfirmWithdrawRequest:
            type: object
            properties:
                userId:
                    type: number
                verifyCode:
                    type: string
                accountId:
                    type: number
                requestCode:
                    type: string
            required:
                - userId
                - verifyCode
                - accountId
                - requestCode
        ConfirmWithdrawResponse:
            type: object
            properties:
                confirmed:
                    type: boolean
            required:
                - confirmed
        ResetPasswordRequest:
            type: object
            properties:
                email:
                    type: string
                dfpRequestId:
                    type: string
            required:
                - email
        SetNewPasswordRequest:
            type: object
            properties:
                userId:
                    type: number
                pendingCode:
                    type: string
                password:
                    type: string
            required:
                - userId
                - pendingCode
                - password
        RemindUsernameRequest:
            type: object
            properties:
                email:
                    type: string
                dfpRequestId:
                    type: string
            required:
                - email
        ConfirmBusinessEmailRequest:
            type: object
            properties:
                businessId:
                    type: string
                code:
                    type: string
            required:
                - businessId
                - code
        ConfirmBusinessIndividualEmailRequest:
            type: object
            properties:
                individualId:
                    type: string
                code:
                    type: string
            required:
                - individualId
                - code
        ConfirmBusinessCompanyShareholderEmailRequest:
            type: object
            properties:
                companyShareholderId:
                    type: string
                code:
                    type: string
            required:
                - companyShareholderId
                - code
        ConfirmBusinessAuthorizedRepresentativeEmailRequest:
            type: object
            properties:
                representativeId:
                    type: string
                code:
                    type: string
            required:
                - representativeId
                - code
        SendResetMfaEmailRequest:
            type: object
            properties:
                email:
                    type: string
            required:
                - email
        ConfirmResetMfaCodeRequest:
            type: object
            properties:
                email:
                    type: string
                code:
                    type: string
                dfpRequestId:
                    type: string
                sardineDeviceId:
                    type: string
            required:
                - email
                - code
                - dfpRequestId
        ##### Markets
        MarketDetail:
            type: object
            properties:
                instrumentId:
                    type: number
                product1Id:
                    type: number
                product2Id:
                    type: number
                product1Name:
                    type: string
                product2Name:
                    type: string
                marketPrice:
                    type: number
                change:
                    type: number
                volume24h:
                    type: number
                bid:
                    type: number
                ask:
                    type: number
                high24h:
                    type: number
                low24h:
                    type: number
                supply:
                    type: number
                marketCap:
                    type: number
                circulatingSupply:
                    type: number
                supplyLimit:
                    type: number
                allTimeHigh:
                    type: number
                allTimeLow:
                    type: number
        MarketMobileDetail:
            type: object
            properties:
                instrumentId:
                    type: number
                price:
                    type: number
                priceChangePercent24H:
                    type: number
                weeklyChartData:
                    type: array
                    items:
                        type: number
                rolling24HrVolume:
                    type: number
                sessionHigh:
                    type: number
                sessionLow:
                    type: number
        ##### Public
        StakingMarketingData:
            type: object
            properties:
                productId:
                    type: integer
                maxApy:
                    type: number
                maxCalculatorAmount:
                    type: number
                totalPlans:
                    type: number
                price:
                    type: number
            required:
                - productId
                - maxApy
                - maxCalculatorAmount
                - totalPlans
                - price
        FiatExchangeRates:
            type: object
        AnnouncementPlatformType:
            type: string
            enum:
                - WEB
                - MOBILE
        AnnouncementInfo:
            type: object
            properties:
                _id:
                    type: string
                icon:
                    type: string
                text:
                    type: string
                platform:
                    type: array
                    items:
                        $ref: '#/components/schemas/AnnouncementPlatformType'
                uncloseable:
                    type: boolean
            required:
                - _id
                - icon
                - text
                - platform
                - uncloseable
        ProductType:
            type: string
            enum:
                - Unknown
                - NationalCurrency
                - CryptoCurrency
                - Contract
        ProductSubType:
            type: string
            enum:
                - ALTCOIN
                - STABLECOIN
                - ERC20
        WithdrawConfigType:
            type: string
            enum:
                - TO_EXTERNAL_WALLET
                - FIAT_WITHDRAW
                - TRANSFER
        FiatWithdrawMethod:
            type: string
            enum:
                - EFT
                - WIRE_TRANSFER
        WithdrawTemplateForm:
            type: string
            enum:
                - ADDRESS_ONLY
                - ADDRESS_AND_DESTINATION_TAG
                - ADDRESS_AND_MEMO
        DepositConfigType:
            type: string
            enum:
                - FROM_EXTERNAL_WALLET
                - FIAT_DEPOSIT
                - TRANSFER
        FiatDepositMethod:
            type: string
            enum:
                - BANK_DRAFT
                - INTERAC
                - WIRE
        DepositTemplateForm:
            type: string
            enum:
                - ADDRESS_ONLY
                - ADDRESS_AND_DESTINATION_TAG
                - ADDRESS_AND_MEMO
        DepositKeyPatternElement:
            type: string
            enum:
                - DEFAULT
                - LEGACY
                - SEGWIT
        WithdrawFeeType:
            type: string
            enum:
                - FLAT_RATE
                - PERCENTAGE
        FiatWithdrawConfig:
            type: object
            properties:
                _id:
                    type: string
                type:
                    $ref: '#/components/schemas/WithdrawConfigType'
                disabled:
                    type: boolean
                fee:
                    type: number
                feeType:
                    $ref: '#/components/schemas/WithdrawFeeType'
                accountProviderId:
                    type: number
                withdrawTemplateType:
                    type: string
                method:
                    $ref: '#/components/schemas/FiatWithdrawMethod'
            required:
                - _id
                - type
                - disabled
                - accountProviderId
                - withdrawTemplateType
                - method
        ExternalWalletWithdrawConfig:
            type: object
            properties:
                _id:
                    type: string
                type:
                    $ref: '#/components/schemas/WithdrawConfigType'
                disabled:
                    type: boolean
                fee:
                    type: number
                feeType:
                    $ref: '#/components/schemas/WithdrawFeeType'
                accountProviderId:
                    type: number
                withdrawTemplateType:
                    type: string
                network:
                    type: string
                templateForm:
                    $ref: '#/components/schemas/WithdrawTemplateForm'
                whitelisting:
                    type: boolean
                blockchainExplorer:
                    $ref: '#/components/schemas/BlockchainExplorerLinks'
                addressValidatorRegex:
                    type: string
                memoValidatorRegex:
                    type: string
                minFirstWithdrawalAmount:
                    type: number
                suspended:
                    type: boolean
            required:
                - _id
                - type
                - disabled
                - accountProviderId
                - withdrawTemplateType
                - network
                - templateForm
                - whitelisting
                - blockchainExplorer
        TransferWithdrawConfig:
            type: object
            properties:
                _id:
                    type: string
                type:
                    $ref: '#/components/schemas/WithdrawConfigType'
                disabled:
                    type: boolean
                fee:
                    type: number
                feeType:
                    $ref: '#/components/schemas/WithdrawFeeType'
                requestLimit:
                    type: number
                monthlyLimit:
                    type: number
            required:
                - _id
                - type
                - disabled
        FiatDepositConfig:
            type: object
            properties:
                _id:
                    type: string
                type:
                    $ref: '#/components/schemas/DepositConfigType'
                disabled:
                    type: boolean
                fee:
                    type: number
                depositMethod:
                    $ref: '#/components/schemas/FiatDepositMethod'
                timeframe:
                    type: string
                limits:
                    type: string
                limitsTooltip:
                    type: string
                paymentInfo:
                    type: object
            required:
                - _id
                - type
                - disabled
                - depositMethod
                - timeframe
                - limits
                - paymentInfo
        ExternalWalletDepositConfig:
            type: object
            properties:
                _id:
                    type: string
                type:
                    $ref: '#/components/schemas/DepositConfigType'
                disabled:
                    type: boolean
                fee:
                    type: number
                network:
                    type: string
                accountProviderId:
                    type: number
                templateForm:
                    $ref: '#/components/schemas/DepositTemplateForm'
                canGenerateDepositKeys:
                    type: boolean
                depositKeyPattern:
                    $ref: '#/components/schemas/ArrayOfDepositKeyPatternElements'
                blockchainExplorer:
                    $ref: '#/components/schemas/BlockchainExplorerLinks'
                note:
                    type: string
                suspended:
                    type: boolean
            required:
                - _id
                - type
                - disabled
                - network
                - accountProviderId
                - templateForm
                - canGenerateDepositKeys
                - depositKeyPattern
                - blockchainExplorer
        TransferDepositConfig:
            type: object
            properties:
                _id:
                    type: string
                type:
                    $ref: '#/components/schemas/DepositConfigType'
                disabled:
                    type: boolean
                fee:
                    type: number
                requestLimit:
                    type: number
                monthlyLimit:
                    type: number
            required:
                - _id
                - type
                - disabled
        ArrayOfProductSubTypes:
            type: array
            items:
                $ref: '#/components/schemas/ProductSubType'
        ArrayOfDepositKeyPatternElements:
            type: array
            items:
                $ref: '#/components/schemas/DepositKeyPatternElement'
        ArrayOfDepositConfigs:
            type: array
            items:
                anyOf:
                    -   $ref: '#/components/schemas/FiatDepositConfig'
                    -   $ref: '#/components/schemas/ExternalWalletDepositConfig'
                    -   $ref: '#/components/schemas/TransferDepositConfig'
        ArrayOfWithdrawConfigs:
            type: array
            items:
                anyOf:
                    -   $ref: '#/components/schemas/FiatWithdrawConfig'
                    -   $ref: '#/components/schemas/ExternalWalletWithdrawConfig'
                    -   $ref: '#/components/schemas/TransferWithdrawConfig'
        BlockchainExplorerLinks:
            type: object
            properties:
                address:
                    type: string
                transaction:
                    type: string
            required:
                - address
                - transaction
        ProductConfiguration:
            type: object
            properties:
                _id:
                    type: string
                productId:
                    type: number
                symbol:
                    type: string
                fullName:
                    type: string
                decimalPlaces:
                    type: number
                type:
                    $ref: '#/components/schemas/ProductType'
                enabled:
                    type: boolean
                visible:
                    type: boolean
                isNotional:
                    type: boolean
                isPrivate:
                    type: boolean
                subtypes:
                    $ref: '#/components/schemas/ArrayOfProductSubTypes'
                connectedAt:
                    type: string
                    format: 'date-time'
                icon:
                    type: string
                iconMobile:
                    type: string
                author:
                    type: string
                initialRelease:
                    type: string
                website:
                    type: string
                description:
                    type: string
                color:
                    type: string
                whitepaperLink:
                    type: string
                totalSupply:
                    type: number
                maxSupply:
                    type: number
                marketCap:
                    type: number
                circulatingSupply:
                    type: number
                depositConfigs:
                    $ref: '#/components/schemas/ArrayOfDepositConfigs'
                withdrawConfigs:
                    $ref: '#/components/schemas/ArrayOfWithdrawConfigs'
                convertConfigs:
                    $ref: '#/components/schemas/ArrayOfConvertConfigs'
            required:
                - _id
                - productId
                - enabled
                - connectedAt
                - subtypes
                - icon
                - iconMobile
                - author
                - initialRelease
                - website
                - description
                - color
                - whitepaperLink
                - totalSupply
                - maxSupply
                - marketCap
                - circulatingSupply
                - depositConfigs
                - withdrawConfigs
                - isPrivate
                - type
                - symbol
                - fullName
                - decimalPlaces
        ArrayOfProductConfigurations:
            type: array
            items:
                $ref: '#/components/schemas/ProductConfiguration'
        InstrumentConfiguration:
            type: object
            properties:
                _id:
                    type: string
                instrumentId:
                    type: number
                connectedAt:
                    type: string
                    format: 'date-time'
                enabled:
                    type: boolean
                visible:
                    type: boolean
                useForPriceCalculation:
                    type: boolean
                hasExtendedDescription:
                    type: boolean
                hasMiningCalculator:
                    type: boolean
                allTimeHigh:
                    type: number
                symbol:
                    type: string
                product1Id:
                    type: number
                product2Id:
                    type: number
                product1Symbol:
                    type: string
                product2Symbol:
                    type: string
                priceIncrement:
                    type: number
                quantityIncrement:
                    type: number
                minimumQuantity:
                    type: number
                quantityDecimals:
                    type: number
                priceDecimals:
                    type: number
                dcaEnabled:
                    type: boolean
                dcaMinAmount:
                    type: number
                dcaMaxAmount:
                    type: number
            required:
                - _id
                - instrumentId
                - connectedAt
                - enabled
                - hasExtendedDescription
                - hasMiningCalculator
                - allTimeHigh
                - symbol
                - product1Id
                - product2Id
                - product1Symbol
                - product2Symbol
                - priceIncrement
                - quantityIncrement
                - minimumQuantity
                - priceDecimals
                - quantityDecimals
        ArrayOfInstrumentConfigurations:
            type: array
            items:
                $ref: '#/components/schemas/InstrumentConfiguration'
        WebConfig:
            type: object
            properties:
                products:
                    $ref: '#/components/schemas/ArrayOfProductConfigurations'
                instruments:
                    $ref: '#/components/schemas/ArrayOfInstrumentConfigurations'
                withdrawRequire2FA:
                    type: boolean
                showGiftButton:
                    type: boolean
            required:
                - products
                - instruments
                - withdrawRequire2FA
                - type
        AddToCountrySubscribersListRequest:
            type: object
            properties:
                email:
                    type: string
                country:
                    type: string
            required:
                - email
                - country
        SendOTCRequest:
            type: object
            properties:
                email:
                    type: string
                name:
                    type: string
                phone:
                    type: string
                comment:
                    type: string
            required:
                - email
                - name
                - phone
                - comment
        OtcFormContactMethod:
            type: string
            enum:
                - CALL
                - SMS
                - EMAIL
        OtcFormTradeExecutionNeeds:
            type: string
            enum:
                - PERSONAL_TRADES
                - BUSINESS_TRADES
                - THIRD_PARTY_TRADES
        OtcFormTradingStartDate:
            type: string
            enum:
                - RIGHT_AWAY
                - NEXT_MONTH
                - NEXT_3_MONTHS
                - NEXT_6_MONTHS
                - NEXT_YEAR
        SendOTCRequest2:
            type: object
            properties:
                name:
                    type: string
                email:
                    type: string
                phone:
                    type: string
                comment:
                    type: string
                contactMethod:
                    $ref: "#/components/schemas/OtcFormContactMethod"
                tradeExecutionNeeds:
                    $ref: "#/components/schemas/OtcFormTradeExecutionNeeds"
                tradingStartDate:
                    $ref: "#/components/schemas/OtcFormTradingStartDate"
                expectedTransactionVolume:
                    type: string
                pairsOfInterest:
                    type: string
                existingCustomer:
                    type: boolean
                businessName:
                    type: string
            required:
                - name
                - email
                - phone
                - comment
                - contactMethod
                - tradeExecutionNeeds
                - expectedTransactionVolume
                - pairsOfInterest
                - tradingStartDate
        OrderBookLevel:
            type: number
            enum:
                - 1
                - 2
                - 3
        MarketPairOrderBook:
            properties:
                timestamp:
                    type: number
                bids:
                    type: array
                    items:
                        type: number
                asks:
                    type: array
                    items:
                        type: number
            required:
                - timestamp
                - bids
                - asks
        RecentTrade:
            properties:
                trade_id:
                    type: number
                price:
                    type: number
                base_volume:
                    type: number
                quote_volume:
                    type: number
                timestamp:
                    type: number
                type:
                    type: string
            required:
                - trade_id
                - price
                - base_volume
                - quote_volume
                - timestamp
                - type
        SubscribeToNewsRequest:
            properties:
                email:
                    type: string
            required:
                - email
        ProductVersionType:
            type: string
            enum:
                - Mobile
        GetProductVersionResponse:
            type: object
            properties:
                version:
                    type: string
                productType:
                    $ref: '#/components/schemas/ProductVersionType'
                required:
                    type: boolean
                notes:
                    type: array
                    items:
                        type: string
            required:
                - version
                - productType
                - required
                - notes
        AffiliateClickRequest:
            type: object
            properties:
                affiliateId:
                    type: string
            required:
                - affiliateId
        ConversionPriceReservationResponse:
            type: object
            properties:
                reservationId:
                    type: string
                price:
                    type: string
            required:
                - reservationId
                - price

        ReserveConversionPriceOptions:
            type: object
            properties:
                configId:
                    type: string
            required:
                - configId

        AssetConversionOptions:
            type: object
            properties:
                reservationId:
                    type: string
                amount:
                    type: number
            required:
                - reservationId
                - amount

        ##### Activity logs
        ActivityLogType:
            type: string
            enum:
                - 'SIGN_UP'
                - 'LOGIN_SUCCESSFUL'
                - 'SET_NEW_PASSWORD'
                - 'MFA_RESET_REQUEST_SENT'
                - 'MFA_RESET_REQUEST_SUBMITTED'
                - 'MFA_RESET_REQUEST_REJECTED'
                - 'MFA_RESET_REQUEST_ID_REUPLOAD_REQUIRED'
                - 'PROFILE_UPDATED'
                - 'PHONE_UPDATED'
                - 'ADDRESS_UPDATED'
                - 'OCCUPATION_UPDATED'
                - 'NOTIFICATION_PREFERENCES_UPDATED'
                - 'MFA_ENABLED_MANUALLY'
                - 'MFA_DISABLED_MANUALLY'
                - 'KYC_PHONE_VERIFIED'
                - 'KYC_APPLICATION_SENT'
                - 'KYC_APPLICATION_ACCEPTED'
                - 'KYC_APPLICATION_REJECTED'
                - 'KYC_APPLICATION_ROLLBACK'
                - 'KYC_APPLICATION_BAD_POI'
                - 'KYC_APPLICATION_ID2_REQUIRED'
                - 'KYC_APPLICATION_POA_REQUIRED'
                - 'API_KEY_ADDED'
                - 'API_KEY_DELETED'
                - 'EMAIL_CHANGED'
                - 'EMAIL_VERIFICATION_STATUS_CHANGED'
                - 'EMAIL_VERIFICATION_SENT'
                - 'USER_UNLOCKED'
                - 'USER_CLOSED'
                - 'USER_REOPENED'
                - 'USER_INFO_UPDATE_REQUESTED'
                - 'USER_INFO_UPDATE_SENT'
                - 'USER_INFO_UPDATE_SUBMITTED_MANUALLY'
                - 'RISK_RATING_CHANGED'
                - 'USER_MARKED_AS_REVIEWED'
                - 'USER_KYC_CLASSIFICATIONS_CHANGED'
                - 'USER_ADDRESS_VERIFIED'
                - 'USER_VERIFICATION_LEVEL_CHANGED'
                - 'ID_REUPLOAD_REQUEST_SENT'
                - 'ASSET_ADDRESS_CREATED'
                - 'ASSET_ADDRESS_UPDATED'
                - 'ASSET_ADDRESS_DELETED'
                - 'ASSET_ADDRESS_WHITELISTED'
                - 'ASSET_ADDRESS_UNWHITELISTED'
                - 'ASSET_ADDRESS_MARK_AS_FAVOURITE'
                - 'BANK_ACCOUNT_CREATED'
                - 'BANK_ACCOUNT_UPDATED'
                - 'BANK_ACCOUNT_DELETED'
                - 'BANK_ACCOUNT_MARK_AS_FAVOURITE'
                - 'PRICE_MOVEMENT_ALERT_ADDED'
                - 'PRICE_MOVEMENT_ALERT_UPDATED'
                - 'PRICE_MOVEMENT_ALERT_DELETED'
                - 'RECURRING_PURCHASE_SUBSCRIPTION_CREATED'
                - 'RECURRING_PURCHASE_SUBSCRIPTION_UPDATED'
                - 'RECURRING_PURCHASE_SUBSCRIPTION_DELETED'
                - 'RECURRING_PURCHASE_SUBSCRIPTION_ACTIVATED'
                - 'RECURRING_PURCHASE_SUBSCRIPTION_DEACTIVATED'
                - 'CYCLIC_REPORT_ADDED'
                - 'CYCLIC_REPORT_DELETED'
                - 'WIRE_TRANSFER_SUBMITTED'
                - 'BANK_DRAFT_SUBMITTED'
                - 'MISSING_INTERAC_E_TRANSFER_SUBMITTED'
                - 'MISSING_CRYPTO_DEPOSIT_SUBMITTED'
                - 'TRANSFER_CREATED'
                - 'TRANSFER_CANCELLED'
                - 'PERMISSIONS_UPDATED'
                - 'BUSINESS_ACCESS_ENABLED'
                - 'APPROPRIATENESS_QUESTIONNAIRE_STATUS_CHANGED'
                - 'STAKING_QUESTIONNAIRE_STATUS_CHANGED'
        ActivityLog:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: integer
                type:
                    $ref: '#/components/schemas/ActivityLogType'
                metadata:
                    type: string
                createdAt:
                    type: string
            required:
                - _id
                - userId
                - type
                - metadata
                - createdAt
        ActivityLogsList:
            type: array
            items:
                type: array
                items:
                    oneOf:
                        -   type: integer
                        -   type: array
                            items:
                                $ref: '#/components/schemas/ActivityLog'
        ##### Affiliates
        AffiliateRewardType:
            type: string
            enum:
                - 'COMMISSION'
                - 'SPLIT'
                - 'BONUS'
        AffiliateRewardStatus:
            type: string
            enum:
                - 'ACCEPTED'
                - 'PENDING'
                - 'REJECTED'
                - 'CANCELLED'
        AffiliateReward:
            type: object
            properties:
                id:
                    type: string
                type:
                    $ref: '#/components/schemas/AffiliateRewardType'
                rewardProductId:
                    type: number
                amount:
                    type: number
                recipientId:
                    type: number
                transferId:
                    type: number
                tradeId:
                    type: number
                level:
                    type: number
                status:
                    $ref: '#/components/schemas/AffiliateRewardStatus'
                productId:
                    type: number
                createdAt:
                    type: string
                    format: date-time
                updatedAt:
                    type: string
                    format: date-time
        AffiliateRewardsList:
            type: object
            properties:
                count:
                    type: number
                page:
                    type: number
                size:
                    type: number
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/AffiliateReward'
        AffiliateStats:
            type: object
            properties:
                revenue:
                    type: number
                conversions:
                    type: number
                clicks:
                    type: number
                level:
                    type: number
                ranking:
                    type: number
                depositAmount:
                    type: string
                depositPaidUsers:
                    type: number
                depositedUsers:
                    type: number
                tradeAmount:
                    type: string
                tradedUsers:
                    type: number
                users:
                    type: number
                verifiedUsers:
                    type: number
                revenueData:
                    type: array
                    items:
                        properties:
                            y:
                                type: number
                            x:
                                type: string
                conversionsData:
                    type: array
                    items:
                        properties:
                            y:
                                type: number
                            x:
                                type: string
        ##### API Keys
        ApiKeyPermission:
            type: string
            enum:
                - Deposit
                - Withdraw
                - Trading
                - AccountReadOnly
        ApiKey:
            type: object
            properties:
                apiKey:
                    type: string
                apiSecret:
                    type: string
                userId:
                    type: number
                permissions:
                    type: array
                    items:
                        $ref: '#/components/schemas/ApiKeyPermission'
            required:
                - apiKey
                - apiSecret
                - userId
                - permissions
        ArrayOfApiKeys:
            type: array
            items:
                $ref: '#/components/schemas/ApiKey'
        CreateUserApiKeyRequest:
            type: object
            properties:
                permissions:
                    type: array
                    items:
                        $ref: '#/components/schemas/ApiKeyPermission'
            required:
                - permissions
        ##### Crypto Addresses
        CryptoAddressWhitelistingStatus:
            type: string
            enum:
                - NON_WHITELISTED
                - AWAITING_FIRST_WITHDRAWAL
                - WITHDRAWAL_CONFIRMED
                - PENDING
                - WHITELISTED
                - REJECTED
        CryptoAddress:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: number
                productId:
                    type: number
                name:
                    type: string
                address:
                    type: string
                tag:
                    type: string
                icon:
                    type: string
                accountProviderId:
                    type: number
                favourite:
                    type: boolean
                whitelistedStatus:
                    $ref: '#/components/schemas/CryptoAddressWhitelistingStatus'
                createdAt:
                    type: string
                    format: 'date-time'
                updatedAt:
                    type: string
                    format: 'date-time'
            required:
                - _id
                - name
                - productId
                - address
                - accountProviderId
        ArrayOfCryptoAddresses:
            type: array
            items:
                $ref: '#/components/schemas/CryptoAddress'
        CreateCryptoAddressRequest:
            type: object
            properties:
                name:
                    type: string
                productId:
                    type: number
                accountProviderId:
                    type: number
                icon:
                    type: string
                address:
                    type: string
                tag:
                    type: string
            required:
                - name
                - productId
                - accountProviderId
                - address
        UpdateCryptoAddressRequest:
            type: object
            properties:
                name:
                    type: string
                productId:
                    type: number
                accountProviderId:
                    type: number
                icon:
                    type: string
                address:
                    type: string
                tag:
                    type: string
            required:
                - name
                - productId
                - accountProviderId
                - address
        ##### Bank Accounts
        BankAccountType:
            type: string
            enum:
                - EFT
                - WIRE_TRANSFER
        BankAccount:
            type: object
            properties:
                _id:
                    type: string
                productId:
                    type: number
                userId:
                    type: number
                type:
                    $ref: '#/components/schemas/BankAccountType'
                accountNumber:
                    type: string
                bankCode:
                    type: string
                bankName:
                    type: string
                description:
                    type: string
                name:
                    type: string
                transitNumber:
                    type: string
                swiftCode:
                    type: string
                favourite:
                    type: boolean
                createdAt:
                    type: string
                    format: 'date-time'
                updatedAt:
                    type: string
                    format: 'date-time'
            required:
                - _id
                - productId
                - type
                - accountNumber
                - bankCode
                - bankName
                - description
                - name
                - transitNumber
        ArrayOfBankAccounts:
            type: array
            items:
                $ref: '#/components/schemas/BankAccount'
        CreateBankAccountRequest:
            type: object
            properties:
                type:
                    $ref: '#/components/schemas/BankAccountType'
                productId:
                    type: number
                accountNumber:
                    type: string
                bankCode:
                    type: string
                bankName:
                    type: string
                description:
                    type: string
                name:
                    type: string
                transitNumber:
                    type: string
                swiftCode:
                    type: string
            required:
                - type
                - accountNumber
                - bankCode
                - bankName
                - description
                - name
                - transitNumber
        UpdateBankAccountRequest:
            type: object
            properties:
                type:
                    $ref: '#/components/schemas/BankAccountType'
                productId:
                    type: number
                accountNumber:
                    type: string
                bankCode:
                    type: string
                bankName:
                    type: string
                description:
                    type: string
                name:
                    type: string
                transitNumber:
                    type: string
                swiftCode:
                    type: string
            required:
                - type
                - accountNumber
                - bankCode
                - bankName
                - description
                - name
                - transitNumber
        ##### Missing Deposits
        SubmitMissingWireTransferDepositInfoRequest:
            type: object
            properties:
                file:
                    type: string
                productId:
                    type: integer
                amount:
                    type: number
                fileName:
                    type: string
                depositMethod:
                    $ref: '#/components/schemas/FiatDepositMethod'
                comment:
                    type: string
            required:
                - file
                - productId
                - amount
                - fileName
                - depositMethod
        SubmitMissingInteracETransferRequest:
            type: object
            properties:
                ticketId:
                    type: integer
                amount:
                    type: number
                code:
                    type: string
                name:
                    type: string
                email:
                    type: string
            required:
                - amount
                - code
                - name
                - email
        SubmitMissingCryptoDepositRequest:
            type: object
            properties:
                accountProviderId:
                    type: integer
                productId:
                    type: integer
                amount:
                    type: integer
                txId:
                    type: string
                file:
                    type: string
                comment:
                    type: string
            required:
                - accountProviderId
                - productId
                - amount
                - txId
                - file
        FindMissingCryptoDepositRequest:
            type: object
            properties:
                productId:
                    type: integer
                accountProviderId:
                    type: integer
                txId:
                    type: string
            required:
                - productId
                - accountProviderId
                - txId
        ##### Device API Keys
        DeviceApiKeyType:
            type: string
            enum:
                - 'HANDSET'
                - 'TABLET'
                - 'TV'
                - 'DESKTOP'
                - 'GAMING_CONSOLE'
                - 'UNKNOWN'
        DeviceApiKey:
            type: object
            properties:
                _id:
                    type: string
                apiKey:
                    type: string
                deviceId:
                    type: string
                deviceName:
                    type: string
                deviceOs:
                    type: string
                deviceOsVersion:
                    type: string
                appVersion:
                    type: string
                userId:
                    type: number
                deviceType:
                    $ref: '#/components/schemas/DeviceApiKeyType'
            required:
                - _id
                - apiKey
                - deviceId
                - userId
                - deviceType
                - deviceName
        ArrayOfDeviceApiKeys:
            type: array
            items:
                $ref: '#/components/schemas/DeviceApiKey'
        CreateDeviceApiKeyRequest:
            type: object
            properties:
                deviceId:
                    type: string
                deviceType:
                    type: string
                deviceName:
                    type: string
                deviceOs:
                    type: string
                deviceOsVersion:
                    type: string
                appVersion:
                    type: string
            required:
                - deviceId
                - deviceType
                - deviceName
        ##### Portfolio
        PortfolioInterval:
            type: string
            enum:
                - 24H
                - 7D
                - 1M
                - 3M
                - 6M
                - ALL
        PortfolioPerformance:
            type: array
            items:
                type: array
                items:
                    oneOf:
                        -   type: number
                        -   items:
                                type: number
                                maxLength: 6
                                minLength: 6
        PortfolioAssetInfo:
            type: object
            properties:
                productId:
                    type: integer
                purchasePrice:
                    type: number
                unrealizedGain:
                    type: number
                change:
                    type: number
            required:
                - productId
                - purchasePrice
                - unrealizedGain
                - change
        PortfolioInfo:
            type: object
            properties:
                totalInvested:
                    type: number
                totalWithdrawal:
                    type: number
                totalProfit:
                    type: number
                portfolioGrowth:
                    type: number
                assets:
                    type: array
                    items:
                        $ref: '#/components/schemas/PortfolioAssetInfo'
            required:
                - totalInvested
                - totalWithdrawal
                - totalProfit
                - portfolioGrowth
                - assets
        PortfolioTradingActivity:
            type: array
            items:
                type: array
                items:
                    oneOf:
                        -   type: integer
                        -   items:
                                anyOf:
                                    -   type: number
                                    -   type: string
        PortfolioPerformanceMeasure:
            type: object
            properties:
                totalRoi:
                    type: number
                realizedRoi:
                    type: number
                buyAndHoldRoi:
                    type: number
                activeRoi:
                    type: number
                totalNetDeposits:
                    type: number
                totalNetHolding:
                    type: number
                totalPnl:
                    type: number
            required:
                - totalRoi
                - realizedRoi
                - buyAndHoldRoi
                - activeRoi
                - totalNetDeposits
                - totalNetHolding
                - totalPnl
        PortfolioAndHoldingInfo:
            type: object
            properties:
                productId:
                    type: integer
                netDeposits:
                    type: string
                netDepositsValue:
                    type: string
                closingBalance:
                    type: string
                closingBalanceValue:
                    type: string
                totalPnLValue:
                    type: string
                delta:
                    type: string
                realizedPnLValue:
                    type: string
                buyAndHoldValue:
                    type: string
            required:
                - productId
                - netDeposits
                - netDepositsValue
                - closingBalance
                - closingBalanceValue
                - totalPnLValue
                - delta
                - realizedPnLValue
                - buyAndHoldValue
        PortfolioAdvancedPerformance:
            type: object
            properties:
                measure:
                    $ref: '#/components/schemas/PortfolioPerformanceMeasure'
                holdingAndPerformance:
                    $ref: '#/components/schemas/PortfolioAndHoldingInfo'
            required:
                - measure
                - holdingAndPerformance
        PortfolioTradingActivityInfo:
            type: object
            properties:
                productId:
                    type: integer
                buyCount:
                    type: string
                buyVolume:
                    type: string
                buyAvgPrice:
                    type: string
                sellCount:
                    type: string
                sellVolume:
                    type: string
                sellAvgPrice:
                    type: string
            required:
                - productId
                - buyCount
                - buyVolume
                - buyAvgPrice
                - sellCount
                - sellVolume
                - sellAvgPrice
        AdvancedPerformanceChart:
            type: array
            items:
                type: array
                items:
                    oneOf:
                        -   type: integer
                        -   items:
                                anyOf:
                                    -   type: array
                                        items:
                                            type: number
                                            maxLength: 7
                                            minLength: 7
                                    -   type: array
                                        items:
                                            type: array
                                            items:
                                                type: number
                                                maxLength: 9
                                                minLength: 9
        PortfolioMobileInfo:
            type: object
            properties:
                productId:
                    type: integer
                avgBuy:
                    type: integer
                avgSell:
                    type: integer
                totalPNL:
                    type: integer
                available:
                    type: number
                availableCad:
                    type: number
                onHold:
                    type: number
                onHoldCad:
                    type: number
                staking:
                    type: number
                stakingCad:
                    type: number
                priceCharts:
                    type: array
                    maxItems: 5
                    minItems: 5
                    items:
                        type: array
                        items:
                            type: array
                            maxItems: 2
                            minItems: 2
                            items:
                                type: number
                balanceCharts:
                    type: array
                    maxItems: 5
                    minItems: 5
                    items:
                        type: array
                        items:
                            type: array
                            maxItems: 2
                            minItems: 2
                            items:
                                type: number
                pricePercentage:
                    type: array
                    maxItems: 5
                    minItems: 5
                    items:
                        type: number
                balancePercentage:
                    type: array
                    maxItems: 5
                    minItems: 5
                    items:
                        type: number
        ##### Price Movement Alerts
        PriceMovementConditionType:
            type: string
            enum:
                - PRICE_LESS_THAN
                - PRICE_GREATER_THAN
                - ASK_LESS_THAN
                - ASK_GREATER_THAN
                - BID_LESS_THAN
                - BID_GREATER_THAN
                - MOVING_UP_PERCENT
                - MOVING_DOWN_PERCENT
                - DAILY_MOVING_UP_PERCENT
                - DAILY_MOVING_DOWN_PERCENT
        PriceMovementAlertNotificationStatus:
            type: string
            enum:
                - WORKING
                - PAUSED
                - COMPLETED
        PriceMovementAlertNotificationType:
            type: string
            enum:
                - ONLY_ONCE
                - EVERY_TIME
        PriceMovementCondition:
            type: object
            properties:
                type:
                    $ref: '#/components/schemas/PriceMovementConditionType'
                value:
                    type: number
            required:
                - type
                - value
        PriceMovementAlert:
            type: object
            properties:
                _id:
                    type: string
                instrumentSymbol:
                    type: string
                userId:
                    type: integer
                condition:
                    $ref: '#/components/schemas/PriceMovementCondition'
                status:
                    $ref: '#/components/schemas/PriceMovementAlertNotificationStatus'
                type:
                    $ref: '#/components/schemas/PriceMovementAlertNotificationType'
                emailNotification:
                    type: boolean
                smsNotification:
                    type: boolean
                createdAt:
                    type: string
                expirationDate:
                    type: string
                notifiedAt:
                    type: string
            required:
                - _id
                - instrumentSymbol
                - userId
                - condition
                - status
                - type
                - emailNotification
                - smsNotification
                - createdAt
        CreatePriceMovementAlertRequest:
            type: object
            properties:
                instrumentSymbol:
                    type: string
                condition:
                    $ref: '#/components/schemas/PriceMovementCondition'
                type:
                    $ref: '#/components/schemas/PriceMovementAlertNotificationType'
                emailNotification:
                    type: boolean
                smsNotification:
                    type: boolean
                expirationDate:
                    type: string
            required:
                - instrumentSymbol
                - condition
                - type
                - emailNotification
                - smsNotification
        UpdatePriceMovementAlertRequest:
            type: object
            properties:
                instrumentSymbol:
                    type: string
                condition:
                    type: object
                    properties:
                        type:
                            $ref: '#/components/schemas/PriceMovementConditionType'
                        value:
                            type: number
                type:
                    $ref: '#/components/schemas/PriceMovementAlertNotificationType'
                emailNotification:
                    type: boolean
                smsNotification:
                    type: boolean
                expirationDate:
                    type: string
                status:
                    $ref: '#/components/schemas/PriceMovementAlertNotificationStatus'
        CheckWithdrawalMinAmountRequest:
            type: object
            properties:
                productId:
                    type: number
                accountProviderId:
                    type: number
                address:
                    type: string
            required:
                - productId
                - accountProviderId
                - address
        ##### Recurring Purchases
        RecurringPurchasesIntervalType:
            type: string
            enum:
                - DAILY
                - WEEKLY
                - MONTHLY
        RecurringPurchasesSubscriptionInterval:
            type: object
            properties:
                type:
                    $ref: '#/components/schemas/RecurringPurchasesIntervalType'
                period:
                    type: number
                time:
                    type: number
            required:
                - type
                - time
        RecurringPurchasesSubscriptionItem:
            type: object
            properties:
                instrumentId:
                    type: number
                percent:
                    type: number
            required:
                - instrumentId
                - percent
        RecurringPurchasesSubscription:
            type: object
            properties:
                _id:
                    type: string
                accountId:
                    type: number
                cancellationCounter:
                    type: number
                name:
                    type: string
                active:
                    type: boolean
                amount:
                    type: number
                productId:
                    type: number
                createdAt:
                    type: string
                    format: 'date-time'
                updatedAt:
                    type: string
                    format: 'date-time'
                executedAt:
                    type: string
                    format: 'date-time'
                totalSpent:
                    type: array
                    items:
                        type: object
                        properties:
                            productId:
                                type: number
                            amount:
                                type: number
                        required:
                            - productId
                            - amount
                interval:
                    $ref: '#/components/schemas/RecurringPurchasesSubscriptionInterval'
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/RecurringPurchasesSubscriptionItem'
                nextExecutionDate:
                    type: string
                    format: 'date-time'
            required:
                - _id
                - accountId
                - name
                - interval
                - items
                - active
                - amount
                - productId
                - createdAt
                - updatedAt
                - nextExecutionDate
        CreateRecurringPurchasesSubscriptionRequest:
            type: object
            properties:
                name:
                    type: string
                amount:
                    type: number
                interval:
                    $ref: '#/components/schemas/RecurringPurchasesSubscriptionInterval'
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/RecurringPurchasesSubscriptionItem'
            required:
                - name
                - amount
                - interval
                - items
        UpdateRecurringPurchasesSubscriptionRequest:
            type: object
            properties:
                name:
                    type: string
                active:
                    type: boolean
                amount:
                    type: number
                interval:
                    $ref: '#/components/schemas/RecurringPurchasesSubscriptionInterval'
                items:
                    type: array
                    items:
                        $ref: '#/components/schemas/RecurringPurchasesSubscriptionItem'
            required:
                - name
                - interval
                - items
                - active
                - amount
        RecurringPurchasesTicketStatus:
            type: string
            enum:
                - PENDING
                - ACCEPTED
                - REJECTED
                - PROCESSING
                - CANCELED
        RecurringPurchasesError:
            type: string
            enum:
                - Exceeds_Daily_Limit
                - Not_Enough_Funds
                - SystemCanceled_NoMoreMarket
                - SelfTrading_Prevention
                - Unknown_Error
                - Less_Than_Minimum_Quantity
                - Contains_Disabled_Instrument
                - Amount_Greater_Than_Max_Amount
                - Amount_Less_Than_Min_Amount
                - Subscription_Deactivated
                - Subscription_Deleted
        RecurringPurchasesTicket:
            type: object
            properties:
                _id:
                    type: string
                subscriptionId:
                    type: string
                accountId:
                    type: number
                status:
                    $ref: '#/components/schemas/RecurringPurchasesTicketStatus'
                instrumentId:
                    type: number
                amount:
                    type: number
                createdAt:
                    type: string
                    format: 'date-time'
                updatedAt:
                    type: string
                    format: 'date-time'
                executedAt:
                    type: string
                    format: 'date-time'
                purchasedAt:
                    type: string
                    format: 'date-time'
                orderId:
                    type: number
                price:
                    type: number
                quantity:
                    type: number
                errorCode:
                    $ref: '#/components/schemas/RecurringPurchasesError'
                rejectedReason:
                    type: string
            required:
                - _id
                - subscriptionId
                - accountId
                - status
                - instrumentId
                - amount
                - createdAt
                - executeAt
        RecurringPurchasesTicketsList:
            type: array
            items:
                type: array
                items:
                    oneOf:
                        -   type: integer
                        -   type: array
                            items:
                                $ref: '#/components/schemas/RecurringPurchasesTicket'
        RecurringPurchasesInstrumentConfig:
            type: object
            properties:
                instrumentId:
                    type: number
                minAmount:
                    type: number
                maxAmount:
                    type: number
            required:
                - instrumentId
        ##### Reports
        ReportFormat:
            type: string
            enum:
                - PDF
                - CSV
        ReportType:
            type: string
            enum:
                - LEDGERS
                - TRADES
                - STAKING

        ReportStatus:
            type: string
            enum:
                - PENDING
                - PROCESSING
                - PROCESSED
                - FAILED
                - ARCHIVED
        ReportGenerationFailReason:
            type: string
            enum:
                - TOO_MANY_RECORDS
                - INTERNAL_SERVER_ERROR
        ReportRecord:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: integer
                accountId:
                    type: integer
                format:
                    $ref: '#/components/schemas/ReportFormat'
                type:
                    $ref: '#/components/schemas/ReportType'
                from:
                    type: string
                    format: 'date-time'
                to:
                    type: string
                    format: 'date-time'
                productOrInstrumentId:
                    type: integer
                createdAt:
                    type: string
                    format: 'date-time'
                status:
                    $ref: '#/components/schemas/ReportStatus'
                completedAt:
                    type: string
                    format: 'date-time'
                failReason:
                    $ref: '#/components/schemas/ReportGenerationFailReason'
                new:
                    type: boolean
                stats:
                    type: object
                    properties:
                        size:
                            type: number
                        fileName:
                            type: string
                    required:
                        - size
                        - fileName
            required:
                - _id
                - userId
                - accountId
                - format
                - type
                - from
                - to
                - rootCause
                - createdAt
                - status
        ReportRecordsList:
            type: object
            properties:
                list:
                    type: array
                    items:
                        $ref: '#/components/schemas/ReportRecord'
                total:
                    type: integer
            required:
                - list
                - total
        CreateReportRecordRequest:
            type: object
            properties:
                format:
                    $ref: '#/components/schemas/ReportFormat'
                type:
                    $ref: '#/components/schemas/ReportType'
                from:
                    type: string
                    format: 'date-time'
                to:
                    type: string
                    format: 'date-time'
                productOrInstrumentId:
                    type: integer
            required:
                - format
                - type
                - from
                - to

        ReportsUpdateResponse:
            type: object
            properties:
                _id:
                    type: string
                status:
                    $ref: '#/components/schemas/ReportStatus'
                completedAt:
                    type: string
                    format: 'date-time'
                failReason:
                    $ref: '#/components/schemas/ReportGenerationFailReason'
                stats:
                    type: object
                    properties:
                        size:
                            type: number
                        fileName:
                            type: string
                    required:
                        - size
                        - fileName
                new:
                    type: boolean
            required:
                - _id
                - status
        CyclicReportPeriod:
            type: string
            enum:
                - WEEKLY
                - MONTHLY
                - ANNUAL
        CyclicReport:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: integer
                accountId:
                    type: integer
                format:
                    $ref: '#/components/schemas/ReportFormat'
                type:
                    $ref: '#/components/schemas/ReportType'
                period:
                    $ref: '#/components/schemas/CyclicReportPeriod'
                productOrInstrumentId:
                    type: integer
                lastSent:
                    type: string
                    format: 'date-time'
                createdAt:
                    type: string
                    format: 'date-time'
            required:
                - _id
                - userId
                - accountId
                - format
                - type
                - period
                - lastSent
                - createdAt
        ArrayOfCyclicReports:
            type: array
            items:
                $ref: '#/components/schemas/CyclicReport'
        CreateCyclicReportRequest:
            type: object
            properties:
                format:
                    $ref: '#/components/schemas/ReportFormat'
                type:
                    $ref: '#/components/schemas/ReportType'
                period:
                    $ref: '#/components/schemas/CyclicReportPeriod'
                productOrInstrumentId:
                    type: integer
            required:
                - format
                - type
                - period
        ##### Transfer Funds
        TransferFundsType:
            type: string
            enum:
                - ALL
                - SENT_TRANSFERS
                - RECEIVED_TRANSFERS
        TransferFundsStatus:
            type: string
            enum:
                - PENDING
                - AWAITS_RECIPIENT_SIGN_UP
                - AWAITS_RECIPIENT_TO_BE_VERIFIED
                - PROCESSING
                - ACCEPTED
                - FAILED
                - USER_CANCELLED
                - ADMIN_CANCELLED
        TransferFundsGiftEvent:
            type: string
            enum:
                - BIRTHDAY
                - HOLIDAYS
                - GRADUATION
                - LUNAR_NEW_YEAR
                - VALENTINES_DAY
                - EID_UL_FITR
                - FATHERS_DAY
                - DIWALI
                - OTHER
        TransferFundsGift:
            type: object
            properties:
                event:
                    $ref: '#/components/schemas/TransferFundsGiftEvent'
                img:
                    type: string
            required:
                - event
                - img
        TransferFundsRecord:
            type: object
            properties:
                _id:
                    type: string
                status:
                    $ref: '#/components/schemas/TransferFundsStatus'
                holdReferenceId:
                    type: number
                transferId:
                    type: number
                senderUserId:
                    type: number
                senderAccountId:
                    type: number
                recipientUserId:
                    type: number
                recipientAccountId:
                    type: number
                senderEmail:
                    type: string
                senderName:
                    type: string
                recipientEmail:
                    type: string
                productId:
                    type: number
                amount:
                    type: number
                notionalValue:
                    type: number
                message:
                    type: string
                gift:
                    $ref: '#/components/schemas/TransferFundsGift'
                createdAt:
                    type: string
                    format: 'date-time'
                updatedAt:
                    type: string
                    format: 'date-time'
                acceptedAt:
                    type: string
                    format: 'date-time'
                failedAt:
                    type: string
                    format: 'date-time'
                failReason:
                    type: string
            required:
                - status
                - senderUserId
                - senderAccountId
                - senderEmail
                - senderName
                - recipientEmail
                - productId
                - amount
                - createdAt
                - updatedAt
        TransferFundsList:
            type: array
            items:
                type: array
                items:
                    oneOf:
                        -   type: integer
                        -   type: array
                            items:
                                $ref: '#/components/schemas/TransferFundsRecord'
        TransferFundsLimits:
            type: object
            properties:
                oneTimeLimit:
                    type: number
                monthlyLimit:
                    type: number
                monthlyValue:
                    type: number
                productId:
                    type: number
            required:
                - oneTimeLimit
                - monthlyLimit
                - monthlyValue
                - productId
        ActiveGiftEvent:
            type: object
            properties:
                event:
                    $ref: '#/components/schemas/TransferFundsGiftEvent'
                templates:
                    type: array
                    items:
                        type: string
                showGiftButton:
                    type: boolean
            required:
                - event
                - templates
                - showGiftButton
        SendTransferFundsRequest:
            type: object
            properties:
                code:
                    type: string
                email:
                    type: string
                productId:
                    type: number
                amount:
                    type: number
                note:
                    type: string
                gift:
                    $ref: '#/components/schemas/TransferFundsGift'
            required:
                - code
                - email
                - productId
                - amount
                - note
        ##### Users
        VerificationTicketStatus:
            enum:
                - PENDING
                - PROCESSING
                - VERIFIED
                - REJECTED
        SumsubFlow:
            enum:
                - Flow1
                - Flow2
                - Flow3
                - Flow4
        UserRiskRating:
            type: number
            enum:
                - 0
                - 1
                - 2
        VerificationTicketAcceptor:
            enum:
                - ADMIN
                - SYSTEM
        EmploymentType:
            enum:
                - EMPLOYED
                - HOMEMAKER
                - RETIRED
                - SELF_EMPLOYED
                - STUDENT
                - UNEMPLOYED
        UserTypeOfBusiness:
            enum:
                - ACCOUNTING
                - ADMINISTRATIVE
                - AGRICULTURE_AND_FARMING
                - BANKING_AND_MORTGAGE_PROFESSIONALS
                - BUILDING_CONSTRUCTION
                - BUSINESS_MANAGEMENT
                - CLIENT_SUPPORT
                - DESIGN_AND_CREATIVITY
                - EDUCATION_AND_TRAINING
                - ENGINEERING_AND_ARCHITECT
                - FINANCE_AND_FINTECH
                - FOOD_SERVICES_AND_HOSPITALITY
                - GOVERNMENT_AND_DIPLOMATIC
                - HUMAN_RESOURCES
                - INSURANCE
                - LEGAL
                - MANUFACTURING_AND_OPERATIONS
                - MARKETING
                - MEDICAL_AND_HEALTH
                - RESOURCE_INDUSTRY
                - MILITARY_PROFESSIONAL
                - PROJECT_AND_PROGRAM_MANAGEMENT
                - PERSONAL_CARE_SERVICES
                - QUALITY_ASSURANCE_AND_SAFETY
                - REAL_ESTATE
                - RELIGIOUS_PROFESSIONALS
                - RETAIL_AND_BUSINESS_DEVELOPMENT
                - SCIENCE_AND_TECHNOLOGY
                - SECURITY_AND_EMERGENCY_SERVICES
                - SKILLED_TRADES_MAINTENANCE_AND_REPAIR
                - SOFTWARE_DEVELOPMENT_AND_INFORMATION_TECHNOLOGY
                - SPORTS_GAMING_ENTERTAINMENT
                - TRANSPORTATION_AND_LOGISTICS
                - UTILITIES
                - WRITING_EDITORIAL
                - UNKNOWN
        SourceOfIncome:
            enum:
                - GIFT
                - INSURANCE
                - INVESTMENTS
                - OTHER_FAMILY_MEMBERS
                - PARENTS
                - PREVIOUS_EMPLOYMENT
                - SALE_OF_ASSETS
                - SAVINGS
                - SPOUSE
                - PENSION
                - PAID_INTERNSHIP
                - PART_TIME_JOB
                - SCHOLARSHIP
                - STUDENT_LOAN
                - SUMMER_JOB
                - DISABILITY_OR_UNEMPLOYMENT_INSURANCE
                - OTHER
        SystemJobs:
            enum:
                - UNKNOWN
        AccountingJobs:
            enum:
                - ACCOUNTANT
                - ACCOUNTING_CONSULTANT
                - ACCOUNTS_PAYABLE_RECEIVABLE_CLERK
                - ACTUARY_OR_ACTUARIAL_ANALYST
                - AUDITOR
                - BOOKKEEPER
                - CHIEF_FINANCIAL_OFFICER
                - MANAGER_OR_COMPLIANCE_OFFICER
                - TAX_ACCOUNTANT
                - TAX_ASSESSMENT_AND_COLLECTIONS_OFFICER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - BUDGET_ANALYST
                - CHIEF_OR_SENIOR_EXECUTIVE
                - GENERAL_AND_OPERATIONS_MANAGER
                - PUBLIC_RELATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        AdministrativeJobs:
            enum:
                - ADMINISTRATIVE_ASSISTANT
                - ADMINISTRATIVE_SUPPORT_CLERK
                - CLAIMS_PROCESSOR
                - DATA_ENTRY
                - EXECUTIVE_ASSISTANT
                - MAILROOM_CLERK
                - OFFICE_MANAGER
                - ORDER_PROCESSING_CLERK
                - PROPERTY_MANAGER
                - RECEPTIONIST
                - RECORD_MANAGEMENT_CLERK
                - SECRETARY
                - TRANSCRIPTION_CLERK
                - CHIEF_OR_SENIOR_EXECUTIVE
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        AgricultureAndFarmingJobs:
            enum:
                - AGRICULTURE_INSPECTOR
                - ANIMAL_BREEDER
                - CANNABIS_DISPENSARY_WORKER
                - CANNABIS_CULTIVATION_SIRE_WORKER
                - CANNABIS_LAB_TECHNICIAN
                - CROP_FARMER
                - DAIRY_FARMER
                - EGG_FARMER
                - FARM_OPERATOR_OR_OWNER
                - FARM_SUPPLY
                - FISH_FARMER
                - GRAIN_FARMER
                - GREENHOUSE_FARMER
                - HUNTER_OR_TRAPPER
                - HYDROPONICS_FARMER
                - LIVESTOCK_FARMER
                - MIXED_FARMER
                - ORCHARD_OR_VINEYARD
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - AGRICULTURAL_EQUIPMENT_OPERATOR
                - AGRICULTURAL_TECHNICIAN
                - AGRONOMIST
                - ANIMAL_CARETAKER
                - ANIMAL_SCIENTIST
                - BUTCHER
                - BUYER_AGENT_FARM_PRODUCTS
                - CARTOGRAPHER_AND_PHOTOGRAMMETRIST
                - CHIEF_OR_SENIOR_EXECUTIVE
                - COMMERCIAL_DIVER
                - ENVIRONMENTAL_COMPLIANCE_INSPECTOR
                - ENVIRONMENTAL_ENGINEER
                - ENVIRONMENTAL_ENGINEER_OR_TECHNICIAN
                - ENVIRONMENTAL_SCIENTIST
                - FALLER
                - FARM_EQUIPMENT_MECHANIC_OR_TECHNICIAN
                - FARM_FINANCIAL_MANAGER
                - FARMING_EQUIPMENT_OPERATOR
                - FISH_AND_GAME_WARDEN
                - FOOD_INSPECTOR
                - FOREST_AND_CONSERVATION_WORKERS
                - FORESTER
                - GENERAL_AND_OPERATIONS_MANAGER
                - GRADER_AND_SORTER_OF_AGRICULTURAL_PRODUCTS
                - LANDSCAPE_DESIGNER
                - LOG_GRADER_AND_SCALER
                - LOGGING_EQUIPMENT_OPERATOR
                - NURSERY_WORKERS
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PEST_CONTROL_WORKERS
                - PESTICIDE_HANDLER_SPRAYER_AND_APPLICATOR
                - REGULATORY_AFFAIRS_MANAGER
                - SOIL_AND_PLANT_SCIENTIST
                - SOIL_AND_WATER_CONSEVATIONIST
                - SEAFOOD_PLANT_WORKER
                - SUPERVISOR_OF_ANIMAL_HUSBANDRY_AND_AMINAL_CARE
                - TREE_TRIMMER_AND_PRUNER
                - VETERINARIAN
                - VETERINARY_ASSISTANCE
                - WATER_OR_WASTEWATER_ENGINEER
                - ZOOLOGIST_AND_WILDLIFE_BIOLOGIST
                - HORTICULTURAL_WORKERS
                - LABORATORY_ANIMAL_CARETAKER
        BankingAndMortgageProfessionals:
            enum:
                - BANK_EXECUTIVE
                - BANK_TELLER
                - BRANCH_MANAGER
                - CORPORATE_OFFICE_EMPLOYEE
                - CORPORATE_OFFICE_MANAGER
                - CREDIT_MANAGER
                - CREDIT_ANALYST
                - ECONOMIST
                - ESCROW_OFFICER
                - FINANCIAL_SERVICES_REPRESENTATIVE
                - INVESTMENT_BANKER
                - LOAN_OFFICER
                - MORTGAGE_BROKER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - CHIEF_OR_SENIOR_EXECUTIVE
                - BILLING_COST_AND_RATE_CLERK
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        BuildingConstructionJobs:
            enum:
                - BUILDING_CONTRACTOR
                - CARPENTER_OR_FRAMER
                - CONCRETE_AND_MASONRY_TRADESPERSON
                - CONSTRUCTION_LABORER
                - DRYWALL_AND_PLASTER_TRADESPERSON
                - FLOOR_TILE_POINT_WALLPAPER_TRADESPERSON
                - GENERAL_LABOURER
                - HEAVY_EQUIPMENT_OPERATOR
                - HVAC_INSTALLER
                - INSTALLATION_MAINTENANCE_AND_REPAIR
                - LANDSCAPER
                - PLUMBER
                - ROOFER
                - SITE_SUPERINTENDENT
                - SURVEYOR
                - WELDER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - DRYWALL_TILE_AND_PLASTER_INSTALLER
                - BRICKMASON
                - CARPET_INSTALLER
                - CHIEF_OR_SENIOR_EXECUTIVE
                - CIVIL_ENGINEER_TECHNOLOGIST_AND_TECHNICIAN
                - CONTROL_AND_VALVE_INSTALLER_AND_REPAIRER
                - CONSTRUCTION_AND_BUILDING_INSPECTOR
                - CONSTRUCTION_MANAGER
                - CONVEYOR_OPERATOR_AND_TENDER
                - COST_ESTIMATOR
                - CRANE_AND_TOWER_OPERATOR
                - DREDGE_OPERATOR
                - ELECTRICIAN_OR_ELECTRICAL_TECHNICIAN
                - ELECTRICAL_FOREMAN
                - ELECTRICAL_PROJECT_MANAGER
                - ELEVATOR_OR_ESCALATOR_TECHNICIAN
                - EXCAVATING_MACHINE_AND_DRAGLINE_OPERATOR
                - EXTRACTION_WORKER
                - EQUIPMENT_OPERATOR
                - GENERAL_CONSTRUCTION_LABOURER
                - GENERAL_AND_OPERATIONS_MANAGER
                - GLAZIER
                - HAZARDOUS_MATERIALS_REMOVAL_WORKER
                - HEATING_AND_AIR_CONDITIONING_MECHANIC
                - HOIST_AND_WINCH_OPERATOR
                - HOME_APPLIANCE_REPAIRER
                - INTERIOR_DESIGNER
                - LINE_INSTALLER_OR_LINEMAN
                - MECHANICAL_DRAFTER
                - OPERATING_ENGINEER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - CONSTRUCTION_EQUIPMENT_OPERATOR
                - PIPE_FITTER_AND_STEAMFITTER
                - PIPELAYER
                - PLASTER_AND_STUCCO_MASON
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - REFRIGERATION_MECHANIC_AND_INSTALLER
                - REINFORCING_IRON_AND_REBAR_WORKER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SHEET_METAL_WORKER
                - SOLAR_ENERGY_INSTALLATION_MANAGER
                - SOLAR_THERMAL_INSTALLER_AND_TECHNICIAN
                - STATIONARY_ENGINER_AND_BOILER_OPERATOR
                - STRUCTURAL_METAL_FABRICATOR_AND_FITTER
                - TAPER
        BusinessManagementJobs:
            enum:
                - BUSINESS_UNIT_MANAGER
                - BRANCH_MANAGER
                - CASINO_MANAGER
                - CHIEF_FINANCIAL_OFFICER
                - CHIEF_OR_SENIOR_EXECUTIVE
                - CITY_PLANNER
                - CITY_ADMINISTRATOR_OR_CLERK
                - CLINIC_ADMINISTRATOR
                - FINANCIAL_ANALYST
                - FRANCHISE_BUSINESS_OWNER
                - HOSPITAL_CLERK
                - HOTEL_MANAGER
                - INTELLIGENCE_CONSULTANT
                - MANAGEMENT_CONSULTANT
                - MERGERS_AND_ACQUISITIONS_CONSULTANT
                - PRESIDENT
                - PUBLIC_HEALTH_ADMINISTRATOR
                - REPORTING_ANALYST
                - RESEARCH_ANALYST
                - RESTAURANT_MANAGER
                - STORE_MANAGER
                - STRATEGIC_PLAN
                - URBAN_PLANNER
                - ACCOUNTANT
                - ADMINISTRATIVE_SERVICE_MANAGER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - ADVERTISING_AND_PROMOTIONS_MANAGER
                - ADVERTISING_SALES_AGENT
                - BILLING_COST_AND_RATE_CLERK
                - BUDGET_ANALYST
                - BUSINESS_OPERATIONS_SPEACIALIST
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        ClientSupportJobs:
            enum:
                - ACCOUNT_MANAGER
                - CALL_CENTER_AGENT
                - CUSTOMER_SERVICE_REP
                - RESERVATION_AGENT
                - RETAIL_CUSTOMER_SERVICE_REPRESENTATIVE
                - TECHNICAL_CUSTOMER_SERVICE_AGENT
                - TICKETING_AGENT
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - GENERAL_AND_OPERATIONS_MANAGER
                - FACILITY_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - PUBLIC_RELATIONS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        DesignAndCreativityJobs:
            enum:
                - ARTIST
                - COMPUTER_ANIMATOR
                - MULTIMEDIA_PROGRAMMER
                - CREATIVE_DIRECTOR
                - FASHION_AND_ACCESSORIES_DESIGNER
                - GRAPHIC_ARTIST
                - ILLUSTRATOR
                - INDUSTRIAL_DESIGNER
                - INTERIOR_DESIGNER
                - PHOTOGRAPHER
                - VIDEOGRAPHER
                - GRAPHIC_ARTIST_OR_DESIGNER
                - BROADCASTER_ANNOUNCER
                - BROADCAST_NEWS_ANALYST
                - BROADCAST_TECHNICIAN
                - EQUIPMENT_REPAIRER
                - CAMERA_OPERATOR
                - CHOREOGRAPHER
                - COMMERCIAL_AND_INDUSTRIAL_DESIGNER
                - COMMUNICATIONS_EQUIPMENT_OPERATOR
                - FILM_EDITOR
                - FLORAL_DESIGNER
                - COPYWRITER
                - CRAFT_ARTIST
                - DANCER
                - DESKTOP_PUBLISHER
                - DISC_JOCKEY
                - EDITOR
                - FILM_AND_VIDEO_EDITOR
                - FINE_ARTIST_PAINTER_SCULPTOR_AND_ILLUSTRATOR
                - GENERAL_AND_OPERATIONS_MANAGER
                - LIGHTING_TECHNICIAN
                - MAKEUP_ARTIST_THEATRICAL_AND_PERFORMANCE
                - MEDIA_EQUIPMENT_OPERATOR
                - MEDIA_AND_COMMUNICATION_WORKER
                - MEDIA_PROGRAMMING_DIRECTOR
                - MEDIA_TECHNICAL_DIRECTOR_OR_MANAGER
                - MUSIC_COMPOSER_AND_ARRANGER
                - MUSIC_DIRECTOR
                - MUSICIAN_AND_OR_OR_SINGER
                - NEWS_ANALYST_REPORTER_AND_JOURNALIST
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - POET_LYRICIST_AND_CREATIVE_WRITER
                - PRODUCER
                - RADIO_OPERATOR
                - REPORTER_AND_CORRESPONDENT
                - SINGER
                - SOUND_ENGINEERING_TECHNICIAN
                - SPECIAL_EFFECTS_ARTIST_AND_ANIMATOR
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SOCIAL_MEDIA_SPECIALIST
                - STYLIST
                - TALENT_DIRECTOR
                - TEXTILE_DESIGNER
                - VIDEO_EDITOR
                - WRITER_AND_AUTHOR
        EducationAndTrainingJobs:
            enum:
                - CHILD_CARE_WORKER
                - COLLEGE_ADMINISTRATOR
                - CONTINUING_EDUCATION_TEACHER
                - CORPORATE_DEVELOPMENT
                - CUSTOMER_TRAINING_CONSULTANT
                - DOCTOR_PHD
                - EARLY_CHILDHOOD_CARE_SPECIALIST
                - EDUCATION_ASSISTANT
                - ELEMENTARY_SCHOOL_TEACHER
                - JUNIOR_OR_HIGH_SCHOOL_TEACHER
                - LIBRARIAN
                - PRIVATE_TUTOR
                - POST_SECONDARY_TEACHER_OR_EDUCATOR
                - SCHOOL_PRINCIPAL
                - SCHOOL_ADMINISTRATOR
                - SPECIAL_EDUCATION_TEACHER
                - TEACHERS_AID
                - TRANSLATOR
                - TRAINING_SPECIALIST
                - UNIVERSITY_OR_COLLEGE_PROFESSOR
                - TEACHERS_AID_OR_ASSISTANT
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - ACADEMIC_ADVISOR
                - ARCHIVIST
                - MULTIMEDIA_COLLECTION_SPECIALIST
                - CLINICAL_AND_COUNSELING_PSYCHOLOGIST
                - CURATOR
                - DAYCARE_TEACHER_OR_WORKER
                - DISTANCE_LEARNING_COORDINATOR
                - EDUCATION_ADMINISTRATOR
                - EDUCATIONAL_INSTRUCTION_AND_LIBRARY_WORKER
                - EDUCATIONAL_CAREER_COUNSELOR_AND_ADVISOR
                - FACILITY_MANAGER
                - FITNESS_AND_WELLNESS_COORDINATOR
                - GENERAL_AND_OPERATIONS_MANAGER
                - INSTRUCTIONAL_COORDINATOR
                - INSTRUCTIONAL_DESIGNER_AND_TECHNOLOGIST
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_AND_FUNDRAISING_MANAGER
                - REGULATORY_AFFAIRS_SPECIALIST
                - SECURITY_MANAGEMENT_SPECIALIST
                - SUBSTITUTE_TEACHER
                - MEDIA_COLLECTION_SPECIALIST_OR_TECHNICIAN
        EngineeringAndArchitectJobs:
            enum:
                - AERONAUTIC_OR_AVIONIC_ENGINEER
                - ARCHITECT
                - BIO_ENGINEER
                - CHEMICAL_ENGINEER
                - CIVIL_ENGINEER
                - DRAFTING_TECHNICIAN
                - ELECTRICAL_OR_ELECTRONICS_ENGINEER
                - ENERGY_OR_NUCLEAR_ENGINEER
                - ENVIRONMENTAL_ENGINEER
                - GEOLOGICAL_ENGINEER
                - INDUSTRIAL_ENGINEER
                - MANUFACTURING_ENGINEER
                - MARINE_ENGINEER
                - MECHANICAL_ENGINEER
                - NAVAL_ARCHITECTURE
                - STRUCTURAL_ENGINEER
                - SYSTEMS_ENGINEER
                - WIRELESS_ENGINEER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - ARCHITECTURAL_AND_CIVIL_DRAFTER
                - ARCHITECTURAL_AND_ENGINEERING_MANAGER
                - AUTOMOTIVE_ENGINEER
                - BIOCHEMICAL_ENGINEER
                - CIVIL_ENGINEER_TECHNOLOGIST_AND_TECHNICIAN
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - LOGISTICS_ENGINEER
                - MATERIAL_ENGINEER
                - MECHATRONICS_ENGINEER
                - MICROSYSTEMS_ENGINEER
                - NANOSYSTEMS_ENGINEER
                - NANOTECHNOLOGY_ENGINEER
                - NUCLEAR_ENGINEER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        FinanceAndFinTechJobs:
            enum:
                - CHIEF_FINANCIAL_OFFICER
                - CLAIMS_ADJUSTER
                - COMPLIANCE_OFFICER
                - CORPORATE_FINANCE_ACCOUNTANT
                - CORPORATE_FINANCE_ANALYST
                - FINANCIAL_ANALYST
                - FINANCIAL_CONTROLLER
                - FINANCIAL_MANAGER
                - FINANCIAL_PLANNER
                - FINANCIAL_PRODUCTS_SALES_AGENT
                - FUND_ACCOUNTANT
                - INVESTMENT_BROKER
                - INVESTMENT_CONSULTANT
                - INVESTMENT_MANAGER
                - SECURITIES_ANALYST
                - SECURITIES_BROKER
                - ACTUARIE
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - BILLING_COST_AND_RATE_CLERK
                - BILL_AND_ACCOUNT_COLLECTOR
                - BROKERAGE_CLERK
                - BUDGET_ANALYST
                - CERTIFIED_PUBLIC_ACCOUNTANT
                - CHIEF_OR_SENIOR_EXECUTIVE
                - CREDIT_ANALYST
                - CREDIT_AUTHORIZER_REVIEWER_AND_CLERK
                - FACILITY_MANAGER
                - FINANCIAL_RISK_SPECIALIST
                - FRAUD_EXAMINER_INVESTIGATOR_AND_ANALYST
                - GENERAL_AND_OPERATIONS_MANAGER
                - HEDGE_FUND_OR_MUTUAL_FUND_ANALYST
                - INVESTMENT_BANKER
                - LOAN_OFFICER
                - MERGERS_AND_ACQUISITION_MANAGER
                - NETWORK_ANALYST
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PRIVATE_EQUITY_ASSOCIATE
                - PORTFOLIO_MANAGER
                - PRODUCT_DESIGNER
                - PUBLIC_RELATIONS_MANAGER
                - RISK_MANAGEMENT_SPECIALIST
                - REGULATORY_AFFAIRS_MANAGER
                - SCRUM_MASTER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SOFTWARE_OR_APPLICATION_DEVELOPER
                - TRADER
                - TELLER
                - UNDERWRITER
        FoodServicesAndHospitalityJobs:
            enum:
                - BAKER
                - BARTENDER
                - CASHIER
                - BARISTA
                - FOOD_AND_BEVERAGE_SERVER
                - RESTAURANT_MANAGER
                - SERVER
                - TOUR_GUIDE
                - WINE_STEWARD_OR_SOMMELIER
                - BUTCHER
                - EXECUTIVE_CHEF
                - COMBINED_FOOD_PREPARATION
                - FACILITY_MANAGER
                - FAST_FOOD_WORKER_COOK
                - FOOD_SERVICE_MANAGER
                - CONCIERGE
                - DISHWASHER
                - GENERAL_AND_OPERATIONS_MANAGER
                - LINE_COOK
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - SOMMELIER
                - WAITERS_AND_WAITRESSE
        GovernmentAndDiplomaticJobs:
            enum:
                - ABORIGINAL_BAND_CHEF
                - AMBASSADOR
                - BY_LAW_OFFICER
                - CITY_OR_TOWN_COUNCILLOR
                - CIVIL_SERVANT_GOVERNMENT_EMPLOYEE
                - DEPUTY_MINISTER_OR_EQUIVALENT_RANK
                - DIPLOMAT_ATTACHE_COUNSELLOR
                - EXECUTIVE_COUNCIL_MEMBER_OF_GOVERNMENT
                - GOVERNMENT_EMPLOYEE
                - HEAD_OF_AGOVERNMENT_AGENCY
                - HEAD_OF_STATE_OR_GOVERNMENT
                - LEADER_OR_PRESIDENT_OF_POLITICAL_PARTY
                - MAYOR
                - MEMBER_OF_LEGISLATURE_PARLIAMENT
                - PRESIDENT_OF_STATE_OWNED_COMPANY_OR_BANK
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - ANIMAL_CONTROL_WORKER
                - ARBITRATOR_MEDIATOR_AND_CONCILIATOR
                - BOARDER_CROSSING_GUARD
                - CITY_AND_REASIONAL_PLANNING_AID
                - CLIMATE_CHANGE_POLICY_ANALYST
                - CUSTOMS_AND_BORDER_PROTECTION_OFFICER
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - GOVERNMENT_PROPERTY_INSPECTOR_OR_INVESTIGATOR
                - IMMIGRATION_AND_CUSTOMS_INSPECTOR
                - INTELLIGENCE_ANALYST
                - JUDGE_MAGISTRATE
                - LAWYER
                - LICENSE_CLERK
                - LICENSING_EXAMINER_AND_INSPECTOR
                - LEGAL_SUPPORT_WORKER
                - MUNICIPAL_CLERK
                - OCCUPATIONAL_HEALTH_AND_SAFETY_SPECIALIST
                - OCCUPATIONAL_HEALTH_AND_SAFETY_TECHNICIAN
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - POSTAL_SERVICE_CLERK
                - POSTAL_SERVICE_MAIL_CARRIER
                - POSTAL_SERVICE_MAIL_SORTER_OR_PROCESSOR
                - POSTMASTER_AND_MAIL_SUPERINTENDENT
                - PUBLIC_RELATIONS_AND_FUNDRAISING_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - STATISTICAL_ASSISTANT_OR_ANALYST
                - TAX_EXAMINER_COLLECTOR_AND_REVENUE_AGENT
                - TRANSPORTATION_INSPECTOR
        HumanResourcesJobs:
            enum:
                - COMPENSATION_AND_BENEFITS_POLICY_SPECIALIST
                - COMPLIANCE_SPECIALIST
                - CORPORATE_DEVELOPMENT_SPECIALIST
                - CORPORATE_TRAINING_SPECIALIST
                - DIVERSITY_MANAGEMENT
                - HUMAN_RESOURCE_ADMINISTRATOR
                - HUMAN_RESOURCE_COUNSELLOR
                - HUMAN_RESOURCE_SPECIALIST
                - PAYROLL_AND_BENEFITS_ADMINISTRATOR
                - RECRUITING_AND_SOURCING_SPECIALIST
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        InsuranceJobs:
            enum:
                - ACTUARY_OR_ACTUARIAL_ANALYST
                - COLLECTIONS_OFFICER
                - ESCROW_OFFICER
                - INSURANCE_APPRAISER
                - INSURANCE_BROKER
                - INVESTMENT_ANALYST
                - MANAGER_OR_COMPLIANCE_OFFICER
                - TITLE_INSURANCE_OFFICER
                - UNDERWRITER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - CLAIM_EXAMINER
                - CREDIT_ANALYST
                - FRAUD_EXAMINER_INVESTIGATOR_AND_ANALYST
                - GENERAL_AND_OPERATIONS_MANAGER
                - INSURANCE_ADJUSTER_AND_INVESTIGATOR
                - INSURANCE_CLAIMS_PROCESSING_CLERK
                - INSURANCE_SALES_AGENT
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        LegalJobs:
            enum:
                - CONTRACTS_ADMINISTRATION_LAWYER
                - CORPORATE_ATTORNEY_OR_LAWYER
                - CRIMINAL_LAWYER
                - GOVERNMENT_ATTORNEY_OR_LAWYER
                - JUDGE
                - LABOR_AND_EMPLOYMENT_LAWYER
                - LEGAL_SECRETARY
                - LEGAL_SPECIALIST
                - PARALEGAL
                - PATENT_AND_IP_LAWYER
                - PRIVATE_PRACTICE_ATTORNEY_OR_LAWYER
                - REAL_ESTATE_LAWYER
                - REGULATOR_AND_COMPLIANCE_LAWYER
                - TAX_LAWYER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - ADJUDICATOR_AND_HEARING_OFFICER
                - ARBITRATOR_MEDIATOR_AND_CONCILIATOR
                - COURT_REPORTER
                - COURT_CLERK
                - GENERAL_AND_OPERATIONS_MANAGER
                - INFORMATION_AND_RECORD_CLERK
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - SECURITY_MANAGEMENT_SPECIALIST
                - PARALEGAL_AND_LEGAL_ASSISTANT
                - PUBLIC_RELATIONS_MANAGER
        ManufacturingAndOperationsJobs:
            enum:
                - AGRICULTURAL_SPECIALIST
                - ASSEMBLY_WORKER
                - ASSEMBLY_LINE_WORKER
                - AUDIO_OR_VIDEO_BROADCAST_AND_PRODUCTION_TECHNICIAN
                - EQUIPMENT_OPERATOR
                - HAZARDOUS_MATERIAL_HANDLER
                - LAUNDRY_AND_DRY_CLEANING_WORKER
                - MACHINING_OR_CNC_TECHNICIAN
                - METAL_FABRICATOR_AND_WELDER
                - MOLD_MAKING_AND_CASTING_TECHNICIAN
                - OPERATORS_TELCOM_ADMIN_OR_MANAGER
                - OPERATIONS_OR_PLANT_MANAGER
                - PRINTING_AND_BINDING_TECHNICIAN
                - PRODUCTION_OR_OPERATOR_PLANNER
                - SCIENTIFIC_OR_TECH_PRODUCTION_SPECIALIST
                - SEAMSTRESS_OR_TAILOR
                - WASTE_PICK_UP_AND_REMOVAL_WORKER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - CALIBRATION_TECHNOLOGIST_AND_TECHNICIAN
                - CHIEF_OR_SENIOR_EXECUTIVE
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - INDUSTRIAL_ENGINEERING_TECHNICIANS
                - INDUSTRIAL_MACHINERY_MECHANIC
                - INDUSTRIAL_PRODUCTION_MANAGER
                - INSPECTOR_TESTER_OR_SORTER
                - INSTALLATION_AND_REPAIR_WORKER
                - JEWELER
                - PRECIOUS_STONE_OR_METAL_WORKER
                - LATHE_AND_TURNING_MACHINE_OPERATOR
                - LOCKSMITH_OR_SAFE_REPAIR
                - LOSS_PREVENTION_MANAGER
                - MAINTENANCE_WORKER_OR_MACHINERY
                - MANUFACTURING_OR_PRODUCT_ENGINEER
                - MANUFACTURING_TECHNICIAN
                - PACKAGING_ENGINEER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PLANT_AND_SYSTEM_OPERATOR
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - ROBITICS_TECHNICIAN
                - SECURITY_MANAGEMENT_SPECIALIST
                - WELDER
                - WOODWORKER
        MarketingJobs:
            enum:
                - BRAND_AND_PRODUCT_MARKETING_SPECIALIST
                - COPY_WRITER_OR_EDITOR
                - DIRECT_MARKETING_AGENT
                - EVENTS_AND_PROMOTIONAL_MARKETER
                - PUBLIC_AND_MEDIA_RELATIONS_REP
                - MARKET_RESEARCHER
                - MARKETING_COMMUNICATIONS_SPECIALIST
                - MARKETING_PRODUCTION_AND_TRAFFIC_SPECIALIST
                - MEDIA_PLANNING_AND_BUYING_SPECIALIST
                - PRODUCT_MANAGER
                - PUBLIC_RELATIONS_SPECIALIST
                - TELEMARKETER
                - VISUAL_MERCHANDISING_SPECIALIST
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - CREATIVE_DIRECTOR
                - DEMONSTRATOR_AND_PRODUCT_PROMOTER
                - DOOR_TO_DOOR_SALES_OR_STREET_SALES
                - GENERAL_AND_OPERATIONS_MANAGER
                - GRAPHIC_DESIGNER
                - SECURITY_MANAGEMENT_SPECIALIST
                - MARKETING_COORDINATOR
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - SOCIAL_MEDIA_COORDINATOR
        MedicalAndHealthJobs:
            enum:
                - AUDIOLOGIST
                - ANESTHESIOLOGIST
                - CHIROPRACTOR
                - DENTAL_ASSISTANT_OR_HYGIENIST
                - DENTIST_OR_DENTAL_PRACTITIONER
                - DIETITIAN_OR_NUTRITIONIST
                - EMTOR_PARAMEDIC
                - HEALTHCARE_AID
                - HOME_HEALTH_AID
                - LABORATORY_OR_PATHOLOGY_TECHNICIAN
                - MASSAGE_THERAPIST_OR_MASSEUSE
                - MEDICAL_IMAGING_SPECIALIST
                - MEDICAL_PRACTITIONER
                - MEDICAL_OR_REHABILITATION_THERAPIST
                - MENTAL_HEALTH_SPECIALIST
                - MIDWIFE
                - NURSE
                - NUTRITION_AND_DIET_COUNSELLOR
                - OPHTHALMOLOGIST
                - OPTICIAN
                - OPTOMETRIST
                - PHARMACIST
                - PSYCHOLOGIST_OR_PSYCHIATRIST
                - PHYSICIAN
                - PHYSICIAN_ASSISTANT
                - REGISTERED_NURSE
                - THERAPIST
                - VETERINARIAN
                - GENERAL_PHYSICIAN
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - ACUPUNCTURIST
                - ALLERGISTS_AND_IMMUNOLOGIST
                - BIOENGINEERING_AND_BIOMEDICAL_ENGINEER
                - CARDIOLOGIST
                - CARDIOVASCULAR_TECHNICIAN
                - CLINICAL_PSYCHOLOGIST
                - CLINICAL_RESEARCH_COORDINATOR
                - CHIEF_OR_SENIOR_EXECUTIVE
                - CHEMIST
                - COUNSELING_PSYCHOLOGIST
                - DENTAL_LABORATORY_TECHNICIAN
                - DERMATOLOGIST
                - DIAGNOSTIC_MEDICAL_SONOGRAPHER
                - EMERGENCY_MEDICINE_PHYSICIAN
                - EMERGENCY_VEHICLE_DRIVER
                - EPIDEMIOLOGIST
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - HEALTH_EDUCATION_SPECIALIST
                - HEALTH_INFORMATION_TECHNOLOGIST
                - HEALTH_TECHNOLOGIST_AND_TECHNICIAN
                - HISTOLOGY_TECHNICIAN
                - HISTOTECHNOLOGIST
                - HOSPITALIST
                - INTERNIST_GENERAL
                - LICENSED_PRACTICAL_NURSE
                - LOW_VISION_THERAPIST
                - MEDICAL_ASSISTANT
                - ORIENTATION_OR_MOBILITY_SPECIALIST
                - MEDICAL_AND_CLINICAL_LABORATORY_TECHNOLOGIST
                - MEDICAL_DOSIMETRISTS
                - MEDICAL_LABORATORY_TECHNICIAN
                - MEDICAL_SECRETARY
                - MEDICAL_SERVICES_MANAGER
                - MEDICAL_SCIENTIST
                - NEURODIAGMOSTIC_TECHNOLOGIST
                - NEUROLOGIST
                - NEUROPSYCHOLOGIST
                - MEDICAL_RECORDS_TECHNICIAN
                - NUCLEAR_MEDICINE_PHYSICIAN
                - NUCLEAR_MEDICINE_TECHNOLOGIST
                - NUCLEAR_PHARMACIST
                - NURSE_ANESTHETIST
                - NURSING_ASSISTANT
                - OBSTETRICIAN_AND_GYNECOLOGIST
                - OCCUPATIONAL_THERAPIST
                - OCCUPATIONAL_THERAPY_AID
                - OPHTHALMIC_LABORATORY_TECHNICIAN
                - ORAL_AND_MAXILLOFACIAL_SURGEON
                - ORTHODONTIST
                - ORTHOPEDIC_SURGEON
                - ORTHOPTIST_AND_PROSTHETIST
                - PATHOLOGIST
                - PEDIATRIC_SURGEON
                - PEDIATRICIAN
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PHARMACEUTICAL_MANUFACTURER
                - PHARMACOLOGIST
                - PHYSICAL_THERAPY_AID
                - PHYSICAL_THERAPIST
                - PHLEBOTOMIST
                - PROSTHETIST
                - PODIATRIST
                - PREVENTATIVE_MEDICINE_PHYSICIAN
                - PROSTHODONTIST
                - PSYCHIATRIC_AID_OR_TECHNICIAN
                - PSYCHIATRIST
                - PUBLIC_RELATIONS_AND_FUNDRAISING_MANAGER
                - RADIATION_THERAPIST
                - RADIATION_TECHNOLOGIST_OR_TECHNICIAN
                - RADIOLOGIST
                - RESPIRATORY_THERAPIST
                - RESPIRATORY_TECHNICIAN
                - REGULATORY_AFFAIRS_MANAGER
                - RESEARCH_TECHNICIAN_OR_COORDINATOR
                - SOCIAL_WORKER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SPEECH_OR_LANGUAGE_PATHOLOGIST
                - SPORTS_MEDICINE_PHYSICIAN
                - SURGEON
                - VISION_REHABILITATION_THERAPIST
                - UROLOGIST
        ResourceIndustryJobs:
            enum:
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - BIOFUEL_PRODUCTION_MANAGER
                - BIOINFORMATICS_SCIENTIST
                - BIOMASS_POWER_PLANT_MANAGER
                - EARTH_DRILLER
                - ENERGY_ENGINEER
                - ELECTRICAL_ASSEMBLER
                - ENVIRONMENTAL_TECHNICIAN
                - EXTRACTION_WORKER
                - CHIEF_OR_SENIOR_EXECUTIVE
                - CHEMICAL_ENGINEER_OR_TECHNICIAN
                - COAL_MINER
                - FACILITY_MANAGER
                - FULL_CELL_ENGINEER_OR_TECHNICIAN
                - GAS_COMPRESSOR_AND_GAS_PUMPING_STATION_OPERATOR
                - GAS_PLANT_OPERATOR
                - GENERAL_AND_OPERATIONS_MANAGER
                - GEOTHERMAL_PRODUCTION_MANAGER
                - GEOLOGICAL_AND_PETROLEUM_TECHNICIAN
                - GEOLOGICAL_SAMPLE_TEST_TECHNICIAN
                - GEOLOGICAL_TECHNICIAN
                - GEOLOGIST
                - HYDROLOGIC_TECHNICIAN
                - HYDROELECTRIC_PRODUCTION_MANAGER
                - MINING_AND_GEOLOGICALENGINEER
                - LAND_MANAGER
                - NETWORK_ANALYST
                - NUCLEAR_ENGINEER
                - POWER_REACTOR_OPERATOR
                - POWER_EQUIPMENT_MECHANIC
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PETROLEUM_ENGINEER
                - PETROLEUM_PUMP_OR_REFINERY_OPERATOR
                - PLANT_AND_SYSTEM_OPERATOR
                - POWER_PLANT_OPERATOR
                - POWER_DISTRIBUTOR_AND_DISPATCHER
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - RIGGER
                - ROCK_SPLITTER_QUARRY
                - ROTARY_DRILL_OPERATOR
                - ROUSTABOUT
                - SOCIAL_CONSULTANT
                - SECURITY_MANAGEMENT_SPECIALIST
                - UNDERGROUND_MINING_MACHINE_OPERATOR
                - URBAN_PLANNER
                - WIND_ENERGY_DEVELOPMENT_MANAGER
                - WIND_ENERGY_OPERATIONS_MANAGER
                - WIND_TURBINE_TECHNICIAN
        MilitaryProfessionals:
            enum:
                - MILITARY_COMBAT_SPECIALIST
                - NON_COMMISSIONED_MEMBER
                - OFFICER
                - SENIOR_OFFICER
                - ARTILLERY_AND_MISSILE_CREW_MEMBER
                - ARTILLERY_AND_MISSILE_OFFICER
                - COMMAND_AND_CONTROL_CENTER_OFFICER
                - COMMAND_AND_CONTROL_CENTER_SPECIALIST
                - SPECIAL_FORCES_OFFICER
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
        ProjectAndProgramManagementJobs:
            enum:
                - EVENT_PLANNING_AND_COORDINATOR
                - IT_PROJECT_MANAGER
                - MANAGEMENT_CONSULTANT
                - PROJECT_AND_PROGRAM_MANAGER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - INFANTRY_OFFICER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - PUBLIC_RELATIONS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        PersonalCareServices:
            enum:
                - BABYSITTER_OR_NANNY
                - CHILD_CARE_WORKER
                - ESTHETICIAN
                - HAIR_STYLIST
                - HOME_HEALTH_AID
                - BARBER
                - COMMUNITY_AND_SOCIAL_SERVICE_SPECIALIST
                - COSMETOLOGIST
                - COUNSELOR
                - CREMATORY_OPERATOR
                - EMBALMER
                - EXERCISE_TRAINER_AND_GROUP_FITNESS_INSTRUCTOR
                - FACILITY_MANAGER
                - FUNERAL_ATTENDANT
                - FUNERAL_HOME_OR_SERVICE_MANAGER
                - FITNESS_CONSULTANT_OR_PERSONAL_TRAINER
                - GENERAL_AND_OPERATIONS_MANAGER
                - LAUNDRY_AND_DRYCLEANING_WORKER
                - RECREATIONAL_PROTECTIVE_SERVICE_WORKER
                - MANICURIST_AND_PEDICURIST
                - MARRIAGE_AND_FAMILY_THERAPIST
                - MASSAGE_THERAPIST
                - MENTAL_HEALTH_COUNSELOR
                - SPA_ATTENDANT_OR_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - TAILOR_DRESSMAKER_AND_CUSTOM_SEWER
        QualityAssuranceAndSafetyJobs:
            enum:
                - BUILDING_AND_CONSTRUCTION_INSPECTOR
                - ENVIRONMENT_AND_CONSERVATION_AGENT
                - FOOD_SAFETY_AND_INSPECTOR
                - ISOCERTIFIED_AGENT
                - OCCUPATIONAL_HEALTH_AND_SAFETY_AGENT
                - PRODUCTION_QUALITY_ASSURANCE_AGENT
                - SOFTWARE_QUALITY_ASSURANCE_SPECIALIST
                - VEHICLE_INSPECTOR
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        RealEstateJobs:
            enum:
                - ENERGY_AUDITOR
                - REAL_ESTATE_AGENT
                - REAL_ESTATE_APPRAISER
                - REAL_ESTATE_BROKER
                - REAL_ESTATE_DEVELOPER
                - RETAIL_OR_BUSINESS_DEVELOPMENT
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        ReligiousProfessionals:
            enum:
                - CLERGY
                - DIRECTOR_OF_RELIGIOUS_ACTIVITIES_OR_EDUCATION
                - MISSIONARY_OR_AID_WORKER
                - RELIGIOUS_LEADER
                - RELIGIOUS_PRACTITIONER
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_AND_FUNDRAISING_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        RetailAndBusinessDevelopmentJobs:
            enum:
                - ACCOUNT_MANAGER_COMMISSIONED
                - BUSINESS_DEVELOPMENT_AND_ACCOUNT_MANAGER
                - CASHIER_OR_SALES_CLERK
                - FINANCIAL_SALES_OR_BROKERAGE_OFFICER
                - FUNDRAISER
                - INSURANCE_AGENT_OR_BROKER
                - INTERNATIONAL_SALES_AGENT
                - JEWELLER_AND_PRECIOUS_METALS_DEALER
                - MEDIA_AND_ADVERTISING_SALES_AGENT
                - MERCHANDISE_PLANNING_AND_BUYING_SPECIALIST
                - PAWN_BROKER_OWNER_OR_OPERATOR
                - PRODUCT_ANALYST_AND_MANAGEMENT
                - REAL_ESTATE_AGENT_OR_BROKER
                - RETAIL_OWNER_OR_OPERATOR
                - RETAIL_SALES_WORKER
                - SALES_SUPERVISOR
                - SALES_SUPPORT
                - STORE_MANAGER
                - TELEMARKETING_SALES_AGENT
                - TRAVEL_AGENT_OR_TICKET_SALES_AGENT
                - VISUAL_MERCHANDISING_SPECIALIST
                - WHOLESALE_SALES_AGENT
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - CHIEF_OR_SENIOR_EXECUTIVE
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - LOSS_PREVENTION_MANAGER
                - MERCHANDISE_DISPLAY_SPECIALIST
                - ORDER_FILLER_WHOLESALE_AND_RETAIL_SALES
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - RETAIL_SUPERVISOR
                - SECURITY_MANAGEMENT_SPECIALIST
        ScienceAndTechnologyJobs:
            enum:
                - ASTRONOMER
                - BIOLOGIST
                - CHEMIST
                - CLINICAL_RESEARCHER
                - ENVIRONMENTAL_AND_GEO_SCIENTIST
                - LAB_TECHNICIAN
                - MATHEMATICAL_AND_STATISTICAL_RESEARCHER
                - MEDICAL_RESEARCHER
                - MEDICAL_SCIENTIST
                - PHARMACEUTICAL_RESEARCHER
                - PHYSICIST
                - PRODUCT_RESEARCH_AND_DEVELOPMENT_ANALYST
                - SOCIOLOGIST_OR_ANTHROPOLOGIST
                - ZOOLOGIST
                - ANTHROPOLOGIST
                - ARCHEOLOGIST
                - ATMOSPHERIC_AND_SPACE_SCIENTIST
                - BIOINFORMATICS_TECHNICIAN_OR_SCIENTIST
                - BIOLOGICAL_TECHNICIAN_OR_SCIENTIST
                - BIOMEDICAL_ENGINEER
                - BIOCHEMIST_AND_BIOPHYSICIST
                - BIOSTATISTICIAN
                - CHIEF_OR_SENIOR_EXECUTIVE
                - INFORMATION_RESEARCH_SCIENTIST
                - CONSERVATION_SCIENTIST
                - CYTOGENETIC_TECHNOLOGIST
                - CYTOTECHNOLOGIST
                - FACILITY_MANAGER
                - GENETICIST
                - GEODETIC_SURVEYOR
                - GEOGRAPHER
                - GEOSCIENTIST
                - GENERAL_AND_OPERATIONS_MANAGER
                - HISTORIAN
                - HYDROLOGIST
                - IT_SUPPORT_AGENT
                - LIFE_PHYSICAL_AND_SOCIAL_SCIENTIST
                - MICROBIOLOGIST
                - MOLECULAR_AND_CELLULAR_BIOLOGIST
                - NETWORK_ANALYST
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - POLITICAL_SCIENTIST
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - STATISTICIAN
                - SURVEY_RESEARCHER
        SecurityAndEmergencyServicesJobs:
            enum:
                - AIR_TRAFFIC_CONTROLLER
                - AIRPORT_SECURITY_AND_SCREENING_OFFICER
                - CORRECTIONAL_OFFICER
                - CUSTOMS_AND_IMMIGRATION_OFFICER
                - EMERGENCY_MOTOR_VEHICLE_OPERATOR
                - FIREFIGHTER_AND_RESCUE_SPECIALIST
                - INTELLIGENCE_AND_ANALYSIS_SPECIALIST
                - LOSS_PREVENTION_OFFICER
                - POLICE_OR_LAW_ENFORCEMENT_OFFICER
                - SECURITY_GUARD
                - CRIMINAL_INVESTIGATOR_AND_SPECIAL_AGENT
                - DETECTIVE_AND_CRIMINAL_INVESTIGATOR
                - DIGITAL_FORENSICS_ANALYST
                - EMERGENCY_MEDICAL_TECHNICIAN_OR_PARAMEDIC
                - FACILITY_MANAGER
                - FIRE_INSPECTOR_OR_INVESTIGATOR
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - PROBATION_OFFICER
                - CORRECTIONAL_TREATMENT_SPECIALIST
                - PROTECTIVE_SERVICE_WORKER
                - PUBLIC_SAFETY_TELECOMMUNICATOR
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        SkilledTradesMaintenanceAndRepairJobs:
            enum:
                - AUTOBODY_TECHNICIAN_OR_MECHANIC
                - BLACKSMITH
                - CAD_AND_DRAFTING_TECHNICIAN
                - CARPENTER
                - CLEANING_AND_MAINTENANCE
                - ELECTRICIAN
                - ELECTRONICS_AND_TELECOMMUNICATION_TECHNICIAN
                - EQUIPMENT_INSTALLATION_MAINTENANCE_AND_REPAIR_TECHNICIAN
                - FACILITIES_MANAGER_AND_MAINTENANCE_TECHNICIAN
                - FISHERMAN
                - FLORIST
                - FUNERAL_SERVICES_EMPLOYEE_OR_MANAGER
                - GENERAL_LABOURER
                - HEAVY_EQUIPMENT_OPERATOR
                - HVAC_MAINTENANCE_AND_REPAIR_TECHNICIAN
                - IRONWORK_AND_METAL_FABRICATOR
                - JANITORIAL_TECHNICIAN
                - LANDSCAPER
                - LOCKSMITH
                - LOGGER
                - MILLWRIGHT
                - MINER
                - OIL_REG_OR_PIPELINE_INSTALLATION_AND_REPAIR
                - PAINTER
                - PIPE_FITTER
                - PLUMBER
                - TOOL_AND_DIE_MAKER_OR_CNC_OPERATOR
                - WELDER
                - WIRE_AND_CABLE_INSTALLATION_AND_REPAIR
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - CABLE_INSTALLER
                - CHIEF_OR_SENIOR_EXECUTIVE
                - DATA_ANALYST
                - GENERAL_AND_OPERATIONS_MANAGER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SYSTEM_MANAGER
                - TELECOMMUNICATION_ENGINEER
                - TELECOMMUNICATIONS_OPERATOR
        SoftwareDevelopmentAndItJobs:
            enum:
                - DATABASE_DEVELOPER_AND_ADMINISTRATOR
                - IT_CONSULTANT
                - IT_DEVELOPER_AND_PROGRAMMER
                - IT_MANAGER_OR_SENIOR_MANAGER
                - IT_PROJECT_MANAGER
                - IT_SPECIALIST
                - IT_SUPPORT_TECHNICIAN
                - IT_SYSTEMS_ANALYST
                - IT_TECHNICIAN
                - NETWORK_AND_SERVER_ADMINISTRATOR
                - SOFTWARE_AND_SYSTEM_ARCHITECT
                - APPLICATION_DEVELOPER
                - CHIEF_OR_SENIOR_EXECUTIVE
                - COMPUTER_PROGRAMMER
                - COMPUTER_HARDWARE_ENGINEER
                - DATA_ANALYST
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - INFORMATION_SECURITY_ANALYST
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SOFTWARE_ENGINEER
                - SOFTWARE_OR_APPLICATION_DEVELOPER
                - SOFTWARE_QUALITY_ASSURANCE_ENGINEER
                - SYSTEM_MANAGER
                - WEB_DEVELOPER
        SportsGamingAndEntertainmentJobs:
            enum:
                - ACTOR
                - AGENT
                - ANNOUNCER
                - ATHLETE
                - CASINO_DEALER
                - CASINO_MANAGER
                - CASINO_CASHIER
                - CASINO_SURVEILLANCE_SECURITY
                - COACH
                - CHOREOGRAPHER
                - DANCER
                - BROADCASTER
                - FITNESS_TRAINER
                - GAMING_ADMINISTRATOR
                - GAMING_OPERATOR
                - HORSE_RACING_BETTING_OPERATOR
                - HOST_OR_HOSTESS
                - MODEL
                - MUSICIAN
                - PERSONAL_TRAINER
                - PRODUCER_OR_DIRECTOR
                - PUBLICIST
                - SINGER
                - SPORTS_COACH
                - TRACK_CASHIER
                - TRACK_SURVEILLANCE_SECURITY
                - WRITER_OR_EDITOR
                - AMUSEMENT_AND_RECREATION_ATTENDANT
                - ANIMAL_TRAINER
                - ATHLETES_AND_SPORTS_COMPETITOR
                - ARTISTIC_DIRECTOR
                - CHIEF_OR_SENIOR_EXECUTIVE
                - EVENT_SPECIALIST
                - ENTERTAINER_AND_RECREATING_MANAGER
                - BOOKING_AGENT
                - FACILITY_MANAGER
                - FILM_CREW
                - GAMBLING_CAGE_WORKER
                - GAMBLING_DEALER
                - GAMING_SUPERVISOR
                - GENERAL_AND_OPERATIONS_MANAGER
                - HOUSEKEEPING_SERVICE
                - HOTEL_MANAGER
                - HOTEL_FRONT_DESK_OR_RESERVATION
                - HOTEL_HOUSEKEEPING_OR_MAINTENANCE
                - JANITOR_AND_CLEANER
                - MEETING_CONVENTION_AND_EVENT_PLANNER
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PHOTOGRAPHER
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SLOT_SUPERVISOR
                - SPA_MANAGER
                - THEATER_MANAGER
        TransportationAndLogisticsJobs:
            enum:
                - AIR_TRAFFIC_CONTROLLER
                - CAR_VAN_AND_BUS_DRIVER
                - CARGO_AND_BAGGAGE_HANDLING_OPERATOR
                - COST_ESTIMATOR
                - CUSTOMS_AND_IMMIGRATION_OFFICER
                - DELIVERY_SERVICES
                - EQUIPMENT_FORKLIFT_OR_CRANE_OPERATOR
                - FLIGHT_ATTENDANT
                - FLIGHT_ENGINEER
                - HAZARDOUS_MATERIAL_HANDLER
                - IMPORT_AND_EXPORT_ADMINISTRATOR
                - INVENTORY_PLANNING_AND_MANAGEMENT_SPECIALIST
                - MAIL_CARRIER
                - MERCHANDISE_PLANNER_OR_BUYER
                - MESSENGER_OR_COURIER
                - PILOT
                - PUBLIC_TRANSIT_DRIVER_OR_OPERATOR
                - PUBLIC_TRANSIT_OPERATIONS_AND_ADMINISTRATION
                - PURCHASER
                - SHIPPING_AND_RECEIVING
                - SUPPLIER_OR_VENDOR_MANAGER
                - TAXI_DISPATCHER_OR_ADMINISTRATOR
                - TAXI_DRIVER
                - TRAIN_OR_RAIL_OPERATOR
                - TRAVEL_CONSULTANT
                - TRUCK_DRIVER
                - VEHICLE_DISPATCHER_OR_SCHEDULER
                - WAREHOUSE_CLERK
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - AERONAUTICAL_ENGINEER
                - AIRCRAFT_DESIGNER
                - AIRCRAFT_MECHANIC
                - AVIATION_MANAGER
                - AIR_CREW_MEMBER_OR_SERVICE_ATTENDANT
                - AIR_CREW_OFFICER
                - AIRCRAFT_LAUNCH_SPECIALIST
                - AIRCRAFT_MECHANIC_AD_SERVICE_TECHNICIAN
                - AIRFIELD_OPERATIONS_SPECIALIST
                - AUTOBODY_REPAIRER_OR_MECHANIC
                - AVIATION_INSPECTOR
                - BAGGAGE_PORTER
                - CHIEF_OR_SENIOR_EXECUTIVE
                - DEMAND_PLANNER
                - DISTRIBUTION_MANAGER
                - DISPATCHER
                - FACILITY_MANAGER
                - FLEET_MANAGER
                - FREIGHT_AND_CARGO_INSPECTOR
                - GENERAL_AND_OPERATIONS_MANAGER
                - INVENTORY_ANALYST
                - INVENTORY_MANAGER
                - LANDMAN
                - LOGISTICS_ANALYST
                - LOGISTICS_COORDINATOR
                - LOGISTICS_MANAGER
                - LOGISTICS_SPECIALIST
                - LOADING_AND_MOVING_MACHINE_OPERATOR
                - LOCOMOTIVE_ENGINEER
                - MAIL_CLEAR_AND_MAIL_MACHINE_OPERATOR
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PARKING_ENFORCEMENT_WORKER
                - PURCHASING_MANAGER
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
                - SUPPLY_CHAIN_SPECIALIST
                - STORAGE_AND_DISTRIBUTION_MANAGER_OR_OPERATOR
                - TRAFFIC_CONTROLLER
                - TRANSPORTATION_ENGINEER
                - TRANSPORTATION_INSPECTOR
                - TRANSPORTATION_MANAGER
                - WAREHOUSE_MANAGER
                - INVENTORY_MANAGEMENT_SPECIALIST
                - PUBLIC_TRANSIT_OPERATOR
                - PUBLIC_TRANSIT_ADMINISTRATOR
                - AIRCRAFT_RECOVERY_OFFICER
        UtilitiesJobs:
            enum:
                - CONTROL_AND_VALVE_INSTALLER
                - ELECTRICAL_AND_ELECTRONICS_REPAIRER
                - ELECTRICAL_ENGINEER
                - ELECTRICAL_POWER_LINE_INSTALLATION_AND_REPAIR
                - GAS_PLANT_OPERATOR
                - PIPELAYER_PLUMBER_PIPEFITTER_OR_STEAMFITTER
                - PIPELINE_MAINTENANCE_AND_REPAIR
                - POWER_PLANT_OPERATOR
                - WATER_AND_LIQUID_WASTE_TREATMENT_FACILITY_OPERATOR
                - ADMINISTRATIVE_ASSISTANT_OR_SECRETARY
                - CHIEF_OR_SENIOR_EXECUTIVE
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - METER_READER_UTILITIES
                - PAYROLL_AND_TIMEKEEPING_CLERK
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
                - SECURITY_MANAGEMENT_SPECIALIST
        WritingEditorialJobs:
            enum:
                - ADVERTISING_WRITER
                - DIGITAL_CONTENT_DEVELOPER
                - EDITOR
                - JOURNALIST
                - TECHNICAL_WRITER
                - TRANSLATOR_OR_INTERPRETER
                - FACILITY_MANAGER
                - GENERAL_AND_OPERATIONS_MANAGER
                - PUBLIC_RELATIONS_MANAGER
                - REGULATORY_AFFAIRS_MANAGER
        JobTitleType:
            type: object
            oneOf:
                -   $ref: '#/components/schemas/SystemJobs'
                -   $ref: '#/components/schemas/AccountingJobs'
                -   $ref: '#/components/schemas/AdministrativeJobs'
                -   $ref: '#/components/schemas/AgricultureAndFarmingJobs'
                -   $ref: '#/components/schemas/BankingAndMortgageProfessionals'
                -   $ref: '#/components/schemas/BuildingConstructionJobs'
                -   $ref: '#/components/schemas/BusinessManagementJobs'
                -   $ref: '#/components/schemas/ClientSupportJobs'
                -   $ref: '#/components/schemas/DesignAndCreativityJobs'
                -   $ref: '#/components/schemas/EducationAndTrainingJobs'
                -   $ref: '#/components/schemas/EngineeringAndArchitectJobs'
                -   $ref: '#/components/schemas/FinanceAndFinTechJobs'
                -   $ref: '#/components/schemas/FoodServicesAndHospitalityJobs'
                -   $ref: '#/components/schemas/GovernmentAndDiplomaticJobs'
                -   $ref: '#/components/schemas/HumanResourcesJobs'
                -   $ref: '#/components/schemas/InsuranceJobs'
                -   $ref: '#/components/schemas/LegalJobs'
                -   $ref: '#/components/schemas/ManufacturingAndOperationsJobs'
                -   $ref: '#/components/schemas/MarketingJobs'
                -   $ref: '#/components/schemas/MedicalAndHealthJobs'
                -   $ref: '#/components/schemas/ResourceIndustryJobs'
                -   $ref: '#/components/schemas/MilitaryProfessionals'
                -   $ref: '#/components/schemas/ProjectAndProgramManagementJobs'
                -   $ref: '#/components/schemas/PersonalCareServices'
                -   $ref: '#/components/schemas/QualityAssuranceAndSafetyJobs'
                -   $ref: '#/components/schemas/RealEstateJobs'
                -   $ref: '#/components/schemas/ReligiousProfessionals'
                -   $ref: '#/components/schemas/RetailAndBusinessDevelopmentJobs'
                -   $ref: '#/components/schemas/ScienceAndTechnologyJobs'
                -   $ref: '#/components/schemas/SecurityAndEmergencyServicesJobs'
                -   $ref: '#/components/schemas/SkilledTradesMaintenanceAndRepairJobs'
                -   $ref: '#/components/schemas/SoftwareDevelopmentAndItJobs'
                -   $ref: '#/components/schemas/SportsGamingAndEntertainmentJobs'
                -   $ref: '#/components/schemas/TransportationAndLogisticsJobs'
                -   $ref: '#/components/schemas/UtilitiesJobs'
                -   $ref: '#/components/schemas/WritingEditorialJobs'
        OccupationBase:
            type: object
            properties:
                employmentType:
                    $ref: '#/components/schemas/EmploymentType'
            required:
                - employmentType
        OccupationTypeA:
            allOf:
                -   $ref: '#/components/schemas/OccupationBase'
                -   type: object
                    properties:
                        employerName:
                            type: string
                        typeOfBusiness:
                            $ref: '#/components/schemas/UserTypeOfBusiness'
                        jobTitle:
                            $ref: '#/components/schemas/JobTitleType'
                        legacyJobTitle:
                            type: string
                        legacyTypeOfBusiness:
                            type: string
                    required:
                        - employerName
                        - typeOfBusiness
                        - jobTitle
        OccupationTypeB:
            allOf:
                -   $ref: '#/components/schemas/OccupationBase'
                -   type: object
                    properties:
                        sourceOfIncome:
                            $ref: '#/components/schemas/SourceOfIncome'
                        otherSourceOfIncome:
                            type: string
                    required:
                        - sourceOfIncome
        OccupationType:
            anyOf:
                -   $ref: '#/components/schemas/OccupationTypeA'
                -   $ref: '#/components/schemas/OccupationTypeB'
        UserAccountType:
            type: string
            enum:
                - INVESTING_IN_DIGITAL_CURRENCY
                - LIQUIDATING_EXISTING_INVESTMENT
                - SUPPORTING_AN_EXCHANGE_SERVICE
                - LIQUIDATING_MINING_PROCEEDS
                - EDUCATION_OR_SAVINGS
                - LONG_TERM_SAVINGS
                - RETIREMENT_SAVINGS
                - SHORT_TERM_SAVINGS
        UserDuplicateType:
            type: string
            enum:
                - PHONE_NUMBER
                - USER_INFO
                - SUMSUB
        PlatformReferenceType:
            enum:
                - Facebook
                - Reddit
                - Twitter
                - Google
                - Friend
                - Other
        AppTheme:
            enum:
                - light
                - dark
        AppLanguage:
            enum:
                - en
                - fr
        UserPermission:
            enum:
                - ALERTS
                - AFFILIATES
                - TRANSFERS
                - PORTFOLIO
                - STAKING
                - API_KEYS
                - ADDRESS_BOOK
                - REPORTS
                - RECURRING_PURCHASES
                - FORCED_MOBILE_APP_UPDATE
                - ADVANCED_PNL
                - BUSINESS_MANAGEMENT
                - IROC_REPORTS
                - TRANSFER_FUNDS
                - CONVERT_FUNDS
                - STAKING_STAKE_IN
                - STAKING_STAKE_OUT
                - RECURRING_PURCHASES_CREATE
                - RECURRING_PURCHASES_EDIT
                - API_KEYS_CREATE
                - API_KEYS_EDIT
        PageAfterLogin:
            enum:
                - DASHBOARD
                - ADVANCED_TRADING
        IdResubmissionStatus:
            enum:
                - PENDING
                - PROCESSING
                - FINAL_REJECTION
        CloseUserReason:
            enum:
                - FRAUD
                - SANCTIONS_AND_ADVERSE_MEDIA
                - DUPLICATE
                - RESIDENCY
                - DOC_SELFIE_INCONSISTENCY
                - THIRD_PARTY_ENGAGEMENT
                - UNDERAGE
                - SELF_CLOSED
                - NO_EMAIL_NOTIFICATION
                - UNRESPONSIVE_USER
                - OTHER
        PlatformReference:
            type: object
            properties:
                platformReferenceType:
                    $ref: '#/components/schemas/PlatformReferenceType'
                otherPlatformReference:
                    type: string
            required:
                - platformReferenceType
        UserAddress:
            type: object
            properties:
                country:
                    type: string
                countryCode:
                    type: string
                residentialAddress:
                    type: string
                residentialAddress2:
                    type: string
                street:
                    type: string
                province:
                    type: string
                city:
                    type: string
                postalCode:
                    type: string
                building:
                    type: string
                unit:
                    type: string
                unverified:
                    type: boolean
            required:
                - country
                - countryCode
        UserNotificationPreferences:
            type: object
            properties:
                newsletters:
                    type: boolean
                newProductsAndPromotionsEmail:
                    type: boolean
                accountNotificationsEmail:
                    type: boolean
                newBlogPostEmail:
                    type: boolean
                monthlyPortfolioUpdatesEmail:
                    type: boolean
                surveyEmail:
                    type: boolean
                recurringPurchasesEmail:
                    type: boolean
                tradeNotificationsEmail:
                    type: boolean
            required:
                - newsletters
                - newProductsAndPromotionsEmail
                - accountNotificationsEmail
                - newBlogPostEmail
                - monthlyPortfolioUpdatesEmail
                - surveyEmail
                - recurringPurchasesEmail
                - tradeNotificationsEmail
        DeletePersonalDataRequest:
            type: object
            properties:
                comment:
                    type: string
                requestedAt:
                    type: string
                    format: "date-time"
                deletedAt:
                    type: string
                    format: "date-time"
            required:
                - requestedAt
        UserReviewRequiredReason:
            enum:
                - RISK_RATING_ACTIVE_USERS_RECURRING_REVIEW
                - ID_RESUBMISSION_FINAL_REJECTION
                - ANNUAL_APPROPRIATENESS_QUESTIONNAIRE_FAILED
        User:
            type: object
            properties:
                _id:
                    type: string
                verificationTicketId:
                    type: string
                userId:
                    type: number
                affiliateLink:
                    type: string
                classifications:
                    $ref: '#/components/schemas/ArrayOfUserClassifications'
                createdAt:
                    type: string
                    format: "date-time"
                updatedAt:
                    type: string
                    format: "date-time"
                firstName:
                    type: string
                middleName:
                    type: string
                lastName:
                    type: string
                preferredName:
                    type: string
                dob:
                    type: string
                occupation:
                    $ref: '#/components/schemas/OccupationType'
                accountType:
                    $ref: '#/components/schemas/UserAccountType'
                sin:
                    type: string
                platformReference:
                    $ref: '#/components/schemas/PlatformReference'
                acceptedPolicies:
                    type: string
                address:
                    $ref: '#/components/schemas/UserAddress'
                phoneNumber:
                    type: string
                avatarUrl:
                    type: string
                theme:
                    $ref: '#/components/schemas/AppTheme'
                language:
                    $ref: '#/components/schemas/AppLanguage'
                disableTradeConfirmation:
                    type: boolean
                disableQuickByConfirmation:
                    type: boolean
                favoriteInstruments:
                    type: array
                    items:
                        type: number
                favoriteProducts:
                    type: array
                    items:
                        type: number
                notificationPreferences:
                    $ref: '#/components/schemas/UserNotificationPreferences'
                permissions:
                    type: array
                    items:
                        $ref: '#/components/schemas/UserPermission'
                defaultPageAfterLogin:
                    $ref: '#/components/schemas/PageAfterLogin'
                userInfoCheckedAt:
                    type: string
                    format: "date-time"
                idResubmissionRequestedAt:
                    type: string
                    format: "date-time"
                idResubmissionDelayedUntil:
                    type: string
                    format: "date-time"
                idResubmissionDelayCounter:
                    type: number
                idResubmissionStatus:
                    $ref: '#/components/schemas/IdResubmissionStatus'
                netAnnualIncomeValue:
                    $ref: '#/components/schemas/UserNetAnnualIncomeValue'
                netAssetsValue:
                    $ref: '#/components/schemas/UserNetAssetsValue'
                netFinancialAssetsValue:
                    $ref: '#/components/schemas/UserNetFinancialAssetsValue'
                acceptedStakingRisk:
                    type: boolean
                lastLoginDate:
                    type: string
                    format: "date-time"
                closed:
                    type: boolean
                closedAt:
                    type: string
                    format: "date-time"
                reviewRequired:
                    type: boolean
                reviewRequiredReason:
                    $ref: '#/components/schemas/UserReviewRequiredReason'
                lastReviewDate:
                    type: string
                    format: "date-time"
                lastTransactionDate:
                    type: string
                    format: "date-time"
                lastEmailChangeDate:
                    type: string
                    format: "date-time"
                lastPhoneChangeDate:
                    type: string
                    format: "date-time"
                deleteDataRequest:
                    $ref: '#/components/schemas/DeletePersonalDataRequest'
                closeReason:
                    $ref: '#/components/schemas/CloseUserReason'
                isNew:
                    type: boolean
                isVIP:
                    type: boolean
                isPermittedClient:
                    type: boolean
                isOperator:
                    type: boolean
                riskRating:
                    $ref: '#/components/schemas/UserRiskRating'
                totalTrustedContacts:
                    type: number
                appropriatenessQuestionnaireDate:
                    type: string
                    format: "date-time"
                appropriatenessQuestionnaireStatus:
                    $ref: '#/components/schemas/AppropriatenessQuestionnaireStatus'
                appropriatenessQuestionnaireActions:
                    type: array
                    items:
                        $ref: '#/components/schemas/AppropriatenessQuestionnaireTriggerAction'
                stakingQuestionnaireStatus:
                    $ref: '#/components/schemas/AppropriatenessQuestionnaireStatus'
                stakingQuestionnaireDate:
                    type: string
                    format: "date-time"
                tradingExperience:
                    $ref: '#/components/schemas/UserTradingExperience'
                hasUnacknowledgedLoses:
                    type: boolean
                communicationLanguage:
                    $ref: '#/components/schemas/AppLanguage'
            required:
                - _id
                - verificationTicketId
                - userId
                - affiliateLink
                - createdAt
                - updatedAt
                - firstName
                - lastName
                - address
                - theme
                - language
                - favoriteInstruments
                - favoriteProducts
                - avatarUrl
                - notificationPreferences
                - isNew
                - permissions
                - hasUnacknowledgedLoses
        DefaultVerificationResult:
            type: object
            properties:
                status:
                    type: boolean
                completed:
                    type: boolean
                processed:
                    type: boolean
                errors:
                    type: array
                    items:
                        type: string
                warnings:
                    type: array
                    items:
                        type: string
                riskRating:
                    $ref: '#/components/schemas/UserRiskRating'
        IdentityVerificationResult:
            allOf:
                -   $ref: '#/components/schemas/DefaultVerificationResult'
                -   type: object
                    properties:
                        applicantId:
                            type: string
                        final:
                            type: boolean
                        flow:
                            $ref: '#/components/schemas/SumsubFlow'
                        inspectionId:
                            type: string
                    required:
                        - flow
        UserVerificationTicketResults:
            type: object
            properties:
                userData:
                    $ref: '#/components/schemas/DefaultVerificationResult'
                identity:
                    $ref: '#/components/schemas/IdentityVerificationResult'
                email:
                    $ref: '#/components/schemas/DefaultVerificationResult'
                phone:
                    $ref: '#/components/schemas/DefaultVerificationResult'
                ip:
                    $ref: '#/components/schemas/DefaultVerificationResult'
        VerificationTicketSubmissionInfo:
            type: object
            properties:
                submittedBy:
                    $ref: '#/components/schemas/VerificationTicketAcceptor'
                submittedAt:
                    type: string
                    format: "date-time"
            required:
                - submittedAt
                - submittedBy
        VerificationTicketDataMatcher:
            type: object
            properties:
                firstName:
                    type: boolean
                lastName:
                    type: boolean
                dob:
                    type: boolean
                unique:
                    type: boolean
            required:
                - firstName
                - lastName
                - dob
                - unique
        VerificationTicketRejectionInfo:
            type: object
            properties:
                rejectedBy:
                    $ref: '#/components/schemas/VerificationTicketAcceptor'
                rejectedAt:
                    type: string
                    format: "date-time"
                errors:
                    type: array
                    items:
                        type: string
            required:
                - rejectedBy
                - rejectedAt
                - errors
        UserKycClassification:
            type: string
            enum:
                - 'POTENTIALLY_VULNERABLE'
                - 'INFO_MISMATCH'
                - 'ADVERSE_MEDIA'
                - 'FRAUD'
                - 'DUPLICATE'
                - 'IP_EMAIL_PHONE_INVALID'
                - 'APPROPRIATENESS_QUESTIONNAIRE_FAILED'
                - 'UNKNOWN'
        UserVerificationTicket:
            type: object
            properties:
                status:
                    $ref: '#/components/schemas/VerificationTicketStatus'
                verificationResults:
                    $ref: '#/components/schemas/UserVerificationTicketResults'
                acknowledged:
                    type: boolean
                potentiallyVulnerable:
                    type: boolean
                updatedAt:
                    type: string
                    format: "date-time"
            required:
                - status
                - verificationResults
                - acknowledged
                - updatedAt
        UserAndVerificationTicket:
            allOf:
                -   $ref: '#/components/schemas/User'
                -   $ref: '#/components/schemas/UserPendingWithdrawal'
                -   type: object
                    properties:
                        verificationTicket:
                            $ref: '#/components/schemas/UserVerificationTicket'
                    required:
                        - verificationTicket
                -   type: object                    # Withdraw delay
                    properties:
                        withdrawAfterLoginDelay:
                            type: number
                    required:
                        - withdrawAfterLoginDelay
                -   type: object                    # Widget token
                    properties:
                        widgetToken:
                            type: string
                        supportUserId:
                            type: string
                    required:
                        - widgetToken
                        - supportUserId
                -   type: object                    # Policy
                    properties:
                        unacknowledgedPolicies:
                            type: array
                            items:
                                $ref: '#/components/schemas/PolicyType'
                    required:
                        - unacknowledgedPolicies
        UserUpdateUserInfoRequest:
            type: object
            properties:
                theme:
                    $ref: '#/components/schemas/AppTheme'
                language:
                    $ref: '#/components/schemas/AppLanguage'
                disableTradeConfirmation:
                    type: boolean
                disableQuickByConfirmation:
                    type: boolean
                zendeskUserId:
                    type: number
                favoriteInstruments:
                    type: array
                    items:
                        type: number
                favoriteProducts:
                    type: array
                    items:
                        type: number
                defaultPageAfterLogin:
                    $ref: '#/components/schemas/PageAfterLogin'
        DelayIdResubmissionResponse:
            type: object
            properties:
                idResubmissionDelayedUntil:
                    type: string
                    format: "date-time"
                idResubmissionDelayCounter:
                    type: number
            required:
                - idResubmissionDelayedUntil
                - idResubmissionDelayCounter
        UploadUserAvatarRequest:
            type: object
            properties:
                file:
                    type: string
        UpdateUserNotificationPreferencesRequest:
            type: object
            properties:
                newsletters:
                    type: boolean
                newProductsAndPromotionsEmail:
                    type: boolean
                accountNotificationsEmail:
                    type: boolean
                newBlogPostEmail:
                    type: boolean
                monthlyPortfolioUpdatesEmail:
                    type: boolean
                surveyEmail:
                    type: boolean
                recurringPurchasesEmail:
                    type: boolean
                tradeNotificationsEmail:
                    type: boolean
        UserUpdateUserAddressRequest:
            type: object
            properties:
                country:
                    type: string
                countryCode:
                    type: string
                residentialAddress:
                    type: string
                residentialAddress2:
                    type: string
                street:
                    type: string
                province:
                    type: string
                city:
                    type: string
                postalCode:
                    type: string
                building:
                    type: string
                unit:
                    type: string
            required:
                - country
                - countryCode
                - residentialAddress
        UserUpdateOccupationRequest:
            type: object
            properties:
                employmentType:
                    $ref: '#/components/schemas/EmploymentType'
                employerName:
                    type: string
                typeOfBusiness:
                    $ref: '#/components/schemas/UserTypeOfBusiness'
                jobTitle:
                    $ref: '#/components/schemas/JobTitleType'
                sourceOfIncome:
                    $ref: '#/components/schemas/SourceOfIncome'
                otherSourceOfIncome:
                    type: string
            required:
                - employmentType
        UserAnnualInfoCheckRequest:
            type: object
            properties:
                code:
                    type: string
                firstName:
                    type: string
                middleName:
                    type: string
                lastName:
                    type: string
                phoneNumber:
                    type: string
                dob:
                    type: string
                sin:
                    type: string
                address:
                    $ref: '#/components/schemas/UserAddress'
                occupation:
                    $ref: '#/components/schemas/OccupationType'
                accountType:
                    $ref: '#/components/schemas/UserAccountType'
                netAnnualIncomeValue:
                    $ref: '#/components/schemas/UserNetAnnualIncomeValue'
                netAssetsValue:
                    $ref: '#/components/schemas/UserNetAssetsValue'
                netFinancialAssetsValue:
                    $ref: '#/components/schemas/UserNetFinancialAssetsValue'
            required:
                - firstName
                - lastName
                - phoneNumber
                - dob
                - address
                - occupation
                - accountType
        UserVerifyRequest:
            type: object
            properties:
                code:
                    type: string
                firstName:
                    type: string
                middleName:
                    type: string
                lastName:
                    type: string
                platformReference:
                    $ref: '#/components/schemas/PlatformReference'
                phoneNumber:
                    type: string
                dob:
                    type: string
                sin:
                    type: string
                address:
                    $ref: '#/components/schemas/UserAddress'
                occupation:
                    $ref: '#/components/schemas/OccupationType'
                accountType:
                    $ref: '#/components/schemas/UserAccountType'
                netAnnualIncomeValue:
                    $ref: '#/components/schemas/UserNetAnnualIncomeValue'
                netAssetsValue:
                    $ref: '#/components/schemas/UserNetAssetsValue'
                netFinancialAssetsValue:
                    $ref: '#/components/schemas/UserNetFinancialAssetsValue'
            required:
                - code
                - firstName
                - lastName
                - platformReference
                - phoneNumber
                - dob
                - address
                - occupation
                - accountType
        UserPendingOrder:
            type: object
            properties:
                instrumentId:
                    type: integer
                side:
                    type: integer
                type:
                    type: integer
                executedQuantity:
                    type: string
                submittedQuantity:
                    type: string
            required:
                - instrumentId
                - side
                - type
                - executedQuantity
                - submittedQuantity
        UserPendingWithdrawal:
            type: object
            properties:
                productId:
                    type: integer
                amount:
                    type: string
                datetime:
                    type: string
            required:
                - productId
                - amount
                - datetime
        UserPendingStakingSubscription:
            type: object
            properties:
                productId:
                    type: integer
                apy:
                    type: number
                amount:
                    type: number
                reward:
                    type: number
            required:
                - productId
                - apy
                - amount
                - reward
        UserPendingDealsInfo:
            type: object
            properties:
                pendingOrders:
                    type: array
                    items:
                        $ref: '#/components/schemas/UserPendingOrder'
                pendingWithdrawals:
                    type: array
                    items:
                        $ref: '#/components/schemas/UserPendingWithdrawal'
                pendingStakingSubscriptions:
                    type: array
                    items:
                        $ref: '#/components/schemas/UserPendingStakingSubscription'
            required:
                - pendingOrders
                - pendingWithdrawals
                - pendingStakingSubscriptions
        UserCloseAccountRequest:
            type: object
            properties:
                code:
                    type: string
                password:
                    type: string
                dfpRequestId:
                    type: string
        UserVerifyUserPhoneResponse:
            type: object
            properties:
                sent:
                    type: boolean
                rateLimit:
                    $ref: '#/components/schemas/RateLimitedResult'
            required:
                - sent
                - rateLimit
        AccountComplianceAmountResponse:
            type: object
            required:
                - amount
                - quantity
            properties:
                amount:
                    type: number
                quantity:
                    type: number

        ##### Support Center
        GetSupportCenterWidgetTokenResponse:
            type: object
            properties:
                token:
                    type: string
                supportUserId:
                    type: string
            required:
                - token
                - supportUserId
        SupportCenterArticle:
            type: object
            properties:
                id:
                    type: string
                title:
                    type: string
                url:
                    type: string
            required:
                - id
                - title
                - url
        SupportCenterTicketStatus:
            type: string
            enum:
                - open
                - done
                - received
                - sent
        SupportCenterTicketOption:
            type: object
            properties:
                label:
                    type: string
                value:
                    type: string
            required:
                - label
                - value
        SupportCenterTicket:
            type: object
            properties:
                id:
                    type: string
                status:
                    $ref: "#/components/schemas/SupportCenterTicketStatus"
                subject:
                    type: string
                createdAt:
                    type: string
                    format: date-time
                options:
                    type: array
                    items:
                        $ref: "#/components/schemas/SupportCenterTicketOption"
            required:
                - id
                - status
                - subject
                - createdAt
        SupportCenterTicketsList:
            type: object
            properties:
                hasMore:
                    type: boolean
                size:
                    type: number
                nextPage:
                    type: string
                items:
                    type: array
                    items:
                        "$ref": "#/components/schemas/SupportCenterTicket"
        SupportCenterCreateTicketRequest:
            type: object
            properties:
                subject:
                    type: string
                body:
                    type: string
                file:
                    type: string
                fileName:
                    type: string
                contentLength:
                    type: number
                contentType:
                    type: string
                options:
                    type: array
                    items:
                        $ref: "#/components/schemas/SupportCenterTicketOption"
            required:
                - subject
                - body
        SupportCenterTicketChildFieldStatusType:
            type: string
            enum:
                - NO_STATUSES
                - SOME_STATUSES
        SupportCenterTicketChildFieldStatusStatus:
            type: string
            enum:
                - solved
        SupportCenterTicketChildFieldStatus:
            type: object
            properties:
                type:
                    $ref: "#/components/schemas/SupportCenterTicketChildFieldStatusType"
                statuses:
                    type: array
                    items:
                        $ref: "#/components/schemas/SupportCenterTicketChildFieldStatusStatus"
            required:
                - type
                - statuses
        SupportCenterTicketChildField:
            type: object
            properties:
                id:
                    type: string
                required:
                    type: boolean
                status:
                    $ref: "#/components/schemas/SupportCenterTicketChildFieldStatus"
            required:
                - id
                - required
                - status
        SupportCenterTicketFieldOption:
            type: object
            properties:
                id:
                    type: string
                name:
                    type: string
                value:
                    type: string
                childFields:
                    type: array
                    items:
                        $ref: "#/components/schemas/SupportCenterTicketChildField"
            required:
                - id
                - name
                - value
                - childFields
        SupportCenterTicketFieldType:
            type: string
            enum:
                - text
                - textarea
                - checkbox
                - date
                - integer
                - decimal
                - regexp
                - partialcreditcard
                - multiselect
                - tagger
                - lookup
                - select
                - radio
                - string
        SupportCenterTicketField:
            type: object
            properties:
                id:
                    type: string
                name:
                    type: string
                required:
                    type: boolean
                type:
                    $ref: "#/components/schemas/SupportCenterTicketFieldType"
                ticketFieldOptions:
                    type: array
                    items:
                        $ref: "#/components/schemas/SupportCenterTicketFieldOption"
            required:
                - id
                - name
                - required
                - type
                - ticketFieldOptions
        SupportCenterTicketDirection:
            type: string
            enum:
                - in
                - out
        SupportCenterTicketAttachment:
            type: object
            properties:
                contentType:
                    type: string
                contentUrl:
                    type: string
                fileName:
                    type: string
                id:
                    type: string
        SupportCenterTicketComment:
            type: object
            properties:
                attachments:
                    type: array
                    items:
                        $ref: "#/components/schemas/SupportCenterTicketAttachment"
                body:
                    type: string
                htmlBody:
                    type: string
                id:
                    type: number
                createdAt:
                    type: string
                    format: date
                direction:
                    $ref: "#/components/schemas/SupportCenterTicketDirection"
        SupportCenterTicketCommentsList:
            type: object
            properties:
                hasMore:
                    type: boolean
                size:
                    type: number
                nextPage:
                    type: string
                items:
                    type: array
                    items:
                        "$ref": "#/components/schemas/SupportCenterTicketComment"
        CreateSupportCenterTicketCommentRequest:
            type: object
            properties:
                body:
                    type: string
                file:
                    type: string
                fileName:
                    type: string
                contentLength:
                    type: number
                contentType:
                    type: string
            required:
                - body
        ##### Staking
        StakingPlanStatus:
            type: string
            enum:
                - ACTIVE
                - DEACTIVATING
                - DEACTIVATED
        StakingApyType:
            type: string
            enum:
                - FIXED
                - FLEXIBLE
        StakingPayoutFrequency:
            type: string
            enum:
                - DAILY
                - WEEKLY
                - MONTHLY
        StakingRedemptionPolicyType:
            type: string
            enum:
                - NORMAL
                - INSTANT
        StakingRedemptionPolicy:
            type: object
            properties:
                type:
                    $ref: '#/components/schemas/StakingRedemptionPolicyType'
                penalty:
                    type: number
                cooldown:
                    type: integer
            required:
                - type
                - penalty
                - cooldown
        StakingDepositMethod:
            type: string
            enum:
                - MANUAL
                - RECURRING_PURCHASES
                - REWARD
        StakingExchangeLimit:
            type: object
            properties:
                total:
                    type: number
                used:
                    type: number
            required:
                - total
                - used
        StakingPlan:
            type: object
            properties:
                id:
                    type: integer
                name:
                    type: string
                status:
                    $ref: '#/components/schemas/StakingPlanStatus'
                productId:
                    type: integer
                minAmount:
                    type: number
                apy:
                    type: number
                fee:
                    type: number
                apyType:
                    $ref: '#/components/schemas/StakingApyType'
                payoutFrequency:
                    $ref: '#/components/schemas/StakingPayoutFrequency'
                redemptionPolicies:
                    type: array
                    items:
                        $ref: '#/components/schemas/StakingRedemptionPolicy'
                depositMethods:
                    type: array
                    items:
                        $ref: '#/components/schemas/StakingDepositMethod'
                duration:
                    type: integer
                isPoolClosed:
                    type: boolean
                openPoolDate:
                    type: string
                exchangeLimit:
                    $ref: '#/components/schemas/StakingExchangeLimit'
                pendingDepositDelay:
                    type: integer
                partialUnstakeEnabled:
                    type: boolean
                partialUnstakeDelay:
                    type: integer
                redemptionEnabled:
                    type: boolean
                rewardPayoutEnabled:
                    type: boolean
                cancellationDeadline:
                    type: integer
                createdAt:
                    type: string
                updatedAt:
                    type: string
            required:
                - id
                - name
                - status
                - productId
                - minAmount
                - apy
                - fee
                - apyType
                - payoutFrequency
                - redemptionPolicies
                - depositMethods
                - isPoolClosed
                - pendingDepositDelay
                - partialUnstakeEnabled
                - partialUnstakeDelay
                - redemptionEnabled
                - rewardPayoutEnabled
                - cancellationDeadline
                - createdAt
                - updatedAt
        StakingSubscriptionStatus:
            type: string
            enum:
                - ACTIVE
                - DEACTIVATING
                - DEACTIVATED
        StakingQueueState:
            type: string
            enum:
                - EMPTY
                - BUSY
                - FAILED
        StakingSubscriptionTerminationStatus:
            type: string
            enum:
                - PENDING
                - PROCESSING
                - PROCESSED
                - FAILED
        StakingSubscriptionTerminationType:
            type: string
            enum:
                - NORMAL_REDEEM
                - INSTANT_REDEEM
                - FINISHED
                - PLAN_CANCELLED
                - ADMIN_CANCELLED
                - USER_CANCELLED
        StakingExecutionLog:
            type: object
            properties:
                datetime:
                    type: string
                message:
                    type: string
                data:
                    type: object
            required:
                - datetime
                - message
        StakingSubscriptionTermination:
            type: object
            properties:
                id:
                    type: integer
                status:
                    $ref: '#/components/schemas/StakingSubscriptionTerminationStatus'
                type:
                    $ref: '#/components/schemas/StakingSubscriptionTerminationType'
                subscriptionId:
                    type: integer
                amount:
                    type: string
                pendingAmount:
                    type: string
                penalty:
                    type: string
                cooldown:
                    type: integer
                executeAt:
                    type: string
                executionLogs:
                    type: array
                    items:
                        $ref: '#/components/schemas/StakingExecutionLog'
                createdAt:
                    type: string
                updatedAt:
                    type: string
            required:
                - id
                - status
                - type
                - subscriptionId
                - amount
                - pendingAmount
                - penalty
                - cooldown
                - executionLogs
                - createdAt
                - updatedAt
        StakingSubscription:
            type: object
            properties:
                id:
                    type: integer
                plan:
                    $ref: '#/components/schemas/StakingPlan'
                accountId:
                    type: integer
                amount:
                    type: string
                pendingAmount:
                    type: string
                status:
                    $ref: '#/components/schemas/StakingSubscriptionStatus'
                totalGeneratedReward:
                    type: string
                totalGeneratedRewardNotional:
                    type: string
                pendingReward:
                    type: string
                queueState:
                    $ref: '#/components/schemas/StakingQueueState'
                rewardAutoStaking:
                    type: boolean
                recurringPurchaseIds:
                    type: array
                    items:
                        type: string
                deactivatedAt:
                    type: string
                terminationDate:
                    type: string
                createdAt:
                    type: string
                updatedAt:
                    type: string
                termination:
                    $ref: '#/components/schemas/StakingSubscriptionTermination'
            required:
                - id
                - plan
                - accountId
                - amount
                - pendingAmount
                - status
                - totalGeneratedReward
                - totalGeneratedRewardNotional
                - pendingReward
                - queueState
                - createdAt
                - updatedAt
        StakingDepositAutomationRequest:
            type: object
            properties:
                rewardAutoStaking:
                    type: boolean
                recurringPurchaseIds:
                    type: array
                    items:
                        type: string
            required:
                - rewardAutoStaking
                - recurringPurchaseIds
        StakeRequest:
            allOf:
                -   $ref: '#/components/schemas/StakingDepositAutomationRequest'
            type: object
            properties:
                planId:
                    type: integer
                amount:
                    type: number
            required:
                - planId
                - amount
        StakingAccountInfo:
            type: object
            properties:
                totalStaking:
                    type: string
                weeklyProfit:
                    type: string
                totalProfit:
                    type: string
                avgApy:
                    type: number
            required:
                - totalStaking
                - weeklyProfit
                - totalProfit
                - avgApy
        StakingSubscriptionQueueStateResponse:
            type: object
            properties:
                id:
                    type: number
                amount:
                    type: string
                pendingAmount:
                    type: string
                status:
                    $ref: '#/components/schemas/StakingSubscriptionStatus'
                totalGeneratedReward:
                    type: string
                queueState:
                    $ref: '#/components/schemas/StakingQueueState'
                terminationDate:
                    type: string
            required:
                - id
                - amount
                - pendingAmount
                - status
                - totalGeneratedReward
                - queueState
        StakingChartIntervalType:
            type: string
            enum:
                - 7D
                - 1M
                - 3M
                - 6M
                - ALL
        StakingRedeemRequest:
            type: object
            properties:
                policyType:
                    $ref: '#/components/schemas/StakingRedemptionPolicyType'
            required:
                - policyType
        StakingPartialUnstakeRequest:
            type: object
            properties:
                amount:
                    oneOf:
                        -   type: number
                        -   type: string
                policy:
                    $ref: '#/components/schemas/StakingRedemptionPolicyType'
            required:
                - amount
                - policy
        StakingStatisticsElement:
            type: object
            properties:
                productId:
                    type: integer
                stakingAmount:
                    type: string
                stakingAmountNotional:
                    type: string
                pendingAmount:
                    type: string
                pendingAmountNotional:
                    type: string
                averageApy:
                    type: string
                totalProfit:
                    type: string
                totalProfitNotional:
                    type: string
                totalGeneratedReward:
                    type: string
                totalGeneratedRewardNotional:
                    type: string
            required:
                - productId
                - stakingAmount
                - stakingAmountNotional
                - pendingAmount
                - pendingAmountNotional
                - averageApy
                - totalProfit
                - totalProfitNotional
                - totalGeneratedReward
                - totalGeneratedRewardNotional
        StakingDepositStatus:
            type: string
            enum:
                - PENDING
                - DELAYED
                - PROCESSED
                - FAILED
                - CANCELLED
        StakingDepositFailureReason:
            type: string
            enum:
                - UNKNOWN_ERROR
                - NETWORK_ERROR
                - NOT_ENOUGH_FUNDS
                - EXCEEDS_EXCHANGE_LIMIT
                - UNSUPPORTED_PRODUCT
        StakingDeposit:
            type: object
            properties:
                id:
                    type: integer
                status:
                    $ref: '#/components/schemas/StakingDepositStatus'
                subscriptionId:
                    type: integer
                amount:
                    type: number
                productId:
                    type: integer
                accountId:
                    type: integer
                stakingAccountId:
                    type: number
                method:
                    $ref: '#/components/schemas/StakingDepositMethod'
                failureReason:
                    $ref: '#/components/schemas/StakingDepositFailureReason'
                createdAt:
                    type: string
                updatedAt:
                    type: string
            required:
                - id
                - status
                - subscriptionId
                - amount
                - productId
                - accountId
                - stakingAccountId
                - method
                - createdAt
                - updatedAt
        PartialUnstakeTicketStatus:
            type: string
            enum:
                - PENDING
                - PROCESSING
                - PROCESSED
                - FAILED
        PartialUnstakeTicket:
            type: object
            properties:
                id:
                    type: number
                status:
                    $ref: '#/components/schemas/PartialUnstakeTicketStatus'
                type:
                    $ref: '#/components/schemas/StakingRedemptionPolicyType'
                subscriptionId:
                    type: number
                stakedAmount:
                    type: string
                stakedNotionalAmount:
                    type: string
                unstakeAmount:
                    type: string
                unstakeNotionalAmount:
                    type: string
                cooldown:
                    type: number
                penalty:
                    type: number
                penaltyAmount:
                    type: string
                penaltyNotionalAmount:
                    type: string
                executeAt:
                    type: string
                submittedAt:
                    type: string
                updatedAt:
                    type: string
            required:
                - id
                - status
                - type
                - subscriptionId
                - stakedAmount
                - stakedNotionalAmount
                - unstakeAmount
                - unstakeNotionalAmount
                - cooldown
                - penalty
                - penaltyAmount
                - penaltyNotionalAmount
                - executeAt
                - submittedAt
                - updatedAt
        StakingRewardStatus:
            type: string
            enum:
                - PENDING
                - PROCESSING
                - PAID
                - FAILED
        StakingReward:
            type: object
            properties:
                id:
                    type: integer
                status:
                    $ref: '#/components/schemas/StakingRewardStatus'
                periodStartedAt:
                    type: string
                periodCompletedAt:
                    type: string
                productId:
                    type: integer
                amount:
                    type: number
                feeAmount:
                    type: number
                notionalValue:
                    type: number
            required:
                - id
                - status
                - periodStartedAt
                - periodCompletedAt
                - productId
                - amount
                - feeAmount
                - notionalValue
        StakingDepositFundsRequest:
            type: object
            properties:
                amount:
                    type: number
            required:
                - amount
        StakingRedemptionPolicyInfo:
            type: object
            properties:
                totalStakingAmount:
                    type: string
                totalPendingAmount:
                    type: string
                pendingReward:
                    type: string
                penalty:
                    type: string
                penaltyAmount:
                    type: string
                fee:
                    type: string
                feeAmount:
                    type: string
                totalAmount:
                    type: string
            required:
                - totalStakingAmount
                - totalPendingAmount
                - pendingReward
                - penalty
                - penaltyAmount
                - fee
                - feeAmount
                - totalAmount
        StakingTransactionType:
            type: string
            enum:
                - DEPOSIT_FUNDS
                - REWARD_PAYOUT
                - REFUND
                - PARTIAL_REFUND
        StakingTransactionStatus:
            type: string
            enum:
                - CREATED
                - SENT
                - TRANSFERRED
                - PROCESSED
                - FAILED
        StakingTransaction:
            type: object
            properties:
                id:
                    type: integer
                senderAccountId:
                    type: integer
                receiverAccountId:
                    type: integer
                productId:
                    type: integer
                amount:
                    type: string
                notionalValue:
                    type: string
                type:
                    $ref: '#/components/schemas/StakingTransactionType'
                status:
                    $ref: '#/components/schemas/StakingTransactionStatus'
                transferId:
                    type: integer
                errorDetails:
                    type: object
                executionDate:
                    type: string
                createdAt:
                    type: string
                completedAt:
                    type: string
            required:
                - id
                - senderAccountId
                - receiverAccountId
                - productId
                - amount
                - notionalValue
                - type
                - status
                - createdAt
        OpenPoolNotificationSubscriptionRequest:
            type: object
            properties:
                productId:
                    type: integer
        ##### Businesses
        BusinessSignInResponse:
            type: object
            properties:
                accessToken:
                    type: string
                refreshToken:
                    type: string
            required:
                - accessToken
                - refreshToken
        BusinessResetPasswordRequest:
            type: object
            properties:
                email:
                    type: string
            required:
                - email
        BusinessSetNewPasswordRequest:
            type: object
            properties:
                email:
                    type: string
                password:
                    type: string
                code:
                    type: string
            required:
                - email
                - password
                - code
        BusinessAccountType:
            type: string
            enum:
                - CORPORATE_ACCOUNT
                - PARTNERSHIP
                - SOLE_PROPRIETORSHIP
                - TRUST
        BusinessTypeOfBusiness:
            enum:
                - ACCOUNTING
                - ADMINISTRATIVE
                - AGRICULTURE_AND_FARMING
                - BANKING_AND_MORTGAGE_PROFESSIONALS
                - BUILDING_CONSTRUCTION
                - BUSINESS_MANAGEMENT
                - CLIENT_SUPPORT
                - DESIGN_AND_CREATIVITY
                - EDUCATION_AND_TRAINING
                - ENGINEERING_AND_ARCHITECT
                - FINANCE_AND_FINTECH
                - FOOD_SERVICES_AND_HOSPITALITY
                - GOVERNMENT_AND_DIPLOMATIC
                - HUMAN_RESOURCES
                - INSURANCE
                - LEGAL
                - MANUFACTURING_AND_OPERATIONS
                - MARKETING
                - MEDICAL_AND_HEALTH
                - RESOURCE_INDUSTRY
                - MILITARY_PROFESSIONAL
                - PROJECT_AND_PROGRAM_MANAGEMENT
                - PERSONAL_CARE_SERVICES
                - QUALITY_ASSURANCE_AND_SAFETY
                - REAL_ESTATE
                - RELIGIOUS_PROFESSIONALS
                - RETAIL_AND_BUSINESS_DEVELOPMENT
                - SCIENCE_AND_TECHNOLOGY
                - SECURITY_AND_EMERGENCY_SERVICES
                - SKILLED_TRADES_MAINTENANCE_AND_REPAIR
                - SOFTWARE_DEVELOPMENT_AND_INFORMATION_TECHNOLOGY
                - SPORTS_GAMING_ENTERTAINMENT
                - TRANSPORTATION_AND_LOGISTICS
                - UTILITIES
                - WRITING_EDITORIAL
                - HOLDING_COMPANY_OR_CORPORATION
                - UNKNOWN
        BusinessAccountPurpose:
            type: string
            enum:
                - INVESTING_IN_DIGITAL_CURRENCY
                - LIQUIDATING_EXISTING_INVESTMENT
                - SUPPORTING_AN_EXCHANGE_SERVICE
                - LIQUIDATING_MINING_PROCEEDS
                - LIQUIDATING_ICO_PROCEEDS
        BusinessSourceOfFunds:
            type: string
            enum:
                - COMPANY_PROFITS_OR_DIVIDENDS
                - EMPLOYMENT_INCOME
                - PROPERTY_SALE
                - SALE_OF_SHARES_OR_OTHER_INVESTMENTS
                - SAVINGS
                - EARN_AS_BUSINESS_PROFIT
                - OTHER
        BusinessDepositOptions:
            type: string
            enum:
                - FIAT
                - CRYPTO
        BusinessCryptoOrigin:
            type: string
            enum:
                - MINED
                - PURCHASED
        BusinessNetLiquidAssets:
            type: string
            enum:
                - '0-249999'
                - '250000-499999'
                - '500000-999999'
                - '1000000-9999999'
                - '10000000+'
        BusinessNetFixedAssets:
            type: string
            enum:
                - '0-249999'
                - '250000-499999'
                - '500000-999999'
                - '1000000-9999999'
                - '10000000+'
        BusinessAnticipatedMonthlyTradingVolume:
            type: string
            enum:
                - '>10000'
                - '10000-49999'
                - '50000-199999'
                - '20000-999999'
                - '1000000+'
        BusinessExpectedSumOfMoneyDeposits:
            type: string
            enum:
                - '0-9999'
                - '10000-49999'
                - '50000-199999'
                - '200000-999999'
                - '1000000+'
        BusinessVerificationStatus:
            type: string
            enum:
                - PENDING
                - PREVIEW
                - PROCESSING
                - VERIFIED
                - MANUAL_REVIEW
        BusinessReviewRequiredReason:
            type: string
            enum:
                - RESOLUTION_DOCUMENT_SIGNED
                - RESOLUTION_DOCUMENT_FAILED
                - VERIFICATION_STATUS_CHANGED
                - YEARLY_REVIEW
                - MSB_REGISTRATION_EXPIRED
                - AUTHORIZED_REPRESENTATIVE_DECLARATION_SIGNATURE_FAILED
        BusinessBeneficiaryRole:
            type: string
            enum:
                - DIRECTOR
                - SHAREHOLDER
                - BENEFICIARY
                - TRUSTEE
                - SETTLER
                - PARTNER
                - INDIVIDUAL
        BusinessAuthorizedRepresentativeRole:
            type: string
            enum:
                - DIRECTOR
                - SHAREHOLDER
                - BENEFICIARY
                - TRUSTEE
                - SETTLER
                - PARTNER
                - INDIVIDUAL
        BusinessCorporateResolutionStatus:
            type: string
            enum:
                - PENDING
                - SIGNED
                - FAILED
                - NOT_APPLICABLE
        BusinessRiskRating:
            type: string
            description: Business risk rating
            enum:
                - LOW
                - MEDIUM
                - HIGH
        BusinessKybDocumentType:
            type: string
            enum:
                - DIRECTORS_REGISTRY
                - STATE_REGISTRY
                - INCUMBENCY_CERT
                - PROOF_OF_ADDRESS
                - TRUST_AGREEMENT
                - PROOF_OF_DOMAIN
                - INFORMATION_STATEMENT
                - INCORPORATION_CERT
                - INCORPORATION_ARTICLES
                - SHAREHOLDER_REGISTRY
                - GOOD_STANDING_CERT
        BusinessInternalDocumentType:
            type: string
            enum:
                - CORPORATION_KYC_AML_POLICY
        BusinessAddress:
            type: object
            properties:
                country:
                    type: string
                countryCode:
                    type: string
                residentialAddress:
                    type: string
                street:
                    type: string
                province:
                    type: string
                city:
                    type: string
                postalCode:
                    type: string
                building:
                    type: string
                unit:
                    type: string
            required:
                - country
                - countryCode
        BusinessJurisdictionOfIncorporation:
            type: object
            properties:
                country:
                    type: string
                countryCode:
                    type: string
                province:
                    type: string
            required:
                - country
                - countryCode
                - province
        BusinessAuthorizedRepresentative:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: number
                email:
                    type: string
                firstName:
                    type: string
                lastName:
                    type: string
                roles:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessAuthorizedRepresentativeRole'
                isConfirmed:
                    type: boolean
                autoConnect:
                    type: boolean
                isVerified:
                    type: boolean
                hasAccountAccess:
                    type: boolean
                createdAt:
                    type: string
                    format: "date-time"
                updatedAt:
                    type: string
                    format: "date-time"
            required:
                - _id
                - email
                - firstName
                - lastName
                - isConfirmed
                - autoConnect
                - createdAt
                - updatedAt
        BusinessIndividual:
            type: object
            properties:
                _id:
                    type: string
                businessId:
                    type: string
                parentId:
                    type: string
                applicantId:
                    type: string
                email:
                    type: string
                firstName:
                    type: string
                lastName:
                    type: string
                authorizedTrader:
                    type: boolean
                roles:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessBeneficiaryRole'
                ownership:
                    type: number
                isConfirmed:
                    type: boolean
                kycLink:
                    type: string
                createdAt:
                    type: string
                    format: "date-time"
                updatedAt:
                    type: string
                    format: "date-time"
            required:
                - _id
                - businessId
                - parentId
                - email
                - firstName
                - lastName
                - authorizedTrader
                - roles
                - createdAt
                - updatedAt
        BusinessKybDocument:
            type: object
            properties:
                _id:
                    type: string
                businessId:
                    type: string
                name:
                    type: string
                country:
                    type: string
                size:
                    type: number
                type:
                    $ref: '#/components/schemas/BusinessKybDocumentType'
                issuanceDate:
                    type: string
                    format: "date-time"
                createdAt:
                    type: string
                    format: "date-time"
            required:
                - _id
                - businessId
                - name
                - country
                - type
                - size
                - createdAt
        BusinessCompanyShareholder:
            type: object
            properties:
                _id:
                    type: string
                businessId:
                    type: string
                parentId:
                    type: string
                applicantId:
                    type: string
                email:
                    type: string
                fullName:
                    type: string
                regNumber:
                    type: string
                ownership:
                    type: number
                countryCode:
                    type: string
                roles:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessBeneficiaryRole'
                kybLink:
                    type: string
                isConfirmed:
                    type: boolean
                createdAt:
                    type: string
                    format: "date-time"
                updatedAt:
                    type: string
                    format: "date-time"
            required:
                - _id
                - businessId
                - parentId
                - email
                - regNumber
                - fullName
                - countryCode
                - ownership
                - roles
                - createdAt
                - updatedAt
        BusinessInternalDocument:
            type: object
            properties:
                _id:
                    type: string
                businessId:
                    type: string
                name:
                    type: string
                size:
                    type: number
                type:
                    $ref: '#/components/schemas/BusinessInternalDocumentType'
                createdAt:
                    type: string
                    format: "date-time"
            required:
                - _id
                - businessId
                - name
                - type
                - size
                - createdAt
        BusinessCorporateResolution:
            type: object
            properties:
                _id:
                    type: string
                businessId:
                    type: string
                documentId:
                    type: string
                status:
                    $ref: '#/components/schemas/BusinessCorporateResolutionStatus'
                active:
                    type: boolean
                representatives:
                    type: array
                    items:
                        type: string
                createdAt:
                    type: string
                    format: "date-time"
            required:
                - _id
                - businessId
                - documentId
                - status
                - active
                - representatives
                - createdAt
        Business:
            type: object
            properties:
                _id:
                    type: string
                accountId:
                    type: number
                applicantId:
                    type: string
                accountName:
                    type: string
                closed:
                    type: boolean
                email:
                    type: string
                isConfirmed:
                    type: boolean
                fullName:
                    type: string
                tradeName:
                    type: string
                accountType:
                    $ref: '#/components/schemas/BusinessAccountType'
                address:
                    $ref: '#/components/schemas/BusinessAddress'
                phoneNumber:
                    type: string
                website:
                    type: string
                typeOfBusiness:
                    $ref: '#/components/schemas/BusinessTypeOfBusiness'
                accountPurpose:
                    $ref: '#/components/schemas/BusinessAccountPurpose'
                netLiquidAssets:
                    $ref: '#/components/schemas/BusinessNetLiquidAssets'
                netFixedAssets:
                    $ref: '#/components/schemas/BusinessNetFixedAssets'
                anticipatedMonthlyTradingVolume:
                    $ref: '#/components/schemas/BusinessAnticipatedMonthlyTradingVolume'
                sourceOfFunds:
                    $ref: '#/components/schemas/BusinessSourceOfFunds'
                otherSourceOfFunds:
                    type: string
                depositOptions:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessDepositOptions'
                cryptoOrigin:
                    $ref: '#/components/schemas/BusinessCryptoOrigin'
                cryptoOriginPlatform:
                    type: string
                expectedSumOfMoneyDeposits:
                    $ref: '#/components/schemas/BusinessExpectedSumOfMoneyDeposits'
                regNumber:
                    type: string
                dateOfFormation:
                    type: string
                jurisdictionOfIncorporation:
                    $ref: '#/components/schemas/BusinessJurisdictionOfIncorporation'
                actingOnBehalfOfThirdParty:
                    type: boolean
                thirdPartyAdditionalInfo:
                    type: string
                managingFundsOnBehalfOfOther:
                    type: boolean
                isMSBRegistered:
                    type: boolean
                msbRegNumber:
                    type: string
                msbExpDate:
                    type: string
                verificationStatus:
                    $ref: '#/components/schemas/BusinessVerificationStatus'
                kybVerificationStatus:
                    $ref: '#/components/schemas/BusinessVerificationStatus'
                reviewRequired:
                    type: boolean
                lastReviewDate:
                    type: string
                    format: "date-time"
                reviewRequiredReason:
                    $ref: '#/components/schemas/BusinessReviewRequiredReason'
                kybLink:
                    type: string
                riskRating:
                    $ref: '#/components/schemas/BusinessRiskRating'
                lastTransactionDate:
                    type: string
                    format: "date-time"
                noValidProofOfExistence:
                    type: boolean
                noMoreSignificantShareholders:
                    type: boolean
                createdAt:
                    type: string
                    format: "date-time"
                updatedAt:
                    type: string
                    format: "date-time"
                verificationLevel:
                    type: number
                accountUsers:
                    type: array
                    items:
                        type: number
                representatives:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessAuthorizedRepresentative'
                individuals:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessIndividual'
                companies:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessCompanyShareholder'
                kybDocuments:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessKybDocument'
                internalDocuments:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessInternalDocument'
                corporateResolution:
                    $ref: '#/components/schemas/BusinessCorporateResolution'
            required:
                - _id
                - email
                - fullName
                - accountId
                - accountName
                - accountType
                - verificationStatus
                - kybVerificationStatus
                - createdAt
                - updatedAt
                - verificationLevel
                - accountUsers
                - representatives
                - individuals
                - companies
                - kybDocuments
                - internalDocuments
        CreateBusinessRequest:
            type: object
            properties:
                email:
                    type: string
                password:
                    type: string
                fullName:
                    type: string
                accountType:
                    $ref: '#/components/schemas/BusinessAccountType'
            required:
                - email
                - password
                - fullName
                - accountType
        VerifyBusinessPhoneRequest:
            type: object
            properties:
                channel:
                    $ref: '#/components/schemas/TwilioChannel'
                phoneNumber:
                    type: string
        VerifyBusinessPhoneResponse:
            type: object
            properties:
                sent:
                    type: boolean
                rateLimit:
                    $ref: '#/components/schemas/RateLimitedResult'
            required:
                - sent
                - rateLimit
        UpdateBusinessInfoRequest:
            type: object
            properties:
                fullName:
                    type: string
                tradeName:
                    type: string
                accountType:
                    $ref: '#/components/schemas/BusinessAccountType'
                address:
                    $ref: '#/components/schemas/BusinessAddress'
                phoneNumber:
                    type: string
                website:
                    type: string
                typeOfBusiness:
                    $ref: '#/components/schemas/BusinessTypeOfBusiness'
                accountPurpose:
                    $ref: '#/components/schemas/BusinessAccountPurpose'
                netLiquidAssets:
                    $ref: '#/components/schemas/BusinessNetLiquidAssets'
                netFixedAssets:
                    $ref: '#/components/schemas/BusinessNetFixedAssets'
                anticipatedMonthlyTradingVolume:
                    $ref: '#/components/schemas/BusinessAnticipatedMonthlyTradingVolume'
                sourceOfFunds:
                    $ref: '#/components/schemas/BusinessSourceOfFunds'
                otherSourceOfFunds:
                    type: string
                depositOptions:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessDepositOptions'
                cryptoOrigin:
                    $ref: '#/components/schemas/BusinessCryptoOrigin'
                cryptoOriginPlatform:
                    type: string
                expectedSumOfMoneyDeposits:
                    $ref: '#/components/schemas/BusinessExpectedSumOfMoneyDeposits'
                regNumber:
                    type: string
                dateOfFormation:
                    type: string
                jurisdictionOfIncorporation:
                    $ref: '#/components/schemas/BusinessJurisdictionOfIncorporation'
                actingOnBehalfOfThirdParty:
                    type: boolean
                thirdPartyAdditionalInfo:
                    type: string
                managingFundsOnBehalfOfOther:
                    type: boolean
                isMSBRegistered:
                    type: boolean
                msbRegNumber:
                    type: string
                msbExpDate:
                    type: string
                noMoreSignificantShareholders:
                    type: boolean
        UpdateBusinessPhoneRequest:
            type: object
            properties:
                code:
                    type: string
                phoneNumber:
                    type: string
            required:
                - code
                - phoneNumber
        UploadBusinessKybDocumentRequest:
            type: object
            properties:
                file:
                    type: string
                documentType:
                    $ref: '#/components/schemas/BusinessKybDocumentType'
                country:
                    type: string
                documentIssueDate:
                    type: string
            required:
                - file
                - documentType
                - country
        UploadBusinessInternalDocumentRequest:
            type: object
            properties:
                file:
                    type: string
                documentType:
                    $ref: '#/components/schemas/BusinessInternalDocumentType'
            required:
                - file
                - documentType
        CreateBusinessIndividualRequest:
            type: object
            properties:
                parentId:
                    type: string
                email:
                    type: string
                firstName:
                    type: string
                lastName:
                    type: string
                authorizedTrader:
                    type: boolean
                roles:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessBeneficiaryRole'
                ownership:
                    type: number
            required:
                - parentId
                - email
                - firstName
                - lastName
                - roles
        UpdateBusinessIndividualRequest:
            type: object
            properties:
                firstName:
                    type: string
                lastName:
                    type: string
                authorizedTrader:
                    type: boolean
                roles:
                    type: array
                    items:
                        $ref: '#/components/schemas/BusinessBeneficiaryRole'
                ownership:
                    type: number
        CreateBusinessCompanyShareholderRequest:
            type: object
            properties:
                parentId:
                    type: string
                email:
                    type: string
                regNumber:
                    type: string
                countryCode:
                    type: string
                fullName:
                    type: string
                ownership:
                    type: number
            required:
                - parentId
                - email
                - fullName
                - regNumber
                - countryCode
        UpdateBusinessCompanyShareholderRequest:
            type: object
            properties:
                regNumber:
                    type: string
                countryCode:
                    type: string
                fullName:
                    type: string
                ownership:
                    type: number
        SubmitBusinessRequest:
            type: object
            properties:
                code:
                    type: string
            required:
                - code
        ##### Tax reporting
        TaxReportApiKey:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: number
                accountId:
                    type: number
                consent:
                    type: boolean
                lastUsedAt:
                    type: string
                createdAt:
                    type: string
            required:
                - _id
                - userId
                - accountId
                - consent
                - lastUsedAt
                - createdAt
        TaxReportingSsoAuthenticateRequestBody:
            type: object
            properties:
                accountId:
                    type: number
                consent:
                    type: boolean
            required:
                - accountId
        TaxReportingSsoAuthenticateResponse:
            type: object
            properties:
                url:
                    type: string
                apiKey:
                    $ref: '#/components/schemas/TaxReportApiKey'
            required:
                - url

        PolicyType:
            type: string
            enum:
                - AML_POLICY
                - API_POLICY
                - USER_AGREEMENT
                - PRIVACY_POLICY
                - COOKIES_CONSENT
                - RISK_DISCLOSURE
                - CUSTODY_AGREEMENT
                - WITHDRAWAL_CRYPTO_RISK_DISCLOSURE
                - STAKING_OPT_IN_POLICY
                - STAKING_OPT_OUT_POLICY
                - BOUNTY_BUG_POLICY
                - SECURITY_POLICY
                - DISCLAIMER
                - RELATIONSHIP_DISCLOSURE_DOCUMENT
                - CONFLICT_OF_INTEREST_STATEMENT
                - COMPLAINT_AND_DISPUTE_RESOLUTION
                - DEPOSIT_OF_NON_SUPPORTED_VIRTUAL_ASSET
        PolicyIdentifier:
            type: object
            properties:
                type:
                    $ref: '#/components/schemas/PolicyType'
                version:
                    type: string
            required:
                - type
                - version

        PolicyAcknowledgementInfo:
            type: object
            properties:
                policyId:
                    type: integer
                userId:
                    type: integer
                type:
                    $ref: '#/components/schemas/PolicyType'
                version:
                    type: string
                acknowledgedAt:
                    type: string
            required:
                - policyId
                - userId
                - type
                - version
                - acknowledgedAt
        ValidateSignUpPoliciesOptions:
            type: object
            properties:
                policies:
                    type: array
                    items:
                        $ref: '#/components/schemas/PolicyIdentifier'
        PolicyAcknowledgeOptions:
            type: object
            properties:
                userId:
                    type: integer
                policies:
                    type: array
                    items:
                        $ref: '#/components/schemas/PolicyIdentifier'
            required:
                - userId
                - policies
        PolicyInfo:
            type: object
            properties:
                id:
                    type: integer
                version:
                    type: string
                type:
                    $ref: '#/components/schemas/PolicyType'
                content:
                    type: string
                previousVersions:
                    type: array
                    items:
                        type: string
                requireAcknowledgement:
                    type: boolean
                createdAt:
                    type: string
                updatedAt:
                    type: string
                reviewedAt:
                    type: string
            required:
                - id
                - version
                - type
                - previousVersions
                - requireAcknowledgement
                - createdAt
                - updatedAt
                - reviewedAt
        EmailVerificationType:
            type: string
            enum:
                - EMAIL_CONFIRMATION
                - MFA_RESET
                - EMAIL_RESET
        SubmitEmailVerificationCodeRequest:
            type: object
            properties:
                email:
                    type: string
                username:
                    type: string
                code:
                    type: string
                type:
                    $ref: '#/components/schemas/EmailVerificationType'
            required:
                - code
                - type
        SubmitEmailVerificationCodeResponse:
            type: object
            properties:
                accepted:
                    type: boolean
            required:
                - accepted
        ResendUserEmailConfirmationRequest:
            type: object
            properties:
                username:
                    type: string
            required:
                - username
        UserEmailSendCodeRequest:
            type: object
            properties:
                email:
                    type: string
            required:
                - email
        UserEmailChangeRequest:
            type: object
            properties:
                email:
                    type: string
                emailCode:
                    type: string
                mfaCode:
                    type: string
            required:
                - email
                - emailCode
                - mfaCode
        UserPhoneSendCodeRequest:
            type: object
            properties:
                channel:
                    $ref: '#/components/schemas/TwilioChannel'
                phoneNumber:
                    type: string
        UserPhoneChangeRequest:
            type: object
            properties:
                phoneCode:
                    type: string
                mfaCode:
                    type: string
                phoneNumber:
                    type: string
            required:
                - phoneCode
                - phoneNumber
                - mfaCode
        UserDeviceTokenUpdateRequest:
            type: object
            required:
                - deviceToken
                - platform
            properties:
                deviceToken:
                    type: string
                platform:
                    type: string
                deviceId:
                    type: string
        ConvertFxMarginConfig:
            type: object
            properties:
                weekdays:
                    type: number
                weekends:
                    type: number
                holidays:
                    type: number
            required:
                - weekdays
                - weekends
                - holidays
        ConvertConfig:
            type: object
            properties:
                _id:
                    type: string
                disabled:
                    type: boolean
                productId:
                    type: number
                instrumentId:
                    type: number
                fxMarginConfig:
                    $ref: '#/components/schemas/ConvertFxMarginConfig'
            required:
                - _id
                - disabled
                - productId
                - instrumentId
                - fxMarginConfig
        ArrayOfConvertConfigs:
            description: Convert configs
            type: array
            items:
                $ref: '#/components/schemas/ConvertConfig'
        UserNetAnnualIncomeValue:
            type: string
            enum:
                - 'LESS_THAN_30K'
                - 'BETWEEN_30K_75K'
                - 'BETWEEN_75K_200K'
                - 'MORE_THAN_200k'
        UserNetAssetsValue:
            type: string
            enum:
                - 'LESS_THAN_100K'
                - 'BETWEEN_100K_400K'
                - 'BETWEEN_400K_1M'
                - 'BETWEEN_1M_5M'
                - 'MORE_THAN_5M'
        UserNetFinancialAssetsValue:
            type: string
            enum:
                - 'LESS_THAN_100K'
                - 'BETWEEN_100K_400K'
                - 'BETWEEN_400K_1M'
                - 'BETWEEN_1M_5M'
                - 'MORE_THAN_5M'
        StatementType:
            type: string
            enum:
                - MONTHLY
                - QUARTERLY
                - ANNUALLY
        StatementStatus:
            type: string
            enum:
                - COMPLETE
                - PENDING
                - ERROR
                - PROCESSING
                - READY_TO_NOTIFY_CUSTOMER
                - FAILED_ATTEMPT
                - NO_TRX_FOUND
        StatementReport:
            type: object
            required:
                - status
                - id
                - generatedDate
                - startDate
                - endDate
                - reportType
            properties:
                month:
                    type: number
                year:
                    type: number
                quarter:
                    type: number
                status:
                    $ref: '#/components/schemas/StatementStatus'
                id:
                    type: string
                generatedDate:
                    type: string
                    format: date-time
                startDate:
                    type: string
                    format: date-time
                endDate:
                    type: string
                    format: date-time
                reportType:
                    $ref: '#/components/schemas/StatementType'
        TrustedContactRelationship:
            type: string
            enum:
                - 'SPOUSE'
                - 'PARENT'
                - 'SIBLING'
                - 'FRIEND'
                - 'RELATIVE'
                - 'BROKER_OR_FINANCIAL_ADVISOR'
                - 'OTHER'
        TrustedContactAddress:
            type: object
            properties:
                country:
                    type: string
                countryCode:
                    type: string
                residentialAddress:
                    type: string
                street:
                    type: string
                province:
                    type: string
                city:
                    type: string
                postalCode:
                    type: string
                building:
                    type: string
                unit:
                    type: string
            required:
                - country
                - countryCode
                - residentialAddress
                - street
                - province
                - city
                - postalCode
                - building
        TrustedContact:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: number
                firstName:
                    type: string
                lastName:
                    type: string
                relationship:
                    $ref: '#/components/schemas/TrustedContactRelationship'
                otherRelationship:
                    type: string
                email:
                    type: string
                phoneNumber:
                    type: string
                address:
                    $ref: '#/components/schemas/TrustedContactAddress'
                createdAt:
                    type: string
                    format: "date-time"
                updatedAt:
                    type: string
                    format: "date-time"
            required:
                - userId
                - firstName
                - lastName
                - relationship
                - email
                - phoneNumber
                - address
                - createdAt
                - updatedAt
        ArrayOfTrustedContacts:
            type: array
            items:
                $ref: '#/components/schemas/TrustedContact'
        CreateTrustedContactRequest:
            type: object
            properties:
                firstName:
                    type: string
                lastName:
                    type: string
                relationship:
                    $ref: '#/components/schemas/TrustedContactRelationship'
                otherRelationship:
                    type: string
                email:
                    type: string
                phoneNumber:
                    type: string
                address:
                    $ref: '#/components/schemas/TrustedContactAddress'
            required:
                - firstName
                - lastName
                - relationship
                - email
                - phoneNumber
                - address
        UpdateTrustedContactRequest:
            type: object
            properties:
                firstName:
                    type: string
                lastName:
                    type: string
                relationship:
                    $ref: '#/components/schemas/TrustedContactRelationship'
                otherRelationship:
                    type: string
                email:
                    type: string
                phoneNumber:
                    type: string
                address:
                    $ref: '#/components/schemas/TrustedContactAddress'
            required:
                - firstName
                - lastName
                - relationship
                - email
                - phoneNumber
                - address
        AppropriatenessQuestionnaireQuestionFlag:
            type: string
            enum:
                - STAKING
                - APPROPRIATENESS
        AppropriatenessQuestionnaireQuestion:
            type: object
            properties:
                _id:
                    type: string
                text:
                    type: string
                flag:
                    $ref: '#/components/schemas/AppropriatenessQuestionnaireQuestionFlag'
                tooltip:
                    type: string
                options:
                    type: array
                    items:
                        type: object
                        properties:
                            _id:
                                type: string
                            text:
                                type: string
                        required:
                            - _id
                            - text
        AppropriatenessQuestionnaireAnswer:
            type: object
            properties:
                questionId:
                    type: string
                optionId:
                    type: string
            required:
                - questionId
                - optionId
        SubmitAppropriatenessQuestionnaireRequest:
            type: object
            properties:
                answers:
                    type: array
                    items:
                        $ref: '#/components/schemas/AppropriatenessQuestionnaireAnswer'
            required:
                - answers
        AppropriatenessQuestionnaireStatus:
            type: string
            enum:
                - PENDING
                - COMPLETED
                - FAILED
                - ADMIN_REVIEW
        AppropriatenessQuestionnaireResponse:
            type: object
            properties:
                status:
                    $ref: '#/components/schemas/AppropriatenessQuestionnaireStatus'
                isFinal:
                    type: boolean
                actions:
                    type: array
                    items:
                        $ref: '#/components/schemas/AppropriatenessQuestionnaireTriggerAction'
            required:
                - status
                - actions
        GenerateMonthlyStatementRequest:
            type: object
            required:
                - accountId
                - month
                - year
            properties:
                accountId:
                    type: number
                month:
                    type: number
                year:
                    type: number
        GenerateQuarterlyStatementRequest:
            type: object
            required:
                - accountId
                - quarter
                - year
            properties:
                accountId:
                    type: number
                quarter:
                    type: number
                year:
                    type: number
        GenerateAnnuallyStatementRequest:
            type: object
            required:
                - accountId
                - year
            properties:
                accountId:
                    type: number
                year:
                    type: number
        AppropriatenessQuestionnaireTriggerAction:
            type: string
            enum:
                - MANUAL_REVIEW
                - DISABLE_STAKING
                - EXPERIENCE_MORE_THAN_5_YEARS
                - EXPERIENCE_BETWEEN_2_AND_5_YEARS
                - EXPERIENCE_LESS_THAN_2_YEARS
        Platform:
            type: string
            enum:
                - WEB
                - IOS
                - ANDROID
        UserTradingExperience:
            type: string
            enum:
                - UNKNOWN
                - MORE_THAN_5_YEARS
                - BETWEEN_2_AND_5_YEARS
                - LESS_THAN_2_YEARS
        UnacknowledgedAccountLose:
            type: object
            properties:
                accountId:
                    type: integer
                losePercent:
                    type: number
            required:
                - accountId
                - losePercent

        AcknowledgeAccountLosses:
            type: object
            properties:
                accountId:
                    type: integer
            required:
                - accountId
        DailyConfirmationTradingDaysResponse:
            type: object
            properties:
                date:
                    type: string
                    format: date
                hasTrades:
                    type: boolean
            required:
                - date
                - hasTrades
        DailyConfirmationTradingDaysList:
            type: array
            items:
                $ref: '#/components/schemas/DailyConfirmationTradingDaysResponse'
        AnalyticsEventType:
            type: string
            enum:
                - SIGN_IN
        AnalyticsTrackEvent:
            type: object
            properties:
                platform:
                    $ref: '#/components/schemas/Platform'
                type:
                    $ref: '#/components/schemas/AnalyticsEventType'
                payload:
                    type: object
            required:
                - platform
                - type
        UserClassification:
            type: string
            enum:
                - 'PROFESSIONAL'
                - 'PEP'
                - 'MARKET_MAKER'
        ArrayOfUserClassifications:
            type: array
            items:
                $ref: '#/components/schemas/UserClassification'
        DynamicPolicyGroup:
            type: string
            enum:
                - STAKING_OPT_OUT
                - STAKING_OPT_IN
                - WITHDRAWS
                - TRADE_BUY
        DynamicPolicyIdentifierType:
            type: string
            enum:
                - PRODUCT
                - INSTRUMENT
        DynamicPolicyInfo:
            type: object
            properties:
                id:
                    type: integer
                version:
                    type: string
                group:
                    $ref: '#/components/schemas/DynamicPolicyGroup'
                identifier:
                    type: integer
                identifierType:
                    $ref: '#/components/schemas/DynamicPolicyIdentifierType'
                content:
                    type: string
                previousVersions:
                    type: array
                    items:
                        type: string
                requireAcknowledgement:
                    type: boolean
                createdAt:
                    type: string
                updatedAt:
                    type: string
                reviewedAt:
                    type: string
            required:
                - id
                - version
                - group
                - identifier
                - previousVersions
                - requireAcknowledgement
                - createdAt
                - updatedAt
                - reviewedAt
        AcknowledgeDynamicPolicyOptions:
            type: object
            properties:
                group:
                    $ref: '#/components/schemas/DynamicPolicyGroup'
                identifier:
                    type: integer
            required:
                - group
                - identifier
        UnaknowledgedDynamicPolicy:
            type: object
            properties:
                dynamicPolicyId:
                    type: integer
                group:
                    $ref: '#/components/schemas/DynamicPolicyGroup'
                identifier:
                    type: integer
                version:
                    type: string
            required:
                - dynamicPolicyId
                - group
                - identifier
                - version
        NonSpecifiedCryptoAssetResponse:
            type: object
            required:
                - maxAmount
                - usedAmount
                - baseCurrencySymbol
            properties:
                maxAmount:
                    type: number
                usedAmount:
                    type: number
                baseCurrencySymbol:
                    type: string
        InvestmentLimitResponse:
            type: object
            required:
                - limit
                - baseCurrencySymbol
            properties:
                limit:
                    type: number
                baseCurrencySymbol:
                    type: string
        TotalPurchaseByProduct:
            type: object
            required:
                - productId
                - total
            properties:
                productId:
                    type: number
                total:
                    type: number
        TotalPurchaseValueResponse:
            type: object
            required:
                - baseCurrencySymbol
                - totalByProductList
                - totalPurchaseValue
            properties:
                totalByProductList:
                    type: array
                    items:
                        $ref: '#/components/schemas/TotalPurchaseByProduct'
                totalPurchaseValue:
                    type: number
                baseCurrencySymbol:
                    type: string
        OauthSessionParams:
            type: object
            properties:
                alive:
                    type: boolean
                expTime:
                    type: number
                applicationId:
                    type: string
                userId:
                    type: string
                apWsToken:
                    type: string
            required:
                - alive
        InternalUser:
            type: object
            properties:
                _id:
                    type: string
                userId:
                    type: number
                name:
                    type: string
                email:
                    type: string
                favourite:
                    type: boolean
                createdAt:
                    type: string
                    format: 'date-time'
                updatedAt:
                    type: string
                    format: 'date-time'
            required:
                - _id
                - userId
                - name
                - email
        ArrayOfInternalUsers:
            type: array
            items:
                $ref: '#/components/schemas/InternalUser'
        CreateInternalUserRequest:
            type: object
            properties:
                name:
                    type: string
                email:
                    type: string
            required:
                - name
                - email
        UpdateInternalUserRequest:
            type: object
            properties:
                name:
                    type: string
                email:
                    type: string
            required:
                - name
                - email

