Unverified Commit ad7cc66b authored by Prasath Sivasubramaniyan's avatar Prasath Sivasubramaniyan Committed by GitHub
Browse files

Add files via upload

Showing with 77 additions and 0 deletions
+77 -0
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"TrainingCertificate": {
"$ref": "#/definitions/TrainingCertificate"
}
},
"required": [
"TrainingCertificate"
],
"title": "TrainingCertificate",
"definitions": {
"TrainingCertificate": {
"$id": "#/properties/TrainingCertificate",
"type": "object",
"title": "The TrainingCertificate Schema",
"required": [
"name",
"contact"
],
"properties": {
"name": {
"type": "string"
},
"trainingTitle": {
"type": "string"
},
"contact": {
"type": "string"
},
"date": {
"type": "string",
"format": "date"
},
"note": {
"type": "string"
}
}
}
},
"_osConfig": {
"uniqueIndexFields": [
"contact"
],
"ownershipAttributes": [
{
"mobile": "/contact",
"userId": "/contact",
"email": "/contact"
}
],
"roles": [
"admin"
],
"inviteRoles": [
"anonymous"
],
"enableLogin": false,
"credentialTemplate": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://gist.githubusercontent.com/dileepbapat/eb932596a70f75016411cc871113a789/raw/498e5af1d94784f114b32c1ab827f951a8a24def/skill"
],
"type": [
"VerifiableCredential"
],
"issuanceDate": "2021-08-27T10:57:57.237Z",
"credentialSubject": {
"type": "Person",
"name": "{{name}}",
"trainedOn": "{{trainingTitle}}"
},
"issuer": "did:web:sunbirdrc.dev/vc/skill"
}
}
}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment