Skip to content

Instantly share code, notes, and snippets.

@tejash-jl
Created December 16, 2022 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tejash-jl/be9a5aca4045c2c0adc3331236c9a444 to your computer and use it in GitHub Desktop.
Save tejash-jl/be9a5aca4045c2c0adc3331236c9a444 to your computer and use it in GitHub Desktop.
[{
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.schema.org",
"https://www.proofoftrainingexperience.org/2021/credentials/v1"
"http://purl.org/dc/terms/",
],
"@id": "uuid1"
"@type": ["VerifiableCredential", "ProofOfTraining"],
"issuer": {
"@id": "urn:govin:gstin:...........|urn:govin:pan:..........",
"@type": "Organisation",
"address": [{
"@type": "PostalAddress"
}]
},
"issued": "2021-10-01T11:00:00Z",
"credentialSubject": {
"@id": "urn:govin:pan:............|urn:govin:aadhaar:..........",
"@type": "Person",
"name": "",
"jobTitle": "",
"trainedBy": {
"@id": "urn:govin:gstin:..........",
"@type": "Organization",
"name": "",
},
"trainedFor": [{
"@id": "uuidRole",
"@type": "OccupationalRole",
"course/degree name": "",
"startDate": "",
"endDate": "",
"occupationalIndustry": "",
"occupationalCategory": "",
}],
"trainedLocation": [{
"address": {
"@type": "PostalAddress"
},
"geoLocation": {
"lat": "",
"long": "",
}
}]
},
"proof": { Base64 encoded JWT }
}, {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://www.schema.org",
"https://www.proofoftraining.org/2021/credentials/v1",
"http://purl.org/dc/terms/",
],
"id": "uuid2",
"type": ["VerifiableCredential", "PrivateProofOfTraining"],
"issuer": {
"@id": "urn:govin:gstin:..........."|"urn:govin:pan:..........",
"@type": "Organisation",
"address": [{
"@type": "PostalAddress"
}]
},
"issued": "2021-10-01T11:00:00Z",
"isPartOf": "uuid1",
"credentialSubject": {
"@id": "urn:govin:pan:............|urn:govin:aadhaar:..........",
"@type": "Person",
"name": "",
"trainingPerformance": {
"rating": {
"@type": "AggregateRating",
"author": Person | Organisation
"ratingCount": "",
"ratingValue": "",
"bestPossibleRating": "",
"worstPossibleRating": ""
}
}
},
"proof": { Base64 encoded JWT }
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment