{"openapi":"3.0.2","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/country/me":{"get":{"summary":"Get Ip Geolocation","operationId":"get_ip_geolocation_country_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/funds":{"get":{"summary":"Get Fund List","operationId":"get_fund_list_funds_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/funds/{fund_id}":{"get":{"summary":"Get Fund Details","operationId":"get_fund_details_funds__fund_id__get","parameters":[{"required":true,"schema":{"title":"Fund Id","type":"integer"},"name":"fund_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/funds/{fund_id}/holdings":{"get":{"summary":"Get Holdings","operationId":"get_holdings_funds__fund_id__holdings_get","parameters":[{"required":true,"schema":{"title":"Fund Id","type":"integer"},"name":"fund_id","in":"path"},{"required":false,"schema":{"title":"Format","pattern":"^(csv|json)","type":"string","default":"json"},"name":"format","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/funds/{fund_id}/holdings-breakdown":{"get":{"summary":"Get Holdings Breakdown","operationId":"get_holdings_breakdown_funds__fund_id__holdings_breakdown_get","parameters":[{"required":true,"schema":{"title":"Fund Id","type":"integer"},"name":"fund_id","in":"path"},{"required":false,"schema":{"title":"Type","pattern":"^(country|industry)","type":"string","default":"country"},"name":"type","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoldingsBreakdownResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/funds/{fund_id}/price-history":{"get":{"summary":"Get Price History","operationId":"get_price_history_funds__fund_id__price_history_get","parameters":[{"required":true,"schema":{"title":"Fund Id","type":"integer"},"name":"fund_id","in":"path"},{"required":false,"schema":{"title":"Period","pattern":"^(quarterly|monthly)","type":"string","default":"quarterly"},"name":"period","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/funds/{fund_id}/distributions":{"get":{"summary":"Get Distributions","operationId":"get_distributions_funds__fund_id__distributions_get","parameters":[{"required":true,"schema":{"title":"Fund Id","type":"integer"},"name":"fund_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/funds/{fund_id}/premdis-graph":{"get":{"summary":"Get Premdis Graph","operationId":"get_premdis_graph_funds__fund_id__premdis_graph_get","parameters":[{"required":true,"schema":{"title":"Fund Id","type":"integer"},"name":"fund_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/funds/{fund_id}/premdis-history":{"get":{"summary":"Get Premdis History","operationId":"get_premdis_history_funds__fund_id__premdis_history_get","parameters":[{"required":true,"schema":{"title":"Fund Id","type":"integer"},"name":"fund_id","in":"path"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"BreakdownItem":{"title":"BreakdownItem","required":["label","value"],"type":"object","properties":{"label":{"title":"Label","type":"string"},"value":{"title":"Value","type":"number"}}},"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"HoldingsBreakdownResponse":{"title":"HoldingsBreakdownResponse","required":["last_updated_at","breakdown"],"type":"object","properties":{"last_updated_at":{"title":"Last Updated At","type":"string","format":"date"},"breakdown":{"title":"Breakdown","type":"array","items":{"$ref":"#/components/schemas/BreakdownItem"}}}},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}}}}}