Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/app/core/constants/attestation-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,15 @@ export const LEARNING_CREDENTIAL_ATTESTATION: AttestationDefinition = {
{identifier: "achievement_description", attribute: "Achievement Description", selectivelyDisclosable: "never"},
{identifier: "learning_outcomes", attribute: "Learning Outcomes"},
{identifier: "assessment_grade", attribute: "Assessment Grade"},
{identifier: "language_of_classes", attribute: "Language of classes", selectivelyDisclosable: "never"},
{identifier: "learner_identification", attribute: "Learner identification"},
{identifier: "expected_study_time", attribute: "Expected study time"},
{identifier: "level_of_learning_experience", attribute: "Level of learning experience"},
{identifier: "form_of_participation", attribute: "Form of participation"},
{identifier: "types_of_quality_assurance", attribute: "Types of quality assurance"},
{identifier: "prerequisites_to_enroll", attribute: "Prerequisites to enroll"},
{identifier: "evaluator_verification", attribute: "Evaluator verification"},
{identifier: "integration_stackability_options", attribute: "Integration or Stackability options"},
]
}

Expand Down
6 changes: 6 additions & 0 deletions src/app/core/constants/attestations-per-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ function sdJwtVcAttributeClaimQuery(attribute: DataElement, attestationType: Att
return ['nationalities', null];
} else if (attestationType === AttestationType.LEARNING_CREDENTIAL && resolvedAttribute === "learning_outcomes") {
return ["learning_outcomes", null];
} else if (attestationType === AttestationType.LEARNING_CREDENTIAL && resolvedAttribute === "types_of_quality_assurance") {
return ["types_of_quality_assurance", null];
} else if (attestationType === AttestationType.LEARNING_CREDENTIAL && resolvedAttribute === "prerequisites_to_enroll") {
return ["prerequisites_to_enroll", null];
} else if (attestationType === AttestationType.LEARNING_CREDENTIAL && resolvedAttribute === "evaluator_verification") {
return ["evaluator_verification", null];
} else {
return resolvedAttribute.split('.');
}
Expand Down