generate-terriajs-schema

JSON →
library 1.5.0 ·javascript
verified Jun 7, 2026

CLI tool that scans TerriaJS source code to generate JSON Schema files for catalog init files. It parses JSDoc-style tags (@type, @editortype, @editorformat, etc.) to produce schemas used by DataSourceEditor for automatic form generation and catalog validation. Current version 1.5.0, released on npm. Key differentiator: schema generation is driven directly from TypeScript source annotations, ensuring schema stays in sync with code. Alternative to manual schema authoring. Low release cadence.