.. index:: 
  !DocumentCategory Enumeration

.. _id3_document_document_category_enum:

===============================================================================
DocumentCategory Enumeration
===============================================================================

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

Definition
----------

.. line-block::
    Enumerates document categories.

.. tab-set::

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

    .. code-block:: Python

      class DocumentCategory

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

    .. code-block:: Dart

      enum DocumentCategory

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

    .. code-block:: C#

      public enum DocumentCategory

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

    .. code-block:: Java

      public enum DocumentCategory

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

    .. code-block:: Swift

      public enum DocumentCategory

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

    .. code-block:: C

      typedef enum id3DocumentCategory


Fields
------

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

  * - Name
    - Value
    - Description
  * - ``unknown``
    - 0
    - Unknown document category.
  * - ``A``
    - 1
    - Passport
  * - ``B``
    - 2
    - Identity card
  * - ``C``
    - 3
    - Visa
  * - ``D``
    - 4
    - Stamp
  * - ``E``
    - 5
    - Entry paper
  * - ``F``
    - 6
    - Driving licence
  * - ``G``
    - 7
    - Vehicle licence/ log book
  * - ``H``
    - 8
    - Residence-related document
  * - ``I``
    - 9
    - Seafarers' identity document
  * - ``J``
    - 10
    - Travel document issued to non-nationals
  * - ``K``
    - 11
    - Train driving licence
  * - ``L``
    - 12
    - Crew member certificate / pilot's licence
  * - ``M``
    - 13
    - Certificate for operators of pleasure crafts / captain's licence
  * - ``P``
    - 14
    - Civil status/ other official document
  * - ``S``
    - 15
    - Special authorisation card
  * - ``T``
    - 16
    - Travel document
  * - ``V``
    - 17
    - Authorisation to represent a company
  * - ``W``
    - 18
    - Work permit
  * - ``X``
    - 19
    - Other document
