Learn how to use the is JSON test
tests.json
[ { "name": "Outputs have valid JSON", "description": "Asserts that the output column for all rows contains valid JSON", "type": "integrity", "subtype": "isJson", "thresholds": [ { "insightName": "isJson", "insightParameters": [ { "name": "column_name", "value": "output" } // Selects the column `output` ], "measurement": "isJsonRowPercentage", "operator": ">=", "value": 1.0 } ], "subpopulationFilters": null, "mode": "development", "usesValidationDataset": true, // Apply test to the validation set "usesTrainingDataset": false, "usesMlModel": false, "syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689" // Some unique id } ]
expect_column_values_to_be_json_parseable
expect_column_values_to_match_json_schema
expect_column_values_to_be_valid_json
Was this page helpful?