Export event schemas to JSON format for cross-language client generation.
v9: This function converts BSB EventSchemas to a standardized JSON format
that can be consumed by code generators in other languages (C#, Go, Java, etc.)
similar to how TRPC exports schemas for TypeScript.
The exported JSON includes:
Event names and categories
Input/output schemas in JSON Schema format
Type metadata for cross-language type mapping (int32, uuid, datetime, etc.)
Descriptions for documentation
Client generators use this JSON to produce type-safe, idiomatic code
in their target language.
Export event schemas to JSON format for cross-language client generation.
v9: This function converts BSB EventSchemas to a standardized JSON format that can be consumed by code generators in other languages (C#, Go, Java, etc.) similar to how TRPC exports schemas for TypeScript.
The exported JSON includes:
Client generators use this JSON to produce type-safe, idiomatic code in their target language.