Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finetune builder implementations, deserialize with function to uphold certain OBv3 rules #2

Open
3 tasks
Oran-Dan opened this issue Dec 9, 2023 · 0 comments

Comments

@Oran-Dan
Copy link
Contributor

Oran-Dan commented Dec 9, 2023

Description

The large json schema reuses structs in several places, often with an intermediary enum: SingleItem,Vec. These enums do not yet have full implementations to keep the building pattern smooth.

Other than that some fields have mandatory entries. Mainly type with the mandatory entries: "VerifiableCredential" and "OpenBadgeCredential". We need to implement a deserialize with function that checks this.

Some structs also need a deserialize with function to check that at least one of the fields, which are all optional in these specific structs, are not empty, as the specs demand.

Motivation

Finetuning this OBv3 for rust library

Resources

https://www.imsglobal.org/spec/ob/v3p0

To-do List

  • Item one
  • Item two
  • Item three
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant