Finding Classes

class ValidationFinding(message: str, path: str = None)

Validation finding information.

message

The unformated finding message.

path

The location within the data path/tree where the validation error occured.

property namespace

Get/Set the namespace name (str) in which the finding was created.

method str

Built-in proper formating of a string containing namespace, path and message information.


class ReferenceFinding(message: str, path: str = None, reference: ReferenceElement = None)

Reference finding information.

message

The unformated finding message.

path

The location within the data path/tree where the validation error occured.

property namespace

Get the namespace str in which the finding was created.

Set the namespace str of the finding.

property reference

Get/Set the ReferenceElement object causing the finding.

method str

Built-in proper formating of a string containing namespace, path and message information.