The original AutoBePrisma application structure that failed validation.
This contains the complete schema definition as it was submitted for validation, including all the elements that caused validation errors. This structure serves as the baseline for error analysis and correction, allowing error-fixing systems to understand the full context of the schema while addressing specific validation issues.
Array of specific validation errors found in the application structure.
Each error provides precise location information (file path, model name, field name) and detailed error descriptions to enable targeted fixes. Errors are ordered by severity and location to facilitate systematic resolution. The array will never be empty when success is false.
Common error categories include:
Validation failure indicator.
Always false for failed validation results. This discriminator property allows TypeScript to properly narrow the union type and indicates that the errors array contains specific validation issues that must be resolved.
Interface representing a failed validation result with detailed error information.
This interface is returned when the AutoBePrisma.IApplication structure contains one or more validation errors. It provides both the original (potentially flawed) application structure and a comprehensive list of specific errors that need to be resolved.
The error information is structured to enable precise error location identification and targeted fixes without affecting unrelated parts of the schema.