"""Límites alineados a drivers/common/common_validators.MAX_LEN (canonical CSV)."""
from typing import Dict

from .common.common_validators import MAX_LEN as D_MAX

DRIVERS_CSV_MAX_CHARS: Dict[str, int] = {
    "TRANSPORTISTA": D_MAX["transporter_key"],
    "LINEA": 30,
    "CLAVE CONDUCTOR": D_MAX["driver_name"],
    "LICENCIA": D_MAX["license_number"],
    "PERMISO LINEA EXPRESS": D_MAX["express_line_id"],
    "IDENTIFICACION ACE": D_MAX["ace_id"],
    "FECHA NACIMIENTO": 30,
    "SEXO": D_MAX["gender"],
    "PAIS NACIMIENTO": D_MAX["birth_country"],
    "TRANSPORTA MAT. PELIGROSO?": D_MAX["hazardous_material_auth"],
    "PERMISO MAT. PELIGROSO": D_MAX["hazardous_material_state"],
    "NOMBRE(S)": D_MAX["first_name"],
    "APELLIDO PATERNO": D_MAX["last_name"],
    "FORMA IDENTIFICACION 1": D_MAX["id_key1"],
    "NUM. IDENTIFICACION 1": D_MAX["id_number1"],
    "ESTADO": D_MAX["id_state1"],
    "PAIS": D_MAX["id_country1"],
    "FORMA IDENTIFICACION 2": D_MAX["id_key2"],
    "NUM. IDENTIFICACION 2": D_MAX["id_number2"],
    "ESTADO 2": D_MAX["id_state2"],
    "PAIS 2": D_MAX["id_country2"],
}
