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

Transform v3 schema to a more compatible W3C compliant schema #82

Open
Nebulis opened this issue Apr 5, 2020 · 1 comment
Open

Transform v3 schema to a more compatible W3C compliant schema #82

Nebulis opened this issue Apr 5, 2020 · 1 comment
Labels
enhancement New feature or request w3c

Comments

@Nebulis
Copy link
Contributor

Nebulis commented Apr 5, 2020

Current Behavior

V3 schema and W3C have some differences which forces us to have a function to map an OA document to a W3C valid document.

The problem is that if we release V3 like this, we will have to support both document, which will be harder to handle.

Expected behavior

V3 schema MUST be W3C compatible

Proposal

  • reference is not a mandatory field
  • name is not a mandatory field
  • validFrom is not a mandatory field
  • attachments to be renamed to evidence
  • evidence may have an id
  • identityProof must be in proof object (issuer can be a string, and in that case it may cause trouble)
  • identityProof to be renamed to identity (being in proof property, the name identityProof sounds a bit redundant)
  • issuer can be a string
@Nebulis Nebulis added enhancement New feature or request w3c labels Apr 5, 2020
@gjj
Copy link

gjj commented May 13, 2020

Leaving this here for future reference on having multiple issuers of an OA v3 document: w3c/vc-data-model#741

  ...
  "issuer": {
      "id": "... url to a 'joint partnership' page, or a urn id that's a hash of the participants...",
      "name": "University of A, The Royal College of B",
      "participant": [
         "https://universityA.edu",
         "did:web:royalcollegeofb.edu"
      ]
   }
  ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request w3c
Projects
None yet
Development

No branches or pull requests

2 participants