Raw schema
{
"type": "object",
"properties": {
"cliente": {
"$ref": "#/$defs/DatosCliente"
},
"idioma_codigo": {
"title": "Idioma Codigo",
"type": "string"
},
"camino_slug": {
"title": "Camino Slug",
"type": "string"
},
"oferta_paquete_firmada": {
"title": "Oferta Paquete Firmada",
"type": "string"
},
"formulario": {
"$ref": "#/$defs/FormularioMedida"
},
"poblacion_inicio_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Poblacion Inicio Id"
},
"poblacion_inicio_nombre": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Poblacion Inicio Nombre"
}
},
"required": [
"cliente",
"idioma_codigo",
"camino_slug",
"oferta_paquete_firmada",
"formulario"
],
"$defs": {
"DatosCliente": {
"properties": {
"nombre_completo": {
"description": "Nombre y apellidos del cliente",
"minLength": 5,
"title": "Nombre Completo",
"type": "string"
},
"email": {
"description": "Email real del cliente (recibirá la propuesta)",
"title": "Email",
"type": "string"
},
"telefono": {
"description": "Teléfono con prefijo internacional",
"title": "Telefono",
"type": "string"
},
"nacionalidad": {
"description": "Nacionalidad del cliente (determina el seguro)",
"title": "Nacionalidad",
"type": "string"
}
},
"required": [
"nombre_completo",
"email",
"telefono",
"nacionalidad"
],
"title": "DatosCliente",
"type": "object"
},
"FormularioMedida": {
"description": "Espejo del bloque MEDIDA del formulario 'Camino a medida' de la web\n(api/procesar_solicitud_medida.php). Se serializa tal cual en\npeticiones_adicionales para que el CRS y su cotizador lo lean igual.",
"properties": {
"lodging_mode": {
"default": "rooms",
"enum": [
"rooms",
"shared"
],
"title": "Lodging Mode",
"type": "string"
},
"rooms": {
"description": "Distribución por habitación",
"items": {
"$ref": "#/$defs/HabitacionFormulario"
},
"title": "Rooms",
"type": "array"
},
"travel_type": {
"default": "a_pie",
"enum": [
"a_pie",
"en_bicicleta"
],
"title": "Travel Type",
"type": "string"
},
"itinerary": {
"default": "experto",
"enum": [
"experto",
"propio"
],
"title": "Itinerary",
"type": "string"
},
"accommodation": {
"default": "recomendado",
"enum": [
"recomendado",
"hoteles_encanto",
"casas_rurales",
"albergues"
],
"title": "Accommodation",
"type": "string"
},
"board": {
"default": "BB",
"enum": [
"RO",
"BB",
"HB",
"FB"
],
"title": "Board",
"type": "string"
},
"budget": {
"enum": [
"sin_preferencia",
"lt_500",
"500_1000",
"1000_1500",
"gt_1500"
],
"title": "Budget",
"type": "string"
},
"luggage": {
"default": "no_seguro",
"enum": [
"si",
"no",
"no_seguro"
],
"title": "Luggage",
"type": "string"
},
"contact_preference": {
"anyOf": [
{
"enum": [
"whatsapp",
"telefono",
"email"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Contact Preference"
},
"observations": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Observations"
}
},
"required": [
"rooms",
"budget"
],
"title": "FormularioMedida",
"type": "object"
},
"HabitacionFormulario": {
"properties": {
"adults": {
"maximum": 6,
"minimum": 1,
"title": "Adults",
"type": "integer"
},
"child_ages": {
"items": {
"type": "integer"
},
"title": "Child Ages",
"type": "array"
}
},
"required": [
"adults"
],
"title": "HabitacionFormulario",
"type": "object"
}
},
"title": "create_camino_booking_proposalArguments"
}