{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/fcsapi/main/json-schema/fcsapi-get-stock-response-schema.json",
  "title": "GetStockResponse",
  "x-generated": "2026-10-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/fcsapi-openapi-generated.yml#/components/schemas/GetStockResponse",
  "type": "object",
  "properties": {
    "status": {
      "type": "boolean"
    },
    "code": {
      "type": "integer"
    },
    "msg": {
      "type": "string"
    },
    "response": {
      "type": "object",
      "properties": {
        "by_type": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "total_symbols": {
                "type": "string"
              },
              "socket_support_yes": {
                "type": "string"
              },
              "socket_support_no": {
                "type": "string"
              },
              "no_of_exchanges": {
                "type": "string"
              }
            }
          }
        },
        "by_exchange": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string"
              },
              "exchange": {
                "type": "string"
              },
              "total_symbols": {
                "type": "string"
              },
              "socket_support_yes": {
                "type": "string"
              },
              "socket_support_no": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "info": {
      "type": "object",
      "properties": {
        "server_time": {
          "type": "string",
          "format": "date-time"
        },
        "credit_count": {
          "type": "integer"
        },
        "process_time": {
          "type": "string"
        }
      }
    }
  }
}