w3c / vc-data-model-2.0-test-suite

W3C Verifiable Credentials v2.0 test suite
https://w3c.github.io/vc-data-model-2.0-test-suite/
Other
11 stars 11 forks source link

Check id tests #20

Closed aljones15 closed 1 year ago

aljones15 commented 1 year ago

Checks the following tests:

if present: "The id property MUST express an identifier that others are expected to use when expressing statements about a specific thing identified by that identifier." | ✓ | ✓ | ✓ if present: "The id property MUST NOT have more than one value." | ✓ | ✓ | ✓ if present: "The value of the id property MUST be a URL which MAY be dereferenced." | ❌ | ✓ | ✓ The value of the id property MUST be a single URL.

Some of these tests were failing because the term description was used in them and description is not found in the VC 2.0 context. It also removes the custom context: "https://example.org/cool.json": {},