fix templates

This commit is contained in:
Cayo Puigdefabregas 2024-02-08 10:37:31 +01:00
parent 5a55a6c104
commit 7a2c48248b
2 changed files with 5 additions and 28 deletions

View File

@ -2,25 +2,7 @@
"@context": [ "@context": [
"https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/v1",
"https://idhub.pangea.org/credentials/base/v1", "https://idhub.pangea.org/credentials/base/v1",
{ "https://idhub.pangea.org/credentials/course-credential/v1"
"firstName": "https://idhub.pangea.org/context/#firstName",
"lastName": "https://idhub.pangea.org/context/#lastName",
"personalIdentifier": "https://idhub.pangea.org/context/#personalIdentifier",
"issuedDate": "https://idhub.pangea.org/context/#issuedDate",
"modeOfInstruction": "https://idhub.pangea.org/context/#modeOfInstruction",
"courseDuration": "https://idhub.pangea.org/context/#courseDuration",
"courseDays": "https://idhub.pangea.org/context/#courseDays",
"courseName": "https://idhub.pangea.org/context/#courseName",
"courseDescription": "https://idhub.pangea.org/context/#courseDescription",
"gradingScheme": "https://idhub.pangea.org/context/#gradingScheme",
"scoreAwarded": "https://idhub.pangea.org/context/#scoreAwarded",
"qualificationAwarded": "https://idhub.pangea.org/context/#qualificationAwarded",
"courseLevel": "https://idhub.pangea.org/context/#courseLevel",
"courseFramework": "https://idhub.pangea.org/context/#courseFramework",
"courseCredits": "https://idhub.pangea.org/context/#courseCredits",
"dateOfAssessment": "https://idhub.pangea.org/context/#dateOfAssessment",
"evidenceAssessment": "https://idhub.pangea.org/context/#evidenceAssessment"
}
], ],
"id": "{{ vc_id }}", "id": "{{ vc_id }}",
"type": [ "type": [
@ -59,6 +41,7 @@
"id": "{{ subject_did }}", "id": "{{ subject_did }}",
"firstName": "{{ firstName }}", "firstName": "{{ firstName }}",
"lastName": "{{ lastName }}", "lastName": "{{ lastName }}",
"email": "{{ email }}",
"personalIdentifier": "{{ personalIdentifier }}", "personalIdentifier": "{{ personalIdentifier }}",
"issuedDate": "{{ issuedDate }}", "issuedDate": "{{ issuedDate }}",
"modeOfInstruction": "{{ modeOfInstruction }}", "modeOfInstruction": "{{ modeOfInstruction }}",

View File

@ -2,14 +2,7 @@
"@context": [ "@context": [
"https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/v1",
"https://idhub.pangea.org/credentials/base/v1", "https://idhub.pangea.org/credentials/base/v1",
{ "https://idhub.pangea.org/credentials/e-operator-claim/v1"
"legalName": "https://idhub.pangea.org/context/#legalName",
"accreditedBy": "https://idhub.pangea.org/context/#accreditedBy",
"operatorNumber": "https://idhub.pangea.org/context/#operatorNumber",
"limitJurisdiction": "https://idhub.pangea.org/context/#limitJurisdiction",
"accreditedFor": "https://idhub.pangea.org/context/#accreditedFor",
"role": "https://idhub.pangea.org/context/#role"
}
], ],
"id": "{{ vc_id }}", "id": "{{ vc_id }}",
"type": [ "type": [
@ -59,7 +52,8 @@
"operatorNumber": "{{ operatorNumber }}", "operatorNumber": "{{ operatorNumber }}",
"limitJurisdiction": "{{ limitJurisdiction }}", "limitJurisdiction": "{{ limitJurisdiction }}",
"accreditedFor": "{{ accreditedFor }}", "accreditedFor": "{{ accreditedFor }}",
"role": "{{ role }}" "role": "{{ role }}",
"email": "{{ email }}"
}, },
"credentialSchema": { "credentialSchema": {
"id": "https://idhub.pangea.org/vc_schemas/federation-membership.json", "id": "https://idhub.pangea.org/vc_schemas/federation-membership.json",