1EdTech / openbadges-specification

Specs related to Open Badges
186 stars 67 forks source link

OB 3.0: How do we circulate endorsements? #338

Closed amiller-ims closed 2 years ago

amiller-ims commented 2 years ago

Endorsements are modeled as a standalone VC with a single claim (a comment) about the subject. This issue is created to capture a discussion about how those endorsements circulate and get from the issuer to the people that need to see them.

amiller-ims commented 2 years ago

Proposal: The GET Assertions response should include Endorsements that are about the Assertions, Achievements, or Profiles in the response. For example, the assertion issuer/host/provider might respond like this:

{
  "type": "VerifiablePresentation",
  "verifiableCredential": [
    {
      "type": ["VerifiableCredential", "AssertionCredential"],
      "id": "assertion1"
    },
    {
      "type": ["VerifiableCredential", "EndorsementCredential"],
      "credentialSubject": {
        "id": "assertion1"
      }
    }
  ]
}

Proposal: A new GET Endorsements endpoint which takes a subject assertion/achievement/profile id parameter and returns endorsements for the subject id.