'use strict'

window.Swagger = '{\r\n  \"swagger\" : \"2.0\",\r\n  \"info\" : {\r\n    \"description\" : \"Move your app forward with the Uber API\",\r\n    \"version\" : \"1.0.0\",\r\n    \"title\" : \"Uber API\"\r\n  },\r\n  \"host\" : \"api.uber.com\",\r\n  \"basePath\" : \"\/v1\",\r\n  \"schemes\" : [ \"https\" ],\r\n  \"produces\" : [ \"application\/json\" ],\r\n  \"paths\" : {\r\n    \"\/estimates\/price\" : {\r\n      \"get\" : {\r\n        \"tags\" : [ \"Estimates\" ],\r\n        \"summary\" : \"Price Estimates\",\r\n        \"description\" : \"The Price Estimates endpoint returns an estimated price range\\nfor each product offered at a given location. The price estimate is\\nprovided as a formatted string with the full price range and the localized\\ncurrency symbol.<br><br>The response also includes low and high estimates,\\nand the [ISO 4217](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) currency code for\\nsituations requiring currency conversion. When surge is active for a particular\\nproduct, its surge_multiplier will be greater than 1, but the price estimate\\nalready factors in this multiplier.\\n\",\r\n        \"parameters\" : [ {\r\n          \"name\" : \"start_latitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Latitude component of start location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        }, {\r\n          \"name\" : \"start_longitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Longitude component of start location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        }, {\r\n          \"name\" : \"end_latitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Latitude component of end location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        }, {\r\n          \"name\" : \"end_longitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Longitude component of end location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        } ],\r\n        \"responses\" : {\r\n          \"200\" : {\r\n            \"description\" : \"An array of price estimates by product\",\r\n            \"schema\" : {\r\n              \"type\" : \"array\",\r\n              \"items\" : {\r\n                \"$ref\" : \"#\/definitions\/PriceEstimate\"\r\n              }\r\n            }\r\n          },\r\n          \"default\" : {\r\n            \"description\" : \"Unexpected error\",\r\n            \"schema\" : {\r\n              \"$ref\" : \"#\/definitions\/Error\"\r\n            }\r\n          }\r\n        }\r\n      }\r\n    },\r\n    \"\/estimates\/time\" : {\r\n      \"get\" : {\r\n        \"tags\" : [ \"Estimates\" ],\r\n        \"summary\" : \"Time Estimates\",\r\n        \"description\" : \"The Time Estimates endpoint returns ETAs for all products offered at a given location, with the responses expressed as integers in seconds. We recommend that this endpoint be called every minute to provide the most accurate, up-to-date ETAs.\",\r\n        \"parameters\" : [ {\r\n          \"name\" : \"start_latitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Latitude component of start location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        }, {\r\n          \"name\" : \"start_longitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Longitude component of start location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        }, {\r\n          \"name\" : \"customer_uuid\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Unique customer identifier to be used for experience customization.\",\r\n          \"required\" : false,\r\n          \"type\" : \"string\",\r\n          \"format\" : \"uuid\"\r\n        }, {\r\n          \"name\" : \"product_id\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Unique identifier representing a specific product for a given latitude & longitude.\",\r\n          \"required\" : false,\r\n          \"type\" : \"string\"\r\n        } ],\r\n        \"responses\" : {\r\n          \"200\" : {\r\n            \"description\" : \"An array of products\",\r\n            \"schema\" : {\r\n              \"type\" : \"array\",\r\n              \"items\" : {\r\n                \"$ref\" : \"#\/definitions\/Product\"\r\n              }\r\n            }\r\n          },\r\n          \"default\" : {\r\n            \"description\" : \"Unexpected error\",\r\n            \"schema\" : {\r\n              \"$ref\" : \"#\/definitions\/Error\"\r\n            }\r\n          }\r\n        }\r\n      }\r\n    },\r\n    \"\/history\" : {\r\n      \"get\" : {\r\n        \"tags\" : [ \"User\" ],\r\n        \"summary\" : \"User Activity\",\r\n        \"description\" : \"The User Activity endpoint returns data about a user\'s lifetime activity with Uber. The response will include pickup locations and times, dropoff locations and times, the distance of past requests, and information about which products were requested.<br><br>The history array in the response will have a maximum length based on the limit parameter. The response value count may exceed limit, therefore subsequent API requests may be necessary.\",\r\n        \"parameters\" : [ {\r\n          \"name\" : \"offset\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Offset the list of returned results by this amount. Default is zero.\",\r\n          \"required\" : false,\r\n          \"type\" : \"integer\",\r\n          \"format\" : \"int32\"\r\n        }, {\r\n          \"name\" : \"limit\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Number of items to retrieve. Default is 5, maximum is 100.\",\r\n          \"required\" : false,\r\n          \"type\" : \"integer\",\r\n          \"format\" : \"int32\"\r\n        } ],\r\n        \"responses\" : {\r\n          \"200\" : {\r\n            \"description\" : \"History information for the given user\",\r\n            \"schema\" : {\r\n              \"$ref\" : \"#\/definitions\/Activities\"\r\n            }\r\n          },\r\n          \"default\" : {\r\n            \"description\" : \"Unexpected error\",\r\n            \"schema\" : {\r\n              \"$ref\" : \"#\/definitions\/Error\"\r\n            }\r\n          }\r\n        }\r\n      }\r\n    },\r\n    \"\/me\" : {\r\n      \"get\" : {\r\n        \"tags\" : [ \"User\" ],\r\n        \"summary\" : \"User Profile\",\r\n        \"description\" : \"The User Profile endpoint returns information about the Uber user that has authorized with the application.\",\r\n        \"parameters\" : [ ],\r\n        \"responses\" : {\r\n          \"200\" : {\r\n            \"description\" : \"Profile information for a user\",\r\n            \"schema\" : {\r\n              \"$ref\" : \"#\/definitions\/Profile\"\r\n            }\r\n          },\r\n          \"default\" : {\r\n            \"description\" : \"Unexpected error\",\r\n            \"schema\" : {\r\n              \"$ref\" : \"#\/definitions\/Error\"\r\n            }\r\n          }\r\n        }\r\n      }\r\n    },\r\n    \"\/products\" : {\r\n      \"get\" : {\r\n        \"tags\" : [ \"Products\" ],\r\n        \"summary\" : \"Product Types\",\r\n        \"description\" : \"The Products endpoint returns information about the *Uber* products\\noffered at a given location. The response includes the display name\\nand other details about each product, and lists the products in the\\nproper display order.\\n\",\r\n        \"parameters\" : [ {\r\n          \"name\" : \"latitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Latitude component of location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        }, {\r\n          \"name\" : \"longitude\",\r\n          \"in\" : \"query\",\r\n          \"description\" : \"Longitude component of location.\",\r\n          \"required\" : true,\r\n          \"type\" : \"number\",\r\n          \"format\" : \"double\"\r\n        } ],\r\n        \"responses\" : {\r\n          \"200\" : {\r\n            \"description\" : \"An array of products\",\r\n            \"schema\" : {\r\n              \"type\" : \"array\",\r\n              \"items\" : {\r\n                \"$ref\" : \"#\/definitions\/Product\"\r\n              }\r\n            }\r\n          },\r\n          \"default\" : {\r\n            \"description\" : \"Unexpected error\",\r\n            \"schema\" : {\r\n              \"$ref\" : \"#\/definitions\/Error\"\r\n            }\r\n          }\r\n        }\r\n      }\r\n    }\r\n  },\r\n  \"definitions\" : {\r\n    \"Product\" : {\r\n      \"properties\" : {\r\n        \"product_id\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles.\"\r\n        },\r\n        \"description\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Description of product.\"\r\n        },\r\n        \"display_name\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Display name of product.\"\r\n        },\r\n        \"capacity\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Capacity of product. For example, 4 people.\"\r\n        },\r\n        \"image\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Image URL representing the product.\"\r\n        }\r\n      }\r\n    },\r\n    \"PriceEstimate\" : {\r\n      \"properties\" : {\r\n        \"product_id\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Unique identifier representing a specific product for a given latitude & longitude. For example, uberX in San Francisco will have a different product_id than uberX in Los Angeles\"\r\n        },\r\n        \"currency_code\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"[ISO 4217](http:\/\/en.wikipedia.org\/wiki\/ISO_4217) currency code.\"\r\n        },\r\n        \"display_name\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Display name of product.\"\r\n        },\r\n        \"estimate\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Formatted string of estimate in local currency of the start location. Estimate could be a range, a single number (flat rate) or \\\"Metered\\\" for TAXI.\"\r\n        },\r\n        \"low_estimate\" : {\r\n          \"type\" : \"number\",\r\n          \"description\" : \"Lower bound of the estimated price.\"\r\n        },\r\n        \"high_estimate\" : {\r\n          \"type\" : \"number\",\r\n          \"description\" : \"Upper bound of the estimated price.\"\r\n        },\r\n        \"surge_multiplier\" : {\r\n          \"type\" : \"number\",\r\n          \"description\" : \"Expected surge multiplier. Surge is active if surge_multiplier is greater than 1. Price estimate already factors in the surge multiplier.\"\r\n        }\r\n      }\r\n    },\r\n    \"Profile\" : {\r\n      \"properties\" : {\r\n        \"first_name\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"First name of the Uber user.\"\r\n        },\r\n        \"last_name\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Last name of the Uber user.\"\r\n        },\r\n        \"email\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Email address of the Uber user\"\r\n        },\r\n        \"picture\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Image URL of the Uber user.\"\r\n        },\r\n        \"promo_code\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Promo code of the Uber user.\"\r\n        }\r\n      }\r\n    },\r\n    \"Activity\" : {\r\n      \"properties\" : {\r\n        \"uuid\" : {\r\n          \"type\" : \"string\",\r\n          \"description\" : \"Unique identifier for the activity\"\r\n        }\r\n      }\r\n    },\r\n    \"Activities\" : {\r\n      \"properties\" : {\r\n        \"offset\" : {\r\n          \"type\" : \"integer\",\r\n          \"format\" : \"int32\",\r\n          \"description\" : \"Position in pagination.\"\r\n        },\r\n        \"limit\" : {\r\n          \"type\" : \"integer\",\r\n          \"format\" : \"int32\",\r\n          \"description\" : \"Number of items to retrieve (100 max).\"\r\n        },\r\n        \"count\" : {\r\n          \"type\" : \"integer\",\r\n          \"format\" : \"int32\",\r\n          \"description\" : \"Total number of items available.\"\r\n        },\r\n        \"history\" : {\r\n          \"type\" : \"array\",\r\n          \"items\" : {\r\n            \"$ref\" : \"#\/definitions\/Activity\"\r\n          }\r\n        }\r\n      }\r\n    },\r\n    \"Error\" : {\r\n      \"properties\" : {\r\n        \"code\" : {\r\n          \"type\" : \"integer\",\r\n          \"format\" : \"int32\"\r\n        },\r\n        \"message\" : {\r\n          \"type\" : \"string\"\r\n        },\r\n        \"fields\" : {\r\n          \"type\" : \"string\"\r\n        }\r\n      }\r\n    }\r\n  }\r\n}'

