Open-Attestation / open-attestation

Meta framework for providing digital provenance and integrity to documents.
https://openattestation.com
Apache License 2.0
54 stars 18 forks source link

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

Open Nebulis opened 4 years ago

Nebulis commented 4 years ago

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

gjj commented 4 years ago

Leaving this here for future reference on having multiple issuers of an OA v3 document: https://github.com/w3c/vc-data-model/issues/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"
      ]
   }
  ...