Open KendallWeihe opened 3 months ago
We should use the JSON schema to enforce existence requirements, so no need to write custom json marshallers/unmarshallers in this work. Wrote a new ticket for JSON Schema validation https://github.com/TBD54566975/web5-go/issues/131
This ticket will take the place of the following
Also relevant as a source of inspiration for this work is this PR https://github.com/TBD54566975/web5-go/pull/104
The source of truth as to what web5 will support is codified in the web5-spec repo, and initially created within this PR.
The requirements are as follows:
Note: the only mixed type I see at this time is the
issuer
in the VC Data Model. As for how we will implement a mixed type here in golang, we do not have a set consensus, but have two separate proposals:dids/didcore/document_test.go
ordids/didcore/examples_test.go
as a reference exampleThis work may prove too unwieldy for a single PR, if so then piece meal PRs are appropriate