- Moritz Schlichting, [email protected]
- Software Developer @animosolutions
Common use-cases of Self-Sovereign Identity (SSI) implementations involve interacting with Schema
, Credential Definition
and Proof Request
data representations. Reading these is one thing, writing another. Writing a full proof request is relatively cumbersome, repetetive, and error-prone as they are often nested JSON objects or some data structure representation corallary. For general-purpose data there exist such libraries such as faker. Regularly, especially in a development context, a developer simply wants to create a mock or arbitrary proof request for testing purposes. This also implies creating mock schemas and credential definitions.
In order to address the problem at hand one can create a data-generator that:
- Can generate proofs/proof requests filled with 'random' but valid data
- Can generate credentials and credential requests with 'random' but valid data
This can also be extended to be a general-purpose data-generator for Hyperledger Aries that is able produce mock data for any datatype used in interactions.
- How can such generator best be implemented?
- What is the scope of such a generator?
- How would the generator deal with JSON-LD data?
- For instance, should there be a common resource/server to provide such mock data? See also schema.org
- What are the limitations of such generator?
- For instance, providing sensible values and comparators for attributes and predicates