<?xml version="1.0" encoding="UTF-8"?>
<schemalist gettext-domain="gnucash">
  <schema path="/org/gnucash/dialogs/import/generic/" id="org.gnucash.dialogs.import.generic">
    <key type="b" name="enable-skip">
      <default>true</default>
      <summary>Enable SKIP transaction action</summary>
      <description>Enable the SKIP action in the transaction matcher. If enabled, a transaction whose best match's score is in the yellow zone (above the Auto-ADD threshold but below the Auto-CLEAR threshold) will be skipped by default.</description>
    </key>
    <key type="b" name="enable-update">
      <default>true</default>
      <summary>Enable UPDATE match action</summary>
      <description>Enable the UPDATE AND RECONCILE action in the transaction matcher. If enabled, a transaction whose best match's score is above the Auto-CLEAR threshold and has a different date or amount than the matching existing transaction will cause the existing transaction to be updated and cleared by default.</description>
    </key>
    <key type="b" name="use-bayes">
      <default>true</default>
      <summary>Use bayesian matching</summary>
      <description>Enables bayesian matching when matching imported transaction against existing transactions. Otherwise a less sophisticated rule-based matching mechanism will be used.</description>
    </key>
    <key type="d" name="match-threshold">
      <default>1.0</default>
      <summary>Minimum score to be displayed</summary>
      <description>This field specifies the minimum matching score a potential matching transaction must have to be displayed in the match list.</description>
    </key>
    <key type="d" name="auto-add-threshold">
      <default>3.0</default>
      <summary>Add matching transactions below this score</summary>
      <description>This field specifies the threshold below which a matching transaction will be added automatically. A transaction whose best match's score is in the red zone (above the display minimum score but below or equal to the Add match score) will be added to the GnuCash file by default.</description>
    </key>
    <key type="d" name="auto-clear-threshold">
      <default>6.0</default>
      <summary>Clear matching transactions above this score</summary>
      <description>This field specifies the threshold above which a matching transaction will be cleared by default. A transaction whose best match's score is in the green zone (above or equal to this Clear threshold) will be cleared by default.</description>
    </key>
    <key type="d" name="atm-fee-threshold">
      <default>2.0</default>
      <summary>Maximum ATM fee amount in your area</summary>
      <description>This field specifies the extra fee that is taken into account when matching imported transactions. In some places commercial ATMs (not belonging to a financial institution) are installed in places like convenience stores. These ATMs add their fee directly to the amount instead of showing up as a separate transaction or in your monthly banking fees. For example, you withdraw $100, and you are charged $101,50 plus Interac fees. If you manually entered that $100, the amounts won't match. You should set this to whatever is the maximum such fee in your area (in units of your local currency), so the transaction will be recognised as a match.</description>
    </key>
    <key type="b" name="auto-create-commodity">
      <default>false</default>
      <summary>Automatically create new commodities</summary>
      <description>Enables the automatic creation of new commodities if any unknown commodity is encountered during import. Otherwise the user will be asked what to do with each unknown commodity.</description>
    </key>
    <child schema="org.gnucash.dialogs.import.generic.match-picker" name="match-picker"/>
    <child schema="org.gnucash.dialogs.import.generic.transaction-list" name="transaction-list"/>
  </schema>

  <schema path="/org/gnucash/dialogs/import/generic/match-picker/" id="org.gnucash.dialogs.import.generic.match-picker">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
  </schema>

  <schema path="/org/gnucash/dialogs/import/generic/transaction-list/" id="org.gnucash.dialogs.import.generic.transaction-list">
    <key type="(iiii)" name="last-geometry">
      <default>(-1,-1,-1,-1)</default>
      <summary>Last window position and size</summary>
      <description>This setting describes the size and position of the window when it was last closed.
        The numbers are the X and Y coordinates of the top left corner of the window
        followed by the width and height of the window.</description>
    </key>
  </schema>
</schemalist>