-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7fc2032
commit c115c8d
Showing
11 changed files
with
211 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 68 additions & 0 deletions
68
src/assets/schemas/certificate-issuance/SkillCertificate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"type": "object", | ||
"properties": { | ||
"SkillCertificate": { | ||
"$ref": "#/definitions/SkillCertificate" | ||
} | ||
}, | ||
"required": [ | ||
"SkillCertificate" | ||
], | ||
"title": "SkillCertificate", | ||
"definitions": { | ||
"SkillCertificate": { | ||
"$id": "#/properties/SkillCertificate", | ||
"type": "object", | ||
"title": "The SkillCertificate Schema", | ||
"required": [ | ||
"name", | ||
"contact" | ||
], | ||
"properties": { | ||
"name": { | ||
"type": "string" | ||
}, | ||
"trainingTitle": { | ||
"type": "string" | ||
}, | ||
"contact": { | ||
"type": "string" | ||
}, | ||
"date": { | ||
"type": "string", | ||
"format": "date" | ||
}, | ||
"note": { | ||
"type": "string" | ||
}, | ||
"skills": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"skill": { | ||
"type": "string" | ||
}, | ||
"certifiedOn": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"_osConfig": { | ||
"uniqueIndexFields": [ | ||
"contact" | ||
], | ||
"ownershipAttributes": [], | ||
"roles": [], | ||
"inviteRoles": [ | ||
"anonymous" | ||
], | ||
"enableLogin": false, | ||
"credentialTemplate": "https://gist.githubusercontent.com/tejash-jl/550aa1365c37e09065f1f134c936530d/raw/54f10668f8cad3953d9b09c09212d4ec4434ae7f/SkillExternalCredentialTemplate.json" | ||
} | ||
} |
69 changes: 69 additions & 0 deletions
69
src/assets/schemas/certificate-issuance/TrainingCertificate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"$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": [], | ||
"roles": [], | ||
"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" | ||
} | ||
} | ||
} |
Submodule certificate-issuance
deleted from
1ec925
This file was deleted.
Oops, something went wrong.