VSN-2464 : Additional fixes in tenders related docs ops.
Merge Request Description
Validation: Mandatory Field Presence
Introduces validation to ensure that required fields are not left empty. This prevents incomplete submissions and enforces data consistency across the service.
Validation: UUID Format
Adds checks to confirm that tender UUIDs follow the correct format. This ensures reliable identification and prevents invalid references in document handling.
Validation: File Path Structure
Implements validation for file paths used in document storage. This guarantees that paths conform to expected patterns, reducing errors in retrieval and organization.
Validation: Document Type Consistency
Adds rules to validate that documents are correctly categorized as either original or imported. This distinction ensures proper processing and avoids misclassification.
Validation: Importation Constraints
Introduces checks during document importation to validate file size, type, and contextual dependencies. This prevents invalid or unsupported files from being processed.
Validation: Cross-Reference Integrity
Ensures that imported documents are correctly linked to their associated tenders. This validation maintains relational integrity between tenders and their documentation.
Validation: API Request Compliance
Adds validation to confirm that incoming API requests for document operations contain all required parameters and adhere to expected formats. This reduces processing errors and improves reliability.
Validation: Listing and Retrieval Rules
Implements validation for listing and retrieving tender documents. This ensures that only valid, accessible, and properly linked documents are exposed to the user interface.
Validation: Contextual Processing Delay Handling
Introduces validation logic to manage contextual delays during document importation. This ensures that the system handles asynchronous operations consistently and avoids incomplete states.
Closes VSN-2464