← InícioFleetPay / Schema

VehicleFiscalInput

Estrutura preservada do contrato versionado da API.

Descrições técnicas preservadas do contrato versionado. Exemplos de dados foram omitidos da cópia pública.

Atualização parcial; envie ao menos uma propriedade.

brandstring | nullOpcional
maxLength40
modelstring | nullOpcional
maxLength60
vehicle_kindinteger | nullOpcional
1 · 2
axlesinteger | nullOpcional
minimum1
maximum255
km_per_liter_modelnumber | nullOpcional
minimum0
maximum999.99
km_per_liter_vehiclenumber | nullOpcional
minimum0
maximum999.99
tare_kginteger | nullOpcional
minimum1
maximum999999
wheel_typestring | nullOpcional
"01" · "02" · "03" · "04" · "05" · "06"
body_typestring | nullOpcional
"00" · "01" · "02" · "03" · "04" · "05"
owner_iestring | nullOpcional
maxLength20
owner_statestring | nullOpcional
minLength2
maxLength2
Definição JSON Completa
{
  "type": "object",
  "minProperties": 1,
  "description": "Atualização parcial; envie ao menos uma propriedade.",
  "properties": {
    "brand": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 40
    },
    "model": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 60
    },
    "vehicle_kind": {
      "type": [
        "integer",
        "null"
      ],
      "enum": [
        1,
        2
      ]
    },
    "axles": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 255
    },
    "km_per_liter_model": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 999.99
    },
    "km_per_liter_vehicle": {
      "type": [
        "number",
        "null"
      ],
      "minimum": 0,
      "maximum": 999.99
    },
    "tare_kg": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "maximum": 999999
    },
    "wheel_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "01",
        "02",
        "03",
        "04",
        "05",
        "06"
      ]
    },
    "body_type": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "00",
        "01",
        "02",
        "03",
        "04",
        "05"
      ]
    },
    "owner_ie": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20
    },
    "owner_state": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 2,
      "maxLength": 2
    }
  }
}