<?xml version="1.0" encoding="US-ASCII" ?>
    <!-- Field: Doc-Info; Name: Generator; Value: GoFiler Complete; Version: 6.5a -->
    <!-- Field: Doc-Info; Name: VendorURI; Value: https://www.novaworks.com -->
    <!-- Field: Doc-Info; Name: Status; Value: 0x00000000 -->
    <!-- Field: Doc-Info; Name: Misc; Value: 96Mps7xRiXgen8uDanwsWa6FSbP9z5Z8GekhvWBzbYkqPyYmc4ztCCtEhffW4dsL -->
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrldi="http://xbrl.org/2006/xbrldi" xmlns:dei="http://xbrl.sec.gov/dei/2026" xmlns:us-gaap="http://fasb.org/us-gaap/2026" xmlns:srt="http://fasb.org/srt/2026" xmlns:srt-types="http://fasb.org/srt-types/2026" xmlns:ecd="http://xbrl.sec.gov/ecd/2026" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:BIAF="http://bioaffinitytech.com/20260331" elementFormDefault="qualified" targetNamespace="http://bioaffinitytech.com/20260331">
    <annotation>
      <appinfo>
        <link:roleType roleURI="http://bioaffinitytech.com/role/Cover" id="Cover">
          <link:definition>00000001 - Document - Cover</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/BalanceSheets" id="BalanceSheets">
          <link:definition>00000002 - Statement - Condensed Consolidated Balance Sheets</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/BalanceSheetsParenthetical" id="BalanceSheetsParenthetical">
          <link:definition>00000003 - Statement - Condensed Consolidated Balance Sheets (Parenthetical)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/StatementsOfOperations" id="StatementsOfOperations">
          <link:definition>00000004 - Statement - Consolidated Statements of Operations (Unaudited)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/StatementsOfChangesInStockholdersEquity" id="StatementsOfChangesInStockholdersEquity">
          <link:definition>00000005 - Statement - Condensed Consolidated Statements of Changes in Stockholders' Equity (Unaudited)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/StatementsOfCashFlows" id="StatementsOfCashFlows">
          <link:definition>00000006 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/StatementsOfCashFlowsParenthetical" id="StatementsOfCashFlowsParenthetical">
          <link:definition>00000007 - Statement - Condensed Consolidated Statements of Cash Flows (Unaudited) (Parenthetical)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/NatureOfOperationsOrganizationAndBasisOfPresentation" id="NatureOfOperationsOrganizationAndBasisOfPresentation">
          <link:definition>999013 - Disclosure - NATURE OF OPERATIONS, ORGANIZATION, AND BASIS OF PRESENTATION</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfSignificantAccountingPolicies" id="SummaryOfSignificantAccountingPolicies">
          <link:definition>999014 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/AccountsAndOtherReceivablesNet" id="AccountsAndOtherReceivablesNet">
          <link:definition>999015 - Disclosure - ACCOUNTS AND OTHER RECEIVABLES, NET</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/PrepaidExpensesAndOtherCurrentAssets" id="PrepaidExpensesAndOtherCurrentAssets">
          <link:definition>999016 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/PropertyAndEquipmentNet" id="PropertyAndEquipmentNet">
          <link:definition>999017 - Disclosure - PROPERTY AND EQUIPMENT, NET</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/AccruedExpenses" id="AccruedExpenses">
          <link:definition>999018 - Disclosure - ACCRUED EXPENSES</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/UnearnedRevenue" id="UnearnedRevenue">
          <link:definition>999019 - Disclosure - UNEARNED REVENUE</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/FairValueMeasurements" id="FairValueMeasurements">
          <link:definition>999020 - Disclosure - FAIR VALUE MEASUREMENTS</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/Leases" id="Leases">
          <link:definition>999021 - Disclosure - LEASES</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/NotesPayable" id="NotesPayable">
          <link:definition>999022 - Disclosure - NOTES PAYABLE</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/CommitmentsAndContingencies" id="CommitmentsAndContingencies">
          <link:definition>999023 - Disclosure - COMMITMENTS AND CONTINGENCIES</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ConvertiblePreferredAndCommonStock" id="ConvertiblePreferredAndCommonStock">
          <link:definition>999024 - Disclosure - CONVERTIBLE PREFERRED AND COMMON STOCK</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/Stock-basedCompensation" id="Stock-basedCompensation">
          <link:definition>999025 - Disclosure - STOCK-BASED COMPENSATION</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/Warrants" id="Warrants">
          <link:definition>999026 - Disclosure - WARRANTS</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SubsequentEvents" id="SubsequentEvents">
          <link:definition>999027 - Disclosure - SUBSEQUENT EVENTS</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfSignificantAccountingPoliciesPolicies" id="SummaryOfSignificantAccountingPoliciesPolicies">
          <link:definition>999028 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfSignificantAccountingPoliciesTables" id="SummaryOfSignificantAccountingPoliciesTables">
          <link:definition>999029 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/AccountsAndOtherReceivablesNetTables" id="AccountsAndOtherReceivablesNetTables">
          <link:definition>999030 - Disclosure - ACCOUNTS AND OTHER RECEIVABLES, NET (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/PrepaidExpensesAndOtherCurrentAssetsTables" id="PrepaidExpensesAndOtherCurrentAssetsTables">
          <link:definition>999031 - Disclosure - PREPAID EXPENSES AND OTHER CURRENT ASSETS (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/PropertyAndEquipmentNetTables" id="PropertyAndEquipmentNetTables">
          <link:definition>999032 - Disclosure - PROPERTY AND EQUIPMENT, NET (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/AccruedExpensesTables" id="AccruedExpensesTables">
          <link:definition>999033 - Disclosure - ACCRUED EXPENSES (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/LeasesTables" id="LeasesTables">
          <link:definition>999034 - Disclosure - LEASES (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/Stock-basedCompensationTables" id="Stock-basedCompensationTables">
          <link:definition>999035 - Disclosure - STOCK-BASED COMPENSATION (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/WarrantsTables" id="WarrantsTables">
          <link:definition>999036 - Disclosure - WARRANTS (Tables)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/NatureOfOperationsOrganizationAndBasisOfPresentationDetailsNarrative" id="NatureOfOperationsOrganizationAndBasisOfPresentationDetailsNarrative">
          <link:definition>999037 - Disclosure - NATURE OF OPERATIONS, ORGANIZATION, AND BASIS OF PRESENTATION (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfPotentiallyDilutiveSecuritiesDetails" id="ScheduleOfPotentiallyDilutiveSecuritiesDetails">
          <link:definition>999038 - Disclosure - SCHEDULE OF POTENTIALLY DILUTIVE SECURITIES (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfRevenueRecognitionDetails" id="ScheduleOfRevenueRecognitionDetails">
          <link:definition>999039 - Disclosure - SCHEDULE OF REVENUE RECOGNITION (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfRevenueRecognitionDetailsParenthetical" id="ScheduleOfRevenueRecognitionDetailsParenthetical">
          <link:definition>999040 - Disclosure - SCHEDULE OF REVENUE RECOGNITION (Details) (Parenthetical)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfPropertyAndEquipmentUsefulLifeDetails" id="ScheduleOfPropertyAndEquipmentUsefulLifeDetails">
          <link:definition>999041 - Disclosure - SCHEDULE OF PROPERTY AND EQUIPMENT USEFUL LIFE (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfIntangibleAssetsDetails" id="ScheduleOfIntangibleAssetsDetails">
          <link:definition>999042 - Disclosure - SCHEDULE OF INTANGIBLE ASSETS (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfEstimatedAmortizationOfIntangibleAssetsDetails" id="ScheduleOfEstimatedAmortizationOfIntangibleAssetsDetails">
          <link:definition>999043 - Disclosure - SCHEDULE OF ESTIMATED AMORTIZATION OF INTANGIBLE ASSETS (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfSegmentInformationDetails" id="ScheduleOfSegmentInformationDetails">
          <link:definition>999044 - Disclosure - SCHEDULE OF SEGMENT INFORMATION (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfSignificantAccountingPoliciesDetailsNarrative" id="SummaryOfSignificantAccountingPoliciesDetailsNarrative">
          <link:definition>999045 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfAccountsAndOtherReceivablesDetails" id="ScheduleOfAccountsAndOtherReceivablesDetails">
          <link:definition>999046 - Disclosure - SCHEDULE OF ACCOUNTS AND OTHER RECEIVABLES (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails" id="ScheduleOfPrepaidExpensesAndOtherCurrentAssetsDetails">
          <link:definition>999047 - Disclosure - SCHEDULE OF PREPAID EXPENSES AND OTHER CURRENT ASSETS (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfPropertyAndEquipmentDetails" id="ScheduleOfPropertyAndEquipmentDetails">
          <link:definition>999048 - Disclosure - SCHEDULE OF PROPERTY AND EQUIPMENT (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/PropertyAndEquipmentNetDetailsNarrative" id="PropertyAndEquipmentNetDetailsNarrative">
          <link:definition>999049 - Disclosure - PROPERTY AND EQUIPMENT, NET (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfAccruedExpensesDetails" id="ScheduleOfAccruedExpensesDetails">
          <link:definition>999050 - Disclosure - SCHEDULE OF ACCRUED EXPENSES (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/UnearnedRevenueDetailsNarrative" id="UnearnedRevenueDetailsNarrative">
          <link:definition>999051 - Disclosure - UNEARNED REVENUE (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/LeasesDetailsNarrative" id="LeasesDetailsNarrative">
          <link:definition>999052 - Disclosure - LEASES (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfComponentsOfLeaseExpenseDetails" id="ScheduleOfComponentsOfLeaseExpenseDetails">
          <link:definition>999053 - Disclosure - SCHEDULE OF COMPONENTS OF LEASE EXPENSE (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfBalanceSheetInformationRelatingToLeasesDetails" id="ScheduleOfBalanceSheetInformationRelatingToLeasesDetails">
          <link:definition>999054 - Disclosure - SCHEDULE OF BALANCE SHEET INFORMATION RELATING TO LEASES (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfFutureMinimumLeasePaymentUnderNon-cancellableDetails" id="ScheduleOfFutureMinimumLeasePaymentUnderNon-cancellableDetails">
          <link:definition>999055 - Disclosure - SCHEDULE OF FUTURE MINIMUM LEASE PAYMENT UNDER NON-CANCELLABLE (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/NotesPayableDetailsNarrative" id="NotesPayableDetailsNarrative">
          <link:definition>999056 - Disclosure - NOTES PAYABLE (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ConvertiblePreferredAndCommonStockDetailsNarrative" id="ConvertiblePreferredAndCommonStockDetailsNarrative">
          <link:definition>999057 - Disclosure - CONVERTIBLE PREFERRED AND COMMON STOCK (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfStock-basedCompensationExpenseRecognizedForStockOptionAwardsDetails" id="SummaryOfStock-basedCompensationExpenseRecognizedForStockOptionAwardsDetails">
          <link:definition>999058 - Disclosure - SUMMARY OF STOCK-BASED COMPENSATION EXPENSE RECOGNIZED FOR STOCK OPTION AWARDS (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfStock-basedCompensationExpenseRecognizedForStockOptionAwardsDetailsDefOnly" id="SummaryOfStock-basedCompensationExpenseRecognizedForStockOptionAwardsDetailsDefOnly">
          <link:definition>999058 - Disclosure - SUMMARY OF STOCK-BASED COMPENSATION EXPENSE RECOGNIZED FOR STOCK OPTION AWARDS (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfOptionActivityDetails" id="SummaryOfOptionActivityDetails">
          <link:definition>999059 - Disclosure - SUMMARY OF OPTION ACTIVITY (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SummaryOfRestrictedStockAwardDetails" id="SummaryOfRestrictedStockAwardDetails">
          <link:definition>999060 - Disclosure - SUMMARY OF RESTRICTED STOCK AWARD (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/Stock-basedCompensationDetailsNarrative" id="Stock-basedCompensationDetailsNarrative">
          <link:definition>999061 - Disclosure - STOCK-BASED COMPENSATION (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/WarrantsDetailsNarrative" id="WarrantsDetailsNarrative">
          <link:definition>999062 - Disclosure - WARRANTS (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/ScheduleOfClassOfWarrantDetails" id="ScheduleOfClassOfWarrantDetails">
          <link:definition>999063 - Disclosure - SCHEDULE OF CLASS OF WARRANT (Details)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:roleType roleURI="http://bioaffinitytech.com/role/SubsequentEventsDetailsNarrative" id="SubsequentEventsDetailsNarrative">
          <link:definition>999064 - Disclosure - SUBSEQUENT EVENTS (Details Narrative)</link:definition>
          <link:usedOn>link:presentationLink</link:usedOn>
          <link:usedOn>link:calculationLink</link:usedOn>
          <link:usedOn>link:definitionLink</link:usedOn>
        </link:roleType>
        <link:linkbaseRef xlink:type="simple" xlink:href="biaf-20260331_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:title="Presentation Links" />
        <link:linkbaseRef xlink:type="simple" xlink:href="biaf-20260331_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:title="Label Links" />
        <link:linkbaseRef xlink:type="simple" xlink:href="biaf-20260331_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:title="Calculation Links" />
        <link:linkbaseRef xlink:type="simple" xlink:href="biaf-20260331_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:title="Definition Links" />
      </appinfo>
    </annotation>
    <import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd" />
    <import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" />
    <import namespace="http://xbrl.sec.gov/dei/2026" schemaLocation="https://xbrl.sec.gov/dei/2026/dei-2026.xsd" />
    <import namespace="http://fasb.org/us-gaap/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-gaap-2026.xsd" />
    <import namespace="http://fasb.org/us-types/2026" schemaLocation="https://xbrl.fasb.org/us-gaap/2026/elts/us-types-2026.xsd" />
    <import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd" />
    <import namespace="http://xbrl.sec.gov/ecd/2026" schemaLocation="https://xbrl.sec.gov/ecd/2026/ecd-2026.xsd" />
    <import namespace="http://xbrl.sec.gov/country/2026" schemaLocation="https://xbrl.sec.gov/country/2026/country-2026.xsd" />
    <import namespace="http://fasb.org/srt/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-2026.xsd" />
    <import namespace="http://fasb.org/srt-types/2026" schemaLocation="https://xbrl.fasb.org/srt/2026/elts/srt-types-2026.xsd" />
    <element id="BIAF_CommonStockParValue0.007PerShareMember" name="CommonStockParValue0.007PerShareMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_TradeableWarrantsToPurchaseCommonStockMember" name="TradeableWarrantsToPurchaseCommonStockMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_HistologyServiceFeesMember" name="HistologyServiceFeesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_MedicalDirectorFeesMember" name="MedicalDirectorFeesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DepartmentOfDefenseObservationalStudiesMember" name="DepartmentOfDefenseObservationalStudiesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_OtherRevenuesMember" name="OtherRevenuesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_CyPathLungMember" name="CyPathLungMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ComputerSoftwareMember" name="ComputerSoftwareMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DiagnosticResearchAndDevelopmentMember" name="DiagnosticResearchAndDevelopmentMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_LaboratoryServicesMember" name="LaboratoryServicesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_GeneralCorporateActivitiesMember" name="GeneralCorporateActivitiesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_LabEquipmentMember" name="LabEquipmentMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ComputerAndSoftwareMember" name="ComputerAndSoftwareMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_SecondFinanceAgreementMember" name="SecondFinanceAgreementMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_TwentyTwentyFourToyotaCorollaMember" name="TwentyTwentyFourToyotaCorollaMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_FinanceAgreementMember" name="FinanceAgreementMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_TwentyTwentyFiveDNOInsurancePolicyMember" name="TwentyTwentyFiveDNOInsurancePolicyMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_SeriesBConvertiblePreferredStockMember" name="SeriesBConvertiblePreferredStockMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_InvestorsMember" name="InvestorsMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_RestrictedStockUnitsUnvestedMember" name="RestrictedStockUnitsUnvestedMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_TwoThousandAndFourteenEquityIncentivePlanMember" name="TwoThousandAndFourteenEquityIncentivePlanMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_EmployeesNonemployeesAndBoardOfDirectorsMember" name="EmployeesNonemployeesAndBoardOfDirectorsMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ResearchAndDevelopmentExpensesMember" name="ResearchAndDevelopmentExpensesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_TwoThousandAndFourteenAndTwoThousandAndTwentyFourEquityIncentivePlanMember" name="TwoThousandAndFourteenAndTwoThousandAndTwentyFourEquityIncentivePlanMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_TradeableWarrantMember" name="TradeableWarrantMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_NonTradeableWarrantMember" name="NonTradeableWarrantMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PreIpoConvertibleNotesMember" name="PreIpoConvertibleNotesMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_IpoTradeableMember" name="IpoTradeableMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_IpoNonTradableMember" name="IpoNonTradableMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DirectOfferingMarchEightTwentyTwentyFourMember" name="DirectOfferingMarchEightTwentyTwentyFourMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PlacementAgentDirectOfferingMarchEightTwentyTwentyFourMember" name="PlacementAgentDirectOfferingMarchEightTwentyTwentyFourMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_InducementDirectOfferingAugustFiveTwentyTwentyFourMember" name="InducementDirectOfferingAugustFiveTwentyTwentyFourMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PlacementAgentDirectOfferingAugustFiveTwentyTwentyFourMember" name="PlacementAgentDirectOfferingAugustFiveTwentyTwentyFourMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DirectOfferingOctoberTwentyOneTwentyTwentyFourMember" name="DirectOfferingOctoberTwentyOneTwentyTwentyFourMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_WarrantInducementFebruaryTwentyFiveTwentyTwentyFiveMember" name="WarrantInducementFebruaryTwentyFiveTwentyTwentyFiveMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PublicOfferingMaySevenTwoThousandTwentyFiveMember" name="PublicOfferingMaySevenTwoThousandTwentyFiveMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_AugustPipeAndInducementOfferingAugustThirteenTwoThousandAndTwentyFiveMember" name="AugustPipeAndInducementOfferingAugustThirteenTwoThousandAndTwentyFiveMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_TwoThousandTwentyFourEquityIncentiveCompensationPlanMember" name="TwoThousandTwentyFourEquityIncentiveCompensationPlanMember" nillable="true" xbrli:periodType="duration" type="dtr-types:domainItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ClinicalDevelopmentExpense" name="ClinicalDevelopmentExpense" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_StockIssuedDuringPeriodValueWarrantsExercised" name="StockIssuedDuringPeriodValueWarrantsExercised" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_StockIssuedDuringPeriodSharesWarrantsExercised" name="StockIssuedDuringPeriodSharesWarrantsExercised" nillable="true" xbrli:periodType="duration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_IncreaseDecreaseInOperatingLeaseRightOfUseAsset" name="IncreaseDecreaseInOperatingLeaseRightOfUseAsset" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_RecognitionOfOperatingLeaseRightofuseAssets" name="RecognitionOfOperatingLeaseRightofuseAssets" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_RecognitionOfOperationLeaseLiabilities" name="RecognitionOfOperationLeaseLiabilities" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DisclosurePrepaidExpensesAndOtherCurrentAssetsAbstract" name="DisclosurePrepaidExpensesAndOtherCurrentAssetsAbstract" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PrepaidExpensesAndOtherCurrentAssetsTextBlock" name="PrepaidExpensesAndOtherCurrentAssetsTextBlock" nillable="true" xbrli:periodType="duration" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DisclosureLeasesAbstract" name="DisclosureLeasesAbstract" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DisclosureWarrantsAbstract" name="DisclosureWarrantsAbstract" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_WarrantsDisclosureTextBlock" name="WarrantsDisclosureTextBlock" nillable="true" xbrli:periodType="duration" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_AccruedResearchAndDevelopmentCostsPolicyTextBlock" name="AccruedResearchAndDevelopmentCostsPolicyTextBlock" nillable="true" xbrli:periodType="duration" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_RegulatoryMattersPolicyTextBlock" name="RegulatoryMattersPolicyTextBlock" nillable="true" xbrli:periodType="duration" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PropertyAndEquipmentUsefulLifeTableTextBlock" name="PropertyAndEquipmentUsefulLifeTableTextBlock" nillable="true" xbrli:periodType="duration" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ScheduleOfCapitalLeasedAsssetTableTextBlock" name="ScheduleOfCapitalLeasedAsssetTableTextBlock" nillable="true" xbrli:periodType="duration" type="dtr-types:textBlockItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour" name="FiniteLivedIntangibleAssetsAmortizationExpenseAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PatientServiceFees" name="PatientServiceFees" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_HistologyFees" name="HistologyFees" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_MedicalDirectorFees" name="MedicalDirectorFees" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PrepaidLegalAndProfessional" name="PrepaidLegalAndProfessional" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_AccruedClinicalExpenseCurrent" name="AccruedClinicalExpenseCurrent" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_UnearnedRevenueAbstract" name="UnearnedRevenueAbstract" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_UnearnedRevenueTable" name="UnearnedRevenueTable" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" />
    <element id="BIAF_UnearnedRevenueLineItems" name="UnearnedRevenueLineItems" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_PaymentsOfSalesPricePercentage" name="PaymentsOfSalesPricePercentage" nillable="true" xbrli:periodType="duration" type="dtr-types:percentItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairMarketValueOptionsOutstandingNumber" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairMarketValueOptionsOutstandingNumber" nillable="true" xbrli:periodType="instant" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairMarketValueOptionsOutstandingNumberGrants" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairMarketValueOptionsOutstandingNumberGrants" nillable="true" xbrli:periodType="duration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumberGranted" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumberGranted" nillable="true" xbrli:periodType="duration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairMarketValueOptionsOutstandingNumberForfeited" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardFairMarketValueOptionsOutstandingNumberForfeited" nillable="true" xbrli:periodType="duration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumberForfeited" name="ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumberForfeited" nillable="true" xbrli:periodType="duration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_WarrantsAbstract" name="WarrantsAbstract" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_WarrantsTable" name="WarrantsTable" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrldt:hypercubeItem" />
    <element id="BIAF_WarrantsLineItems" name="WarrantsLineItems" abstract="true" nillable="true" xbrli:periodType="duration" type="xbrli:stringItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_ClassOfWarrantOrRightNumberOfSecuritiesExercised" name="ClassOfWarrantOrRightNumberOfSecuritiesExercised" nillable="true" xbrli:periodType="duration" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_NumberOfWarrantsExercised" name="NumberOfWarrantsExercised" nillable="true" xbrli:periodType="instant" type="xbrli:sharesItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_DirectCostsAndExpenses" name="DirectCostsAndExpenses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_LesseeOperatingLeaseLiabilityPaymentsDueRemainderOfFiscalYear" name="LesseeOperatingLeaseLiabilityPaymentsDueRemainderOfFiscalYear" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
    <element id="BIAF_FinanceLeaseLiabilityPaymentsDueRemainderOfFiscalYear" name="FinanceLeaseLiabilityPaymentsDueRemainderOfFiscalYear" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" type="xbrli:monetaryItemType" substitutionGroup="xbrli:item" />
</schema>
