Object PresentationSubmissionValidator

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Unit validate(PresentationSubmission presentationSubmission) Validates a PresentationSubmission.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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