SL JSON Validator
On this page
Overview
The JSON Validator Snap is a Transform type Snap that validates incoming JSON data against a specified JSON Schema. It validates structural, type, and value constraints defined in the schema to prevent content-level errors and improve data quality in SnapLogic pipelines
Snap Type
Transform
Prerequisites
None.
Limitations and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
|---|---|---|---|---|
Input | Binary / Document
|
|
| Each input document contains data in the JSON format. |
Output | Document |
|
| Each document contains a corresponding response in the JSON format. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter when running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab:
Learn more about Error handling in Pipelines. | |||
Snap Settings
Parameter Name | Description | Default Value | Example |
|---|---|---|---|
Label* | The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. | JSON Validator | JSON Validator |
JSON Schema* | The JSON Schema file used as the basis for validating JSON Data. Use the file browser to select or upload a schema | N/A |
|
JSON Data Note:
| The actual JSON to be validated against the provided schema. This can be the content of incoming documents or a field mapped inside the root incoming document This setting will be enabled when Input view with type Document is enabled. | $ |
|
Behaviour
The Snap loads the selected JSON Schema and validates each incoming JSON document against it.
Documents matching the schema are forwarded to output; mismatches trigger explicit error messages and do not pass downstream.
Standard schema features such as type validation, required fields, and value constraints are supported.
Typical Use Cases
Enforcing schema compliance in data ingestion pipelines.
Preventing invalid or unexpected JSON payloads from propagating in integrations.
Validating API request/response bodies for conformance to published contracts
Snap Pack History
Release | Snap Pack Version | Date | Type | Updates |
September 2025 | main364 | Sep 17, 2025 | Stable | Updated and certified against the current SnapLogic Platform release. |
October 2025 | main369 | Oct 17, 2025 | Stable | Updated and certified against the current SnapLogic Platform release. |
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2025 SnapLogic, Inc.