Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-sb-devops
Commits
ad7cc66b
Unverified
Commit
ad7cc66b
authored
2 years ago
by
Prasath Sivasubramaniyan
Committed by
GitHub
2 years ago
Browse files
Options
Download
Patches
Plain Diff
Add files via upload
parent
fd3d35ea
upstream/release-5.1.0-vdn
login-changes
loginRegisterBtn
release-5.1.0
release-5.1.0-api
release-5.1.0-apiuat
release-5.1.0-bulk-enrol-unenrol
release-5.1.0-uatLatest
release-5.1.0-uatapi
release-5.1.0-upsmf-prod
release-uat-nginx
revert-5-login-changes
1 merge request
!16
Release 5.1.0 api
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/sunbird-RC/schema/TrainingCertificate.json
+77
-0
utils/sunbird-RC/schema/TrainingCertificate.json
with
77 additions
and
0 deletions
+77
-0
utils/sunbird-RC/schema/TrainingCertificate.json
0 → 100644
+
77
−
0
View file @
ad7cc66b
{
"$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
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets