# Templates

> Text to copy into your own code: one JSON Schema for brand context from any endpoint, a system prompt that takes it, and adapters from each vendor's response.

Each endpoint uses different names for the same things. Code that calls more than one endpoint needs a shape of its own. These templates give you one shape and the code around it:

- a schema for brand context that each of the eight responses can fill
- adapters that fill the schema
- a system prompt that reads it

Copy them. There is nothing to install.

- [A brand context JSON Schema](https://brandcontextapi.com/templates/brand-context-json-schema): A JSON Schema for brand context from any vendor: name, voice, positioning, colors with roles, type, logos, rules, files, and where and when it was read.
- [A system prompt that takes brand context](https://brandcontextapi.com/templates/system-prompt): A system prompt template for brand context, with sections for the brand, voice, look, rules and files, filled in from two real Linear responses.
- [Adapters from each response to the schema](https://brandcontextapi.com/templates/adapters): TypeScript functions that map each brand context endpoint's response onto one BrandContext shape: Brandfetch, Context.dev, Firecrawl, Logo.dev and Rainbrand.

---

Source: https://brandcontextapi.com/templates
Last updated: 2026-11-11
Published by The Brand Object. The Brand Object is run by Rainbrand, which makes two of the endpoints described here. Their pages follow the same rules as the others.
