This PR is for added validation checks for document types with error handling for failing to provide requisite document type details relating to icon, description, extension, and URL for a given document type in an app. Existing tests were updated to account for the validation and new tests were created to ensure proper validation.
This PR will ensure that if a user does not provide valid document type details, the user will receive clear error messages.
Fixes #1770
PR Checklist: