.. index:: 
  !MrzType Enumeration

.. _id3_document_mrz_type_enum:

===============================================================================
MrzType Enumeration
===============================================================================

Namespace: :ref:`id3.Document<reference_document>`

Definition
----------

.. line-block::
    Enumerates supported MRZ types.

.. tab-set::

  .. tab-item:: Python
    :sync: Python

    .. code-block:: Python

      class MrzType

  .. tab-item:: Dart
    :sync: Dart

    .. code-block:: Dart

      enum MrzType

  .. tab-item:: C#
    :sync: C#

    .. code-block:: C#

      public enum MrzType

  .. tab-item:: Java
    :sync: Java

    .. code-block:: Java

      public enum MrzType

  .. tab-item:: Swift
    :sync: Swift

    .. code-block:: Swift

      public enum MrzType

  .. tab-item:: C
    :sync: C

    .. code-block:: C

      typedef enum id3DocumentMrzType


Fields
------

.. list-table:: 
  :width: 100%
  :widths: 5 5 90
  :header-rows: 1

  * - Name
    - Value
    - Description
  * - ``none``
    - 0
    - No MRZ. Default value.
  * - ``td1``
    - 1
    - Document TD1 (ICAO 9303-5) - 3x30 lines MRZ.
  * - ``td2``
    - 2
    - Document TD2 (ICAO 9303-6) - 2x36 lines MRZ.
  * - ``td3``
    - 3
    - Document TD3 (Passports)(ICAO 9303-4) - 2x44 lines MRZ.
  * - ``drivingLicense``
    - 4
    - Driving licence (ISO-18013) - 1x30 line MRZ.
  * - ``mrvA``
    - 5
    - Visa format A (ICAO 9303-7) - 2x44 lines MRZ.
  * - ``mrvB``
    - 6
    - Visa format B (ICAO 9303-7) - 2x36 lines MRZ.
  * - ``other``
    - 100
    - Other MRZ Type, with a standard layout but unknown content.
  * - ``frenchId``
    - 101
    - Old french ID card (PRADO FRA-BO-02002). 2x36 lines MRZ.
