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

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.