← HomeFleetPay / Schema

MdfeInsuranceInput

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.

responsavelstring | nullOptional
"1" · "2"
documentostring | nullOptional
maxLength14
seguradorastring | nullOptional
maxLength30
cnpj_seguradorastring | nullOptional
pattern"^\\d{14}$"
apolicestring | nullOptional
maxLength20
averbacoesarray | nullOptional
maxItems20
Original JSON Definition (Portuguese Descriptions)
{
  "type": [
    "object",
    "null"
  ],
  "properties": {
    "responsavel": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "1",
        "2"
      ]
    },
    "documento": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 14
    },
    "seguradora": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 30
    },
    "cnpj_seguradora": {
      "type": [
        "string",
        "null"
      ],
      "pattern": "^\\d{14}$"
    },
    "apolice": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 20
    },
    "averbacoes": {
      "type": [
        "array",
        "null"
      ],
      "maxItems": 20,
      "items": {
        "type": [
          "string",
          "null"
        ],
        "maxLength": 40
      }
    }
  }
}