Mes.WebApi.Models.V3.Quality.ControlRuleViolation JSON Schema
- Last UpdatedNov 06, 2025
- 1 minute read
| Name | Description | Data Type |
|---|---|---|
| control_rule_violations | The control rule violations. | string |
| error_list | The errors. | string |
When recording sample characteristic results, the result values might be evaluated for control rule violations. Also, the system might return errors for some of the result values. The structure of the returned control rule violations and result value errors are based on the ControlRuleViolation model.
The control_rule_violations property is an array of characteristic name-violation string pairs. For example:
{"Violations" : [{"CharName" : "BagWeight", "Violations" : "[Moving Range Chart]: ID(1): 2 of 3 outside of 2 std. dev.; ID(4): 4 of 5 outside of 1 std. dev."}, {"CharName" : "Volume", "Violations" : "[Moving Range Chart]: ID(1): 2 of 3 outside of 2 std. dev.; [X Bar Chart]: ID(4): 4 of 5 outside of 1 std. dev.”}]}
The error_list property is an array of characteristic name-error string pairs. For example:
{"Errors" : [{"CharName" : "BagQuality", "Error" : "Cannot edit a sample that has a status of MISSED or is Final"}]}