{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","properties":{"data":{"properties":{"location":{"anyOf":[{"description":"This optional parameter can limit results to a given radius centered on the given coordinates","properties":{"geographic_coordinates":{"description":"The center of the search criteria's radius. Represented by an object containing latitude and longitude.","properties":{"latitude":{"description":"The latitude position of the search's center, represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -90° and 90°","type":"number"},"longitude":{"description":"The longitude position of the search's center, represented in [Decimal degrees](https://en.wikipedia.org/wiki/Decimal_degrees) with 6 decimal points with a range between -180° and 180°","type":"number"}},"required":["latitude","longitude"],"type":"object","maxProperties":100},"radius":{"description":"The search area's extent from the provided coordinates in kilometers. Can only be between 1 and 100. Default of 5km is subject to change.","type":"integer"}},"required":["geographic_coordinates"],"type":"object","maxProperties":100},{"type":"null"}]},"query":{"description":"The search query for getting accommodation suggestions. Requires a minimum of three characters.","type":"string","maxLength":16000}},"required":["query"],"type":"object","maxProperties":100},"deviceIp":{"type":"string","maxLength":45},"deviceUserAgent":{"type":"string","maxLength":1000}},"required":["data"],"additionalProperties":false},"name":"Stays: Search for accommodation suggestions","id":"duffel.api.stays.accommodation.suggestions.create","example":{"data":{"query":"rits","location":{"radius":5,"geographic_coordinates":{"longitude":-0.1416,"latitude":51.5071}}}},"maxRequests":1,"summary":false}}