{
    "openapi": "3.0.0",
    "info": {
        "version": "1.0.0",
        "title": "Clicatur! API",
        "description": "La API provee funcionalidades de interacci\u00f3n program\u00e1tica para la administraci\u00f3n de servicios de excursiones y gesti\u00f3n de pedidos. Los endpoints permiten:\n\n- Obtenci\u00f3n de listados de excursiones: `GET \/api\/excursions`\n- Consulta de datos espec\u00edficos de una excursi\u00f3n: `GET \/api\/excursions\/{id}`\n- Visualizaci\u00f3n de pedidos existentes: `GET \/api\/orders`\n- Obtenci\u00f3n de detalles por identificador de pedido: `GET \/api\/orders\/{id}`\n- Pre-reserva de pedidos: `POST \/api\/orders\/pre-book`\n- Confirmaci\u00f3n de pedidos: `GET \/api\/orders\/book\/{id}`\n- Cancelaci\u00f3n de pedidos: `DELETE \/api\/orders\/cancel\/{id}`\n\nEsta interfaz est\u00e1 dise\u00f1ada para integradores que buscan una soluci\u00f3n de alto control en la gesti\u00f3n y automatizaci\u00f3n de reservas de excursiones.\n\n**La documentaci\u00f3n est\u00e1 disponible en dos formatos:**\n\n- [Swagger](https:\/\/clicatur.test\/api?doctype=swagger): desplegando cada m\u00e9todo encontrar\u00e1s m\u00e1s informaci\u00f3n sobre \u00e9ste y sus par\u00e1metros. Usando el bot\u00f3n \"Try it out\" podr\u00e1s hacer una llamada\n- [ReDoc](https:\/\/clicatur.test\/api?doctype=redoc): esta vista es m\u00e1s concisa, con los datos a simple vista pero sin posibilidad de hacer pruebas.\n\n**Encontrar\u00e1s los m\u00e9todos en el flujo previsto:**\n\n1. Lo primero es comprobar qu\u00e9 excusiones hay: recibir\u00e1s su informaci\u00f3n y sus fotos\n2. Despu\u00e9s, usando el ID de cada excursi\u00f3n, podr\u00e1s traer, adem\u00e1s, su disponibilidad y precios.\n3. Podr\u00e1s realizar una preconfirmaci\u00f3n con el ID de la excursi\u00f3n, el d\u00eda, el total, las tarifas (y su cantidad y precio) m\u00e1s la informaci\u00f3n del cliente\n4. Al preconfirmar, recibir\u00e1s un ID de pedido con el que posteriormente podr\u00e1s confirmar definitivamente el pedido.\n5. Si quisieras cancelar el pedido, podr\u00e1s hacerlo con el correspondiente m\u00e9todo y su ID. **Ten en cuenta la fecha l\u00edmite de cancelaci\u00f3n**\n6. Adem\u00e1s, dispones de m\u00e9todos para consultar todos o uno de tus pedidos.\n\n### AUTENTICACI\u00d3N\n\nEn cada llamada hay que a\u00f1adir el siguiente header:\n\n```http\nx-api-key: 040ef8f1-fc2e-49ee-9225-cf92e2c1cd3f\n```\n\nLa key deber\u00e1 ser solicitada previamente.\n\n\n### Formato de respuesta\n\nActualmente se pueden recibir en formato json o xml. Para ello, se usa uno de los siguientes header:\n\n```http\nAccept: application\/json\n```\n\n```http\nAccept: application\/xml\n```\n\n----\n",
        "license": {
            "name": "\u00a9 Conectatec 2024. Todos los derechos reservados"
        }
    },
    "servers": null,
    "paths": {
        "\/api\/excursions": {
            "get": {
                "operationId": "api:excursions:index:get",
                "summary": "Listado de Excursiones",
                "description": "Muestra un listado con todas las excusiones disponibles.<\/br>\nContiene informaci\u00f3n de la excursi\u00f3n e im\u00e1genes.",
                "tags": [
                    "Excursions"
                ],
                "parameters": [
                    {
                        "$ref": "#\/x-swagger-bake\/components\/parameters\/paginatorPage"
                    },
                    {
                        "$ref": "#\/x-swagger-bake\/components\/parameters\/paginatorLimit"
                    },
                    {
                        "in": "query",
                        "name": "sort",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "id",
                                "partner_id",
                                "partner_code",
                                "slug",
                                "name",
                                "short_description",
                                "description",
                                "more_info",
                                "duration",
                                "featured",
                                "position",
                                "single_tickets",
                                "manual_confirm",
                                "cancel_days",
                                "cancel_hour",
                                "is_active",
                                "global_avail_rates",
                                "created"
                            ]
                        }
                    },
                    {
                        "$ref": "#\/x-swagger-bake\/components\/parameters\/paginatorDirection"
                    },
                    {
                        "in": "query",
                        "name": "q",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Like"
                        }
                    },
                    {
                        "in": "query",
                        "name": "category",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "created",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "modified",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "featured",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Value"
                        }
                    }
                ],
                "responses": {
                    "405": {
                        "description": "MethodNotAllowedException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "items": {
                                                "type": "object",
                                                "allOf": [
                                                    {
                                                        "$ref": "#\/components\/schemas\/Excursion"
                                                    }
                                                ]
                                            },
                                            "type": "array"
                                        }
                                    },
                                    "allOf": [
                                        {
                                            "$ref": "#\/x-swagger-bake\/components\/schemas\/Generic-Collection"
                                        }
                                    ]
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "items": {
                                                "type": "object",
                                                "allOf": [
                                                    {
                                                        "$ref": "#\/components\/schemas\/Excursion"
                                                    }
                                                ]
                                            },
                                            "type": "array"
                                        }
                                    },
                                    "allOf": [
                                        {
                                            "$ref": "#\/x-swagger-bake\/components\/schemas\/Generic-Collection"
                                        }
                                    ],
                                    "xml": {
                                        "name": "response"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/excursions\/{id}": {
            "get": {
                "operationId": "api:excursions:view:get",
                "summary": "Informaci\u00f3n de una Excursi\u00f3n",
                "description": "Muestra informaci\u00f3n, im\u00e1genes y un <strong>calendario de disponibilidad<\/strong> de una excursi\u00f3n concreta.<br>\nSe puede obtener por idiomas usando un par\u00e1metro \"lang\". Ejemplo: \/api\/excursions\/1<i>?lang=en<\/i><br>\n<strong>NOTA<\/strong>: Si no existe la traducci\u00f3n en el idioma seleccionado, se devolver\u00e1 en espa\u00f1ol por defecto.",
                "tags": [
                    "Excursions"
                ],
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "type": "integer",
                            "format": "int64"
                        }
                    }
                ],
                "responses": {
                    "404": {
                        "description": "RecordNotFoundException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "MethodNotAllowedException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Excursion"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "xml": {
                                        "name": "response"
                                    },
                                    "$ref": "#\/components\/schemas\/Excursion"
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/orders": {
            "get": {
                "operationId": "api:orders:index:get",
                "summary": "Listado de Pedidos",
                "description": "ATENCI\u00d3N: Por defecto NO se muestran las excursiones con status PENDING\/EXPIRED.<\/br>\nPara verlas, a\u00f1adir 0 (PENDING) o 4 (EXPIRED) al query <i>status<\/i>.",
                "tags": [
                    "Orders"
                ],
                "parameters": [
                    {
                        "$ref": "#\/x-swagger-bake\/components\/parameters\/paginatorPage"
                    },
                    {
                        "$ref": "#\/x-swagger-bake\/components\/parameters\/paginatorLimit"
                    },
                    {
                        "in": "query",
                        "name": "sort",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "enum": [
                                "id",
                                "order_number",
                                "order_number_alt",
                                "user_id",
                                "name",
                                "surname",
                                "phone",
                                "email",
                                "room",
                                "total",
                                "status",
                                "is_paid",
                                "is_tpv",
                                "accept_newsletter",
                                "manual_confirm",
                                "observations"
                            ]
                        }
                    },
                    {
                        "$ref": "#\/x-swagger-bake\/components\/parameters\/paginatorDirection"
                    },
                    {
                        "in": "query",
                        "name": "q",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Like"
                        }
                    },
                    {
                        "in": "query",
                        "name": "ticket",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "seller",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Value"
                        }
                    },
                    {
                        "in": "query",
                        "name": "api_user",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Value"
                        }
                    },
                    {
                        "in": "query",
                        "name": "excursion",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "excursion_name",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "agency",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "created",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "arrival",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Callback"
                        }
                    },
                    {
                        "in": "query",
                        "name": "status",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "description": "Value"
                        }
                    }
                ],
                "responses": {
                    "405": {
                        "description": "MethodNotAllowedException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "items": {
                                                "type": "object",
                                                "allOf": [
                                                    {
                                                        "$ref": "#\/components\/schemas\/Order"
                                                    }
                                                ]
                                            },
                                            "type": "array"
                                        }
                                    },
                                    "allOf": [
                                        {
                                            "$ref": "#\/x-swagger-bake\/components\/schemas\/Generic-Collection"
                                        }
                                    ]
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "properties": {
                                        "data": {
                                            "items": {
                                                "type": "object",
                                                "allOf": [
                                                    {
                                                        "$ref": "#\/components\/schemas\/Order"
                                                    }
                                                ]
                                            },
                                            "type": "array"
                                        }
                                    },
                                    "allOf": [
                                        {
                                            "$ref": "#\/x-swagger-bake\/components\/schemas\/Generic-Collection"
                                        }
                                    ],
                                    "xml": {
                                        "name": "response"
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/orders\/book\/{id}": {
            "get": {
                "operationId": "api:orders:book:get",
                "summary": "Confirmar un Pedido",
                "description": "Con solo enviar el ID recibido en PreBook, el Pedido ser\u00e1 confirmado",
                "tags": [
                    "Orders"
                ],
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "404": {
                        "description": "RecordNotFoundException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "MethodNotAllowedException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "description": ""
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "xml": {
                                        "name": "response"
                                    },
                                    "description": ""
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/orders\/cancel\/{id}": {
            "delete": {
                "operationId": "api:orders:cancel:delete",
                "summary": "Cancelar un pedido",
                "description": "Con solo enviar el ID usado en Book, el Pedido ser\u00e1 cancelado",
                "tags": [
                    "Orders"
                ],
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "404": {
                        "description": "RecordNotFoundException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "MethodNotAllowedException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "description": ""
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "xml": {
                                        "name": "response"
                                    },
                                    "description": ""
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/orders\/pre-book": {
            "post": {
                "operationId": "api:orders:prebook:post",
                "summary": "Pre-Confirmar un Pedido",
                "description": "Recibe por POST un array de una o m\u00e1s excursiones y los rates a reservar<\/br>\nTambi\u00e9n se reciben la informaci\u00f3n del cliente\n<pre>\n[\n 'excursions' => [ \/\/ Una o m\u00e1s excursiones, la key no se tiene en cuenta\n   [\n    'id' => 2, \/\/ ID de la excursi\u00f3n\n    'day' => '2023-09-26', \/\/ D\u00eda que se reservar\u00e1\n    'total' => 200.00, \/\/ El total (suma de cada tarifa * cantidad)\n    'rates' => [ \/\/ Array con una o m\u00e1s tarifas (Adulto, Ni\u00f1o, Adulto TI...)\n        3 => [ \/\/ ID de la tarifa como key IMPORTANTE!\n            'quantity' => 2, \/\/ Cantidad a reservar\n            'unit_price' => 100.00 \/\/ Precio unitario\n        ]\n     ]\n   ]\n ],\n  'info' => [ \/\/ Informaci\u00f3n del cliente\n    'name' => 'Juan', \/\/ Nombre, opcional\n    'surname' => 'Perez', \/\/ Apellido, opcional\n    'phone' => '922123456', \/\/ Tel\u00e9fono, opcional\n    'email' => 'user@example.com', \/\/ Email, opcional\n    'room' => '1', \/\/ Habitacion, opcional\n    'accept_newsletter' => true, \/\/ Acepta recibir publicidad\n    'observations' => 'Llevan carrito de beb\u00e9' \/\/ Observaciones, opcional\n  ]\n]\n<\/pre>",
                "tags": [
                    "Orders"
                ],
                "parameters": [],
                "responses": {
                    "404": {
                        "description": "RecordNotFoundException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "MethodNotAllowedException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "description": ""
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "xml": {
                                        "name": "response"
                                    },
                                    "description": ""
                                }
                            }
                        }
                    }
                }
            }
        },
        "\/api\/orders\/{id}": {
            "get": {
                "operationId": "api:orders:view:get",
                "summary": "Informaci\u00f3n de un Pedido",
                "description": "Muestra informaci\u00f3n detallada de un Pedido: Excursiones, ticktes, precios...",
                "tags": [
                    "Orders"
                ],
                "parameters": [
                    {
                        "in": "path",
                        "name": "id",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "404": {
                        "description": "RecordNotFoundException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "405": {
                        "description": "MethodNotAllowedException",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Exception"
                                }
                            }
                        }
                    },
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "$ref": "#\/components\/schemas\/Order"
                                }
                            },
                            "application\/xml": {
                                "schema": {
                                    "xml": {
                                        "name": "response"
                                    },
                                    "$ref": "#\/components\/schemas\/Order"
                                }
                            }
                        }
                    }
                }
            }
        }
    },
    "definitions": null,
    "components": {
        "schemas": {
            "Exception": {
                "properties": {
                    "code": {
                        "example": 500,
                        "type": "integer"
                    },
                    "url": {
                        "example": "\/url\/path",
                        "type": "string"
                    },
                    "message": {
                        "example": "Internal Error",
                        "type": "string"
                    }
                },
                "xml": {
                    "name": "response"
                },
                "type": "object"
            },
            "Excursion": {
                "properties": {
                    "id": {
                        "type": "integer",
                        "format": "int64",
                        "readOnly": true
                    },
                    "partner_id": {
                        "minLength": 1,
                        "type": "integer",
                        "format": "int64"
                    },
                    "partner_code": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "slug": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "name": {
                        "minLength": 1,
                        "maxLength": 255,
                        "type": "string"
                    },
                    "short_description": {
                        "minLength": 1,
                        "type": "string",
                        "format": "string"
                    },
                    "description": {
                        "type": "string",
                        "format": "string"
                    },
                    "more_info": {
                        "minLength": 1,
                        "type": "string",
                        "format": "string"
                    },
                    "duration": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "featured": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "position": {
                        "minLength": 1,
                        "type": "integer",
                        "format": "int32"
                    },
                    "single_tickets": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "manual_confirm": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "cancel_days": {
                        "minLength": 1,
                        "type": "integer",
                        "format": "int32"
                    },
                    "cancel_hour": {
                        "minLength": 1,
                        "type": "string",
                        "format": "time"
                    },
                    "is_active": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "global_avail_rates": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "created": {
                        "minLength": 1,
                        "type": "string",
                        "format": "date-time"
                    },
                    "modified": {
                        "minLength": 1,
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object",
                "description": ""
            },
            "OperationResult": {
                "properties": {
                    "result": {
                        "type": "boolean"
                    }
                },
                "xml": {
                    "name": "response"
                },
                "type": "object"
            },
            "Order": {
                "properties": {
                    "id": {
                        "maxLength": 36,
                        "type": "string",
                        "readOnly": true
                    },
                    "order_number": {
                        "maxLength": 20,
                        "type": "string"
                    },
                    "order_number_alt": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "user_id": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "name": {
                        "maxLength": 255,
                        "type": "string"
                    },
                    "surname": {
                        "maxLength": 255,
                        "type": "string"
                    },
                    "phone": {
                        "maxLength": 45,
                        "type": "string"
                    },
                    "email": {
                        "type": "string",
                        "format": "email"
                    },
                    "room": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "total": {
                        "type": "number",
                        "format": "float"
                    },
                    "status": {
                        "minLength": 1,
                        "type": "integer",
                        "format": "int32"
                    },
                    "is_paid": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "is_tpv": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "accept_newsletter": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "manual_confirm": {
                        "minLength": 1,
                        "type": "boolean"
                    },
                    "observations": {
                        "minLength": 1,
                        "type": "string",
                        "format": "string"
                    },
                    "remote_ip": {
                        "minLength": 1,
                        "type": "string"
                    },
                    "payment_type": {
                        "minLength": 1,
                        "type": "string",
                        "format": "string"
                    },
                    "agencyfee_total": {
                        "type": "number",
                        "format": "float"
                    },
                    "created": {
                        "minLength": 1,
                        "type": "string",
                        "format": "date-time"
                    },
                    "modified": {
                        "minLength": 1,
                        "type": "string",
                        "format": "date-time"
                    }
                },
                "type": "object",
                "description": ""
            }
        }
    },
    "x-swagger-bake": {
        "components": {
            "parameters": {
                "paginatorPage": {
                    "name": "page",
                    "in": "query",
                    "required": false,
                    "schema": {
                        "type": "integer"
                    }
                },
                "paginatorLimit": {
                    "name": "limit",
                    "in": "query",
                    "required": false,
                    "schema": {
                        "type": "integer"
                    }
                },
                "paginatorSort": {
                    "name": "sort",
                    "in": "query",
                    "required": false,
                    "schema": {
                        "type": "string"
                    }
                },
                "paginatorDirection": {
                    "name": "direction",
                    "in": "query",
                    "required": false,
                    "schema": {
                        "type": "string",
                        "enum": [
                            "asc",
                            "desc"
                        ]
                    }
                }
            },
            "schemas": {
                "HalJson-Item": {
                    "type": "object",
                    "properties": {
                        "links": {
                            "type": "object",
                            "properties": {
                                "self": {
                                    "type": "object",
                                    "properties": {
                                        "href": {
                                            "type": "string",
                                            "format": "url",
                                            "example": "\/entity\/:id"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "HalJson-Collection": {
                    "type": "object",
                    "properties": {
                        "links": {
                            "type": "object",
                            "properties": {
                                "self": {
                                    "type": "object",
                                    "properties": {
                                        "href": {
                                            "type": "string",
                                            "format": "url",
                                            "example": "\/collection"
                                        }
                                    }
                                },
                                "next": {
                                    "type": "object",
                                    "properties": {
                                        "href": {
                                            "type": "string",
                                            "format": "url",
                                            "example": "\/collection?page=:number"
                                        }
                                    }
                                },
                                "prev": {
                                    "type": "object",
                                    "properties": {
                                        "href": {
                                            "type": "string",
                                            "format": "url",
                                            "example": "\/collection?page=:number"
                                        }
                                    }
                                },
                                "first": {
                                    "type": "object",
                                    "properties": {
                                        "href": {
                                            "type": "string",
                                            "format": "url",
                                            "example": "\/collection?page=:number"
                                        }
                                    }
                                },
                                "properties": {
                                    "href": {
                                        "type": "string",
                                        "format": "url",
                                        "example": "\/collection?page=:number"
                                    }
                                }
                            },
                            "last": {
                                "type": "object",
                                "properties": {
                                    "href": {
                                        "type": "string",
                                        "format": "url",
                                        "example": "\/collection?page=:number"
                                    }
                                }
                            }
                        }
                    }
                },
                "JsonLd-Item": {
                    "type": "object",
                    "properties": {
                        "@id": {
                            "type": "string",
                            "format": "url",
                            "example": "\/entity\/:id"
                        },
                        "@type": {
                            "type": "string",
                            "format": "url",
                            "example": "https:\/\/schema.org\/Thing"
                        },
                        "@context": {
                            "type": "string",
                            "format": "url",
                            "example": "\/context\/Entity"
                        }
                    }
                },
                "JsonLd-Collection": {
                    "type": "object",
                    "properties": {
                        "@id": {
                            "type": "string",
                            "format": "url",
                            "example": "\/entity\/:id"
                        },
                        "@type": {
                            "type": "string",
                            "format": "url",
                            "example": "https:\/\/schema.org\/Thing"
                        },
                        "@context": {
                            "type": "string",
                            "format": "url",
                            "example": "\/context\/Entity"
                        },
                        "view": {
                            "type": "object",
                            "properties": {
                                "@id": {
                                    "type": "string",
                                    "format": "url",
                                    "example": "\/index"
                                },
                                "@type": {
                                    "type": "string",
                                    "example": "PartialCollectionView"
                                },
                                "next": {
                                    "type": "string",
                                    "format": "url",
                                    "example": "\/index?page=:number"
                                },
                                "prev": {
                                    "type": "string",
                                    "format": "url",
                                    "example": "\/index?page=:number"
                                },
                                "first": {
                                    "type": "string",
                                    "format": "url",
                                    "example": "\/index"
                                },
                                "last": {
                                    "type": "string",
                                    "format": "url",
                                    "example": "\/index?page=:number"
                                }
                            }
                        }
                    }
                },
                "Generic-Collection": {
                    "properties": {
                        "collection": {
                            "properties": {
                                "url": {
                                    "example": "\/collection",
                                    "type": "string",
                                    "format": "url"
                                },
                                "count": {
                                    "example": 50,
                                    "type": "integer"
                                },
                                "pages": {
                                    "example": 20,
                                    "type": "integer"
                                },
                                "total": {
                                    "example": 200,
                                    "type": "integer"
                                },
                                "next": {
                                    "example": "\/collection?page=:number",
                                    "type": "string",
                                    "format": "url"
                                },
                                "prev": {
                                    "example": "\/collection?page=:number",
                                    "type": "string",
                                    "format": "url"
                                },
                                "first": {
                                    "example": "\/collection?page=:number",
                                    "type": "string",
                                    "format": "url"
                                },
                                "last": {
                                    "example": "\/collection?page=:number",
                                    "type": "string",
                                    "format": "url"
                                }
                            },
                            "type": "object"
                        }
                    },
                    "type": "object",
                    "x-data-element": "data"
                }
            }
        }
    }
}
