{"openapi":"3.1.0","info":{"title":"Shooster Holdings API","version":"1.0.0","description":"Free public company research and published articles."},"servers":[{"url":"https://shoosterholdings.com"}],"externalDocs":{"url":"https://shoosterholdings.com/developers"},"security":[],"paths":{"/api/portfolio":{"get":{"summary":"List current and previous holdings","operationId":"list_company","responses":{"200":{"description":"Public records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/company"}}}}}}}},"/api/team":{"get":{"summary":"List leadership biographies","operationId":"list_member","responses":{"200":{"description":"Public records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/member"}}}}}}}},"/api/articles":{"get":{"summary":"List published articles","operationId":"list_article","responses":{"200":{"description":"Public records","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/article"}}}}}}}},"/ask":{"post":{"operationId":"ask","summary":"Find public company records","requestBody":{"required":true,"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"query":{"type":"object","properties":{"text":{"type":"string","minLength":1,"maxLength":500}},"required":["text"]},"prefer":{"type":"object","properties":{"streaming":{"type":"boolean"}}}},"required":["query"]}}}},"responses":{"200":{"description":"NLWeb search results or a stream of start, result and complete events.","content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"_meta":{"type":"object","properties":{"response_type":{"type":"string","const":"answer"},"version":{"type":"string","const":"0.55"}},"required":["response_type","version"],"additionalProperties":false},"results":{"type":"array","items":{"type":"object","properties":{"@type":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"url":{"type":"string"}},"required":["@type","name","description","url"],"additionalProperties":false}}},"required":["_meta","results"],"additionalProperties":false}},"text/event-stream":{"schema":{"type":"string"}}}},"400":{"description":"Invalid question or JSON"},"413":{"description":"Request exceeds 12 KB"},"429":{"description":"Too many requests"},"503":{"description":"Company records temporarily unavailable"}}}}},"components":{"schemas":{"company":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"sortOrder":{"type":"number"},"name":{"type":"string"},"url":{"type":"string"},"logo":{"type":"string"},"logoAlt":{"type":"string"},"description":{"type":"string"},"status":{"type":"string","enum":["current","previous"]}},"required":["id","createdAt","updatedAt","sortOrder","name","url","logo","logoAlt","description","status"],"additionalProperties":false},"member":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"sortOrder":{"type":"number"},"name":{"type":"string"},"title":{"type":"string"},"photo":{"type":"string"},"bio":{"type":"string"}},"required":["id","createdAt","updatedAt","sortOrder","name","title","photo","bio"],"additionalProperties":false},"article":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"slug":{"type":"string"},"excerpt":{"type":"string"},"categories":{"type":"array","items":{"type":"string"}},"tags":{"type":"array","items":{"type":"string"}},"publishedAt":{"type":["string","null"]},"updatedAt":{"type":"string"},"createdAt":{"type":"string"},"content":{"type":"string"},"featuredImage":{"type":"string"},"status":{"type":"string","const":"published"},"author":{"type":"string"}},"required":["id","title","slug","excerpt","categories","tags","publishedAt","updatedAt","createdAt","content","featuredImage","status","author"],"additionalProperties":false}}}}