eclipse-tractusx / ssi-authority-schema-registry

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

Authority & Schema Registry - Allow the credential schema pull/push #11

Closed jjeroch closed 4 months ago

jjeroch commented 9 months ago

Summary

the new service of authority & schema registry should allow to validate credential schemas. E.g. if a customer gets a credential from an issuer, there need to be the possibility to check if the credential follows the expected schema. To allow this, we need to store the schema per credential (ideally version based to support multiple versions if needed) and provide a validation possibility.

Task



Schema Validation

The automatic schema validation based on the stored schema could work as defined below

image

Acceptance Criterias

jjeroch commented 9 months ago

Credential schemas to be stored (DRAFT version) FrameWorkCredential-Schema.json DismantlerCredential-Schema.json MembershipCredential-Schema.json BusinessPartnerCredential-Schema.json