package financialmodelingprep

// Code-generated from the upstream OpenConnector action schemas at the
// pinned baseline. Inputs and outputs keep the upstream property names,
// enums, and optionality exactly; the dialect root is added per the
// registry contract. Decoding happens once at package init.

import "encoding/json"

const catalogSchemasJSON = `{"inputs":{"search_symbols":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"The ticker fragment or company name to search for."},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"The maximum number of results to return."},"exchange":{"type":"string","enum":["AMEX","ASX","EURONEXT","NASDAQ","NYSE","TSX"],"description":"The exchange filter supported by Financial Modeling Prep."}},"additionalProperties":false,"required":["query"],"description":"The input for searching Financial Modeling Prep stock symbols.","$schema":"https://json-schema.org/draft/2020-12/schema"},"search_names":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"The company or security name fragment to search for."},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"The maximum number of results to return."},"exchange":{"type":"string","enum":["AMEX","ASX","EURONEXT","NASDAQ","NYSE","TSX"],"description":"The exchange filter supported by Financial Modeling Prep."}},"additionalProperties":false,"required":["query"],"description":"The input for searching Financial Modeling Prep security names.","$schema":"https://json-schema.org/draft/2020-12/schema"},"search_company_screener":{"type":"object","properties":{"marketCapMoreThan":{"type":"integer","minimum":1,"description":"Only include companies above this market cap."},"marketCapLowerThan":{"type":"integer","minimum":1,"description":"Only include companies below this market cap."},"priceMoreThan":{"type":"number","description":"Only include companies above this share price."},"priceLowerThan":{"type":"number","description":"Only include companies below this share price."},"betaMoreThan":{"type":"number","description":"Only include companies above this beta."},"betaLowerThan":{"type":"number","description":"Only include companies below this beta."},"volumeMoreThan":{"type":"integer","minimum":1,"description":"Only include companies above this volume."},"volumeLowerThan":{"type":"integer","minimum":1,"description":"Only include companies below this volume."},"dividendMoreThan":{"type":"number","description":"Only include companies above this dividend value."},"dividendLowerThan":{"type":"number","description":"Only include companies below this dividend value."},"isEtf":{"type":"boolean","description":"Whether to include only ETFs."},"isFund":{"type":"boolean","description":"Whether to include only funds."},"sector":{"type":"string","minLength":1,"description":"The sector filter."},"industry":{"type":"string","minLength":1,"description":"The industry filter."},"country":{"type":"string","minLength":1,"description":"The country filter."},"exchange":{"type":"string","enum":["AMEX","ASX","EURONEXT","NASDAQ","NYSE","TSX"],"description":"The exchange filter supported by Financial Modeling Prep."},"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"The maximum number of results to return."}},"additionalProperties":false,"description":"The input for searching companies with screener filters.","$schema":"https://json-schema.org/draft/2020-12/schema"},"list_directory":{"type":"object","properties":{"type":{"type":"string","enum":["stocks","financial_symbols","financial_statement_symbols","cik","symbol_changes","etfs","actively_trading","exchanges","sectors","industries","countries"],"description":"The directory list to retrieve."}},"additionalProperties":false,"required":["type"],"description":"The input for listing a Financial Modeling Prep directory.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_quote":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to quote, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving a stock quote.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_quote_short":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to quote, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving a compact stock quote.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_asset_quote":{"type":"object","properties":{"assetType":{"type":"string","enum":["commodity","crypto","forex","index"],"description":"The market data asset family to quote."},"symbol":{"type":"string","minLength":1,"description":"The asset symbol to quote, such as BTCUSD, EURUSD, GCUSD, or ^GSPC."}},"additionalProperties":false,"required":["assetType","symbol"],"description":"The input for retrieving a non-stock market quote.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_historical_prices":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"from":{"type":"string","description":"The inclusive start date in YYYY-MM-DD format.","format":"date"},"to":{"type":"string","description":"The inclusive end date in YYYY-MM-DD format.","format":"date"}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving historical daily prices.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_intraday_prices":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"interval":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour"],"description":"The intraday interval to retrieve."},"from":{"type":"string","description":"The inclusive start date in YYYY-MM-DD format.","format":"date"},"to":{"type":"string","description":"The inclusive end date in YYYY-MM-DD format.","format":"date"}},"additionalProperties":false,"required":["symbol","interval"],"description":"The input for retrieving intraday prices.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_company_profile":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving a company profile.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_company_profile_by_cik":{"type":"object","properties":{"cik":{"type":"string","minLength":1,"description":"The company CIK to query."}},"additionalProperties":false,"required":["cik"],"description":"The input for retrieving a company profile by CIK.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_company_peers":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving company peers.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_company_executives":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving company executives.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_company_notes":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving company notes.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_market_cap":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving market capitalization.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_shares_float":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving shares float data.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_income_statement":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":120,"description":"The maximum number of statement rows to return."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving income statement rows.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_balance_sheet_statement":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":120,"description":"The maximum number of statement rows to return."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving balance sheet statement rows.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_cash_flow_statement":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":120,"description":"The maximum number of statement rows to return."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving cash flow statement rows.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_financial_statement_growth":{"type":"object","properties":{"statementType":{"type":"string","enum":["income","balance_sheet","cash_flow","financial"],"description":"The growth statement family to retrieve."},"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":120,"description":"The maximum number of growth rows to return."}},"additionalProperties":false,"required":["statementType","symbol"],"description":"The input for retrieving financial statement growth rows.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_financial_ratios":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":120,"description":"The maximum number of ratio rows to return."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving financial ratios.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_key_metrics":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":120,"description":"The maximum number of metric rows to return."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving key metrics.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_financial_scores":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving financial scores.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_enterprise_values":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":120,"description":"The maximum number of enterprise value rows to return."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving enterprise values.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_dcf":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving discounted cash flow valuation rows.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_market_movers":{"type":"object","properties":{"type":{"type":"string","enum":["gainers","losers","actives"],"description":"The market mover list to retrieve from Financial Modeling Prep."}},"additionalProperties":false,"required":["type"],"description":"The input for retrieving a market mover list.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_market_performance":{"type":"object","properties":{"type":{"type":"string","enum":["sector_performance","industry_performance","sector_pe","industry_pe"],"description":"The market performance snapshot to retrieve."}},"additionalProperties":false,"required":["type"],"description":"The input for retrieving market performance snapshots.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_news":{"type":"object","properties":{"type":{"type":"string","enum":["general","press_releases","stock","crypto","forex"],"description":"The Financial Modeling Prep news feed to retrieve."},"symbols":{"type":"string","minLength":1,"description":"A comma-separated list of symbols for symbol-specific news."},"page":{"type":"integer","minimum":0,"description":"The zero-based result page to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"The maximum number of news rows to return."}},"additionalProperties":false,"required":["type"],"description":"The input for retrieving Financial Modeling Prep news.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_calendar":{"type":"object","properties":{"type":{"type":"string","enum":["earnings","dividends","splits","ipos","economic"],"description":"The market calendar to retrieve."},"from":{"type":"string","description":"The inclusive start date in YYYY-MM-DD format.","format":"date"},"to":{"type":"string","description":"The inclusive end date in YYYY-MM-DD format.","format":"date"}},"additionalProperties":false,"required":["type"],"description":"The input for retrieving market calendar rows.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_economic_indicators":{"type":"object","properties":{"name":{"type":"string","minLength":1,"description":"The economic indicator name, such as GDP."},"from":{"type":"string","description":"The inclusive start date in YYYY-MM-DD format.","format":"date"},"to":{"type":"string","description":"The inclusive end date in YYYY-MM-DD format.","format":"date"}},"additionalProperties":false,"required":["name"],"description":"The input for retrieving economic indicators.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_analyst_estimates":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"period":{"type":"string","enum":["annual","quarter"],"description":"The financial statement period to retrieve."},"page":{"type":"integer","minimum":0,"description":"The zero-based result page to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":100,"description":"The maximum number of analyst estimate rows to return."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving analyst estimates.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_ratings":{"type":"object","properties":{"type":{"type":"string","enum":["ratings_snapshot","ratings_historical","grades","grades_historical","grades_summary","grades_consensus"],"description":"The ratings or grades endpoint to retrieve."},"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"The maximum number of rating rows to return."}},"additionalProperties":false,"required":["type","symbol"],"description":"The input for retrieving ratings or grades.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_insider_trades":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"reportingCik":{"type":"string","minLength":1,"description":"The reporting owner CIK to query."},"transactionType":{"type":"string","minLength":1,"description":"The insider transaction type to query."},"page":{"type":"integer","minimum":0,"description":"The zero-based result page to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"The maximum number of insider trade rows to return."}},"additionalProperties":false,"description":"The input for retrieving insider trading disclosures.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_congressional_trades":{"type":"object","properties":{"chamber":{"type":"string","enum":["senate","house"],"description":"The congressional trading disclosure chamber to retrieve."},"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"name":{"type":"string","minLength":1,"description":"The representative or senator name to query."},"page":{"type":"integer","minimum":0,"description":"The zero-based result page to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"The maximum number of trading disclosure rows to return."}},"additionalProperties":false,"required":["chamber"],"description":"The input for retrieving congressional trading disclosures.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_sec_filings":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The stock ticker symbol to query, such as AAPL."},"cik":{"type":"string","minLength":1,"description":"The company CIK to query."},"formType":{"type":"string","minLength":1,"description":"The SEC form type to query, such as 10-K."},"from":{"type":"string","description":"The inclusive start date in YYYY-MM-DD format.","format":"date"},"to":{"type":"string","description":"The inclusive end date in YYYY-MM-DD format.","format":"date"},"page":{"type":"integer","minimum":0,"description":"The zero-based result page to retrieve."},"limit":{"type":"integer","minimum":1,"maximum":1000,"description":"The maximum number of filing rows to return."}},"additionalProperties":false,"description":"The input for searching SEC filing rows.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_etf_holdings":{"type":"object","properties":{"symbol":{"type":"string","minLength":1,"description":"The ETF symbol to query, such as SPY."}},"additionalProperties":false,"required":["symbol"],"description":"The input for retrieving ETF holdings.","$schema":"https://json-schema.org/draft/2020-12/schema"},"get_technical_indicator":{"type":"object","properties":{"indicator":{"type":"string","enum":["sma","ema","wma","dema","tema","rsi","standarddeviation","williams","adx"],"description":"The technical indicator endpoint to retrieve from Financial Modeling Prep."},"symbol":{"type":"string","minLength":1,"description":"The symbol to query, such as AAPL."},"periodLength":{"type":"integer","minimum":1,"maximum":500,"description":"The look-back period length for the indicator."},"timeframe":{"type":"string","enum":["1min","5min","15min","30min","1hour","4hour","1day"],"description":"The chart timeframe for the technical indicator calculation."},"from":{"type":"string","description":"The inclusive start date in YYYY-MM-DD format.","format":"date"},"to":{"type":"string","description":"The inclusive end date in YYYY-MM-DD format.","format":"date"}},"additionalProperties":false,"required":["indicator","symbol"],"description":"The input for retrieving technical indicator rows.","$schema":"https://json-schema.org/draft/2020-12/schema"}},"outputs":{"output_0":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"name":{"type":"string","description":"The company or security name."},"currency":{"type":"string","description":"The trading currency."},"stockExchange":{"type":"string","description":"The stock exchange display name."},"exchangeShortName":{"type":"string","description":"The exchange short code."}},"additionalProperties":false,"required":["symbol","name","currency","stockExchange","exchangeShortName"],"description":"A stock search result returned by Financial Modeling Prep."},"description":"The matching stock symbols."}},"additionalProperties":false,"required":["results"],"description":"The stock symbol search response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_1":{"type":"object","properties":{"results":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The matching securities."}},"additionalProperties":false,"required":["results"],"description":"The name search response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_2":{"type":"object","properties":{"companies":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The matching company rows."}},"additionalProperties":false,"required":["companies"],"description":"The company screener response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_3":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The directory rows."}},"additionalProperties":false,"required":["items"],"description":"The directory list response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_4":{"type":"object","properties":{"quote":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"name":{"type":"string","description":"The company or security name."},"price":{"type":"number","description":"The latest price returned by Financial Modeling Prep."},"change":{"type":"number","description":"The latest absolute price change."},"changesPercentage":{"type":"number","description":"The latest price change percentage."},"dayLow":{"type":"number","description":"The lowest price during the current trading day."},"dayHigh":{"type":"number","description":"The highest price during the current trading day."},"yearHigh":{"type":"number","description":"The 52-week high price."},"yearLow":{"type":"number","description":"The 52-week low price."},"marketCap":{"type":"number","description":"The latest market capitalization."},"volume":{"type":"number","description":"The latest trading volume."},"avgVolume":{"type":"number","description":"The average trading volume."},"exchange":{"type":"string","description":"The exchange returned by Financial Modeling Prep."},"open":{"type":"number","description":"The opening price for the current trading day."},"previousClose":{"type":"number","description":"The previous close price."},"timestamp":{"type":"integer","description":"The quote timestamp returned by Financial Modeling Prep."}},"additionalProperties":true,"description":"A normalized stock quote row."}},"additionalProperties":false,"required":["quote"],"description":"The latest quote response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_5":{"type":"object","properties":{"quote":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."}},"additionalProperties":false,"required":["quote"],"description":"The compact stock quote response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_6":{"type":"object","properties":{"quote":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."}},"additionalProperties":false,"required":["quote"],"description":"The asset quote response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_7":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol returned by Financial Modeling Prep."},"historical":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","description":"The trading date in YYYY-MM-DD format."},"open":{"type":"number","description":"The opening price for the trading day."},"high":{"type":"number","description":"The highest price for the trading day."},"low":{"type":"number","description":"The lowest price for the trading day."},"close":{"type":"number","description":"The closing price for the trading day."},"adjClose":{"type":"number","description":"The adjusted closing price for the trading day."},"volume":{"type":"number","description":"The trading volume for the trading day."}},"additionalProperties":false,"required":["date","open","high","low","close","adjClose","volume"],"description":"A historical OHLCV price row."},"description":"The historical daily OHLCV rows."}},"additionalProperties":false,"required":["symbol","historical"],"description":"The historical daily price response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_8":{"type":"object","properties":{"prices":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The intraday OHLCV rows."}},"additionalProperties":false,"required":["prices"],"description":"The intraday price response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_9":{"type":"object","properties":{"profile":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"companyName":{"type":"string","description":"The company name."}},"additionalProperties":true,"description":"A company profile object returned by Financial Modeling Prep."}},"additionalProperties":false,"required":["profile"],"description":"The company profile response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_10":{"type":"object","properties":{"profiles":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"companyName":{"type":"string","description":"The company name."}},"additionalProperties":true,"description":"A company profile object returned by Financial Modeling Prep."},"description":"The company profile rows."}},"additionalProperties":false,"required":["profiles"],"description":"The company profile by CIK response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_11":{"type":"object","properties":{"peers":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The peer rows returned by Financial Modeling Prep."}},"additionalProperties":false,"required":["peers"],"description":"The company peers response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_12":{"type":"object","properties":{"executives":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The executive rows returned by Financial Modeling Prep."}},"additionalProperties":false,"required":["executives"],"description":"The company executives response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_13":{"type":"object","properties":{"notes":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The company note rows returned by Financial Modeling Prep."}},"additionalProperties":false,"required":["notes"],"description":"The company notes response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_14":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The market capitalization rows."}},"additionalProperties":false,"required":["rows"],"description":"The market capitalization response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_15":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The shares float rows."}},"additionalProperties":false,"required":["rows"],"description":"The shares float response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_16":{"type":"object","properties":{"statements":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"date":{"type":"string","description":"The statement date in YYYY-MM-DD format."},"period":{"type":"string","description":"The statement period returned by Financial Modeling Prep."}},"additionalProperties":true,"description":"A financial statement row returned by Financial Modeling Prep."},"description":"The income statement rows."}},"additionalProperties":false,"required":["statements"],"description":"The income statement response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_17":{"type":"object","properties":{"statements":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"date":{"type":"string","description":"The statement date in YYYY-MM-DD format."},"period":{"type":"string","description":"The statement period returned by Financial Modeling Prep."}},"additionalProperties":true,"description":"A financial statement row returned by Financial Modeling Prep."},"description":"The balance sheet statement rows."}},"additionalProperties":false,"required":["statements"],"description":"The balance sheet statement response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_18":{"type":"object","properties":{"statements":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"date":{"type":"string","description":"The statement date in YYYY-MM-DD format."},"period":{"type":"string","description":"The statement period returned by Financial Modeling Prep."}},"additionalProperties":true,"description":"A financial statement row returned by Financial Modeling Prep."},"description":"The cash flow statement rows."}},"additionalProperties":false,"required":["statements"],"description":"The cash flow statement response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_19":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The financial statement growth rows."}},"additionalProperties":false,"required":["rows"],"description":"The financial statement growth response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_20":{"type":"object","properties":{"ratios":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The financial ratio rows."}},"additionalProperties":false,"required":["ratios"],"description":"The financial ratios response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_21":{"type":"object","properties":{"metrics":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The key metric rows."}},"additionalProperties":false,"required":["metrics"],"description":"The key metrics response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_22":{"type":"object","properties":{"scores":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The financial score rows."}},"additionalProperties":false,"required":["scores"],"description":"The financial scores response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_23":{"type":"object","properties":{"values":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The enterprise value rows."}},"additionalProperties":false,"required":["values"],"description":"The enterprise values response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_24":{"type":"object","properties":{"valuations":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The discounted cash flow rows."}},"additionalProperties":false,"required":["valuations"],"description":"The discounted cash flow response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_25":{"type":"object","properties":{"movers":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","description":"The stock ticker symbol."},"name":{"type":"string","description":"The company or security name."},"price":{"type":"number","description":"The latest price returned by Financial Modeling Prep."},"change":{"type":"number","description":"The latest absolute price change."},"changesPercentage":{"type":"number","description":"The latest price change percentage."},"dayLow":{"type":"number","description":"The lowest price during the current trading day."},"dayHigh":{"type":"number","description":"The highest price during the current trading day."},"yearHigh":{"type":"number","description":"The 52-week high price."},"yearLow":{"type":"number","description":"The 52-week low price."},"marketCap":{"type":"number","description":"The latest market capitalization."},"volume":{"type":"number","description":"The latest trading volume."},"avgVolume":{"type":"number","description":"The average trading volume."},"exchange":{"type":"string","description":"The exchange returned by Financial Modeling Prep."},"open":{"type":"number","description":"The opening price for the current trading day."},"previousClose":{"type":"number","description":"The previous close price."},"timestamp":{"type":"integer","description":"The quote timestamp returned by Financial Modeling Prep."}},"additionalProperties":true,"description":"A normalized stock quote row."},"description":"The stock quote rows in the requested market mover list."}},"additionalProperties":false,"required":["movers"],"description":"The market mover response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_26":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The market performance rows."}},"additionalProperties":false,"required":["rows"],"description":"The market performance response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_27":{"type":"object","properties":{"news":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The news rows."}},"additionalProperties":false,"required":["news"],"description":"The news response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_28":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The market calendar rows."}},"additionalProperties":false,"required":["events"],"description":"The market calendar response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_29":{"type":"object","properties":{"indicators":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The economic indicator rows."}},"additionalProperties":false,"required":["indicators"],"description":"The economic indicators response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_30":{"type":"object","properties":{"estimates":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The analyst estimate rows."}},"additionalProperties":false,"required":["estimates"],"description":"The analyst estimates response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_31":{"type":"object","properties":{"ratings":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The rating or grade rows."}},"additionalProperties":false,"required":["ratings"],"description":"The ratings response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_32":{"type":"object","properties":{"trades":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The insider trading disclosure rows."}},"additionalProperties":false,"required":["trades"],"description":"The insider trading response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_33":{"type":"object","properties":{"trades":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The congressional trading disclosure rows."}},"additionalProperties":false,"required":["trades"],"description":"The congressional trading response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_34":{"type":"object","properties":{"filings":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The SEC filing rows."}},"additionalProperties":false,"required":["filings"],"description":"The SEC filing search response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_35":{"type":"object","properties":{"holdings":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The ETF holding rows."}},"additionalProperties":false,"required":["holdings"],"description":"The ETF holdings response.","$schema":"https://json-schema.org/draft/2020-12/schema"},"output_36":{"type":"object","properties":{"values":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true,"description":"A row returned by Financial Modeling Prep."},"description":"The technical indicator rows."}},"additionalProperties":false,"required":["values"],"description":"The technical indicator response.","$schema":"https://json-schema.org/draft/2020-12/schema"}}}`

var (
	inputSchemas  = map[string]map[string]any{}
	outputSchemas = map[string]map[string]any{}
)

func init() {
	var decoded struct {
		Inputs  map[string]map[string]any `json:"inputs"`
		Outputs map[string]map[string]any `json:"outputs"`
	}
	if err := json.Unmarshal([]byte(catalogSchemasJSON), &decoded); err != nil {
		panic("financial-modeling-prep: decode catalog schemas: " + err.Error())
	}
	inputSchemas, outputSchemas = decoded.Inputs, decoded.Outputs
}
