Try   HackMD

Open Badges 3.0 - Simple Example: Issuer DID, Recipient DID, Embedded Badge Class

{
"@context": [
  "https://www.w3.org/2018/credentials/v1",
  "https://schema.org/docs/jsonldcontext.json",
  "https://w3id.org/openbadges/v2"
  ],
  "type": [
    "VerifiableCredential",
    "schema",
    "OpenBadge"
  ],
  "issuer": {
    "id": "did:example:issuer",
    "name": "An Example Badge Issuer",
    "image": "https://example.org/logo.png",
    "url": "https://example.org",
    "email": "issuer@example.org"
  },
  "issuanceDate": "2010-01-01T19:23:24Z",
  "credentialSubject": {
    "id": "did:example:recipient",
    "schema:hasCredential": {
      "badge": {
      "name": "Robotics Badge",
      "image": "data:image/png;base64,...",
      "description": "Awarded to people who have built a robot",
      "criteria": {
        "narrative": "Build a Robot and post a picture of it"
        }
      }
    }
  },
  "proof": {
    "type": "PROOF-Type",
    "created": "DATE OF SIGNING",
    "proofPurpose": "assertionMethod",
    "verificationMethod": "ISSUER-SIGNING-KEY-DID-LINK",
    "jws": "SIGNATURE"
  }
}