removedInput schema / properties / country_code
Removed value: -{
- "description": "Destination code from list_destinations: ISO 3166-1 alpha-2 (e.g. 'US', 'ES', 'JP') or a catalogue code like 'USPR'.",
- "maxLength": 6,
- "minLength": 2,
- "type": "string"
-}
addedInput schema / properties / destination
Added value: +{
+ "description": "Where the traveler is going, e.g. 'Japan', 'Japón', 'JP', 'Europe'.",
+ "maxLength": 60,
+ "minLength": 2,
+ "type": "string"
+}
addedInput schema / properties / include_multi_country
Added value: +{
+ "description": "For a country, also include regional and global plans that cover it. Default true.",
+ "type": "boolean"
+}
changedInput schema / properties / language / description
Previous value: -"Language of the checkout page the buy_url opens (default 'en')."New value: +"Language of the simabroad.com page the link opens. Default en."
changedInput schema / properties / limit / description
Previous value: -"Max plans to return (default 20)."New value: +"How many plans to return, 1 to 10. Default 5."
changedInput schema / properties / limit / maximum
Previous value: -50New value: +10
changedInput schema / properties / max_price_usd / description
Previous value: -"Only return plans at or below this USD price."New value: +"Only plans at or below this USD price."
addedInput schema / properties / max_price_usd / maximum
Added value: +10000
removedInput schema / properties / min_validity_days
Removed value: -{
- "description": "Trip length in days; plans valid for fewer days are left out.",
- "maximum": 365,
- "minimum": 1,
- "type": "integer"
-}
removedInput schema / properties / region
Removed value: -{
- "description": "Region for multi-country plans: 'europe', 'eu-uk', 'asia', 'africa', 'africa-safari', 'americas', 'north-america', 'latin-america', 'caribbean', 'middle-east', 'oceania' or 'global'. Don't combine with country_code.",
- "type": "string"
-}
addedInput schema / properties / trip_days
Added value: +{
+ "description": "Trip length in days; shorter plans are left out.",
+ "maximum": 365,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / required
Added value: +[
+ "destination"
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": false,
+ "properties": {
+ "always_on": {
+ "type": "string"
+ },
+ "destination": {
+ "type": "string"
+ },
+ "language": {
+ "type": "string"
+ },
+ "plans": {
+ "items": {
+ "additionalProperties": true,
+ "properties": {
+ "countries_count": {
+ "type": "number"
+ },
+ "coverage": {
+ "enum": [
+ "local",
+ "regional",
+ "global"
+ ],
+ "type": "string"
+ },
+ "data": {
+ "type": "string"
+ },
+ "destination": {
+ "type": "string"
+ },
+ "id": {
+ "type": "string"
+ },
+ "link": {
+ "type": "string"
+ },
+ "link_kind": {
+ "enum": [
+ "checkout",
+ "info"
+ ],
+ "type": "string"
+ },
+ "price_usd": {
+ "type": "number"
+ },
+ "sms": {
+ "type": "number"
+ },
+ "title": {
+ "type": "string"
+ },
+ "unlimited": {
+ "type": "boolean"
+ },
+ "validity_days": {
+ "type": "number"
+ },
+ "voice_minutes": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "destination",
+ "coverage",
+ "data",
+ "unlimited",
+ "validity_days",
+ "price_usd",
+ "countries_count",
+ "link",
+ "link_kind"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "returned": {
+ "type": "number"
+ },
+ "suggestions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "total_matching": {
+ "type": "number"
+ },
+ "trip_days": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "plans"
+ ],
+ "type": "object"
+}