{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FMP Balance Sheet Statement Schema",
  "description": "Schema for FMP Balance Sheet Statement endpoint",
  "version": "1.0.0",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "date": {
        "type": "string",
        "description": "Statement date"
      },
      "symbol": {
        "type": "string",
        "description": "Stock symbol"
      },
      "reportedCurrency": {
        "type": ["string", "null"],
        "description": "Reported currency"
      },
      "cik": {
        "type": ["string", "null"],
        "description": "CIK number"
      },
      "fillingDate": {
        "type": ["string", "null"],
        "description": "Filing date"
      },
      "acceptedDate": {
        "type": ["string", "null"],
        "description": "Accepted date"
      },
      "calendarYear": {
        "type": ["string", "null"],
        "description": "Calendar year"
      },
      "period": {
        "type": "string",
        "description": "Period (annual or quarter)"
      },
      "cashAndCashEquivalents": {
        "type": ["number", "null"],
        "description": "Cash and cash equivalents"
      },
      "shortTermInvestments": {
        "type": ["number", "null"],
        "description": "Short-term investments"
      },
      "cashAndShortTermInvestments": {
        "type": ["number", "null"],
        "description": "Cash and short-term investments"
      },
      "netReceivables": {
        "type": ["number", "null"],
        "description": "Net receivables"
      },
      "inventory": {
        "type": ["number", "null"],
        "description": "Inventory"
      },
      "otherCurrentAssets": {
        "type": ["number", "null"],
        "description": "Other current assets"
      },
      "totalCurrentAssets": {
        "type": ["number", "null"],
        "description": "Total current assets"
      },
      "propertyPlantEquipmentNet": {
        "type": ["number", "null"],
        "description": "Property, plant and equipment net"
      },
      "goodwill": {
        "type": ["number", "null"],
        "description": "Goodwill"
      },
      "intangibleAssets": {
        "type": ["number", "null"],
        "description": "Intangible assets"
      },
      "goodwillAndIntangibleAssets": {
        "type": ["number", "null"],
        "description": "Goodwill and intangible assets"
      },
      "longTermInvestments": {
        "type": ["number", "null"],
        "description": "Long-term investments"
      },
      "taxAssets": {
        "type": ["number", "null"],
        "description": "Tax assets"
      },
      "otherNonCurrentAssets": {
        "type": ["number", "null"],
        "description": "Other non-current assets"
      },
      "totalNonCurrentAssets": {
        "type": ["number", "null"],
        "description": "Total non-current assets"
      },
      "otherAssets": {
        "type": ["number", "null"],
        "description": "Other assets"
      },
      "totalAssets": {
        "type": ["number", "null"],
        "description": "Total assets"
      },
      "accountPayables": {
        "type": ["number", "null"],
        "description": "Account payables"
      },
      "shortTermDebt": {
        "type": ["number", "null"],
        "description": "Short-term debt"
      },
      "taxPayables": {
        "type": ["number", "null"],
        "description": "Tax payables"
      },
      "deferredRevenue": {
        "type": ["number", "null"],
        "description": "Deferred revenue"
      },
      "otherCurrentLiabilities": {
        "type": ["number", "null"],
        "description": "Other current liabilities"
      },
      "totalCurrentLiabilities": {
        "type": ["number", "null"],
        "description": "Total current liabilities"
      },
      "longTermDebt": {
        "type": ["number", "null"],
        "description": "Long-term debt"
      },
      "deferredRevenueNonCurrent": {
        "type": ["number", "null"],
        "description": "Deferred revenue non-current"
      },
      "deferredTaxLiabilitiesNonCurrent": {
        "type": ["number", "null"],
        "description": "Deferred tax liabilities non-current"
      },
      "otherNonCurrentLiabilities": {
        "type": ["number", "null"],
        "description": "Other non-current liabilities"
      },
      "totalNonCurrentLiabilities": {
        "type": ["number", "null"],
        "description": "Total non-current liabilities"
      },
      "otherLiabilities": {
        "type": ["number", "null"],
        "description": "Other liabilities"
      },
      "capitalLeaseObligations": {
        "type": ["number", "null"],
        "description": "Capital lease obligations"
      },
      "totalLiabilities": {
        "type": ["number", "null"],
        "description": "Total liabilities"
      },
      "preferredStock": {
        "type": ["number", "null"],
        "description": "Preferred stock"
      },
      "commonStock": {
        "type": ["number", "null"],
        "description": "Common stock"
      },
      "retainedEarnings": {
        "type": ["number", "null"],
        "description": "Retained earnings"
      },
      "accumulatedOtherComprehensiveIncomeLoss": {
        "type": ["number", "null"],
        "description": "Accumulated other comprehensive income loss"
      },
      "othertotalStockholdersEquity": {
        "type": ["number", "null"],
        "description": "Other total stockholders equity"
      },
      "totalStockholdersEquity": {
        "type": ["number", "null"],
        "description": "Total stockholders equity"
      },
      "totalEquity": {
        "type": ["number", "null"],
        "description": "Total equity"
      },
      "totalLiabilitiesAndStockholdersEquity": {
        "type": ["number", "null"],
        "description": "Total liabilities and stockholders equity"
      },
      "minorityInterest": {
        "type": ["number", "null"],
        "description": "Minority interest"
      },
      "totalLiabilitiesAndTotalEquity": {
        "type": ["number", "null"],
        "description": "Total liabilities and total equity"
      },
      "totalInvestments": {
        "type": ["number", "null"],
        "description": "Total investments"
      },
      "totalDebt": {
        "type": ["number", "null"],
        "description": "Total debt"
      },
      "netDebt": {
        "type": ["number", "null"],
        "description": "Net debt"
      },
      "link": {
        "type": ["string", "null"],
        "description": "Link to filing"
      },
      "finalLink": {
        "type": ["string", "null"],
        "description": "Final link to filing"
      }
    },
    "required": ["date", "symbol", "period"]
  }
}
