{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ShipperCustomer",
"title": "ShipperCustomer",
"required": [
"legalType",
"addressStreet",
"postalCode"
],
"type": "object",
"properties": {
"legalType": {
"maxLength": 2,
"minLength": 2,
"type": "string"
},
"email": {
"maxLength": 254,
"minLength": 0,
"type": "string"
},
"firstName": {
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"lastName": {
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"cpf": {
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"addressStreet": {
"maxLength": 150,
"minLength": 0,
"type": "string"
},
"addressNumber": {
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"addressComplement": {
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"addressNeighborhood": {
"maxLength": 150,
"minLength": 0,
"type": "string"
},
"addressCity": {
"maxLength": 100,
"minLength": 0,
"type": "string"
},
"postalCode": {
"maxLength": 9,
"minLength": 0,
"type": "string"
},
"state": {
"maxLength": 2,
"minLength": 2,
"type": "string"
},
"companyName": {
"maxLength": 150,
"minLength": 0,
"type": "string"
},
"cnpj": {
"maxLength": 50,
"minLength": 0,
"type": "string"
},
"idExternalShipperCustomer": {
"maxLength": 30,
"minLength": 0,
"type": "string"
},
"phoneAreaCode": {
"maxLength": 3,
"minLength": 0,
"type": "string"
},
"phoneNumber": {
"maxLength": 12,
"minLength": 0,
"type": "string"
}
}
}