Package web5.sdk.credentials.model
Object PresentationSubmissionValidator
-
- All Implemented Interfaces:
public class PresentationSubmissionValidatorPresentationSubmission Validator.
-
-
Field Summary
Fields Modifier and Type Field Description public final static PresentationSubmissionValidatorINSTANCE
-
Method Summary
Modifier and Type Method Description final Unitvalidate(PresentationSubmission presentationSubmission)Validates a PresentationSubmission. -
-
Method Detail
-
validate
final Unit validate(PresentationSubmission presentationSubmission)
Validates a PresentationSubmission.
This method performs several checks to ensure the integrity of the presentation submission model object:
Ensures that the presentation submission's id is not empty.
Validates that the definitionId is not empty.
Validates descriptorMap is a non-empty list.
Check for unique inputDescriptor ids at top level
Verifies the input descriptor mapping ids are the same on all levels of nesting.
Ensures that the path is valid across all levels of nesting
-
-
-
-