Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

VCWallet - Data Model Validation #3260

Open
sudeshrshetty opened this issue Jun 10, 2022 · 0 comments
Open

VCWallet - Data Model Validation #3260

sudeshrshetty opened this issue Jun 10, 2022 · 0 comments

Comments

@sudeshrshetty
Copy link
Contributor

Data models to be validated against their JSON LD context before being saved into the wallet content store.

  • Use JSON LD compact mechanism used for validating verifiable credentials. Reference code.
  • Aries Data models like DID Documents are already validated by downstream APIs. For better performance avoid validating those data models.
    • As per current set of data models these require JSON LD context validation.
    • Collection
    • Connection
    • Key
    • Credential
    • Metadata
  • Make JSON LD data model validation feature configurable so that a wallet implementation can choose to disable it over performance concerns or if they have pre-defined/validated data models.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant