tipointegerRequired0 sender, 3 recipient, 4 other.
0 · 3 · 4Technical descriptions are translated from the versioned contract. Original identifiers and JSON are preserved; data examples are omitted.
tipointegerRequired0 sender, 3 recipient, 4 other.
0 · 3 · 4documentostring | nullOptionalRequired when tipo is 4.
maxLength14iestring | nullOptionalmaxLength20nomestring | nullOptionalmaxLength120logradourostring | nullOptionalmaxLength120numerostring | nullOptionalmaxLength20complementostring | nullOptionalmaxLength60bairrostring | nullOptionalmaxLength80codigo_municipiostring | nullOptionalpattern"^\\d{7}$"municipiostring | nullOptionalmaxLength80ufstring | nullOptionalminLength2maxLength2cepstring | nullOptionalpattern"^\\d{8}$"emailstring | null · emailOptionalmaxLength120{
"type": "object",
"required": [
"tipo"
],
"properties": {
"tipo": {
"type": "integer",
"enum": [
0,
3,
4
],
"description": "0 remetente, 3 destinatário, 4 outros."
},
"documento": {
"type": [
"string",
"null"
],
"maxLength": 14,
"description": "Obrigatório quando `tipo` for 4."
},
"ie": {
"type": [
"string",
"null"
],
"maxLength": 20
},
"nome": {
"type": [
"string",
"null"
],
"maxLength": 120
},
"logradouro": {
"type": [
"string",
"null"
],
"maxLength": 120
},
"numero": {
"type": [
"string",
"null"
],
"maxLength": 20
},
"complemento": {
"type": [
"string",
"null"
],
"maxLength": 60
},
"bairro": {
"type": [
"string",
"null"
],
"maxLength": 80
},
"codigo_municipio": {
"type": [
"string",
"null"
],
"pattern": "^\\d{7}$"
},
"municipio": {
"type": [
"string",
"null"
],
"maxLength": 80
},
"uf": {
"type": [
"string",
"null"
],
"minLength": 2,
"maxLength": 2
},
"cep": {
"type": [
"string",
"null"
],
"pattern": "^\\d{8}$"
},
"email": {
"type": [
"string",
"null"
],
"format": "email",
"maxLength": 120
}
}
}