← HomeFleetPay / Schema

DriverFiscalInput

Structure preserved from the versioned API contract.

Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.

Partial update; provide at least one property.

cnh_numberstring | nullOptional
pattern"^\\d{11}$"
cnh_categorystring | nullOptional
"A" · "B" · "C" · "D" · "E" · "AB" · "AC" · "AD" · "AE"
cnh_statestring | nullOptional
minLength2
maxLength2
cnh_issued_atstring | null · dateOptional
cnh_valid_untilstring | null · dateOptional
rg_numberstring | nullOptional
maxLength20
rg_issuerstring | nullOptional
maxLength20
rg_statestring | nullOptional
minLength2
maxLength2
father_namestring | nullOptional
maxLength120
mother_namestring | nullOptional
maxLength120
Original JSON Definition (Portuguese Descriptions)
{
  "type": "object",
  "minProperties": 1,
  "description": "Atualização parcial; envie ao menos uma propriedade.",
  "properties": {
    "cnh_number": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\d{11}$"
    },
    "cnh_category": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "A",
        "B",
        "C",
        "D",
        "E",
        "AB",
        "AC",
        "AD",
        "AE"
      ]
    },
    "cnh_state": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 2,
      "maxLength": 2
    },
    "cnh_issued_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "cnh_valid_until": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "rg_number": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20
    },
    "rg_issuer": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20
    },
    "rg_state": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 2,
      "maxLength": 2
    },
    "father_name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120
    },
    "mother_name": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 120
    }
  }
}