Example Open Badges with VC Assertion

{

"@context": [
  "https://www.w3.org/2018/credentials/v1",
  "https://w3id.org/openbadges/v3" 
  ],
  "type": [
    "VerifiableCredential",
    "Open Badge"
  ],
  "id": "https://website-that-supports-or-displays-the-badge.html",
  "issuer": {
    //URI - DID used as example. 
    "id": "did:example:issuer", 
    "name": "An Example Badge Issuer",
    "image": "https://example.org/logo.png",
    "url": "https://example.org",
    "email": "contact@example.org"
  },
  "issuanceDate": "2010-01-01T19:23:24Z",
  "credentialSubject": {
    //Recipient ID - DID used as example. 
    "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", 
    "schema:hasCredential": {
      "id": "https://example.org/achievements/123",
      "type": "BadgeClass",
      "achievementType": "Badge",
      "name": "Awesome Robotics Badge",
      "description": "For doing awesome things with robots that people think is pretty great.",
      "image": "https://example.org/robotics-badge.png",
      "creator": "did:example:issuer",
      "criteria": "https://example.org/robotics-badge.html",
      "tags": ["robots", "awesome"],
      "alignment": [
        { "targetName": "CCSS.ELA-Literacy.RST.11-12.3",
          "targetUrl": "http://www.corestandards.org/ELA-Literacy/RST/11-12/3",
          "targetDescription": "Follow precisely a complex multistep procedure when carrying out experiments, taking measurements, or performing technical tasks; analyze the specific results based on explanations in the text.",
          "targetCode": "CCSS.ELA-Literacy.RST.11-12.3"
        },
      ],
    },
    "evidence": {
        "id": "https://example.org/beths-robot-work.html",
        "name": "My Robot",
        "description": "A webpage with a photo and a description of the robot the student built for this project.",
        "narrative": "The student worked very hard to assemble and present a robot. She documented the process with photography and text.",
        "genre": "ePortfolio"
    },
  }, 
  "proof": { // where the cryptographic verification instructions go
    "type": "RsaSignature2018",
    "created": "2017-06-18T21:19:10Z",
    "proofPurpose": "assertionMethod",
    "verificationMethod": "did:example:issuer#keys/1",
    "jws": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5X
      sITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUc
      X16dUEMGlv50aqzpqh4Qktb3rk-BuQy72IFLOqV0G_zS245-kronKb78cPN25DGlcTwLtj
      PAYuNzVBAh4vGHSrQyHUdBBPM"
  }
}
Select a repo