{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "FMP Company Profile Schema",
  "description": "Schema for FMP Company Profile endpoint",
  "version": "1.0.0",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "symbol": {
        "type": "string",
        "description": "Stock symbol"
      },
      "price": {
        "type": "number",
        "description": "Current stock price"
      },
      "beta": {
        "type": ["number", "null"],
        "description": "Beta value"
      },
      "volAvg": {
        "type": ["number", "null"],
        "description": "Average volume"
      },
      "mktCap": {
        "type": ["number", "null"],
        "description": "Market capitalization"
      },
      "lastDiv": {
        "type": ["number", "null"],
        "description": "Last dividend"
      },
      "range": {
        "type": "string",
        "description": "Price range"
      },
      "changes": {
        "type": "number",
        "description": "Price change"
      },
      "companyName": {
        "type": "string",
        "description": "Company name"
      },
      "currency": {
        "type": "string",
        "description": "Currency"
      },
      "cik": {
        "type": ["string", "null"],
        "description": "CIK number"
      },
      "isin": {
        "type": ["string", "null"],
        "description": "ISIN"
      },
      "cusip": {
        "type": ["string", "null"],
        "description": "CUSIP"
      },
      "exchange": {
        "type": "string",
        "description": "Stock exchange"
      },
      "exchangeShortName": {
        "type": "string",
        "description": "Exchange short name"
      },
      "industry": {
        "type": ["string", "null"],
        "description": "Industry"
      },
      "website": {
        "type": ["string", "null"],
        "description": "Company website"
      },
      "description": {
        "type": ["string", "null"],
        "description": "Company description"
      },
      "ceo": {
        "type": ["string", "null"],
        "description": "CEO name"
      },
      "sector": {
        "type": ["string", "null"],
        "description": "Sector"
      },
      "country": {
        "type": ["string", "null"],
        "description": "Country"
      },
      "fullTimeEmployees": {
        "type": ["number", "null"],
        "description": "Full-time employees"
      },
      "phone": {
        "type": ["string", "null"],
        "description": "Phone number"
      },
      "address": {
        "type": ["string", "null"],
        "description": "Address"
      },
      "city": {
        "type": ["string", "null"],
        "description": "City"
      },
      "state": {
        "type": ["string", "null"],
        "description": "State"
      },
      "zip": {
        "type": ["string", "null"],
        "description": "ZIP code"
      },
      "dcfDiff": {
        "type": ["number", "null"],
        "description": "DCF difference"
      },
      "dcf": {
        "type": ["number", "null"],
        "description": "DCF value"
      },
      "image": {
        "type": ["string", "null"],
        "description": "Company image URL"
      },
      "ipoDate": {
        "type": ["string", "null"],
        "description": "IPO date"
      },
      "defaultImage": {
        "type": ["boolean", "null"],
        "description": "Default image flag"
      },
      "isEtf": {
        "type": ["boolean", "null"],
        "description": "Is ETF"
      },
      "isActivelyTrading": {
        "type": ["boolean", "null"],
        "description": "Is actively trading"
      },
      "isAdr": {
        "type": ["boolean", "null"],
        "description": "Is ADR"
      },
      "isFund": {
        "type": ["boolean", "null"],
        "description": "Is fund"
      }
    },
    "required": ["symbol", "companyName", "price"]
  }
}
