eclipse-tractusx / ssi-authority-schema-registry

SSI Authority & Schema Registry
Apache License 2.0
1 stars 5 forks source link

Enhance Schema Validation to Operate Without Mandatory Credential Type Selection #34

Open jjeroch opened 2 months ago

jjeroch commented 2 months ago

Summary: The current implementation of schema validation requires users to select a credential type before proceeding with the validation process. This enhancement aims to modify the validation functionality to make the credential type selection optional, allowing for schema validation to occur even when a credential type is not explicitly selected by the user.

image

Background: Currently, the system mandatorily requests the user to select a specific credential type for schema validation. This may limit the flexibility and usability of the system.

Goal: To improve user experience and system flexibility by enabling schema validation to be performed without the need for predefined credential type selection. It should be up to the user to decide if a filter is getting selected or not.

Acceptance Criteria:

  1. Users can submit a schema for validation without selecting a credential type.
  2. The system performs validation against the submitted schema alone.
  3. If a credential type is selected, the system includes it in the validation process as currently implemented.
  4. The system's performance and accuracy should not be negatively impacted by this change.
  5. Appropriate error messages or warnings should be displayed if any issues arise from not selecting a credential type, where applicable.
  6. The system's documentation is updated to reflect the new behavior.