{"openapi":"3.0.0","paths":{"/v1/series/interest-rate":{"get":{"operationId":"SeriesController_interestRatesTable","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InterestRatesTableResponseDto"}}}}},"summary":"Table of current rates: NBP, WIBOR, POLSTR (all indicators)","tags":["Time series"]}},"/v1/series/interest-rate/{indicator}":{"get":{"operationId":"SeriesController_interestRateHistory","parameters":[{"name":"indicator","required":true,"in":"path","schema":{"example":"wibor-3m","type":"string"}},{"name":"days","required":false,"in":"query","description":"1-3650, default 365","schema":{"example":365,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateHistoryResponseDto"}}}}},"summary":"Indicator history (e.g. wibor-3m, nbp_rate, polstr-3m)","tags":["Time series"]}},"/v1/series/cpi":{"get":{"operationId":"SeriesController_cpi","parameters":[{"name":"type","required":false,"in":"query","schema":{"enum":["monthly","yearly"],"type":"string"}},{"name":"limit","required":false,"in":"query","description":"1-600 (monthly)","schema":{"example":24,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CpiResponseDto"}}}}},"summary":"CPI inflation: type=monthly|yearly, limit (for monthly)","tags":["Time series"]}},"/v1/series/fx":{"get":{"operationId":"SeriesController_fxTable","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxTableResponseDto"}}}}},"summary":"Table of current NBP currency rates","tags":["Time series"]}},"/v1/series/fx/{code}":{"get":{"operationId":"SeriesController_fxHistory","parameters":[{"name":"code","required":true,"in":"path","schema":{"example":"EUR","type":"string"}},{"name":"days","required":false,"in":"query","schema":{"example":365,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FxHistoryResponseDto"}}}}},"summary":"Currency rate history (e.g. EUR, USD, CHF)","tags":["Time series"]}},"/v1/series/housing":{"get":{"operationId":"SeriesController_housingList","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HousingListResponseDto"}}}}},"summary":"List of cities with NBP BaRN housing prices","tags":["Time series"]}},"/v1/series/housing/{city}":{"get":{"operationId":"SeriesController_housingCity","parameters":[{"name":"city","required":true,"in":"path","schema":{"example":"warszawa","type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HousingDetailResponseDto"}}}}},"summary":"Housing price history for a city (e.g. warszawa, krakow)","tags":["Time series"]}},"/v1/bonds":{"get":{"operationId":"ReferenceController_bonds","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BondsResponseDto"}}}}},"summary":"Interest rates of retail government bonds (Ministry of Finance)","tags":["Reference data"]}},"/v1/wages":{"get":{"operationId":"ReferenceController_wages","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WagesResponseDto"}}}}},"summary":"Median and percentile wages + provincial averages (GUS)","tags":["Reference data"]}},"/v1/legal-limits":{"get":{"operationId":"ReferenceController_legalLimits","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegalLimitsResponseDto"}}}}},"summary":"IKE/IKZE legal limits and related values (updated annually)","tags":["Reference data"]}},"/v1/index":{"get":{"operationId":"IndicesController_list","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexListResponseDto"}}}}},"summary":"List of all finwire indicators (barometers + credit stress map)","tags":["finwire indicators"]}},"/v1/index/credit-stress":{"get":{"operationId":"IndicesController_creditStress","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditStressResponseDto"}}}}},"summary":"Credit stress map: installment as % of wage across 16 provinces","tags":["finwire indicators"]}},"/v1/index/{slug}":{"get":{"operationId":"IndicesController_index","parameters":[{"name":"slug","required":true,"in":"path","schema":{"enum":["real-deposit-rate","housing-affordability","credit-cost","borrowing-power","purchasing-power"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexDetailResponseDto"}}}}},"summary":"finwire indicator: real-deposit-rate | housing-affordability | credit-cost | borrowing-power | purchasing-power","tags":["finwire indicators"]}},"/v1/market/deposit-rates":{"get":{"operationId":"MarketController_depositRates","parameters":[{"name":"amount","required":false,"in":"query","schema":{"example":10000,"type":"number"}},{"name":"period","required":false,"in":"query","description":"months","schema":{"example":3,"type":"number"}},{"name":"currency","required":false,"in":"query","schema":{"enum":["PLN","EUR","USD"],"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositRatesResponseDto"}}}}},"summary":"Median and percentile term deposit rates (aggregate, no offers)","tags":["Market aggregates"]}},"/v1/market/savings-rates":{"get":{"operationId":"MarketController_savingsRates","parameters":[{"name":"amount","required":false,"in":"query","schema":{"example":10000,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavingsRatesResponseDto"}}}}},"summary":"Median and percentile savings account rates (aggregate)","tags":["Market aggregates"]}},"/v1/market/mortgage-rates":{"get":{"operationId":"MarketController_mortgageRates","parameters":[{"name":"amount","required":false,"in":"query","schema":{"example":400000,"type":"number"}},{"name":"period","required":false,"in":"query","description":"years","schema":{"example":25,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MortgageRatesResponseDto"}}}}},"summary":"Median APRC, margin and nominal mortgage rates (aggregate)","tags":["Market aggregates"]}},"/v1/market/cash-loan-rates":{"get":{"operationId":"MarketController_cashLoanRates","parameters":[{"name":"amount","required":false,"in":"query","schema":{"example":20000,"type":"number"}},{"name":"period","required":false,"in":"query","description":"months","schema":{"example":48,"type":"number"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashLoanRatesResponseDto"}}}}},"summary":"Median APRC and nominal cash loan rates (aggregate)","tags":["Market aggregates"]}},"/v1/snapshot":{"get":{"operationId":"SnapshotController_snapshot","parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SnapshotResponseDto"}}}}},"summary":"Combined market state: rates, inflation, FX, credit stress, barometers","tags":["Snapshot"]}}},"info":{"title":"finwire.pl - Public financial data API","description":"Open API: NBP rates, WIBOR/POLSTR, CPI inflation, FX rates, NBP BaRN housing prices, GUS wages, government bonds and finwire indicators (credit stress map, barometers). Cite as: Source: finwire.pl, https://public-api.finwire.pl","version":"1.0","contact":{"name":"finwire.pl","url":"https://finwire.pl","email":"kontakt@finwire.pl"},"license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"}},"tags":[],"servers":[{"url":"https://public-api.finwire.pl"}],"components":{"schemas":{"RateTableEntryDto":{"type":"object","properties":{"indicator":{"type":"string","example":"wibor-3m"},"date":{"type":"string","example":"2026-06-05"},"value":{"type":"number","example":3.85}},"required":["indicator","date","value"]},"InterestRatesTableDataDto":{"type":"object","properties":{"source":{"type":"string","example":"NBP, GPW Benchmark"},"fetched_at":{"type":"string","example":"2026-06-05T06:00:00.000Z"},"count":{"type":"number","example":7},"entries":{"type":"array","items":{"$ref":"#/components/schemas/RateTableEntryDto"}}},"required":["source","fetched_at","count","entries"]},"ResponseMetaDto":{"type":"object","properties":{"datasetId":{"type":"string","example":"cpi"},"source":{"type":"string","example":"GUS"},"sourceUrl":{"type":"string","example":"https://stat.gov.pl"},"license":{"type":"string","example":"Public GUS data (CC BY 4.0) - attribution required."},"asOf":{"type":"string","nullable":true,"example":"2026-06-05"},"fetchedAt":{"type":"string","example":"2026-06-06T08:00:00.000Z"},"citation":{"type":"string","example":"Source: finwire.pl (GUS), https://public-api.finwire.pl/datasets/cpi"},"docsUrl":{"type":"string","example":"https://public-api.finwire.pl/datasets/cpi"}},"required":["datasetId","source","sourceUrl","license","asOf","fetchedAt","citation","docsUrl"]},"InterestRatesTableResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/InterestRatesTableDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"TimeValuePointDto":{"type":"object","properties":{"date":{"type":"string","example":"2026-06-05"},"value":{"type":"number","example":3.84}},"required":["date","value"]},"RateHistoryDataDto":{"type":"object","properties":{"source":{"type":"string","example":"NBP, GPW Benchmark"},"indicator":{"type":"string","example":"wibor-3m"},"days":{"type":"number","example":365},"count":{"type":"number","example":252},"points":{"type":"array","items":{"$ref":"#/components/schemas/TimeValuePointDto"}}},"required":["source","indicator","days","count","points"]},"RateHistoryResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RateHistoryDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"CpiEntryDto":{"type":"object","properties":{"period":{"type":"string","nullable":true,"example":"2026-04","description":"Period for monthly (YYYY-MM)"},"year":{"type":"number","nullable":true,"example":2025,"description":"Year for yearly"},"yoy":{"type":"number","description":"Year-over-year change (%)","example":3.2},"mom":{"type":"number","nullable":true,"description":"Month-over-month change (%)","example":0.1}},"required":["yoy"]},"CpiDataDto":{"type":"object","properties":{"source":{"type":"string","example":"GUS (stat.gov.pl)"},"count":{"type":"number","example":24},"entries":{"type":"array","items":{"$ref":"#/components/schemas/CpiEntryDto"}}},"required":["source","count","entries"]},"CpiResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CpiDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"FxTableEntryDto":{"type":"object","properties":{"code":{"type":"string","example":"EUR"},"mid":{"type":"number","example":4.25},"bid":{"type":"number","nullable":true,"example":4.21},"ask":{"type":"number","nullable":true,"example":4.29},"change":{"type":"number","example":0.01},"changePct":{"type":"number","example":0.24}},"required":["code","mid","bid","ask","change","changePct"]},"FxTableDataDto":{"type":"object","properties":{"source":{"type":"string","example":"NBP"},"source_type":{"type":"string","example":"NBP Table A (mid) + C (bid/ask)"},"count":{"type":"number","example":4},"entries":{"type":"array","items":{"$ref":"#/components/schemas/FxTableEntryDto"}}},"required":["source","source_type","count","entries"]},"FxTableResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FxTableDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"FxHistoryDataDto":{"type":"object","properties":{"source":{"type":"string","example":"NBP"},"code":{"type":"string","example":"EUR"},"days":{"type":"number","example":365},"count":{"type":"number","example":252},"points":{"type":"array","items":{"$ref":"#/components/schemas/TimeValuePointDto"}}},"required":["source","code","days","count","points"]},"FxHistoryResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/FxHistoryDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"HousingCityDto":{"type":"object","properties":{"slug":{"type":"string","example":"warszawa"},"city":{"type":"string","example":"Warszawa"},"verdict":{"type":"string","example":"wait"}},"required":["slug","city","verdict"]},"HousingListDataDto":{"type":"object","properties":{"generatedAt":{"type":"string","example":"2026-06-06T06:00:00.000Z"},"count":{"type":"number","example":17},"asOf":{"type":"string","example":"Q4 2025"},"cities":{"type":"array","items":{"$ref":"#/components/schemas/HousingCityDto"}}},"required":["generatedAt","count","asOf","cities"]},"HousingListResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/HousingListDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"HousingPricePointDto":{"type":"object","properties":{"kwartal":{"type":"string","example":"Q4 2025"},"market":{"type":"string","example":"wtorny"},"cenaM2":{"type":"number","example":13500}},"required":["kwartal","market","cenaM2"]},"HousingDetailDataDto":{"type":"object","properties":{"slug":{"type":"string","example":"warszawa"},"city":{"type":"string","example":"Warszawa"},"verdict":{"type":"string","example":"wait"},"history":{"description":"Quarterly price history","type":"array","items":{"$ref":"#/components/schemas/HousingPricePointDto"}}},"required":["slug","city","verdict","history"]},"HousingDetailResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/HousingDetailDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"BondEntryDto":{"type":"object","properties":{"code":{"type":"string","example":"EDO0636"},"month":{"type":"string","example":"2026-06"},"first_year_rate":{"type":"number","description":"First-year rate (%)","example":5.35},"margin_over_cpi":{"type":"number","nullable":true,"description":"Margin over CPI (pp)","example":2},"indexation_type":{"type":"string","example":"cpi-linked"}},"required":["code","month","first_year_rate","margin_over_cpi","indexation_type"]},"BondsDataDto":{"type":"object","properties":{"source":{"type":"string","example":"Ministry of Finance"},"scraped_at":{"type":"string","example":"2026-06-01T00:00:00.000Z"},"count":{"type":"number","example":8},"entries":{"type":"array","items":{"$ref":"#/components/schemas/BondEntryDto"}}},"required":["source","scraped_at","count","entries"]},"BondsResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BondsDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"WageBreakpointDto":{"type":"object","properties":{"p":{"type":"number","description":"Percentile","example":90},"value":{"type":"number","example":12500}},"required":["p","value"]},"WageRegionDto":{"type":"object","properties":{"slug":{"type":"string","example":"mazowieckie"},"label":{"type":"string","example":"Mazowieckie"},"avgPln":{"type":"number","example":9488.94}},"required":["slug","label","avgPln"]},"WageRegionAvgDto":{"type":"object","properties":{"nationalAvgPln":{"type":"number","example":8181.72},"source":{"type":"string","example":"GUS, average gross wage by province 2024"},"regions":{"type":"array","items":{"$ref":"#/components/schemas/WageRegionDto"}}},"required":["nationalAvgPln","source","regions"]},"WagesDataDto":{"type":"object","properties":{"period":{"type":"string","example":"2024-10"},"label":{"type":"string","example":"October 2024"},"source":{"type":"string","example":"GUS"},"meanPln":{"type":"number","nullable":true,"example":8500},"medianPln":{"type":"number","example":7200},"breakpoints":{"type":"array","items":{"$ref":"#/components/schemas/WageBreakpointDto"}},"regionAvg":{"$ref":"#/components/schemas/WageRegionAvgDto"}},"required":["period","label","source","meanPln","medianPln","breakpoints","regionAvg"]},"WagesResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/WagesDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"LegalLimitsDataDto":{"type":"object","properties":{"source":{"type":"string","example":"MRPiPS"},"limits":{"type":"object","additionalProperties":{"type":"number"},"description":"Limit values keyed by name (e.g. ikeAnnual, ikzeAnnual)","example":{"ikeAnnual":28260,"ikzeAnnual":11304}}},"required":["source","limits"]},"LegalLimitsResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/LegalLimitsDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"BarometrListItemDto":{"type":"object","properties":{"slug":{"type":"string","example":"oplacalnosc-lokat"},"headline":{"type":"string","example":"Real return on deposits"},"value":{"type":"number","example":-0.55},"delta":{"type":"number","nullable":true,"example":0.1},"trend":{"type":"string","example":"up"}},"required":["slug","headline","value","delta","trend"]},"BarometrListInnerDto":{"type":"object","properties":{"generatedAt":{"type":"string","example":"2026-06-06T06:00:00.000Z"},"count":{"type":"number","example":5},"asOfLatest":{"type":"string","example":"2026-04"},"barometry":{"type":"array","items":{"$ref":"#/components/schemas/BarometrListItemDto"}}},"required":["generatedAt","count","asOfLatest","barometry"]},"CreditStressRefDto":{"type":"object","properties":{"ref":{"type":"string","example":"/v1/index/credit-stress"}},"required":["ref"]},"IndexListDataDto":{"type":"object","properties":{"barometry":{"$ref":"#/components/schemas/BarometrListInnerDto"},"creditStress":{"$ref":"#/components/schemas/CreditStressRefDto"}},"required":["barometry","creditStress"]},"IndexListResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/IndexListDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"StressParamsDto":{"type":"object","properties":{"metrazM2":{"type":"number","example":50},"okresLat":{"type":"number","example":25},"ltvPct":{"type":"number","example":80},"wkladPct":{"type":"number","example":20},"rynek":{"type":"string","example":"wtorny"}},"required":["metrazM2","okresLat","ltvPct","wkladPct","rynek"]},"StressRatesDto":{"type":"object","properties":{"wibor3m":{"type":"number","example":3.85},"marginPp":{"type":"number","example":2},"ratePct":{"type":"number","example":5.85},"wiborAsOf":{"type":"string","example":"2026-06-05"}},"required":["wibor3m","marginPp","ratePct","wiborAsOf"]},"StressSourcesDto":{"type":"object","properties":{"barnQuarter":{"type":"string","example":"Q1 2026"},"gusPeriod":{"type":"string","example":"Q4 2025"}},"required":["barnQuarter","gusPeriod"]},"StressThresholdsDto":{"type":"object","properties":{"dstiBelowPct":{"type":"number","example":40},"dstiAbovePct":{"type":"number","example":50}},"required":["dstiBelowPct","dstiAbovePct"]},"StressExtremeDto":{"type":"object","properties":{"slug":{"type":"string","example":"malopolskie"},"label":{"type":"string","example":"Malopolskie"},"stressPct":{"type":"number","example":64.6}},"required":["slug","label","stressPct"]},"StressNationalDto":{"type":"object","properties":{"avgStressPct":{"type":"number","example":47.2},"medianStressPct":{"type":"number","example":43.8},"mostStressed":{"$ref":"#/components/schemas/StressExtremeDto"},"leastStressed":{"$ref":"#/components/schemas/StressExtremeDto"},"countAboveKnf":{"type":"number","example":6}},"required":["avgStressPct","medianStressPct","mostStressed","leastStressed","countAboveKnf"]},"StressTierDto":{"type":"object","properties":{"id":{"type":"number","example":2},"label":{"type":"string","example":"napiecie"},"fill":{"type":"string","example":"#facc15"},"upTo":{"type":"number","example":50}},"required":["id","label","fill","upTo"]},"StressRegionDto":{"type":"object","properties":{"slug":{"type":"string","example":"malopolskie"},"label":{"type":"string","example":"Malopolskie"},"capitalCity":{"type":"string","example":"Krakow"},"pricePerM2":{"type":"number","example":13500},"cost50m2":{"type":"number","example":675000},"salaryNet":{"type":"number","example":6200},"rata":{"type":"number","example":4005},"stressPct":{"type":"number","example":64.6},"tier":{"type":"number","example":3},"tierLabel":{"type":"string","example":"trudno"},"fill":{"type":"string","example":"#fb923c"},"rank":{"type":"number","example":1}},"required":["slug","label","capitalCity","pricePerM2","cost50m2","salaryNet","rata","stressPct","tier","tierLabel","fill","rank"]},"CreditStressDataDto":{"type":"object","properties":{"generatedAt":{"type":"string","example":"2026-06-06T06:00:00.000Z"},"params":{"$ref":"#/components/schemas/StressParamsDto"},"rates":{"$ref":"#/components/schemas/StressRatesDto"},"sources":{"$ref":"#/components/schemas/StressSourcesDto"},"thresholds":{"$ref":"#/components/schemas/StressThresholdsDto"},"national":{"$ref":"#/components/schemas/StressNationalDto"},"tiers":{"type":"array","items":{"$ref":"#/components/schemas/StressTierDto"}},"regions":{"type":"array","items":{"$ref":"#/components/schemas/StressRegionDto"}}},"required":["generatedAt","params","rates","sources","thresholds","national","tiers","regions"]},"CreditStressResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CreditStressDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"BarometrGaugeDto":{"type":"object","properties":{"band":{"type":"number","example":2},"label":{"type":"string","example":"Deposits below inflation"}},"required":["band","label"]},"BarometrDetailDataDto":{"type":"object","properties":{"slug":{"type":"string","example":"oplacalnosc-lokat"},"headline":{"type":"string","example":"Real return on deposits"},"gauge":{"$ref":"#/components/schemas/BarometrGaugeDto"},"series":{"description":"Historical series","type":"array","items":{"$ref":"#/components/schemas/TimeValuePointDto"}},"methodology":{"type":"string","example":"Methodology..."}},"required":["slug","headline","gauge","series","methodology"]},"IndexDetailResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BarometrDetailDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"DepositModelDto":{"type":"object","properties":{"amount":{"type":"number","example":10000},"period":{"type":"number","example":3},"currency":{"type":"string","example":"PLN"}},"required":["amount","period","currency"]},"NumericAggregateDto":{"type":"object","properties":{"count":{"type":"number","example":12},"min":{"type":"number","example":2},"p25":{"type":"number","description":"25th percentile","example":3},"median":{"type":"number","description":"Median (50th percentile)","example":3.45},"p75":{"type":"number","description":"75th percentile","example":4.5},"avg":{"type":"number","example":3.67},"max":{"type":"number","example":5.5}},"required":["count","min","p25","median","p75","avg","max"]},"DepositRatesValuesDto":{"type":"object","properties":{"interestRate":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NumericAggregateDto"}]}},"required":["interestRate"]},"DepositRatesDataDto":{"type":"object","properties":{"product":{"type":"string","example":"deposit"},"model":{"$ref":"#/components/schemas/DepositModelDto"},"sampleSize":{"type":"number","example":12},"bankCount":{"type":"number","example":7},"note":{"type":"string"},"rates":{"$ref":"#/components/schemas/DepositRatesValuesDto"}},"required":["product","model","sampleSize","bankCount","note","rates"]},"DepositRatesResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DepositRatesDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"SavingsModelDto":{"type":"object","properties":{"amount":{"type":"number","example":10000}},"required":["amount"]},"SavingsRatesValuesDto":{"type":"object","properties":{"interestRate":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NumericAggregateDto"}]}},"required":["interestRate"]},"SavingsRatesDataDto":{"type":"object","properties":{"product":{"type":"string","example":"savings"},"model":{"$ref":"#/components/schemas/SavingsModelDto"},"sampleSize":{"type":"number","example":9},"bankCount":{"type":"number","example":5},"note":{"type":"string"},"rates":{"$ref":"#/components/schemas/SavingsRatesValuesDto"}},"required":["product","model","sampleSize","bankCount","note","rates"]},"SavingsRatesResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SavingsRatesDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"MortgageModelDto":{"type":"object","properties":{"amount":{"type":"number","example":400000},"period":{"type":"number","example":25},"ltvPct":{"type":"number","example":80}},"required":["amount","period","ltvPct"]},"MortgageRatesValuesDto":{"type":"object","properties":{"rrso":{"nullable":true,"description":"APRC (RRSO)","allOf":[{"$ref":"#/components/schemas/NumericAggregateDto"}]},"margin":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NumericAggregateDto"}]},"nominalRate":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NumericAggregateDto"}]}},"required":["rrso","margin","nominalRate"]},"MortgageRatesDataDto":{"type":"object","properties":{"product":{"type":"string","example":"mortgage"},"model":{"$ref":"#/components/schemas/MortgageModelDto"},"sampleSize":{"type":"number","example":9},"bankCount":{"type":"number","example":4},"note":{"type":"string"},"rates":{"$ref":"#/components/schemas/MortgageRatesValuesDto"}},"required":["product","model","sampleSize","bankCount","note","rates"]},"MortgageRatesResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/MortgageRatesDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"CashLoanModelDto":{"type":"object","properties":{"amount":{"type":"number","example":20000},"period":{"type":"number","example":48}},"required":["amount","period"]},"CashLoanRatesValuesDto":{"type":"object","properties":{"rrso":{"nullable":true,"description":"APRC (RRSO)","allOf":[{"$ref":"#/components/schemas/NumericAggregateDto"}]},"nominalRate":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/NumericAggregateDto"}]}},"required":["rrso","nominalRate"]},"CashLoanRatesDataDto":{"type":"object","properties":{"product":{"type":"string","example":"cash_loan"},"model":{"$ref":"#/components/schemas/CashLoanModelDto"},"sampleSize":{"type":"number","example":11},"bankCount":{"type":"number","example":6},"note":{"type":"string"},"rates":{"$ref":"#/components/schemas/CashLoanRatesValuesDto"}},"required":["product","model","sampleSize","bankCount","note","rates"]},"CashLoanRatesResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CashLoanRatesDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]},"SnapshotDataDto":{"type":"object","properties":{"interestRates":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/InterestRatesTableDataDto"}]},"inflation":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CpiDataDto"}]},"currencies":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/FxTableDataDto"}]},"creditStress":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/CreditStressDataDto"}]},"barometry":{"nullable":true,"allOf":[{"$ref":"#/components/schemas/BarometrListInnerDto"}]}},"required":["interestRates","inflation","currencies","creditStress","barometry"]},"SnapshotResponseDto":{"type":"object","properties":{"data":{"$ref":"#/components/schemas/SnapshotDataDto"},"meta":{"$ref":"#/components/schemas/ResponseMetaDto"}},"required":["data","meta"]}}}}