@stripe/extensibility-jsonschema-tools
v1.0.0
Published
Build-time tooling for JSON Schema form specifications
Downloads
404
Maintainers
Keywords
Readme
@stripe/extensibility-jsonschema-tools
Build-time tooling for generating JSON Schema and UI Schema from TypeScript classes annotated with JSDoc constraint tags. Used internally by other packages in the extensibility SDK.
Installation
npm install @stripe/extensibility-jsonschema-toolsRequires typescript ^5.8.0 as a peer dependency.
What it does
- Generates JSON Schema from TypeScript class definitions using FormSpec
- Extracts config schemas from extension class exports
- Provides Stripe-specific schema defaults and stdlib type extensions
- Includes Zod validation schemas for JSON Schema and UI Schema
