← HomeFleetPay / Schema

VehicleFiscalInput

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.

brandstring | nullOptional
maxLength40
modelstring | nullOptional
maxLength60
vehicle_kindinteger | nullOptional
1 · 2
axlesinteger | nullOptional
minimum1
maximum255
km_per_liter_modelnumber | nullOptional
minimum0
maximum999.99
km_per_liter_vehiclenumber | nullOptional
minimum0
maximum999.99
tare_kginteger | nullOptional
minimum1
maximum999999
wheel_typestring | nullOptional
"01" · "02" · "03" · "04" · "05" · "06"
body_typestring | nullOptional
"00" · "01" · "02" · "03" · "04" · "05"
owner_iestring | nullOptional
maxLength20
owner_statestring | nullOptional
minLength2
maxLength2
Original JSON Definition (Portuguese Descriptions)
{
  "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
    }
  }
}