Skip to content

Documentation / @sw-file-lib/xml / xml-schema / SchemaSerializeIssue

Interface: SchemaSerializeIssue ​

ts
interface SchemaSerializeIssue {
  path: SchemaPath;
  message: string;
  expected?: string;
  schema?: string;
  value?: unknown;
  errors?: readonly SchemaSerializeError[];
}

Defined in: packages/xml/src/xml-schema/errors.ts:117

Properties ​

PropertyTypeDescription

path

SchemaPath

The path to the value that could not be serialized.

message

string

Human-readable description of the serialization failure.

expected?

string

The expected value shape or type.

schema?

string

The schema that detected the failure.

value?

unknown

The original value that caused the issue.

errors?

readonly SchemaSerializeError[]

Nested serialization errors, used for union schemas.