The Open API specification for Synapse is now available for download!

Download Open API Spec

ValidationResults

org.sagebionetworks.repo.model.grid.query.result.ValidationResults

Results of a grid row against a JSON schema

Field Type Description
isValid BOOLEAN Will be 'true' if the row is valid according to the JSON schema. Will be 'false' when the row is invalid.
validationErrorMessage STRING If the object is not valid according to the schema, a simple one line error message will be provided.
allValidationMessages ARRAY<STRING> If the object is not valid according to the schema, a the flat list of error messages will be provided with one error message per sub-schema. Included only if includeValidationMessages was set to true in the query. Otherwise, this array is omitted to optimize performance.