"""Enum of data type strings returned by the ECMind Blue server for index fields."""

from enum import Enum


class DmsContentObjectFieldDataTypes(Enum):
    """Data type identifiers for ``<Field>`` and ``<Column>`` elements.

    Values map to the ``datatype`` XML attribute as returned by the server.
    """

    TEXT = "TEXT"
    INTEGER = "INTEGER"
    SMALLINT = "SMALLINT"
    DECIMAL = "DECIMAL"
    DATETIME = "DATETIME"
    DATE = "DATE"
    TIME = "TIME"
