Automatic validation
The validation is available during development and production and does not require any configuration from you:- CLI: Dry Run validation errors are logged and will halt execution when using 
--validationcommand option - Production: Validation errors are logged but do not halt execution
 
Available schema files
When you use Nango CLI, it automatically generates two schema files in the.nango folder:
schema.tsa TypeScript file that contains all your modelsschema.jsona JSON Schema file that is used for automatic data validation
Validating integration outputs in your app
Using zod
You can use zod to validate the data you receive and send to integrations.Using schema.json in your codebase
JSON Schema is supported in most of the main software languages. Here is a non-exhaustive list of how you can directly use this file to validate the records you receive from Nango.
- Typescript
 - Golang
 - Rust
 - Python
 
Custom validation
For more advanced use cases, you can generate your own validation schemas using the available files with the tool of your choice.- Golang
 - Rust
 
You can use the 
go-jsonschema golang package. This tool converts JSON Schema definitions into Golang structs. Note that some syntax is not supported by this package.