Skip to content

Commit

Permalink
Added schema for VC's (#13)
Browse files Browse the repository at this point in the history
* Fix[Added certificate schemas]

* Fix[changed name of CasteCertificate.json file]
  • Loading branch information
Dhanashree-Patil95 authored Nov 25, 2024
1 parent c481e33 commit 7cac15f
Show file tree
Hide file tree
Showing 6 changed files with 154 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,32 @@
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"CasteCertificate": {
"@id": "https://tekdi.github.io/files/vc-schemas/ubi/CasteCertificate.json#CasteCertificate"
"CastCertificate": {
"@id": "https://tekdi.github.io/files/vc-schemas/ubi/CastCertificate.json#CastCertificate"
},
"aadharNumber": "schema:Text",
"familyLeaderBhamashahNumber": "schema:Text",
"relationWithApplicant": "schema:Text",
"studentId": "schema:Text",
"schoolId": "schema:Text",
"familyLeaderBhamashahNumber": "schema:Text",
"relationwithApplicant": "schema:Text",
"firstName": "schema:Text",
"middleName": "schema:Text",
"lastName": "schema:Text",
"castName": "schema:Text",
"castCategory": "schema:Text",
"castCategoryNumber": "schema:Text",
"addressLine1": "schema:Text",
"addressLine2": "schema:Text",
"house": "schema:Text",
"landmark": "schema:Text",
"locality": "schema:Text",
"vtc": "schema:Text",
"district": "schema:Text",
"pin": "schema:Text",
"state": "schema:Text",
"country": "schema:Text",
"orgName": "schema:Text",
"orgCode": "schema:Text",
"orgType": "schema:Text",
"orgOfficerName": "schema:Text",
"orgOfficerRank": "schema:Text",
"orgOfficerSign": "schema:Text",
"orgAddressLine1": "schema:Text",
"orgAddressLine2": "schema:Text",
"orgLandmark": "schema:Text",
"orgLocality": "schema:Text",
"orgVtc": "schema:Text",
"orgDistrict": "schema:Text",
"orgPin": "schema:Text",
"orgState": "schema:Text",
"orgCountry": "schema:Text",
"dateOfIssuance": "schema:Date",
"dateofIssuance": "schema:Text",
"certificateNumber": "schema:Text"
}
}
18 changes: 9 additions & 9 deletions static/files/vc-schemas/ubi/EnrollmentCertificate.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,26 @@
"@id": "https://tekdi.github.io/files/vc-schemas/ubi/EnrollmentCertificate.json#EnrollmentCertificate"
},
"studentId": "schema:Text",
"schoolId": "schema:Text",
"firstName": "schema:Text",
"middleName": "schema:Text",
"lastName": "schema:Text",
"gradeLevel": "schema:Text",
"addressLine1": "schema:Text",
"addressLine2": "schema:Text",
"academicYear": "schema:Text",
"class": "schema:Text",
"schoolUniqueCode": "schema:Text",
"schoolAddressLine1": "schema:Text",
"schoolAddressLine2": "schema:Text",
"landmark": "schema:Text",
"locality": "schema:Text",
"district": "schema:Text",
"pin": "schema:Text",
"state": "schema:Text",
"country": "schema:Text",
"schoolYear": "schema:Text",
"studentStatus": "schema:Text",
"schoolName": "schema:Text",
"schoolRegistrationNumber": "schema:Text",
"principalName": "schema:Text",
"authorityName": "schema:Text",
"principalDesignation": "schema:Text",
"dayMonthYear": "schema:Date",
"learnerReferenceNumber": "schema:Text"
"validUpto": "schema:Text",
"issuanceDate": "schema:Text",
"certificateEnrollmentId": "schema:Text"
}
}
41 changes: 41 additions & 0 deletions static/files/vc-schemas/ubi/IncomeCertificate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"IncomeCertificate": {
"@id": "https://tekdi.github.io/files/vc-schemas/ubi/IncomeCertificate.json#IncomeCertificate"
},
"studenId": "schema:Text",
"fatherName": "schema:Text",
"motherName": "schema:Text",
"husbandName": "schema:Text",
"wifeName": "schema:Text",
"addressLine1": "schema:Text",
"vtc": "schema:Text",
"district": "schema:Text",
"pin": "schema:Text",
"state": "schema:Text",
"country": "schema:Text",
"casteName": "schema:Text",
"casteCategory": "schema:Text",
"totalAnnualFamilyIncome": "schema:Text",
"incomeFromAgriculture": "schema:Text",
"incomeFromSalary": "schema:Text",
"incomeFromTradeBusiness": "schema:Text",
"incomeFromOtherSources": "schema:Text",
"orgName": "schema:Text",
"orgType": "schema:Text",
"orgOfficerRank": "schema:Text",
"orgAddressLine1": "schema:Text",
"orgAddressLine2": "schema:Text",
"orgDistrict": "schema:Text",
"orgPin": "schema:Text",
"orgState": "schema:Text",
"orgCountry": "schema:Text",
"issuanceDate": "schema:Text",
"certificateNumber": "schema:Text",
"validUpto": "schema:Text"
}
}
31 changes: 31 additions & 0 deletions static/files/vc-schemas/ubi/JanAadharCertificate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"JanAadharCertificate": {
"@id": "https://tekdi.github.io/files/vc-schemas/ubi/JanAadharCertificate.json#JanAadharCertificate"
},
"studentId": "schema:Text",
"familyIdentificationNumber": "schema:Text",
"firstName": "schema:Text",
"middleName": "schema:Text",
"lastName": "schema:Text",
"gender": "schema:Text",
"dob": "schema:Text",
"personalIdentificationNumber": "schema:Text",
"familyBankAccountNumber": "schema:Text",
"addressLine1": "schema:Text",
"addressLine2": "schema:Text",
"vtc": "schema:Text",
"district": "schema:Text",
"pin": "schema:Text",
"state": "schema:Text",
"country": "schema:Text",
"relationwithFamilyLeader": "schema:Text",
"orgName": "schema:Text",
"orgType": "schema:Text",
"idNumber": "schema:Text"
}
}
28 changes: 28 additions & 0 deletions static/files/vc-schemas/ubi/Marksheet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"Marksheet": {
"@id": "https://tekdi.github.io/files/vc-schemas/ubi/Marksheet.json#Marksheet"
},
"studentId": "schema:Text",
"firstName": "schema:Text",
"middleName": "schema:Text",
"lastName": "schema:Text",
"schoolUniqueCode": "schema:Text",
"schoolName": "schema:Text",
"class": "schema:Text",
"examDate": "schema:Text",
"cgpa": "schema:Text",
"cgpaMax": "schema:Text",
"grade": "schema:Text",
"marksMax": "schema:Text",
"marksTotal": "schema:Text",
"percentage": "schema:Text",
"result": "schema:Text",
"academicYear": "schema:Text",
"issuerName": "schema:Text"
}
}
39 changes: 39 additions & 0 deletions static/files/vc-schemas/ubi/SportsParticipationCertificate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"@context": {
"@version": 1.1,
"@protected": true,
"type": "@type",
"schema": "https://schema.org/",
"SportsParticipationCertificate": {
"@id": "https://tekdi.github.io/files/vc-schemas/ubi/SportsParticipationCertificate.json#SportsParticipationCertificate"
},
"studentId": "schema:Text",
"firstName": "schema:Text",
"middleName": "schema:Text",
"lastName": "schema:Text",
"schoolName": "schema:Text",
"class": "schema:Text",
"addressLine1": "schema:Text",
"vtc": "schema:Text",
"district": "schema:Text",
"pin": "schema:Text",
"state": "schema:Text",
"country": "schema:Text",
"organizingVenue": "schema:Text",
"eventName": "schema:Text",
"eventStartDate": "schema:Text",
"eventEndDate": "schema:Text",
"typeofSport": "schema:Text",
"rank": "schema:Text",
"orgName": "schema:Text",
"orgCode": "schema:Text",
"orgType": "schema:Text",
"orgOfficerName": "schema:Text",
"orgOfficerRank": "schema:Text",
"orgDistrict": "schema:Text",
"orgPin": "schema:Text",
"orgState": "schema:Text",
"orgCountry": "schema:Text",
"certificateNumber": "schema:Text"
}
}

0 comments on commit 7cac15f

Please sign in to comment.