The SchemaViolation datatype is used for violations detected against the provided schema.

This datatype is used by the datatype, ParserTestCaseOutputFailures, which leads to more datatypes and ultimately the testParserV2() mutation field.

Table: SchemaViolation

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Mar 25, 2025
errorMessagestringyes Short-TermThe error message for the violation.
fieldNamestringyes Short-TermThe name of the field on which the violation was detected.