addedInput schema / properties / contact
Added value: +{
+ "description": "Pelo menos um meio de contato obrigatorio (phone ou email)",
+ "properties": {
+ "email": {
+ "format": "email",
+ "type": "string"
+ },
+ "phone": {
+ "description": "Telefone com DDD (ex: \"11999887766\")",
+ "type": "string"
+ }
+ },
+ "type": "object"
+}
removedInput schema / properties / data_hora
Removed value: -{
- "description": "ISO 8601",
- "type": "string"
-}
removedInput schema / properties / email
Removed value: -{
- "type": "string"
-}
removedInput schema / properties / imovel_id
Removed value: -{
- "type": "string"
-}
removedInput schema / properties / nome
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / notes
Added value: +{
+ "description": "Observacoes opcionais",
+ "type": "string"
+}
removedInput schema / properties / observacoes
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / preferred_date
Added value: +{
+ "description": "Data preferida YYYY-MM-DD",
+ "format": "date",
+ "type": "string"
+}
addedInput schema / properties / preferred_period
Added value: +{
+ "description": "Periodo do dia",
+ "enum": [
+ "manha",
+ "tarde",
+ "noite"
+ ],
+ "type": "string"
+}
addedInput schema / properties / property_id
Added value: +{
+ "description": "UUID do imovel (retornado pela busca)",
+ "type": "string"
+}
removedInput schema / properties / telefone
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / visitor_name
Added value: +{
+ "description": "Nome completo do visitante",
+ "type": "string"
+}
removedInput schema / properties / website
Removed value: -{
- "description": "Do not fill this field",
- "type": "string"
-}
changedInput schema / required
Previous value: -[
- "imovel_id",
- "nome",
- "telefone",
- "data_hora"
-]New value: +[
+ "property_id",
+ "visitor_name",
+ "contact",
+ "preferred_date",
+ "preferred_period"
+]