@c15t/schema: Consent API Schemas and Types
Valibot schemas and TypeScript types for the c15t consent API. The c15t backend, frontends, and Node.js SDK share them, so requests and responses match on both sides.
c15t is used by 2,100+ sites, including expo.dev, zed.dev, unkey.dev, mintlify.com, and sazabi.com.
Key Features
- Valibot schemas for consent API requests and responses
- TypeScript types inferred from the same schemas
- No framework dependencies
Installation
Most apps get this package through c15t, @c15t/backend, or @c15t/node-sdk. Install it directly to validate consent API payloads in your own code:
pnpm add @c15t/schema
Documentation
See the documentation for guides, API reference, and examples.
Support
- Join our Discord community
- Open an issue on our GitHub repository
- Visit inth.com and use the chat widget
- Contact our support team via email [email protected]
Contributing
- Read the contribution guidelines before you open a pull request
- Follow the code of conduct
Security
Do not open a public issue for a security vulnerability. Report it privately through GitHub's vulnerability reporting. We examine every valid report.
- Do not share the vulnerability in public forums, issues, or pull requests
- Give the steps to reproduce it and the versions it affects
- Give us time to release a fix before you disclose it
License
Built by Inth