Skip to content

metadata: align microcredential VCTM with WE BUILD rulebook 1.0 - #845

Open
masv3971 wants to merge 2 commits into
mainfrom
masv/vctm/microcredentail_playbook
Open

masv3971 wants to merge 2 commits into
mainfrom
masv/vctm/microcredentail_playbook

Conversation

@masv3971

Copy link
Copy Markdown
Member

Update vctm_microcredential.json to match the WE BUILD Micro-credential Rulebook v1.0 (sections 4.1-4.3, 5.1.1-5.1.3) and the upstream microcredentials-sd-jwt.json schema:

  • vct: https://webuildconsortium.eu/credentials/microcredential/1.0
  • cnf is now mandatory
  • awardingBody is an object (legalName required, legalIdentifier optional)
  • learningOutcomes is an array of {title, description}
  • notionalWorkload replaced by ECTS / volumeOfLearning (mutually exclusive)
  • typeOfAssessment is an array of EU vocabulary URIs
  • drop the section 3.3 optional claims that the 1.0 SD-JWT encoding comments out, keeping learningActivityType, dateOfBirth and mail

Keep pkg/model/testdata/vctm_microcredential.json in sync, update gen_bootstrap to emit the new shapes and regenerate bootstrapping/microcredential.json. Trim the fly demo/dev verifier Micro-credential preset exclude_claims to the claims that still exist.

Update vctm_microcredential.json to match the WE BUILD Micro-credential
Rulebook v1.0 (sections 4.1-4.3, 5.1.1-5.1.3) and the upstream
microcredentials-sd-jwt.json schema:

- vct: https://webuildconsortium.eu/credentials/microcredential/1.0
- cnf is now mandatory
- awardingBody is an object (legalName required, legalIdentifier
  optional)
- learningOutcomes is an array of {title, description}
- notionalWorkload replaced by ECTS / volumeOfLearning (mutually
  exclusive)
- typeOfAssessment is an array of EU vocabulary URIs
- drop the section 3.3 optional claims that the 1.0 SD-JWT encoding
  comments out, keeping learningActivityType, dateOfBirth and mail

Keep pkg/model/testdata/vctm_microcredential.json in sync, update
gen_bootstrap to emit the new shapes and regenerate
bootstrapping/microcredential.json. Trim the fly demo/dev verifier
Micro-credential preset exclude_claims to the claims that still exist.
"learningOutcomes": []string{
"Applies core ethical frameworks to data-driven decision making",
"Evaluates bias and fairness risks in a dataset",
"issuerCountry": "http://publications.europa.eu/resource/authority/country/SWE",
"typeOfAssessment": "written-examination",
"formOfParticipation": "online",
"ECTS": 3.0,
"typeOfAssessment": []string{"http://data.europa.eu/snb/assessment/6a4db9f11d"},
"formOfParticipation": "online",
"ECTS": 3.0,
"typeOfAssessment": []string{"http://data.europa.eu/snb/assessment/6a4db9f11d"},
"formOfParticipation": "http://data.europa.eu/snb/learning-assessment/920fbb3cbe",
Update vctm_microcredential.json to match the WE BUILD Micro-credential
Rulebook v1.0 (sections 4.1-4.3, 5.1.1-5.1.3) and the upstream
microcredentials-sd-jwt.json schema:

- vct: https://webuildconsortium.eu/credentials/microcredential/1.0
- cnf is now mandatory
- awardingBody is an object (legalName required, legalIdentifier
  optional)
- learningOutcomes is an array of {title, description}
- notionalWorkload replaced by ECTS / volumeOfLearning (mutually
  exclusive)
- typeOfAssessment is an array of EU vocabulary URIs
- drop the section 3.3 optional claims that the 1.0 SD-JWT encoding
  comments out, keeping learningActivityType, dateOfBirth and mail

Keep pkg/model/testdata/vctm_microcredential.json in sync, update
gen_bootstrap to emit the new shapes and regenerate the microcredential
bootstrap data, including the fly dev/demo copies.

fly: the verifier Micro-credential preset now requests an explicit claim
list instead of excluding claims. wallet-backend lists the RP ID in
WALLET_AS_AUDIENCES, which the current go-wallet-backend image requires
while legacy tokens are enabled.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
B Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants