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

Is the embedded proof validator too strict on proof arrays vs singular object? #11

Open
dbluhm opened this issue Sep 6, 2024 · 0 comments

Comments

@dbluhm
Copy link

dbluhm commented Sep 6, 2024

The VCDM 2.0 specification says the following in the proofs section (emphasis added):

The proof property within a Verifiable Credential is a named graph. If present, its value MUST be either a single object, or an unordered set of objects, expressed using the properties below: ...

https://www.w3.org/TR/vc-data-integrity/#proofs

The schema for proofs requires the proof property to be an array:

...
      "proof" : {
        "type" : "array",
        "items" : {
          "$ref" : "#/$defs/Proof"
        }
      },
...

Should the embedded proof validator permit either a single object in addition to an array of proofs?

@dbluhm dbluhm changed the title Is the embedded proof validator to strict on proof arrays vs singular object? Is the embedded proof validator too strict on proof arrays vs singular object? Sep 6, 2024
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