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

adopt first implementor's draft #6

Merged

Conversation

moratori
Copy link
Member

@moratori moratori commented Jun 13, 2024

Purpose

  • Modifications were made to comply with the implementer draft. The main changes are as shown in the figure below.

ID1

Main changes

  • To validate the data structure, a JSON schema was created and Ajv was installed for validation.
  • The metadata structure has been updated to comply with the latest specifications.
  • When responding with metadata, Accept-Language is now interpreted as an option.

@moratori moratori self-assigned this Jun 13, 2024
@moratori moratori marked this pull request as draft June 13, 2024 12:28
@moratori moratori marked this pull request as ready for review June 18, 2024 01:01
@moratori moratori changed the title WIP adopt first implementer's draft adopt first implementer's draft Jun 18, 2024
@moratori moratori changed the title adopt first implementer's draft adopt first implementor's draft Jun 18, 2024
@moratori moratori changed the base branch from main to develop July 16, 2024 11:52
Copy link
Collaborator

@ryosuke-wakaba ryosuke-wakaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are some simple things to check, so please check them.

src/oid4vci/types/validator.ts Show resolved Hide resolved
src/oid4vci/types/validator.ts Show resolved Hide resolved
@moratori
Copy link
Member Author

Upon reconsideration, I feel that the timing of the validation might be inappropriate.
I'll think about whether it's possible to perform the validation at an earlier stage.

@moratori
Copy link
Member Author

In conclusion, I would like to keep the current implementation.
During the _issue process, the processing is performed according to the credential format, making it convenient to perform format-specific validation at that time.

Copy link
Collaborator

@ryosuke-wakaba ryosuke-wakaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

src/oid4vci/types/validator.ts Show resolved Hide resolved
src/oid4vci/types/validator.ts Show resolved Hide resolved
@ryosuke-wakaba ryosuke-wakaba merged commit 733a115 into OWND-Project:develop Jul 31, 2024
4 checks passed
@moratori moratori deleted the adopt-first-implementors-draft branch November 14, 2024 07:47
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

Successfully merging this pull request may close these issues.

2 participants