← HomeFleetPay / Schema

ContraCteLoteRota

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.

ufstringOptional
minLength2
maxLength2
municipiostringOptional
maxLength120
codigo_municipiostringOptional

IBGE code, 7 digits; must belong to uf.

pattern"^\\d{7}$"
Original JSON Definition (Portuguese Descriptions)
{
  "type": "object",
  "properties": {
    "uf": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2
    },
    "municipio": {
      "type": "string",
      "maxLength": 120
    },
    "codigo_municipio": {
      "type": "string",
      "pattern": "^\\d{7}$",
      "description": "Código IBGE, 7 dígitos; precisa pertencer à `uf`."
    }
  }
}