validate
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
Throws
if the PresentationDefinitionV2 is not valid.