using System.ComponentModel.DataAnnotations; namespace RobotApp.VDA5050.State; #nullable disable public enum ErrorLevel { NONE, WARNING, FATAL } public class ErrorReferences { [Required] public string ReferenceKey { get; set; } [Required] public string ReferenceValue { get; set; } } public class Error { [Required] public string ErrorType { get; set; } public ErrorReferences[] ErrorReferences { get; set; } public string ErrorDescription { get; set; } public string ErrorHint { get; set; } [Required] public string ErrorLevel { get; set; } }