---
# System prepended metadata

title: 'Sample 2: VC Attribute + OB Payload'

---


  # Sample 2: VC Attribute + OB Payload
  ```json
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://www.w3.org/2018/credentials/examples/v1"
  ],
  "type": "VerifiablePresentation",
  
  "verifiableCredential": [{
    "@context": [
      "https://www.w3.org/2018/credentials/v1",
      "https://www.w3.org/2018/credentials/examples/v1"
    ],
    "id": "http://example.edu/credentials/1872",
    "type": ["VerifiableCredential", "CourseCredential"],
    "issuer": "https://example.edu/issuers/565049",
    "issuanceDate": "2010-01-01T19:73:24Z",
    "credentialSubject": {
    "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
    "course": {
      "type": "Course",
      "learnername": Keith Kowal
      "title": "Advanced JavaScript Concepts"
      "description": "Learners Gain an advanced understanding of the core mechanics of how JavaScript compiles, optimizes, and executes in the browser."
      "completiondate": "2012-04-23T18:25:43.511Z"
      "Grade": "A"
    
  },
  "credentialSchema": {
    "id": "https://example.org/examples/course.zkp",
    "type": "ZkpExampleSchema2018"
  },
    "id": "https://example.edu/public/badges/Z5psrEzgSuq71p5cUd5LWA",
    "type": ["OpenBadge", "CourseCredential"],
    "issuer": "https://example.edu/issuers/565049",
    "issuanceDate": "2010-01-01T19:73:24Z",
    "credentialSubject": {
    "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
    "degree": 
        "id": "https://example.edu/achievements/123",
          "type": "BadgeClass",
          "name": "Advanced JavaScript Concepts",
          "description": "Learners Gain an advanced understanding of the core mechanics of how JavaScript compiles, optimizes, and executes in the browser.",
          "image": "https://example.edu/advancedjavascript.png",
          "assertion": "https://example.edu/assertion/123",
          "issuer": "did:example:issuer"
          "criteria": "https://example.org/robotics-badge.html",
          "tags": ["javascript", "programming"],
          "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"
            },
            { "targetName": "Problem-Solving",
              "targetUrl": "https://learning.mozilla.org/en-US/web-literacy/skills#problem-solving",
              "targetDescription": "Using research, analysis, rapid prototyping, and feedback to formulate a problem and develop, test, and refine the                           solution/plan.",
              "targetFramework": "Mozilla 21st Century Skills"
            }
      ],    
    },
    "proof": {
      "type": "RsaSignature2018",
      "created": "2017-06-18T21:19:10Z",
      "proofPurpose": "assertionMethod",
      "verificationMethod": "https://example.edu/issuers/keys/1",
      "jws": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5X
        sITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUc
        X16dUEMGlv50aqzpqh4Qktb3rk-BuQy72IFLOqV0G_zS245-kronKb78cPN25DGlcTwLtj
        PAYuNzVBAh4vGHSrQyHUdBBPM"
    }
  
  }],
  
  "proof": {
    "type": "RsaSignature2018",
    "created": "2018-09-14T21:19:10Z",
    "proofPurpose": "authentication",
    "verificationMethod": "did:example:ebfeb1f712ebc6f1c276e12ec21#keys-1",
  }
}
```