{"openapi":"3.1.0","info":{"title":"Roamzo public eSIM discovery","version":"1.7.0","description":"Anonymous, read-only destination and plan discovery. Resolve a destination ID, list exact plans for the customer’s actual trip duration and currency, then follow returned links. Catalog amounts describe one eSIM; checkout confirms quantity, eligibility, current price and payment. No account or payment credentials belong in these endpoints.","termsOfService":"https://roamzo.app/terms","contact":{"url":"https://roamzo.app/company"}},"servers":[{"url":"https://roamzo.app"}],"security":[],"tags":[{"name":"Discovery","description":"Public retail inventory only. No order is created and no payment is submitted."},{"name":"Comparisons","description":"Saved sourced public price observations, with explicit freshness and matching limits."}],"paths":{"/agents/catalog.json":{"get":{"operationId":"searchEsimDestinations","tags":["Discovery"],"summary":"Find country and regional eSIM destinations","description":"Search country names, ISO country codes, supported cities and islands. Use the returned opaque destination id in listEsimPlans. Regional names and their search results do not establish plan coverage; inspect each returned plan’s coverage.","parameters":[{"name":"query","in":"query","required":false,"schema":{"type":"string","maxLength":100,"default":""},"description":"Destination name, ISO country code, city or supported island."},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["en","fr","nl","th","id","zh-Hant","cs","pl","de","ko","es","pt","tr","it","ar","ja","zh-Hans","ru","uk","hi","bn","ur","fa","he","vi","ms","fil","el","ro","bg","hu","sv","da","nb","fi","ta","te","mr","pa","sw"],"default":"en"},"description":"Language for destination labels and public links; independent of currency."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":10000,"default":0},"description":"Zero-based offset into the filtered result set."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"default":12},"description":"Maximum rows returned. Follow nextOffset until null; a page is not the complete catalog."}],"responses":{"200":{"description":"A bounded page of currently offered destinations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DestinationPage"},"examples":{"illustrative":{"summary":"Country search — synthetic documentation example, not a live quote","value":{"destinations":[{"id":"JP","name":"Japan","countries":["JP"],"regional":false,"planCount":2,"url":"https://roamzo.app/esims/japan"}],"total":1,"nextOffset":null}}}}}},"400":{"description":"Invalid or unsupported bounded query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited. Respect Retry-After and retry with backoff.","headers":{"Retry-After":{"schema":{"type":"string"}}},"content":{"text/html":{"schema":{"type":"string"}},"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Catalog or requested currency temporarily unavailable. Do not infer sold out, zero price or substitute a currency.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/agents/plans.json":{"get":{"operationId":"listEsimPlans","tags":["Discovery"],"summary":"Compare plans for an exact destination ID","description":"The default projection matches the storefront: one preferred unlimited option and one main fixed bundle per allowance/validity, with genuine upgrades where available. Ask the customer for travel days; the API default of seven is not evidence of their trip. Unlimited duration is selected; fixed validity cannot be changed. Prices are totals for one eSIM for the stated duration. Follow pagination and request alternatives only when relevant. Explicit currency failure is unavailable, never an implicit USD fallback. Every plan includes connectivity: country-associated reported operators, radio evidence, nullable supports5G and hotspot policy. Unknown evidence is not false or a coverage guarantee. Activation, installation and renewal details are opt-in; leave includeTechnicalDetails false for ordinary discovery.","parameters":[{"name":"destinationId","in":"query","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"description":"Exact id from searchEsimDestinations; do not derive a regional group from its name."},{"name":"days","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":365,"default":7},"description":"Actual trip length for unlimited pricing and supported-duration filtering. Fixed bundles are returned with their unchanged validity; check whether each covers the trip."},{"name":"currency","in":"query","required":false,"schema":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"],"default":"USD"},"description":"Explicit display currency. Missing or expired exchange-rate evidence returns an unavailable response; it never silently substitutes USD. Checkout rechecks the final payable amount."},{"name":"unlimited","in":"query","required":false,"schema":{"type":"string","enum":["true","false"]},"description":"Optional plan-type filter. Omit to return both types."},{"name":"includeAlternatives","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"false"},"description":"Include meaningful fixed-plan network, activation and routing alternatives."},{"name":"includeTechnicalDetails","in":"query","required":false,"schema":{"type":"string","enum":["true","false"],"default":"false"},"description":"Optional activation, installation and renewal fields. Connectivity is always included without this flag. No private supplier data or numeric Unlimited fair-use allowances are returned."},{"name":"alternativesForPlanId","in":"query","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"description":"Focus fixed-plan alternatives on an exact returned plan id."},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["en","fr","nl","th","id","zh-Hant","cs","pl","de","ko","es","pt","tr","it","ar","ja","zh-Hans","ru","uk","hi","bn","ur","fa","he","vi","ms","fil","el","ro","bg","hu","sv","da","nb","fi","ta","te","mr","pa","sw"],"default":"en"},"description":"Language for destination labels and public links; independent of currency."},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"maximum":10000,"default":0},"description":"Zero-based offset into the filtered result set."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":20,"default":12},"description":"Maximum rows returned. Follow nextOffset until null; a page is not the complete catalog."}],"responses":{"200":{"description":"A bounded page of exact offers. Empty plans is a verified empty filtered result, not an error.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanPage"},"examples":{"illustrative":{"summary":"Thirty-day plan page with default connectivity — synthetic documentation example, not a live quote","value":{"plans":[{"planId":"rzp_00000000000000000000000000000000","destinationId":"JP","name":"Japan","data":{"unlimited":true,"label":"Unlimited"},"durationDays":30,"durationSelection":{"type":"custom","selectedDays":30,"availableRanges":[{"minDays":1,"maxDays":365}],"instruction":"This is the selected trip duration, not a fixed validity limit."},"price":{"currency":"USD","amount":"30.00","quantity":1},"coverage":[{"code":"JP","name":"Japan","flag":"🇯🇵"}],"connectivity":{"networks":[{"country":"Japan","countryCode":"JP","operators":["Example Mobile 5G"],"networkTypes":["5G"]}],"networkTypes":["5G"],"supports5G":true,"hotspotSupported":true,"tetheringSupported":true,"hotspotPolicy":"All Roamzo travel eSIMs support hotspot and tethering. Connected devices share your plan’s data allowance. Device and network support apply. Unlimited plans remain subject to fair usage.","availabilityNote":"Actual availability depends on the destination, local network, device and coverage."},"productUrl":"https://roamzo.app/esims/japan","planDetailsUrl":"https://roamzo.app/esims/japan?choose=1&plan=rzp_00000000000000000000000000000000&days=30","fairUsagePolicyUrl":"https://roamzo.app/terms#esim-fair-use"}],"total":1,"nextOffset":null,"checkedAt":"2026-10-19T00:00:00Z","currency":"USD","priceScope":"one-esim"}},"withTechnicalDetails":{"summary":"includeTechnicalDetails=true — synthetic setup terms and quote, not a live offer","value":{"plans":[{"planId":"rzp_00000000000000000000000000000000","destinationId":"JP","name":"Japan","data":{"unlimited":true,"label":"Unlimited"},"durationDays":30,"durationSelection":{"type":"custom","selectedDays":30,"availableRanges":[{"minDays":1,"maxDays":365}],"instruction":"This is the selected trip duration, not a fixed validity limit."},"price":{"currency":"USD","amount":"30.00","quantity":1},"coverage":[{"code":"JP","name":"Japan","flag":"🇯🇵"}],"connectivity":{"networks":[{"country":"Japan","countryCode":"JP","operators":["Example Mobile 5G"],"networkTypes":["5G"]}],"networkTypes":["5G"],"supports5G":true,"hotspotSupported":true,"tetheringSupported":true,"hotspotPolicy":"All Roamzo travel eSIMs support hotspot and tethering. Connected devices share your plan’s data allowance. Device and network support apply. Unlimited plans remain subject to fair usage.","availabilityNote":"Actual availability depends on the destination, local network, device and coverage."},"productUrl":"https://roamzo.app/esims/japan","planDetailsUrl":"https://roamzo.app/esims/japan?choose=1&plan=rzp_00000000000000000000000000000000&days=30","fairUsagePolicyUrl":"https://roamzo.app/terms#esim-fair-use","technicalDetails":{"dailyAllowance":"Unlimited","networks":[{"country":"Japan","operators":["Example Mobile 5G"]}],"activation":"Synthetic activation condition; use the selected plan’s returned instruction.","installWithinDays":30,"phoneRequirements":"Each phone must be unlocked and support eSIM. One eSIM per phone.","renewal":{"eligible":false,"available":false,"durationDays":30,"confirmationRequired":true}}}],"total":1,"nextOffset":null,"checkedAt":"2026-10-19T00:00:00Z","currency":"USD","priceScope":"one-esim"}}}}}},"400":{"description":"Invalid or unsupported bounded query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited. Respect Retry-After and retry with backoff.","headers":{"Retry-After":{"schema":{"type":"string"}}},"content":{"text/html":{"schema":{"type":"string"}},"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Catalog or requested currency temporarily unavailable. Do not infer sold out, zero price or substitute a currency.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/esim-regional-comparisons":{"get":{"operationId":"compareSavedRegionalEsimPrices","tags":["Comparisons"],"summary":"Read saved regional eSIM prices and actual package coverage","description":"Read-only saved weekly snapshots. The chosen package supplies coverage, which can differ between providers and plan types. Compare only verified matches with identical advertised coverage, duration and allowance. Do not infer identical fair-use terms or a market-wide lowest price. Respect row timestamps and expiry; No live provider fetching.","parameters":[{"name":"region","in":"query","required":false,"schema":{"type":"string","maxLength":100,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","default":"europe"},"description":"Offered regional family slug."},{"name":"days","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":365},"description":"Actual trip duration; omitted values follow available region defaults."},{"name":"data","in":"query","required":false,"schema":{"oneOf":[{"type":"string","enum":["unlimited"]},{"type":"number","minimum":0.1,"maximum":100}]},"description":"Unlimited or minimum fixed-data allowance in GB."},{"name":"currency","in":"query","required":false,"schema":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"],"default":"USD"},"description":"Explicit display currency. Missing or expired exchange-rate evidence returns an unavailable response; it never silently substitutes USD. Checkout rechecks the final payable amount."},{"name":"quantity","in":"query","required":false,"schema":{"type":"integer","minimum":1,"maximum":4,"default":1},"description":"Number of eSIMs; comparison prices are totals for this quantity."},{"name":"locale","in":"query","required":false,"schema":{"type":"string","enum":["en","fr","nl","th","id","zh-Hant","cs","pl","de","ko","es","pt","tr","it","ar","ja","zh-Hans","ru","uk","hi","bn","ur","fa","he","vi","ms","fil","el","ro","bg","hu","sv","da","nb","fi","ta","te","mr","pa","sw"],"default":"en"},"description":"Language for destination labels and public links; independent of currency."}],"responses":{"200":{"description":"Saved public comparison with source check times, original expiry and each matched package’s country coverage.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegionalComparison"}}}},"400":{"description":"Invalid or unsupported bounded query parameters.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Region is not an offered saved native family.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limited. Respect Retry-After and retry with backoff.","headers":{"Retry-After":{"schema":{"type":"string"}}},"content":{"text/html":{"schema":{"type":"string"}},"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"503":{"description":"Catalog or requested currency temporarily unavailable. Do not infer sold out, zero price or substitute a currency.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string"}},"additionalProperties":true},"DestinationPage":{"type":"object","properties":{"destinations":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"name":{"type":"string"},"countries":{"minItems":1,"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"regional":{"type":"boolean"},"planCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"url":{"type":"string","format":"uri"}},"required":["id","name","countries","regional","planCount","url"],"additionalProperties":{}}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"nextOffset":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["destinations","total","nextOffset"],"additionalProperties":{}},"Connectivity":{"type":"object","properties":{"networks":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"countryCode":{"anyOf":[{"type":"string","pattern":"^[A-Z]{2}$"},{"type":"null"}],"description":"ISO country code only when matched within this plan’s actual coverage; null means unresolved."},"operators":{"type":"array","items":{"type":"string"}},"networkTypes":{"type":"array","items":{"type":"string","enum":["2G","3G","4G","5G"]},"description":"Explicit reported radio generations, not guaranteed throughput or availability everywhere. An empty array means unknown."}},"required":["country","countryCode","operators","networkTypes"],"additionalProperties":false},"description":"Country-associated local operator labels reported for this exact plan. Empty means unknown, not no service."},"networkTypes":{"type":"array","items":{"type":"string","enum":["2G","3G","4G","5G"]},"description":"Explicit reported radio generations, not guaranteed throughput or availability everywhere. An empty array means unknown."},"supports5G":{"anyOf":[{"type":"boolean","const":true},{"type":"null"}],"description":"True when the plan has explicit 5G evidence; null means unknown. Never convert missing evidence to false. Subject to destination, device and local coverage."},"hotspotSupported":{"type":"boolean","description":"Whether sharing this travel eSIM’s data by personal hotspot is supported."},"tetheringSupported":{"type":"boolean","description":"Whether tethering other devices to this travel eSIM is supported."},"hotspotPolicy":{"type":"string","description":"Connected devices share the plan data and applicable fair-use terms; device and network support apply."},"availabilityNote":{"type":"string"}},"required":["networks","networkTypes","supports5G","hotspotSupported","tetheringSupported","hotspotPolicy","availabilityNote"],"additionalProperties":false},"PlanPage":{"type":"object","properties":{"plans":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"planId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"destinationId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"name":{"type":"string"},"variant":{"type":"string"},"data":{"type":"object","properties":{"unlimited":{"type":"boolean"},"label":{"type":"string"},"totalBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["unlimited","label"],"additionalProperties":{}},"durationDays":{"type":"integer","minimum":1,"maximum":365},"durationSelection":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"custom"},"selectedDays":{"type":"integer","minimum":1,"maximum":365},"availableRanges":{"type":"array","items":{"type":"object","properties":{"minDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["minDays","maxDays"],"additionalProperties":false}},"instruction":{"type":"string"}},"required":["type","selectedDays","availableRanges","instruction"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"fixed"},"validityDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","validityDays"],"additionalProperties":false}]},"price":{"type":"object","properties":{"currency":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"]},"amount":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"Major currency units as a decimal string. Never a per-day amount."},"amountMinor":{"description":"Minor currency units using the currency exponent, when provided.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"rateDate":{"description":"Date of the verified display exchange rate, when a conversion is required.","anyOf":[{"type":"string","pattern":"^20\\d{2}-\\d{2}-\\d{2}$"},{"type":"null"}]}},"required":["currency","amount"],"additionalProperties":{}},"coverage":{"minItems":1,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z]{2}$"},"name":{"type":"string"},"flag":{"type":["string","null"]}},"required":["code","name","flag"],"additionalProperties":false}},"connectivity":{"type":"object","properties":{"networks":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"countryCode":{"anyOf":[{"type":"string","pattern":"^[A-Z]{2}$"},{"type":"null"}],"description":"ISO country code only when matched within this plan’s actual coverage; null means unresolved."},"operators":{"type":"array","items":{"type":"string"}},"networkTypes":{"type":"array","items":{"type":"string","enum":["2G","3G","4G","5G"]},"description":"Explicit reported radio generations, not guaranteed throughput or availability everywhere. An empty array means unknown."}},"required":["country","countryCode","operators","networkTypes"],"additionalProperties":false},"description":"Country-associated local operator labels reported for this exact plan. Empty means unknown, not no service."},"networkTypes":{"type":"array","items":{"type":"string","enum":["2G","3G","4G","5G"]},"description":"Explicit reported radio generations, not guaranteed throughput or availability everywhere. An empty array means unknown."},"supports5G":{"anyOf":[{"type":"boolean","const":true},{"type":"null"}],"description":"True when the plan has explicit 5G evidence; null means unknown. Never convert missing evidence to false. Subject to destination, device and local coverage."},"hotspotSupported":{"type":"boolean","description":"Whether sharing this travel eSIM’s data by personal hotspot is supported."},"tetheringSupported":{"type":"boolean","description":"Whether tethering other devices to this travel eSIM is supported."},"hotspotPolicy":{"type":"string","description":"Connected devices share the plan data and applicable fair-use terms; device and network support apply."},"availabilityNote":{"type":"string"}},"required":["networks","networkTypes","supports5G","hotspotSupported","tetheringSupported","hotspotPolicy","availabilityNote"],"additionalProperties":false},"technicalDetails":{"type":"object","properties":{"dailyAllowance":{"type":"string","const":"Unlimited"},"networks":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"operators":{"type":"array","items":{"type":"string"}}},"required":["country","operators"],"additionalProperties":false}},"activation":{"type":"string"},"installWithinDays":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"phoneRequirements":{"type":"string"},"renewal":{"type":"object","properties":{"eligible":{"type":"boolean"},"available":{"type":"boolean"},"durationDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmationRequired":{"type":"boolean","const":true}},"required":["eligible","available","durationDays","confirmationRequired"],"additionalProperties":false}},"required":["networks","phoneRequirements","renewal"],"additionalProperties":false},"productUrl":{"type":"string","format":"uri"},"planDetailsUrl":{"type":"string","format":"uri"},"fairUsagePolicyUrl":{"type":"string","format":"uri"},"alternativeCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"alternativeForPlanId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"differences":{"type":"object","properties":{"variant":{"type":"string"},"description":{"type":"string"},"terms":{"type":"string"},"networks":{"type":"array","items":{"type":"string"}},"speed":{"type":["string","null"]},"activation":{"type":["string","null"]},"installWithinDays":{"type":["number","null"]},"topUp":{"type":["boolean","null"]}},"required":["variant","networks","speed"],"additionalProperties":{}},"upgrades":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"label":{"type":"string"},"planId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"price":{"type":"object","properties":{"currency":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"]},"amount":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"Major currency units as a decimal string. Never a per-day amount."},"amountMinor":{"description":"Minor currency units using the currency exponent, when provided.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"rateDate":{"description":"Date of the verified display exchange rate, when a conversion is required.","anyOf":[{"type":"string","pattern":"^20\\d{2}-\\d{2}-\\d{2}$"},{"type":"null"}]}},"required":["currency","amount"],"additionalProperties":{}},"additionalPriceUsd":{"type":"string","pattern":"^-?\\d+(?:\\.\\d+)?$","description":"Signed USD difference from the selected plan. A cheaper replacement can have a negative difference."}},"required":["type","label","planId","price","additionalPriceUsd"],"additionalProperties":{}}}},"required":["planId","destinationId","name","data","durationDays","durationSelection","price","coverage","connectivity"],"additionalProperties":{}}},"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"nextOffset":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"checkedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"currency":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"]},"priceScope":{"type":"string","const":"one-esim"}},"required":["plans","total","nextOffset","checkedAt"],"additionalProperties":{}},"RegionalPlan":{"type":"object","properties":{"planId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"destinationId":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,100}$"},"name":{"type":"string"},"quantity":{"type":"integer","minimum":1,"maximum":4},"data":{"type":"object","properties":{"unlimited":{"type":"boolean"},"label":{"type":"string"},"totalBytes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["unlimited","label"],"additionalProperties":{}},"durationDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"durationSelection":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"custom"},"selectedDays":{"type":"integer","minimum":1,"maximum":365},"availableRanges":{"type":"array","items":{"type":"object","properties":{"minDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"maxDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["minDays","maxDays"],"additionalProperties":false}}},"required":["type","selectedDays","availableRanges"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"fixed"},"validityDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["type","validityDays"],"additionalProperties":false}]},"price":{"type":"object","properties":{"currency":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"]},"amount":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$","description":"Major currency units as a decimal string. Never a per-day amount."},"amountMinor":{"description":"Minor currency units using the currency exponent, when provided.","type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"quantity":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"rateDate":{"description":"Date of the verified display exchange rate, when a conversion is required.","anyOf":[{"type":"string","pattern":"^20\\d{2}-\\d{2}-\\d{2}$"},{"type":"null"}]}},"required":["currency","amount"],"additionalProperties":{}},"coverage":{"minItems":2,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z]{2}$"},"name":{"type":"string"},"flag":{"type":"string"}},"required":["code","name","flag"],"additionalProperties":false}},"productUrl":{"type":"string","format":"uri"},"purchaseUrl":{"type":"string","format":"uri"},"checkedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"connectivity":{"type":"object","properties":{"networks":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"countryCode":{"anyOf":[{"type":"string","pattern":"^[A-Z]{2}$"},{"type":"null"}],"description":"ISO country code only when matched within this plan’s actual coverage; null means unresolved."},"operators":{"type":"array","items":{"type":"string"}},"networkTypes":{"type":"array","items":{"type":"string","enum":["2G","3G","4G","5G"]},"description":"Explicit reported radio generations, not guaranteed throughput or availability everywhere. An empty array means unknown."}},"required":["country","countryCode","operators","networkTypes"],"additionalProperties":false},"description":"Country-associated local operator labels reported for this exact plan. Empty means unknown, not no service."},"networkTypes":{"type":"array","items":{"type":"string","enum":["2G","3G","4G","5G"]},"description":"Explicit reported radio generations, not guaranteed throughput or availability everywhere. An empty array means unknown."},"supports5G":{"anyOf":[{"type":"boolean","const":true},{"type":"null"}],"description":"True when the plan has explicit 5G evidence; null means unknown. Never convert missing evidence to false. Subject to destination, device and local coverage."},"hotspotSupported":{"type":"boolean","description":"Whether sharing this travel eSIM’s data by personal hotspot is supported."},"tetheringSupported":{"type":"boolean","description":"Whether tethering other devices to this travel eSIM is supported."},"hotspotPolicy":{"type":"string","description":"Connected devices share the plan data and applicable fair-use terms; device and network support apply."},"availabilityNote":{"type":"string"}},"required":["networks","networkTypes","supports5G","hotspotSupported","tetheringSupported","hotspotPolicy","availabilityNote"],"additionalProperties":false},"technicalDetails":{"type":"object","properties":{"activation":{"type":"string"},"installWithinDays":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"networks":{"type":"array","items":{"type":"object","properties":{"country":{"type":"string"},"countryCode":{"type":"string","pattern":"^[A-Z]{2}$"},"operators":{"type":"array","items":{"type":"string"}}},"required":["country","countryCode","operators"],"additionalProperties":false}}},"required":["networks"],"additionalProperties":{}}},"required":["planId","destinationId","name","quantity","data","durationDays","durationSelection","price","coverage","productUrl","purchaseUrl","checkedAt","expiresAt","connectivity","technicalDetails"],"additionalProperties":{}},"RegionalComparison":{"type":"object","required":["request","destination","rows","savings","pricePosition","computedAt","expiresAt","methodology"],"properties":{"request":{"type":"object","required":["regionSlug","days","unlimited","currency","quantity"],"properties":{"regionSlug":{"type":"string"},"days":{"type":"integer","minimum":1,"maximum":365},"unlimited":{"type":"boolean"},"currency":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"]},"quantity":{"type":"integer","minimum":1,"maximum":4},"minDataGb":{"type":"number","minimum":0.1},"coverageCountryCodes":{"type":"array","items":{"type":"string"}},"coverageBasis":{"type":"string"}}},"destination":{"type":"object","description":"The offered family identity. Actual coverage is on the selected package and each row."},"rows":{"type":"array","items":{"type":"object","required":["provider","status","sourceUrl"],"properties":{"provider":{"type":"string"},"status":{"type":"string","enum":["matched","temporarily_unavailable","currency_unavailable","no_matching_plan","no_matching_quote","unsupported","unavailable"]},"sourceUrl":{"type":"string","format":"uri"},"price":{"type":"object","required":["currency","amount","amountMinor"],"properties":{"currency":{"type":"string","enum":["USD","EUR","GBP","MAD","CAD","AUD","CHF","AED","THB","IDR","TWD","NZD","CZK","PLN","KRW","INR","PHP","MYR","SGD","RUB","BRL"]},"amount":{"type":"string","pattern":"^\\d+(?:\\.\\d+)?$"},"amountMinor":{"type":"integer","minimum":1}}},"planId":{"type":"string"},"purchaseUrl":{"type":"string","format":"uri"},"data":{"type":"string"},"durationDays":{"type":"integer","minimum":1},"quantity":{"type":"integer","minimum":1,"maximum":4},"connectivity":{"$ref":"#/components/schemas/Connectivity","description":"Included on matched Roamzo rows, using the same public connectivity projection as catalog plans. Not implied for competitor rows."},"checkedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"match":{"type":"string","description":"Exact advertised duration/data match or a separately labeled longer/larger alternative; service terms can differ."},"coverageCountryCodes":{"type":"array","items":{"type":"string","pattern":"^[A-Z]{2}$"}},"coverageCountryCount":{"type":["integer","null"],"minimum":0},"coverageMatch":{"type":"string"},"missingCoverageCountryCodes":{"type":"array","items":{"type":"string"}},"additionalCoverageCountryCodes":{"type":"array","items":{"type":"string"}}},"description":"A non-matched row has no current price. Preserve unknown status; never interpret missing price as free or unavailable forever."}},"savings":{"type":"array","items":{"type":"object","required":["comparedWith","currency","amount","percent","basis"],"properties":{"comparedWith":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"percent":{"type":"integer","minimum":0,"maximum":100},"basis":{"type":"string"}}}},"pricePosition":{"type":"object","required":["lowestAmongVerifiedExactMatches","verifiedExactCompetitorCount","basis"],"properties":{"lowestAmongVerifiedExactMatches":{"type":"boolean"},"verifiedExactCompetitorCount":{"type":"integer","minimum":0},"basis":{"type":"string"}}},"checkedAt":{"type":"string","format":"date-time"},"computedAt":{"type":"string","format":"date-time"},"expiresAt":{"type":"string","format":"date-time"},"methodology":{"type":"string"},"roamzoPlan":{"$ref":"#/components/schemas/RegionalPlan"},"roamzoUnlimitedPlan":{"$ref":"#/components/schemas/RegionalPlan","description":"A separately labeled unlimited alternative, including its own coverage, full-quantity price and actionable purchaseUrl. It is not the selected fixed plan."}}}}}}