action just_eat_get_search_autocomplete_tenant { label: "Get auto-completed search terms" description: "Provides auto-completed search terms for restaurants, cuisines and products available in a given location." provider: just_eat method: GET path: "/search/autocomplete/{tenant}" encoding: json input: { type: "object" properties: { latlong: { type: "array" items: { type: "number" format: "decimal" } } limit: { type: "number" format: "integer" } searchTerm: { type: "string" } tenant: { type: "string" } } required: ["latlong", "searchTerm", "tenant"] additionalProperties: false } output: { type: "object" properties: { terms: { type: "array" description: "Ordered list of suggested term completions" items: { type: "object" properties: { classification: { type: "string" description: "Grouping to which term belongs" enum: ["Restaurant", "Cuisine", "Dish"] } term: { type: "string" description: "Auto-completed search term" } } } } } } }