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

VC 2.0 add integration tests for language and base direction #175

Open
aljones15 opened this issue Mar 15, 2024 · 1 comment
Open

VC 2.0 add integration tests for language and base direction #175

aljones15 opened this issue Mar 15, 2024 · 1 comment
Assignees

Comments

@aljones15
Copy link
Contributor

https://w3c.github.io/vc-data-model/#language-and-base-direction

When the language value object is used in place of a string value, the object MUST contain a @value property whose value is a string, and SHOULD contain a @language property whose value is a string containing a well-formed Language-Tag as defined by [BCP47], and MAY contain a @direction property whose value is a base direction string defined by the @direction attribute in [JSON-LD11]. The language value object MUST NOT include any other keys beyond @value, @language, and @direction.

Add tests to this library to ensure VC properties that support language and base direction work.

@aljones15 aljones15 self-assigned this Mar 15, 2024
@aljones15
Copy link
Contributor Author

aljones15 commented Mar 15, 2024

  • Branch off from the release candidate here: VC 2.0 Release Canidate #148
  • add the tests as a separate PR on the candidate
  • This might require changes in a lower level library such as jsonld-signatures or jsonld

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

2 participants