@learncard/credential-library 2.0.5 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -1
- package/SOURCES.md +63 -0
- package/dist/credential-library.cjs.development.js +1416 -20
- package/dist/credential-library.cjs.development.js.map +4 -4
- package/dist/credential-library.cjs.production.min.js +3 -3
- package/dist/credential-library.cjs.production.min.js.map +4 -4
- package/dist/credential-library.esm.js +1402 -6
- package/dist/credential-library.esm.js.map +4 -4
- package/dist/fixtures/clr/mixed-role-portfolio.d.ts +3 -0
- package/dist/fixtures/clr/mixed-role-portfolio.d.ts.map +1 -0
- package/dist/fixtures/custom/course-enrollment.d.ts +3 -0
- package/dist/fixtures/custom/course-enrollment.d.ts.map +1 -0
- package/dist/fixtures/custom/exam-accommodation.d.ts +3 -0
- package/dist/fixtures/custom/exam-accommodation.d.ts.map +1 -0
- package/dist/fixtures/index.d.ts +15 -1
- package/dist/fixtures/index.d.ts.map +1 -1
- package/dist/fixtures/obv3/food-allergen-facilitator.d.ts +3 -0
- package/dist/fixtures/obv3/food-allergen-facilitator.d.ts.map +1 -0
- package/dist/fixtures/obv3/food-allergen-practice-fr.d.ts +3 -0
- package/dist/fixtures/obv3/food-allergen-practice-fr.d.ts.map +1 -0
- package/dist/fixtures/obv3/food-allergen-practice.d.ts +3 -0
- package/dist/fixtures/obv3/food-allergen-practice.d.ts.map +1 -0
- package/dist/fixtures/obv3/phishing-transfer.d.ts +3 -0
- package/dist/fixtures/obv3/phishing-transfer.d.ts.map +1 -0
- package/dist/fixtures/obv3/qualification-apprenticeship.d.ts +3 -0
- package/dist/fixtures/obv3/qualification-apprenticeship.d.ts.map +1 -0
- package/dist/fixtures/obv3/qualification-badge-override.d.ts +3 -0
- package/dist/fixtures/obv3/qualification-badge-override.d.ts.map +1 -0
- package/dist/fixtures/obv3/qualification-certification.d.ts +3 -0
- package/dist/fixtures/obv3/qualification-certification.d.ts.map +1 -0
- package/dist/fixtures/obv3/qualification-expired.d.ts +3 -0
- package/dist/fixtures/obv3/qualification-expired.d.ts.map +1 -0
- package/dist/fixtures/obv3/qualification-journeyman.d.ts +3 -0
- package/dist/fixtures/obv3/qualification-journeyman.d.ts.map +1 -0
- package/dist/fixtures/obv3/qualification-license.d.ts +3 -0
- package/dist/fixtures/obv3/qualification-license.d.ts.map +1 -0
- package/dist/fixtures/obv3/qualification-master.d.ts +3 -0
- package/dist/fixtures/obv3/qualification-master.d.ts.map +1 -0
- package/package.json +7 -6
- package/src/__tests__/curated-examples.test.ts +248 -0
- package/src/__tests__/issuance.test.ts +35 -0
- package/src/fixtures/clr/mixed-role-portfolio.ts +490 -0
- package/src/fixtures/custom/course-enrollment.ts +56 -0
- package/src/fixtures/custom/exam-accommodation.ts +56 -0
- package/src/fixtures/index.ts +46 -0
- package/src/fixtures/obv3/food-allergen-facilitator.ts +108 -0
- package/src/fixtures/obv3/food-allergen-practice-fr.ts +107 -0
- package/src/fixtures/obv3/food-allergen-practice.ts +105 -0
- package/src/fixtures/obv3/phishing-transfer.ts +163 -0
- package/src/fixtures/obv3/qualification-apprenticeship.ts +58 -0
- package/src/fixtures/obv3/qualification-badge-override.ts +64 -0
- package/src/fixtures/obv3/qualification-certification.ts +59 -0
- package/src/fixtures/obv3/qualification-expired.ts +59 -0
- package/src/fixtures/obv3/qualification-journeyman.ts +58 -0
- package/src/fixtures/obv3/qualification-license.ts +58 -0
- package/src/fixtures/obv3/qualification-master.ts +58 -0
|
@@ -44,6 +44,7 @@ __export(index_exports, {
|
|
|
44
44
|
clrMilitaryTrainingRecord: () => clrMilitaryTrainingRecord,
|
|
45
45
|
clrMinimal: () => clrMinimal,
|
|
46
46
|
clrMixedCareerRecord: () => clrMixedCareerRecord,
|
|
47
|
+
clrMixedRolePortfolio: () => clrMixedRolePortfolio,
|
|
47
48
|
clrMultiAchievement: () => clrMultiAchievement,
|
|
48
49
|
clrNdStudentTranscript: () => clrNdStudentTranscript,
|
|
49
50
|
clrProfessionalOrganizationRecord: () => clrProfessionalOrganizationRecord,
|
|
@@ -52,6 +53,8 @@ __export(index_exports, {
|
|
|
52
53
|
clrTrainingProviderRecord: () => clrTrainingProviderRecord,
|
|
53
54
|
clrUniversityTranscript: () => clrUniversityTranscript,
|
|
54
55
|
clrWestbridgeFull: () => clrWestbridgeFull,
|
|
56
|
+
customCourseEnrollment: () => customCourseEnrollment,
|
|
57
|
+
customExamAccommodation: () => customExamAccommodation,
|
|
55
58
|
findFixture: () => findFixture,
|
|
56
59
|
getAllFixtures: () => getAllFixtures,
|
|
57
60
|
getBundle: () => getBundle,
|
|
@@ -70,13 +73,24 @@ __export(index_exports, {
|
|
|
70
73
|
materializeSdJwtVcFixture: () => materializeSdJwtVcFixture,
|
|
71
74
|
obv3CourseCompletion: () => obv3CourseCompletion,
|
|
72
75
|
obv3EndorsementCredential: () => obv3EndorsementCredential,
|
|
76
|
+
obv3FoodAllergenFacilitator: () => obv3FoodAllergenFacilitator,
|
|
77
|
+
obv3FoodAllergenPractice: () => obv3FoodAllergenPractice,
|
|
78
|
+
obv3FoodAllergenPracticeFr: () => obv3FoodAllergenPracticeFr,
|
|
73
79
|
obv3FullBadge: () => obv3FullBadge,
|
|
74
80
|
obv3K12Diploma: () => obv3K12Diploma,
|
|
75
81
|
obv3MicroCredential: () => obv3MicroCredential,
|
|
76
82
|
obv3MinimalBadge: () => obv3MinimalBadge,
|
|
77
83
|
obv3OneedtechFull: () => obv3OneedtechFull,
|
|
84
|
+
obv3PhishingTransfer: () => obv3PhishingTransfer,
|
|
78
85
|
obv3PlugfestJff2: () => obv3PlugfestJff2,
|
|
79
86
|
obv3ProfessionalCert: () => obv3ProfessionalCert,
|
|
87
|
+
obv3QualificationApprenticeship: () => obv3QualificationApprenticeship,
|
|
88
|
+
obv3QualificationBadgeOverride: () => obv3QualificationBadgeOverride,
|
|
89
|
+
obv3QualificationCertification: () => obv3QualificationCertification,
|
|
90
|
+
obv3QualificationExpired: () => obv3QualificationExpired,
|
|
91
|
+
obv3QualificationJourneyman: () => obv3QualificationJourneyman,
|
|
92
|
+
obv3QualificationLicense: () => obv3QualificationLicense,
|
|
93
|
+
obv3QualificationMaster: () => obv3QualificationMaster,
|
|
80
94
|
obv3RubricAlignedBadge: () => obv3RubricAlignedBadge,
|
|
81
95
|
obv3StandaloneFullCourse: () => obv3StandaloneFullCourse,
|
|
82
96
|
obv3StudentAdditionalCredentials: () => obv3StudentAdditionalCredentials,
|
|
@@ -5357,8 +5371,411 @@ var obv3RubricAlignedBadge = {
|
|
|
5357
5371
|
}
|
|
5358
5372
|
};
|
|
5359
5373
|
|
|
5360
|
-
// src/fixtures/
|
|
5374
|
+
// src/fixtures/obv3/qualification-license.ts
|
|
5361
5375
|
var import_types16 = require("@learncard/types");
|
|
5376
|
+
var obv3QualificationLicense = {
|
|
5377
|
+
"id": "obv3/qualification-license",
|
|
5378
|
+
"name": "Professional Electrical License",
|
|
5379
|
+
"description": "LC-2111 License classification and default certificate test.",
|
|
5380
|
+
"spec": "obv3",
|
|
5381
|
+
"profile": "license",
|
|
5382
|
+
"features": ["expiration", "image"],
|
|
5383
|
+
"source": "synthetic",
|
|
5384
|
+
"signed": false,
|
|
5385
|
+
"validity": "valid",
|
|
5386
|
+
validator: import_types16.UnsignedAchievementCredentialValidator,
|
|
5387
|
+
"tags": ["qualifications", "lc-2111", "license"],
|
|
5388
|
+
"credential": {
|
|
5389
|
+
"@context": [
|
|
5390
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
5391
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
5392
|
+
],
|
|
5393
|
+
"id": "urn:uuid:21110000-0000-4000-8000-000000000001",
|
|
5394
|
+
"type": ["VerifiableCredential", "OpenBadgeCredential"],
|
|
5395
|
+
"name": "Professional Electrical License",
|
|
5396
|
+
"description": "Authorizes supervised electrical installation and maintenance.",
|
|
5397
|
+
"image": {
|
|
5398
|
+
id: "https://openmoji.org/data/color/svg/1F50C.svg",
|
|
5399
|
+
type: "Image",
|
|
5400
|
+
caption: "Electrical license illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5401
|
+
},
|
|
5402
|
+
"issuer": {
|
|
5403
|
+
"id": "did:example:qualification-issuer",
|
|
5404
|
+
"type": ["Profile"],
|
|
5405
|
+
"name": "Example Professional Training Academy"
|
|
5406
|
+
},
|
|
5407
|
+
"validFrom": "2023-01-01T00:00:00Z",
|
|
5408
|
+
"validUntil": "2037-01-01T00:00:00Z",
|
|
5409
|
+
"credentialSubject": {
|
|
5410
|
+
"id": "did:example:qualification-holder",
|
|
5411
|
+
"type": ["AchievementSubject"],
|
|
5412
|
+
"achievement": {
|
|
5413
|
+
"id": "https://example.org/qualifications/license",
|
|
5414
|
+
"type": ["Achievement"],
|
|
5415
|
+
"achievementType": "License",
|
|
5416
|
+
"name": "Professional Electrical License",
|
|
5417
|
+
"description": "Authorizes supervised electrical installation and maintenance.",
|
|
5418
|
+
"image": {
|
|
5419
|
+
id: "https://openmoji.org/data/color/svg/1F50C.svg",
|
|
5420
|
+
type: "Image",
|
|
5421
|
+
caption: "Electrical license illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5422
|
+
},
|
|
5423
|
+
"criteria": {
|
|
5424
|
+
"narrative": "Complete the required training and pass the practical assessment."
|
|
5425
|
+
}
|
|
5426
|
+
}
|
|
5427
|
+
}
|
|
5428
|
+
}
|
|
5429
|
+
};
|
|
5430
|
+
|
|
5431
|
+
// src/fixtures/obv3/qualification-certification.ts
|
|
5432
|
+
var import_types17 = require("@learncard/types");
|
|
5433
|
+
var obv3QualificationCertification = {
|
|
5434
|
+
"id": "obv3/qualification-certification",
|
|
5435
|
+
"name": "Project Management Certification",
|
|
5436
|
+
"description": "LC-2111 Certification classification and default certificate test.",
|
|
5437
|
+
"spec": "obv3",
|
|
5438
|
+
"profile": "certificate",
|
|
5439
|
+
"features": ["expiration", "image"],
|
|
5440
|
+
"source": "synthetic",
|
|
5441
|
+
"signed": false,
|
|
5442
|
+
"validity": "valid",
|
|
5443
|
+
validator: import_types17.UnsignedAchievementCredentialValidator,
|
|
5444
|
+
"tags": ["qualifications", "lc-2111", "certification"],
|
|
5445
|
+
"credential": {
|
|
5446
|
+
"@context": [
|
|
5447
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
5448
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
5449
|
+
],
|
|
5450
|
+
"id": "urn:uuid:21110000-0000-4000-8000-000000000002",
|
|
5451
|
+
"type": ["VerifiableCredential", "OpenBadgeCredential"],
|
|
5452
|
+
"name": "Project Management Certification",
|
|
5453
|
+
"description": "Demonstrates competency in planning, delivering, and evaluating projects.",
|
|
5454
|
+
"image": {
|
|
5455
|
+
id: "https://openmoji.org/data/color/svg/1F4CB.svg",
|
|
5456
|
+
type: "Image",
|
|
5457
|
+
caption: "Project management illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5458
|
+
},
|
|
5459
|
+
"issuer": {
|
|
5460
|
+
"id": "did:example:qualification-issuer",
|
|
5461
|
+
"type": ["Profile"],
|
|
5462
|
+
"name": "Example Professional Training Academy"
|
|
5463
|
+
},
|
|
5464
|
+
"validFrom": "2023-01-01T00:00:00Z",
|
|
5465
|
+
"validUntil": "2037-01-01T00:00:00Z",
|
|
5466
|
+
"credentialSubject": {
|
|
5467
|
+
"id": "did:example:qualification-holder",
|
|
5468
|
+
"type": ["AchievementSubject"],
|
|
5469
|
+
"achievement": {
|
|
5470
|
+
"id": "https://example.org/qualifications/certification",
|
|
5471
|
+
"type": ["Achievement"],
|
|
5472
|
+
"achievementType": "Certification",
|
|
5473
|
+
"name": "Project Management Certification",
|
|
5474
|
+
"description": "Demonstrates competency in planning, delivering, and evaluating projects.",
|
|
5475
|
+
"image": {
|
|
5476
|
+
id: "https://openmoji.org/data/color/svg/1F4CB.svg",
|
|
5477
|
+
type: "Image",
|
|
5478
|
+
caption: "Project management illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5479
|
+
},
|
|
5480
|
+
"criteria": {
|
|
5481
|
+
"narrative": "Complete the required training and pass the practical assessment."
|
|
5482
|
+
}
|
|
5483
|
+
}
|
|
5484
|
+
}
|
|
5485
|
+
}
|
|
5486
|
+
};
|
|
5487
|
+
|
|
5488
|
+
// src/fixtures/obv3/qualification-apprenticeship.ts
|
|
5489
|
+
var import_types18 = require("@learncard/types");
|
|
5490
|
+
var obv3QualificationApprenticeship = {
|
|
5491
|
+
"id": "obv3/qualification-apprenticeship",
|
|
5492
|
+
"name": "Electrical Apprenticeship Certificate",
|
|
5493
|
+
"description": "LC-2111 ApprenticeshipCertificate classification and default certificate test.",
|
|
5494
|
+
"spec": "obv3",
|
|
5495
|
+
"profile": "certificate",
|
|
5496
|
+
"features": ["expiration", "image"],
|
|
5497
|
+
"source": "synthetic",
|
|
5498
|
+
"signed": false,
|
|
5499
|
+
"validity": "valid",
|
|
5500
|
+
validator: import_types18.UnsignedAchievementCredentialValidator,
|
|
5501
|
+
"tags": ["qualifications", "lc-2111", "apprenticeship"],
|
|
5502
|
+
"credential": {
|
|
5503
|
+
"@context": [
|
|
5504
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
5505
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
5506
|
+
],
|
|
5507
|
+
"id": "urn:uuid:21110000-0000-4000-8000-000000000003",
|
|
5508
|
+
"type": ["VerifiableCredential", "OpenBadgeCredential"],
|
|
5509
|
+
"name": "Electrical Apprenticeship Certificate",
|
|
5510
|
+
"description": "Recognizes completion of supervised electrical training.",
|
|
5511
|
+
"image": {
|
|
5512
|
+
id: "https://openmoji.org/data/color/svg/1F6E0.svg",
|
|
5513
|
+
type: "Image",
|
|
5514
|
+
caption: "Apprenticeship tools illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5515
|
+
},
|
|
5516
|
+
"issuer": {
|
|
5517
|
+
"id": "did:example:qualification-issuer",
|
|
5518
|
+
"type": ["Profile"],
|
|
5519
|
+
"name": "Example Professional Training Academy"
|
|
5520
|
+
},
|
|
5521
|
+
"validFrom": "2023-01-01T00:00:00Z",
|
|
5522
|
+
"validUntil": "2037-01-01T00:00:00Z",
|
|
5523
|
+
"credentialSubject": {
|
|
5524
|
+
"id": "did:example:qualification-holder",
|
|
5525
|
+
"type": ["AchievementSubject"],
|
|
5526
|
+
"achievement": {
|
|
5527
|
+
"id": "https://example.org/qualifications/apprenticeship",
|
|
5528
|
+
"type": ["Achievement"],
|
|
5529
|
+
"achievementType": "ApprenticeshipCertificate",
|
|
5530
|
+
"name": "Electrical Apprenticeship Certificate",
|
|
5531
|
+
"description": "Recognizes completion of supervised electrical training.",
|
|
5532
|
+
"image": {
|
|
5533
|
+
id: "https://openmoji.org/data/color/svg/1F6E0.svg",
|
|
5534
|
+
type: "Image",
|
|
5535
|
+
caption: "Apprenticeship tools illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5536
|
+
},
|
|
5537
|
+
"criteria": {
|
|
5538
|
+
"narrative": "Complete the required training and pass the practical assessment."
|
|
5539
|
+
}
|
|
5540
|
+
}
|
|
5541
|
+
}
|
|
5542
|
+
}
|
|
5543
|
+
};
|
|
5544
|
+
|
|
5545
|
+
// src/fixtures/obv3/qualification-journeyman.ts
|
|
5546
|
+
var import_types19 = require("@learncard/types");
|
|
5547
|
+
var obv3QualificationJourneyman = {
|
|
5548
|
+
"id": "obv3/qualification-journeyman",
|
|
5549
|
+
"name": "Journeyman Electrician Certificate",
|
|
5550
|
+
"description": "LC-2111 JourneymanCertificate classification and default certificate test.",
|
|
5551
|
+
"spec": "obv3",
|
|
5552
|
+
"profile": "certificate",
|
|
5553
|
+
"features": ["expiration", "image"],
|
|
5554
|
+
"source": "synthetic",
|
|
5555
|
+
"signed": false,
|
|
5556
|
+
"validity": "valid",
|
|
5557
|
+
validator: import_types19.UnsignedAchievementCredentialValidator,
|
|
5558
|
+
"tags": ["qualifications", "lc-2111", "journeyman"],
|
|
5559
|
+
"credential": {
|
|
5560
|
+
"@context": [
|
|
5561
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
5562
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
5563
|
+
],
|
|
5564
|
+
"id": "urn:uuid:21110000-0000-4000-8000-000000000004",
|
|
5565
|
+
"type": ["VerifiableCredential", "OpenBadgeCredential"],
|
|
5566
|
+
"name": "Journeyman Electrician Certificate",
|
|
5567
|
+
"description": "Recognizes qualification to work independently as an electrician.",
|
|
5568
|
+
"image": {
|
|
5569
|
+
id: "https://openmoji.org/data/color/svg/1F527.svg",
|
|
5570
|
+
type: "Image",
|
|
5571
|
+
caption: "Journeyman tools illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5572
|
+
},
|
|
5573
|
+
"issuer": {
|
|
5574
|
+
"id": "did:example:qualification-issuer",
|
|
5575
|
+
"type": ["Profile"],
|
|
5576
|
+
"name": "Example Professional Training Academy"
|
|
5577
|
+
},
|
|
5578
|
+
"validFrom": "2023-01-01T00:00:00Z",
|
|
5579
|
+
"validUntil": "2037-01-01T00:00:00Z",
|
|
5580
|
+
"credentialSubject": {
|
|
5581
|
+
"id": "did:example:qualification-holder",
|
|
5582
|
+
"type": ["AchievementSubject"],
|
|
5583
|
+
"achievement": {
|
|
5584
|
+
"id": "https://example.org/qualifications/journeyman",
|
|
5585
|
+
"type": ["Achievement"],
|
|
5586
|
+
"achievementType": "JourneymanCertificate",
|
|
5587
|
+
"name": "Journeyman Electrician Certificate",
|
|
5588
|
+
"description": "Recognizes qualification to work independently as an electrician.",
|
|
5589
|
+
"image": {
|
|
5590
|
+
id: "https://openmoji.org/data/color/svg/1F527.svg",
|
|
5591
|
+
type: "Image",
|
|
5592
|
+
caption: "Journeyman tools illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5593
|
+
},
|
|
5594
|
+
"criteria": {
|
|
5595
|
+
"narrative": "Complete the required training and pass the practical assessment."
|
|
5596
|
+
}
|
|
5597
|
+
}
|
|
5598
|
+
}
|
|
5599
|
+
}
|
|
5600
|
+
};
|
|
5601
|
+
|
|
5602
|
+
// src/fixtures/obv3/qualification-master.ts
|
|
5603
|
+
var import_types20 = require("@learncard/types");
|
|
5604
|
+
var obv3QualificationMaster = {
|
|
5605
|
+
"id": "obv3/qualification-master",
|
|
5606
|
+
"name": "Master Electrician Certificate",
|
|
5607
|
+
"description": "LC-2111 MasterCertificate classification and default certificate test.",
|
|
5608
|
+
"spec": "obv3",
|
|
5609
|
+
"profile": "certificate",
|
|
5610
|
+
"features": ["expiration", "image"],
|
|
5611
|
+
"source": "synthetic",
|
|
5612
|
+
"signed": false,
|
|
5613
|
+
"validity": "valid",
|
|
5614
|
+
validator: import_types20.UnsignedAchievementCredentialValidator,
|
|
5615
|
+
"tags": ["qualifications", "lc-2111", "master"],
|
|
5616
|
+
"credential": {
|
|
5617
|
+
"@context": [
|
|
5618
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
5619
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
5620
|
+
],
|
|
5621
|
+
"id": "urn:uuid:21110000-0000-4000-8000-000000000005",
|
|
5622
|
+
"type": ["VerifiableCredential", "OpenBadgeCredential"],
|
|
5623
|
+
"name": "Master Electrician Certificate",
|
|
5624
|
+
"description": "Recognizes advanced electrical design and supervisory competence.",
|
|
5625
|
+
"image": {
|
|
5626
|
+
id: "https://openmoji.org/data/color/svg/1F3C6.svg",
|
|
5627
|
+
type: "Image",
|
|
5628
|
+
caption: "Master qualification illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5629
|
+
},
|
|
5630
|
+
"issuer": {
|
|
5631
|
+
"id": "did:example:qualification-issuer",
|
|
5632
|
+
"type": ["Profile"],
|
|
5633
|
+
"name": "Example Professional Training Academy"
|
|
5634
|
+
},
|
|
5635
|
+
"validFrom": "2023-01-01T00:00:00Z",
|
|
5636
|
+
"validUntil": "2037-01-01T00:00:00Z",
|
|
5637
|
+
"credentialSubject": {
|
|
5638
|
+
"id": "did:example:qualification-holder",
|
|
5639
|
+
"type": ["AchievementSubject"],
|
|
5640
|
+
"achievement": {
|
|
5641
|
+
"id": "https://example.org/qualifications/master",
|
|
5642
|
+
"type": ["Achievement"],
|
|
5643
|
+
"achievementType": "MasterCertificate",
|
|
5644
|
+
"name": "Master Electrician Certificate",
|
|
5645
|
+
"description": "Recognizes advanced electrical design and supervisory competence.",
|
|
5646
|
+
"image": {
|
|
5647
|
+
id: "https://openmoji.org/data/color/svg/1F3C6.svg",
|
|
5648
|
+
type: "Image",
|
|
5649
|
+
caption: "Master qualification illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5650
|
+
},
|
|
5651
|
+
"criteria": {
|
|
5652
|
+
"narrative": "Complete the required training and pass the practical assessment."
|
|
5653
|
+
}
|
|
5654
|
+
}
|
|
5655
|
+
}
|
|
5656
|
+
}
|
|
5657
|
+
};
|
|
5658
|
+
|
|
5659
|
+
// src/fixtures/obv3/qualification-expired.ts
|
|
5660
|
+
var import_types21 = require("@learncard/types");
|
|
5661
|
+
var obv3QualificationExpired = {
|
|
5662
|
+
"id": "obv3/qualification-expired",
|
|
5663
|
+
"name": "Expired Safety Certification",
|
|
5664
|
+
"description": "LC-2111 expiration test. Enable Keep fixture dates in the viewer to retain the past expiration.",
|
|
5665
|
+
"spec": "obv3",
|
|
5666
|
+
"profile": "certificate",
|
|
5667
|
+
"features": ["expiration", "image"],
|
|
5668
|
+
"source": "synthetic",
|
|
5669
|
+
"signed": false,
|
|
5670
|
+
"validity": "valid",
|
|
5671
|
+
validator: import_types21.UnsignedAchievementCredentialValidator,
|
|
5672
|
+
"tags": ["qualifications", "lc-2111", "expired"],
|
|
5673
|
+
"credential": {
|
|
5674
|
+
"@context": [
|
|
5675
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
5676
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
5677
|
+
],
|
|
5678
|
+
"id": "urn:uuid:21110000-0000-4000-8000-000000000006",
|
|
5679
|
+
"type": ["VerifiableCredential", "OpenBadgeCredential"],
|
|
5680
|
+
"name": "Expired Safety Certification",
|
|
5681
|
+
"description": "An expired qualification that must remain visible and selectable.",
|
|
5682
|
+
"image": {
|
|
5683
|
+
id: "https://openmoji.org/data/color/svg/26A0.svg",
|
|
5684
|
+
type: "Image",
|
|
5685
|
+
caption: "Safety warning illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5686
|
+
},
|
|
5687
|
+
"issuer": {
|
|
5688
|
+
"id": "did:example:qualification-issuer",
|
|
5689
|
+
"type": ["Profile"],
|
|
5690
|
+
"name": "Example Professional Training Academy"
|
|
5691
|
+
},
|
|
5692
|
+
"validFrom": "2023-01-01T00:00:00Z",
|
|
5693
|
+
"validUntil": "2024-01-01T00:00:00Z",
|
|
5694
|
+
"credentialSubject": {
|
|
5695
|
+
"id": "did:example:qualification-holder",
|
|
5696
|
+
"type": ["AchievementSubject"],
|
|
5697
|
+
"achievement": {
|
|
5698
|
+
"id": "https://example.org/qualifications/expired",
|
|
5699
|
+
"type": ["Achievement"],
|
|
5700
|
+
"achievementType": "Certification",
|
|
5701
|
+
"name": "Expired Safety Certification",
|
|
5702
|
+
"description": "An expired qualification that must remain visible and selectable.",
|
|
5703
|
+
"image": {
|
|
5704
|
+
id: "https://openmoji.org/data/color/svg/26A0.svg",
|
|
5705
|
+
type: "Image",
|
|
5706
|
+
caption: "Safety warning illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5707
|
+
},
|
|
5708
|
+
"criteria": {
|
|
5709
|
+
"narrative": "Complete the safety course; renewal is required after expiration."
|
|
5710
|
+
}
|
|
5711
|
+
}
|
|
5712
|
+
}
|
|
5713
|
+
}
|
|
5714
|
+
};
|
|
5715
|
+
|
|
5716
|
+
// src/fixtures/obv3/qualification-badge-override.ts
|
|
5717
|
+
var import_types22 = require("@learncard/types");
|
|
5718
|
+
var obv3QualificationBadgeOverride = {
|
|
5719
|
+
"id": "obv3/qualification-badge-override",
|
|
5720
|
+
"name": "Safety Certification \u2014 Badge Layout",
|
|
5721
|
+
"description": "LC-2111 Certification classification and explicit display override test.",
|
|
5722
|
+
"spec": "obv3",
|
|
5723
|
+
"profile": "certificate",
|
|
5724
|
+
"features": ["expiration", "display", "image"],
|
|
5725
|
+
"source": "synthetic",
|
|
5726
|
+
"signed": false,
|
|
5727
|
+
"validity": "valid",
|
|
5728
|
+
validator: import_types22.UnsignedAchievementCredentialValidator,
|
|
5729
|
+
"tags": ["qualifications", "lc-2111", "badge-override"],
|
|
5730
|
+
"credential": {
|
|
5731
|
+
"@context": [
|
|
5732
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
5733
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json",
|
|
5734
|
+
"https://ctx.learncard.com/boosts/1.0.3.json"
|
|
5735
|
+
],
|
|
5736
|
+
"id": "urn:uuid:21110000-0000-4000-8000-000000000007",
|
|
5737
|
+
"type": ["VerifiableCredential", "OpenBadgeCredential", "BoostCredential"],
|
|
5738
|
+
"name": "Safety Certification \u2014 Badge Layout",
|
|
5739
|
+
"description": "A qualification with an explicit badge layout instead of the default certificate.",
|
|
5740
|
+
"image": {
|
|
5741
|
+
id: "https://openmoji.org/data/color/svg/1F6E1.svg",
|
|
5742
|
+
type: "Image",
|
|
5743
|
+
caption: "Safety certification illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5744
|
+
},
|
|
5745
|
+
"issuer": {
|
|
5746
|
+
"id": "did:example:qualification-issuer",
|
|
5747
|
+
"type": ["Profile"],
|
|
5748
|
+
"name": "Example Professional Training Academy"
|
|
5749
|
+
},
|
|
5750
|
+
"validFrom": "2023-01-01T00:00:00Z",
|
|
5751
|
+
"validUntil": "2037-01-01T00:00:00Z",
|
|
5752
|
+
"credentialSubject": {
|
|
5753
|
+
"id": "did:example:qualification-holder",
|
|
5754
|
+
"type": ["AchievementSubject"],
|
|
5755
|
+
"achievement": {
|
|
5756
|
+
"id": "https://example.org/qualifications/badge-override",
|
|
5757
|
+
"type": ["Achievement"],
|
|
5758
|
+
"achievementType": "Certification",
|
|
5759
|
+
"name": "Safety Certification \u2014 Badge Layout",
|
|
5760
|
+
"description": "A qualification with an explicit badge layout instead of the default certificate.",
|
|
5761
|
+
"image": {
|
|
5762
|
+
id: "https://openmoji.org/data/color/svg/1F6E1.svg",
|
|
5763
|
+
type: "Image",
|
|
5764
|
+
caption: "Safety certification illustration \u2014 OpenMoji (CC BY-SA 4.0)"
|
|
5765
|
+
},
|
|
5766
|
+
"criteria": {
|
|
5767
|
+
"narrative": "Complete the required training and pass the practical assessment."
|
|
5768
|
+
}
|
|
5769
|
+
}
|
|
5770
|
+
},
|
|
5771
|
+
"display": {
|
|
5772
|
+
"displayType": "badge"
|
|
5773
|
+
}
|
|
5774
|
+
}
|
|
5775
|
+
};
|
|
5776
|
+
|
|
5777
|
+
// src/fixtures/clr/minimal.ts
|
|
5778
|
+
var import_types23 = require("@learncard/types");
|
|
5362
5779
|
var clrMinimal = {
|
|
5363
5780
|
id: "clr/minimal",
|
|
5364
5781
|
name: "Minimal CLR v2 Credential",
|
|
@@ -5369,7 +5786,7 @@ var clrMinimal = {
|
|
|
5369
5786
|
source: "spec-example",
|
|
5370
5787
|
signed: false,
|
|
5371
5788
|
validity: "valid",
|
|
5372
|
-
validator:
|
|
5789
|
+
validator: import_types23.UnsignedClrCredentialValidator,
|
|
5373
5790
|
credential: {
|
|
5374
5791
|
"@context": [
|
|
5375
5792
|
"https://www.w3.org/ns/credentials/v2",
|
|
@@ -5408,7 +5825,7 @@ var clrMinimal = {
|
|
|
5408
5825
|
};
|
|
5409
5826
|
|
|
5410
5827
|
// src/fixtures/clr/multi-achievement.ts
|
|
5411
|
-
var
|
|
5828
|
+
var import_types24 = require("@learncard/types");
|
|
5412
5829
|
var clrMultiAchievement = {
|
|
5413
5830
|
id: "clr/multi-achievement",
|
|
5414
5831
|
name: "CLR v2 with Multiple Achievements and Associations",
|
|
@@ -5419,7 +5836,7 @@ var clrMultiAchievement = {
|
|
|
5419
5836
|
source: "synthetic",
|
|
5420
5837
|
signed: false,
|
|
5421
5838
|
validity: "valid",
|
|
5422
|
-
validator:
|
|
5839
|
+
validator: import_types24.UnsignedClrCredentialValidator,
|
|
5423
5840
|
tags: ["comprehensive"],
|
|
5424
5841
|
credential: {
|
|
5425
5842
|
"@context": [
|
|
@@ -5854,7 +6271,7 @@ var clrUniversityTranscript = {
|
|
|
5854
6271
|
};
|
|
5855
6272
|
|
|
5856
6273
|
// src/fixtures/clr/student-official-academic-transcript.ts
|
|
5857
|
-
var
|
|
6274
|
+
var import_types25 = require("@learncard/types");
|
|
5858
6275
|
var clrStudentOfficialAcademicTranscript = {
|
|
5859
6276
|
id: "clr/student-official-academic-transcript",
|
|
5860
6277
|
name: "Student Persona \u2014 Official Academic Transcript \u2014 Redwood Valley University",
|
|
@@ -5865,7 +6282,7 @@ var clrStudentOfficialAcademicTranscript = {
|
|
|
5865
6282
|
source: "real-world",
|
|
5866
6283
|
signed: false,
|
|
5867
6284
|
validity: "valid",
|
|
5868
|
-
validator:
|
|
6285
|
+
validator: import_types25.UnsignedClrCredentialValidator,
|
|
5869
6286
|
tags: ["student-persona", "transcript"],
|
|
5870
6287
|
credential: {
|
|
5871
6288
|
"@context": [
|
|
@@ -11674,7 +12091,7 @@ var clrMixedCareerRecord = {
|
|
|
11674
12091
|
};
|
|
11675
12092
|
|
|
11676
12093
|
// src/fixtures/boost/basic.ts
|
|
11677
|
-
var
|
|
12094
|
+
var import_types26 = require("@learncard/types");
|
|
11678
12095
|
var boostBasic = {
|
|
11679
12096
|
id: "boost/basic",
|
|
11680
12097
|
name: "Basic LearnCard Boost",
|
|
@@ -11685,7 +12102,7 @@ var boostBasic = {
|
|
|
11685
12102
|
source: "synthetic",
|
|
11686
12103
|
signed: false,
|
|
11687
12104
|
validity: "valid",
|
|
11688
|
-
validator:
|
|
12105
|
+
validator: import_types26.UnsignedAchievementCredentialValidator,
|
|
11689
12106
|
tags: ["learncard", "boost"],
|
|
11690
12107
|
credential: {
|
|
11691
12108
|
"@context": [
|
|
@@ -11721,7 +12138,7 @@ var boostBasic = {
|
|
|
11721
12138
|
};
|
|
11722
12139
|
|
|
11723
12140
|
// src/fixtures/boost/boost-id.ts
|
|
11724
|
-
var
|
|
12141
|
+
var import_types27 = require("@learncard/types");
|
|
11725
12142
|
var boostId = {
|
|
11726
12143
|
id: "boost/boost-id",
|
|
11727
12144
|
name: "LearnCard Boost ID",
|
|
@@ -11732,7 +12149,7 @@ var boostId = {
|
|
|
11732
12149
|
source: "synthetic",
|
|
11733
12150
|
signed: false,
|
|
11734
12151
|
validity: "valid",
|
|
11735
|
-
validator:
|
|
12152
|
+
validator: import_types27.UnsignedAchievementCredentialValidator,
|
|
11736
12153
|
tags: ["learncard", "boost", "id"],
|
|
11737
12154
|
credential: {
|
|
11738
12155
|
"@context": [
|
|
@@ -11777,7 +12194,7 @@ var boostId = {
|
|
|
11777
12194
|
};
|
|
11778
12195
|
|
|
11779
12196
|
// src/fixtures/boost/with-skills.ts
|
|
11780
|
-
var
|
|
12197
|
+
var import_types28 = require("@learncard/types");
|
|
11781
12198
|
var boostWithSkills = {
|
|
11782
12199
|
id: "boost/with-skills",
|
|
11783
12200
|
name: "LearnCard Boost with Skills",
|
|
@@ -11788,7 +12205,7 @@ var boostWithSkills = {
|
|
|
11788
12205
|
source: "synthetic",
|
|
11789
12206
|
signed: false,
|
|
11790
12207
|
validity: "valid",
|
|
11791
|
-
validator:
|
|
12208
|
+
validator: import_types28.UnsignedAchievementCredentialValidator,
|
|
11792
12209
|
tags: ["learncard", "boost", "skills"],
|
|
11793
12210
|
credential: {
|
|
11794
12211
|
"@context": [
|
|
@@ -11998,7 +12415,7 @@ var boostDelegate = {
|
|
|
11998
12415
|
};
|
|
11999
12416
|
|
|
12000
12417
|
// src/fixtures/invalid/missing-context.ts
|
|
12001
|
-
var
|
|
12418
|
+
var import_types29 = require("@learncard/types");
|
|
12002
12419
|
var invalidMissingContext = {
|
|
12003
12420
|
id: "invalid/missing-context",
|
|
12004
12421
|
name: "Missing @context",
|
|
@@ -12009,7 +12426,7 @@ var invalidMissingContext = {
|
|
|
12009
12426
|
source: "synthetic",
|
|
12010
12427
|
signed: false,
|
|
12011
12428
|
validity: "invalid",
|
|
12012
|
-
validator:
|
|
12429
|
+
validator: import_types29.UnsignedVCValidator,
|
|
12013
12430
|
tags: ["negative-test"],
|
|
12014
12431
|
credential: {
|
|
12015
12432
|
// Intentionally missing '@context'
|
|
@@ -12022,7 +12439,7 @@ var invalidMissingContext = {
|
|
|
12022
12439
|
};
|
|
12023
12440
|
|
|
12024
12441
|
// src/fixtures/invalid/empty-type.ts
|
|
12025
|
-
var
|
|
12442
|
+
var import_types30 = require("@learncard/types");
|
|
12026
12443
|
var invalidEmptyType = {
|
|
12027
12444
|
id: "invalid/empty-type",
|
|
12028
12445
|
name: "Empty type Array",
|
|
@@ -12033,7 +12450,7 @@ var invalidEmptyType = {
|
|
|
12033
12450
|
source: "synthetic",
|
|
12034
12451
|
signed: false,
|
|
12035
12452
|
validity: "invalid",
|
|
12036
|
-
validator:
|
|
12453
|
+
validator: import_types30.UnsignedVCValidator,
|
|
12037
12454
|
tags: ["negative-test"],
|
|
12038
12455
|
credential: {
|
|
12039
12456
|
"@context": ["https://www.w3.org/ns/credentials/v2"],
|
|
@@ -12046,7 +12463,7 @@ var invalidEmptyType = {
|
|
|
12046
12463
|
};
|
|
12047
12464
|
|
|
12048
12465
|
// src/fixtures/invalid/missing-issuer.ts
|
|
12049
|
-
var
|
|
12466
|
+
var import_types31 = require("@learncard/types");
|
|
12050
12467
|
var invalidMissingIssuer = {
|
|
12051
12468
|
id: "invalid/missing-issuer",
|
|
12052
12469
|
name: "Missing Issuer",
|
|
@@ -12057,7 +12474,7 @@ var invalidMissingIssuer = {
|
|
|
12057
12474
|
source: "synthetic",
|
|
12058
12475
|
signed: false,
|
|
12059
12476
|
validity: "invalid",
|
|
12060
|
-
validator:
|
|
12477
|
+
validator: import_types31.UnsignedVCValidator,
|
|
12061
12478
|
tags: ["negative-test"],
|
|
12062
12479
|
credential: {
|
|
12063
12480
|
"@context": ["https://www.w3.org/ns/credentials/v2"],
|
|
@@ -24260,7 +24677,7 @@ var clrAchievementIdAssociations = {
|
|
|
24260
24677
|
};
|
|
24261
24678
|
|
|
24262
24679
|
// src/fixtures/clr/provisional-transcript.ts
|
|
24263
|
-
var
|
|
24680
|
+
var import_types32 = require("@learncard/types");
|
|
24264
24681
|
var REFRESH_SERVICE_INLINE_CONTEXT = {
|
|
24265
24682
|
partial: "https://purl.imsglobal.org/spec/clr/v2p0#partial",
|
|
24266
24683
|
"LearnCardCredentialRefresh2026": "https://learncard.com/refresh#LearnCardCredentialRefresh2026",
|
|
@@ -24286,7 +24703,7 @@ var clrProvisionalTranscript = {
|
|
|
24286
24703
|
source: "synthetic",
|
|
24287
24704
|
signed: false,
|
|
24288
24705
|
validity: "valid",
|
|
24289
|
-
validator:
|
|
24706
|
+
validator: import_types32.UnsignedClrCredentialValidator,
|
|
24290
24707
|
tags: ["transcript", "provisional", "refresh", "clr", "managed-refresh"],
|
|
24291
24708
|
credential: {
|
|
24292
24709
|
"@context": [
|
|
@@ -32911,6 +33328,970 @@ var clrDemoIsdDiplomaAssessments = {
|
|
|
32911
33328
|
}
|
|
32912
33329
|
};
|
|
32913
33330
|
|
|
33331
|
+
// src/fixtures/obv3/food-allergen-practice.ts
|
|
33332
|
+
var import_types33 = require("@learncard/types");
|
|
33333
|
+
var obv3FoodAllergenPractice = {
|
|
33334
|
+
id: "obv3/food-allergen-practice",
|
|
33335
|
+
name: "Food Allergen Control Practice",
|
|
33336
|
+
description: "Observed food-preparation practice with a RubricScore result, evidence, and ESCO alignment.",
|
|
33337
|
+
spec: "obv3",
|
|
33338
|
+
profile: "generic",
|
|
33339
|
+
features: ["evidence", "alignment", "results", "expiration"],
|
|
33340
|
+
source: "synthetic",
|
|
33341
|
+
signed: false,
|
|
33342
|
+
validity: "valid",
|
|
33343
|
+
validator: import_types33.UnsignedAchievementCredentialValidator,
|
|
33344
|
+
tags: ["food-safety", "rubric-score", "learner"],
|
|
33345
|
+
credential: {
|
|
33346
|
+
"@context": [
|
|
33347
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33348
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
33349
|
+
],
|
|
33350
|
+
id: "urn:uuid:7cc497f9-092a-5ea2-8cdb-7a2e60c25e68",
|
|
33351
|
+
type: ["VerifiableCredential", "OpenBadgeCredential"],
|
|
33352
|
+
name: "Food allergen control \u2014 observed practice",
|
|
33353
|
+
description: "Plan preparation for a fictional allergen-sensitive order. Demonstrate a controlled practice task with observer feedback.",
|
|
33354
|
+
issuer: {
|
|
33355
|
+
id: "did:example:lc2184-cedar-training",
|
|
33356
|
+
type: ["Profile"],
|
|
33357
|
+
name: "Cedar Technical Training",
|
|
33358
|
+
url: "https://cedar-training.example"
|
|
33359
|
+
},
|
|
33360
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33361
|
+
validUntil: "2028-09-01T00:00:00Z",
|
|
33362
|
+
credentialSubject: {
|
|
33363
|
+
id: "https://fixtures.example.org/frenchfry/personas/d56d0c592ac6",
|
|
33364
|
+
type: ["AchievementSubject"],
|
|
33365
|
+
achievement: {
|
|
33366
|
+
id: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/practice",
|
|
33367
|
+
type: ["Achievement"],
|
|
33368
|
+
achievementType: "Assessment",
|
|
33369
|
+
name: "Food allergen control \u2014 observed practice",
|
|
33370
|
+
description: "Plan preparation for a fictional allergen-sensitive order. Demonstrate a controlled practice task with observer feedback.",
|
|
33371
|
+
criteria: {
|
|
33372
|
+
narrative: "Identify cross-contact routes and communication steps"
|
|
33373
|
+
},
|
|
33374
|
+
fieldOfStudy: "vocational",
|
|
33375
|
+
inLanguage: "en",
|
|
33376
|
+
tag: ["vocational", "Food allergen control", "learner"],
|
|
33377
|
+
resultDescription: [
|
|
33378
|
+
{
|
|
33379
|
+
id: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/practice/rubric",
|
|
33380
|
+
type: ["ResultDescription"],
|
|
33381
|
+
name: "Observed task rubric points",
|
|
33382
|
+
resultType: "RubricScore",
|
|
33383
|
+
valueMin: "0",
|
|
33384
|
+
valueMax: "4",
|
|
33385
|
+
requiredValue: "3"
|
|
33386
|
+
}
|
|
33387
|
+
],
|
|
33388
|
+
alignment: [
|
|
33389
|
+
{
|
|
33390
|
+
type: ["Alignment"],
|
|
33391
|
+
targetName: "food safety principles",
|
|
33392
|
+
targetUrl: "http://data.europa.eu/esco/skill/3f4e4eab-a8e0-4aed-b8bb-79afe7c890e3",
|
|
33393
|
+
targetFramework: "ESCO (requested dataset v1.2.0)",
|
|
33394
|
+
targetDescription: "Scientific background of food safety which includes preparation, handling, and storage of food to minimise the risk of foodborne illness and other health hazards."
|
|
33395
|
+
}
|
|
33396
|
+
]
|
|
33397
|
+
},
|
|
33398
|
+
role: "learner",
|
|
33399
|
+
narrative: "Demonstrate a controlled practice task with observer feedback.",
|
|
33400
|
+
activityStartDate: "2026-08-01T00:00:00Z",
|
|
33401
|
+
activityEndDate: "2026-08-31T00:00:00Z",
|
|
33402
|
+
result: [
|
|
33403
|
+
{
|
|
33404
|
+
type: ["Result"],
|
|
33405
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/practice/rubric",
|
|
33406
|
+
value: "4",
|
|
33407
|
+
status: "Completed"
|
|
33408
|
+
}
|
|
33409
|
+
]
|
|
33410
|
+
},
|
|
33411
|
+
evidence: [
|
|
33412
|
+
{
|
|
33413
|
+
id: "https://fixtures.example.org/frenchfry/evidence/d56d0c592ac6/practice",
|
|
33414
|
+
type: ["Evidence"],
|
|
33415
|
+
name: "Kitchen simulation checklist",
|
|
33416
|
+
description: "Plan preparation for a fictional allergen-sensitive order; evaluation considered: Identify cross-contact routes and communication steps",
|
|
33417
|
+
narrative: "Plan preparation for a fictional allergen-sensitive order; evaluation considered: Identify cross-contact routes and communication steps",
|
|
33418
|
+
genre: "Observation record",
|
|
33419
|
+
audience: "Assessors"
|
|
33420
|
+
}
|
|
33421
|
+
]
|
|
33422
|
+
}
|
|
33423
|
+
};
|
|
33424
|
+
|
|
33425
|
+
// src/fixtures/obv3/food-allergen-facilitator.ts
|
|
33426
|
+
var import_types34 = require("@learncard/types");
|
|
33427
|
+
var obv3FoodAllergenFacilitator = {
|
|
33428
|
+
id: "obv3/food-allergen-facilitator",
|
|
33429
|
+
name: "Food Allergen Control Facilitation",
|
|
33430
|
+
description: "Matched teaching-performance assessment with an instructor role and O*NET Instructing alignment.",
|
|
33431
|
+
spec: "obv3",
|
|
33432
|
+
profile: "generic",
|
|
33433
|
+
features: ["evidence", "alignment", "results", "expiration"],
|
|
33434
|
+
source: "synthetic",
|
|
33435
|
+
signed: false,
|
|
33436
|
+
validity: "valid",
|
|
33437
|
+
validator: import_types34.UnsignedAchievementCredentialValidator,
|
|
33438
|
+
tags: ["food-safety", "instructor", "role-scope"],
|
|
33439
|
+
credential: {
|
|
33440
|
+
"@context": [
|
|
33441
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33442
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
33443
|
+
],
|
|
33444
|
+
id: "urn:uuid:04adda59-747f-5d5b-b287-1a9b1943b2ba",
|
|
33445
|
+
type: ["VerifiableCredential", "OpenBadgeCredential"],
|
|
33446
|
+
name: "Teaching Food allergen control \u2014 facilitator performance",
|
|
33447
|
+
description: "Train a simulated food-preparation team on cross-contact communication in a fictional order. Assesses teaching performance; independent learner skill is outside this assessment.",
|
|
33448
|
+
issuer: {
|
|
33449
|
+
id: "did:example:lc2184-cedar-training",
|
|
33450
|
+
type: ["Profile"],
|
|
33451
|
+
name: "Cedar Technical Training",
|
|
33452
|
+
url: "https://cedar-training.example"
|
|
33453
|
+
},
|
|
33454
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33455
|
+
validUntil: "2028-09-01T00:00:00Z",
|
|
33456
|
+
credentialSubject: {
|
|
33457
|
+
id: "https://fixtures.example.org/frenchfry/personas/d56d0c592ac6",
|
|
33458
|
+
type: ["AchievementSubject"],
|
|
33459
|
+
achievement: {
|
|
33460
|
+
id: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/facilitator",
|
|
33461
|
+
type: ["Achievement"],
|
|
33462
|
+
achievementType: "Assessment",
|
|
33463
|
+
name: "Teaching Food allergen control \u2014 facilitator performance",
|
|
33464
|
+
description: "Train a simulated food-preparation team on cross-contact communication in a fictional order. Assesses teaching performance; independent learner skill is outside this assessment.",
|
|
33465
|
+
criteria: {
|
|
33466
|
+
narrative: "Use a shared-tool counterexample and observe whether the team escalates uncertainty without making medical claims."
|
|
33467
|
+
},
|
|
33468
|
+
fieldOfStudy: "vocational",
|
|
33469
|
+
inLanguage: "en",
|
|
33470
|
+
tag: ["vocational", "Food allergen control", "instructor"],
|
|
33471
|
+
resultDescription: [
|
|
33472
|
+
{
|
|
33473
|
+
id: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/facilitator/rubric",
|
|
33474
|
+
type: ["ResultDescription"],
|
|
33475
|
+
name: "Instruction performance",
|
|
33476
|
+
resultType: "PerformanceLevel",
|
|
33477
|
+
allowedValue: ["Developing", "Proficient", "Advanced"],
|
|
33478
|
+
requiredValue: "Proficient"
|
|
33479
|
+
}
|
|
33480
|
+
],
|
|
33481
|
+
alignment: [
|
|
33482
|
+
{
|
|
33483
|
+
type: ["Alignment"],
|
|
33484
|
+
targetName: "Instructing",
|
|
33485
|
+
targetUrl: "https://www.onetcenter.org/ctdlasn/resources/ce-07c266f7-9119-11e8-b852-782bcb5df6ac",
|
|
33486
|
+
targetFramework: "O*NET Content Model Worker Requirements - Transferable Skills: U.S. Department of Labor (DOL)",
|
|
33487
|
+
targetDescription: "Teaching others how to do something.",
|
|
33488
|
+
targetType: "ceasn:Competency",
|
|
33489
|
+
targetCode: "2.B.1.e"
|
|
33490
|
+
}
|
|
33491
|
+
]
|
|
33492
|
+
},
|
|
33493
|
+
role: "instructor",
|
|
33494
|
+
narrative: "Assesses teaching performance; independent learner skill is outside this assessment.",
|
|
33495
|
+
activityStartDate: "2026-08-01T00:00:00Z",
|
|
33496
|
+
activityEndDate: "2026-08-31T00:00:00Z",
|
|
33497
|
+
result: [
|
|
33498
|
+
{
|
|
33499
|
+
type: ["Result"],
|
|
33500
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/facilitator/rubric",
|
|
33501
|
+
value: "Proficient",
|
|
33502
|
+
status: "Completed"
|
|
33503
|
+
}
|
|
33504
|
+
]
|
|
33505
|
+
},
|
|
33506
|
+
evidence: [
|
|
33507
|
+
{
|
|
33508
|
+
id: "https://fixtures.example.org/frenchfry/evidence/d56d0c592ac6/facilitator",
|
|
33509
|
+
type: ["Evidence"],
|
|
33510
|
+
name: "Cross-contact training tabletop and communication rubric",
|
|
33511
|
+
description: "Train a simulated food-preparation team on cross-contact communication in a fictional order; evaluation considered: Use a shared-tool counterexample and observe whether the team escalates uncertainty without making medical claims.",
|
|
33512
|
+
narrative: "Train a simulated food-preparation team on cross-contact communication in a fictional order; evaluation considered: Use a shared-tool counterexample and observe whether the team escalates uncertainty without making medical claims.",
|
|
33513
|
+
genre: "Portfolio",
|
|
33514
|
+
audience: "Assessors"
|
|
33515
|
+
}
|
|
33516
|
+
]
|
|
33517
|
+
}
|
|
33518
|
+
};
|
|
33519
|
+
|
|
33520
|
+
// src/fixtures/obv3/food-allergen-practice-fr.ts
|
|
33521
|
+
var import_types35 = require("@learncard/types");
|
|
33522
|
+
var obv3FoodAllergenPracticeFr = {
|
|
33523
|
+
id: "obv3/food-allergen-practice-fr",
|
|
33524
|
+
name: "Pr\xE9vention des contacts crois\xE9s avec des allerg\xE8nes",
|
|
33525
|
+
description: "French counterpart of the food-allergen practice assessment, retaining its RubricScore and alignment.",
|
|
33526
|
+
spec: "obv3",
|
|
33527
|
+
profile: "generic",
|
|
33528
|
+
features: ["evidence", "alignment", "results", "expiration"],
|
|
33529
|
+
source: "synthetic",
|
|
33530
|
+
signed: false,
|
|
33531
|
+
validity: "valid",
|
|
33532
|
+
validator: import_types35.UnsignedAchievementCredentialValidator,
|
|
33533
|
+
tags: ["food-safety", "rubric-score", "french", "localization", "learner"],
|
|
33534
|
+
credential: {
|
|
33535
|
+
"@context": [
|
|
33536
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33537
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
33538
|
+
],
|
|
33539
|
+
id: "urn:uuid:14adf3a3-43d2-5271-90be-9812f906deef",
|
|
33540
|
+
type: ["VerifiableCredential", "OpenBadgeCredential"],
|
|
33541
|
+
name: "Pr\xE9vention des contacts crois\xE9s avec des allerg\xE8nes",
|
|
33542
|
+
description: "\xC9valuation d'un exercice de pr\xE9vention des contacts crois\xE9s avec des allerg\xE8nes.",
|
|
33543
|
+
issuer: {
|
|
33544
|
+
id: "did:example:lc2184-cedar-training",
|
|
33545
|
+
type: ["Profile"],
|
|
33546
|
+
name: "Cedar Technical Training",
|
|
33547
|
+
url: "https://cedar-training.example"
|
|
33548
|
+
},
|
|
33549
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33550
|
+
validUntil: "2028-09-01T00:00:00Z",
|
|
33551
|
+
credentialSubject: {
|
|
33552
|
+
id: "https://fixtures.example.org/frenchfry/personas/d56d0c592ac6",
|
|
33553
|
+
type: ["AchievementSubject"],
|
|
33554
|
+
achievement: {
|
|
33555
|
+
id: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/practice/fr",
|
|
33556
|
+
type: ["Achievement"],
|
|
33557
|
+
achievementType: "Assessment",
|
|
33558
|
+
name: "Pr\xE9vention des contacts crois\xE9s avec des allerg\xE8nes",
|
|
33559
|
+
description: "Planifie la pr\xE9paration d'une commande fictive dans un exercice de cuisine simul\xE9.",
|
|
33560
|
+
criteria: {
|
|
33561
|
+
narrative: "Rep\xE8re les possibilit\xE9s de contact crois\xE9, pr\xE9cise les \xE9tapes de communication et signale les incertitudes sans faire de diagnostic m\xE9dical."
|
|
33562
|
+
},
|
|
33563
|
+
fieldOfStudy: "vocational",
|
|
33564
|
+
inLanguage: "fr",
|
|
33565
|
+
tag: ["vocational", "Food allergen control", "learner"],
|
|
33566
|
+
resultDescription: [
|
|
33567
|
+
{
|
|
33568
|
+
id: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/practice/fr/rubric",
|
|
33569
|
+
type: ["ResultDescription"],
|
|
33570
|
+
name: "Points de la grille d'observation",
|
|
33571
|
+
resultType: "RubricScore",
|
|
33572
|
+
valueMin: "0",
|
|
33573
|
+
valueMax: "4",
|
|
33574
|
+
requiredValue: "3"
|
|
33575
|
+
}
|
|
33576
|
+
],
|
|
33577
|
+
alignment: [
|
|
33578
|
+
{
|
|
33579
|
+
type: ["Alignment"],
|
|
33580
|
+
targetName: "food safety principles",
|
|
33581
|
+
targetUrl: "http://data.europa.eu/esco/skill/3f4e4eab-a8e0-4aed-b8bb-79afe7c890e3",
|
|
33582
|
+
targetFramework: "ESCO (requested dataset v1.2.0)",
|
|
33583
|
+
targetDescription: "Scientific background of food safety which includes preparation, handling, and storage of food to minimise the risk of foodborne illness and other health hazards."
|
|
33584
|
+
}
|
|
33585
|
+
]
|
|
33586
|
+
},
|
|
33587
|
+
role: "learner",
|
|
33588
|
+
narrative: "Planifie la pr\xE9paration d'une commande fictive dans un exercice de cuisine simul\xE9.",
|
|
33589
|
+
activityStartDate: "2026-08-01T00:00:00Z",
|
|
33590
|
+
activityEndDate: "2026-08-31T00:00:00Z",
|
|
33591
|
+
result: [
|
|
33592
|
+
{
|
|
33593
|
+
type: ["Result"],
|
|
33594
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/d56d0c592ac6/practice/fr/rubric",
|
|
33595
|
+
value: "4",
|
|
33596
|
+
status: "Completed"
|
|
33597
|
+
}
|
|
33598
|
+
]
|
|
33599
|
+
},
|
|
33600
|
+
evidence: [
|
|
33601
|
+
{
|
|
33602
|
+
id: "https://fixtures.example.org/frenchfry/evidence/d56d0c592ac6/practice/fr",
|
|
33603
|
+
type: ["Evidence"],
|
|
33604
|
+
name: "Liste de contr\xF4le et compte rendu d'un exercice de simulation",
|
|
33605
|
+
description: "Planifie la pr\xE9paration d'une commande fictive dans un exercice de cuisine simul\xE9.",
|
|
33606
|
+
narrative: "Planifie la pr\xE9paration d'une commande fictive dans un exercice de cuisine simul\xE9.",
|
|
33607
|
+
genre: "Compte rendu d'observation",
|
|
33608
|
+
audience: "\xC9valuateurs"
|
|
33609
|
+
}
|
|
33610
|
+
]
|
|
33611
|
+
}
|
|
33612
|
+
};
|
|
33613
|
+
|
|
33614
|
+
// src/fixtures/obv3/phishing-transfer.ts
|
|
33615
|
+
var import_types36 = require("@learncard/types");
|
|
33616
|
+
var obv3PhishingTransfer = {
|
|
33617
|
+
id: "obv3/phishing-transfer",
|
|
33618
|
+
name: "Phishing Recognition Transfer Project",
|
|
33619
|
+
description: "Independent project with an achieved-level-only rubric result and a separate RawScore result.",
|
|
33620
|
+
spec: "obv3",
|
|
33621
|
+
profile: "micro-credential",
|
|
33622
|
+
features: ["evidence", "alignment", "results", "expiration"],
|
|
33623
|
+
source: "synthetic",
|
|
33624
|
+
signed: false,
|
|
33625
|
+
validity: "valid",
|
|
33626
|
+
validator: import_types36.UnsignedAchievementCredentialValidator,
|
|
33627
|
+
tags: ["phishing", "mixed-results", "achieved-level-only", "learner"],
|
|
33628
|
+
credential: {
|
|
33629
|
+
"@context": [
|
|
33630
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33631
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
33632
|
+
],
|
|
33633
|
+
id: "urn:uuid:670ef7c6-b8de-532c-9667-9817a0c942e8",
|
|
33634
|
+
type: ["VerifiableCredential", "OpenBadgeCredential"],
|
|
33635
|
+
name: "Phishing recognition \u2014 independent transfer project",
|
|
33636
|
+
description: "Adapt this task to a new fictional setting: Classify synthetic suspicious email examples. Complete an independently planned transfer project, recording assumptions, an initial failed approach and a supported revision.",
|
|
33637
|
+
issuer: {
|
|
33638
|
+
id: "did:example:issuer123",
|
|
33639
|
+
type: ["Profile"],
|
|
33640
|
+
name: "Tech Academy",
|
|
33641
|
+
url: "https://techacademy.example.com"
|
|
33642
|
+
},
|
|
33643
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33644
|
+
validUntil: "2028-09-01T00:00:00Z",
|
|
33645
|
+
credentialSubject: {
|
|
33646
|
+
id: "https://fixtures.example.org/frenchfry/personas/ddf7bc68efd4",
|
|
33647
|
+
type: ["AchievementSubject"],
|
|
33648
|
+
achievement: {
|
|
33649
|
+
id: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer",
|
|
33650
|
+
type: ["Achievement"],
|
|
33651
|
+
achievementType: "MicroCredential",
|
|
33652
|
+
name: "Phishing recognition \u2014 independent transfer project",
|
|
33653
|
+
description: "Adapt this task to a new fictional setting: Classify synthetic suspicious email examples. Complete an independently planned transfer project, recording assumptions, an initial failed approach and a supported revision.",
|
|
33654
|
+
criteria: {
|
|
33655
|
+
narrative: "Identify cues without following links or sharing secrets; compare two alternative approaches and justify one under time and resource constraints."
|
|
33656
|
+
},
|
|
33657
|
+
fieldOfStudy: "technology",
|
|
33658
|
+
inLanguage: "en",
|
|
33659
|
+
tag: ["technology", "Phishing recognition", "learner"],
|
|
33660
|
+
resultDescription: [
|
|
33661
|
+
{
|
|
33662
|
+
id: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric",
|
|
33663
|
+
type: ["ResultDescription"],
|
|
33664
|
+
name: "Independent transfer rubric",
|
|
33665
|
+
resultType: "RubricCriterionLevel",
|
|
33666
|
+
requiredLevel: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric/proficient",
|
|
33667
|
+
rubricCriterionLevel: [
|
|
33668
|
+
{
|
|
33669
|
+
id: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric/developing",
|
|
33670
|
+
type: ["RubricCriterionLevel"],
|
|
33671
|
+
name: "Developing",
|
|
33672
|
+
level: "1",
|
|
33673
|
+
description: "Needs support to complete: Adapt this task to a new fictional setting: Classify synthetic suspicious email examples",
|
|
33674
|
+
points: "1"
|
|
33675
|
+
},
|
|
33676
|
+
{
|
|
33677
|
+
id: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric/proficient",
|
|
33678
|
+
type: ["RubricCriterionLevel"],
|
|
33679
|
+
name: "Proficient",
|
|
33680
|
+
level: "2",
|
|
33681
|
+
description: "Meets the task criterion: Identify cues without following links or sharing secrets; compare two alternative approaches and justify one under time and resource constraints.",
|
|
33682
|
+
points: "2"
|
|
33683
|
+
},
|
|
33684
|
+
{
|
|
33685
|
+
id: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric/advanced",
|
|
33686
|
+
type: ["RubricCriterionLevel"],
|
|
33687
|
+
name: "Advanced",
|
|
33688
|
+
level: "3",
|
|
33689
|
+
description: "Meets criterion and explains limits and alternative approaches.",
|
|
33690
|
+
points: "3"
|
|
33691
|
+
}
|
|
33692
|
+
]
|
|
33693
|
+
},
|
|
33694
|
+
{
|
|
33695
|
+
id: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric/functional-checks",
|
|
33696
|
+
type: ["ResultDescription"],
|
|
33697
|
+
name: "Simulated functional acceptance checks",
|
|
33698
|
+
resultType: "RawScore",
|
|
33699
|
+
valueMin: "0",
|
|
33700
|
+
valueMax: "10",
|
|
33701
|
+
requiredValue: "8"
|
|
33702
|
+
}
|
|
33703
|
+
],
|
|
33704
|
+
alignment: [
|
|
33705
|
+
{
|
|
33706
|
+
type: ["Alignment"],
|
|
33707
|
+
targetName: "Critical Thinking",
|
|
33708
|
+
targetUrl: "https://www.onetcenter.org/ctdlasn/resources/ce-07c26361-9119-11e8-b852-782bcb5df6ac",
|
|
33709
|
+
targetFramework: "O*NET Content Model Worker Requirements - Essential Skills: U.S. Department of Labor (DOL)",
|
|
33710
|
+
targetDescription: "Using logic and reasoning to identify the strengths and weaknesses of alternative solutions, conclusions, or approaches to problems.",
|
|
33711
|
+
targetType: "ceasn:Competency",
|
|
33712
|
+
targetCode: "2.A.2.a"
|
|
33713
|
+
}
|
|
33714
|
+
]
|
|
33715
|
+
},
|
|
33716
|
+
role: "learner",
|
|
33717
|
+
narrative: "Complete an independently planned transfer project, recording assumptions, an initial failed approach and a supported revision.",
|
|
33718
|
+
activityStartDate: "2026-08-01T00:00:00Z",
|
|
33719
|
+
activityEndDate: "2026-08-31T00:00:00Z",
|
|
33720
|
+
result: [
|
|
33721
|
+
{
|
|
33722
|
+
type: ["Result"],
|
|
33723
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric",
|
|
33724
|
+
achievedLevel: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric/proficient",
|
|
33725
|
+
status: "Completed"
|
|
33726
|
+
},
|
|
33727
|
+
{
|
|
33728
|
+
type: ["Result"],
|
|
33729
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/ddf7bc68efd4/transfer/rubric/functional-checks",
|
|
33730
|
+
value: "9",
|
|
33731
|
+
status: "Completed"
|
|
33732
|
+
}
|
|
33733
|
+
]
|
|
33734
|
+
},
|
|
33735
|
+
evidence: [
|
|
33736
|
+
{
|
|
33737
|
+
id: "https://fixtures.example.org/frenchfry/evidence/ddf7bc68efd4/transfer",
|
|
33738
|
+
type: ["Evidence"],
|
|
33739
|
+
name: "Independent project dossier; Classification worksheet and explanation",
|
|
33740
|
+
description: "Adapt this task to a new fictional setting: Classify synthetic suspicious email examples; evaluation considered: Identify cues without following links or sharing secrets; compare two alternative approaches and justify one under time and resource constraints.",
|
|
33741
|
+
narrative: "Adapt this task to a new fictional setting: Classify synthetic suspicious email examples; evaluation considered: Identify cues without following links or sharing secrets; compare two alternative approaches and justify one under time and resource constraints.",
|
|
33742
|
+
genre: "Portfolio",
|
|
33743
|
+
audience: "Assessors"
|
|
33744
|
+
},
|
|
33745
|
+
{
|
|
33746
|
+
id: "https://fixtures.example.org/frenchfry/evidence/ddf7bc68efd4/transfer-review",
|
|
33747
|
+
type: ["Evidence"],
|
|
33748
|
+
name: "Revision and peer critique record",
|
|
33749
|
+
narrative: "An initial approach was reviewed; the learner documented assumptions, evaluated an alternative and revised the work.",
|
|
33750
|
+
genre: "Reflective critique"
|
|
33751
|
+
}
|
|
33752
|
+
]
|
|
33753
|
+
}
|
|
33754
|
+
};
|
|
33755
|
+
|
|
33756
|
+
// src/fixtures/custom/course-enrollment.ts
|
|
33757
|
+
var import_types37 = require("@learncard/types");
|
|
33758
|
+
var customCourseEnrollment = {
|
|
33759
|
+
id: "custom/course-enrollment",
|
|
33760
|
+
name: "Course Enrollment",
|
|
33761
|
+
description: "Administrative course enrollment claim without completion, assessment, or skill attainment.",
|
|
33762
|
+
spec: "custom",
|
|
33763
|
+
profile: "generic",
|
|
33764
|
+
features: ["expiration"],
|
|
33765
|
+
source: "synthetic",
|
|
33766
|
+
signed: false,
|
|
33767
|
+
validity: "valid",
|
|
33768
|
+
validator: import_types37.UnsignedVCValidator,
|
|
33769
|
+
tags: ["enrollment", "administrative", "non-achievement"],
|
|
33770
|
+
credential: {
|
|
33771
|
+
"@context": [
|
|
33772
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33773
|
+
{
|
|
33774
|
+
designation: "https://fixtures.example.org/frenchfry/vocab/designation",
|
|
33775
|
+
claimScope: "https://fixtures.example.org/frenchfry/vocab/claimScope",
|
|
33776
|
+
claimRole: "https://fixtures.example.org/frenchfry/vocab/claimRole",
|
|
33777
|
+
Profile: "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Profile",
|
|
33778
|
+
url: {
|
|
33779
|
+
"@id": "https://schema.org/url",
|
|
33780
|
+
"@type": "https://www.w3.org/2001/XMLSchema#anyURI"
|
|
33781
|
+
},
|
|
33782
|
+
CourseEnrollmentCredential: "https://fixtures.example.org/frenchfry/vocab/CourseEnrollmentCredential"
|
|
33783
|
+
}
|
|
33784
|
+
],
|
|
33785
|
+
id: "urn:uuid:6ea43ad2-3fb5-55dd-aee8-6380b7ec0725",
|
|
33786
|
+
type: ["VerifiableCredential", "CourseEnrollmentCredential"],
|
|
33787
|
+
issuer: {
|
|
33788
|
+
id: "did:web:registrar.metropolis-university-example.edu",
|
|
33789
|
+
type: ["Profile"],
|
|
33790
|
+
name: "Metropolis University \u2013 Office of the Registrar",
|
|
33791
|
+
url: "https://metropolis-university-example.edu"
|
|
33792
|
+
},
|
|
33793
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33794
|
+
validUntil: "2027-09-01T00:00:00Z",
|
|
33795
|
+
name: "Course Enrollment",
|
|
33796
|
+
description: "Administrative course enrollment claim without completion, assessment, or skill attainment.",
|
|
33797
|
+
credentialSubject: {
|
|
33798
|
+
id: "https://fixtures.example.org/frenchfry/personas/admin-5",
|
|
33799
|
+
designation: "Course enrollment",
|
|
33800
|
+
claimRole: "student",
|
|
33801
|
+
claimScope: "Enrollment in a fictional database course"
|
|
33802
|
+
}
|
|
33803
|
+
}
|
|
33804
|
+
};
|
|
33805
|
+
|
|
33806
|
+
// src/fixtures/custom/exam-accommodation.ts
|
|
33807
|
+
var import_types38 = require("@learncard/types");
|
|
33808
|
+
var customExamAccommodation = {
|
|
33809
|
+
id: "custom/exam-accommodation",
|
|
33810
|
+
name: "Extended Exam Time",
|
|
33811
|
+
description: "Administrative exam accommodation claim without a diagnosis or assessed achievement.",
|
|
33812
|
+
spec: "custom",
|
|
33813
|
+
profile: "generic",
|
|
33814
|
+
features: ["expiration"],
|
|
33815
|
+
source: "synthetic",
|
|
33816
|
+
signed: false,
|
|
33817
|
+
validity: "valid",
|
|
33818
|
+
validator: import_types38.UnsignedVCValidator,
|
|
33819
|
+
tags: ["accommodation", "administrative", "non-achievement"],
|
|
33820
|
+
credential: {
|
|
33821
|
+
"@context": [
|
|
33822
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33823
|
+
{
|
|
33824
|
+
designation: "https://fixtures.example.org/frenchfry/vocab/designation",
|
|
33825
|
+
claimScope: "https://fixtures.example.org/frenchfry/vocab/claimScope",
|
|
33826
|
+
claimRole: "https://fixtures.example.org/frenchfry/vocab/claimRole",
|
|
33827
|
+
Profile: "https://purl.imsglobal.org/spec/vc/ob/vocab.html#Profile",
|
|
33828
|
+
url: {
|
|
33829
|
+
"@id": "https://schema.org/url",
|
|
33830
|
+
"@type": "https://www.w3.org/2001/XMLSchema#anyURI"
|
|
33831
|
+
},
|
|
33832
|
+
ExamAccommodationCredential: "https://fixtures.example.org/frenchfry/vocab/ExamAccommodationCredential"
|
|
33833
|
+
}
|
|
33834
|
+
],
|
|
33835
|
+
id: "urn:uuid:0e341ee2-6006-51b9-a559-62d7ac21a4e1",
|
|
33836
|
+
type: ["VerifiableCredential", "ExamAccommodationCredential"],
|
|
33837
|
+
issuer: {
|
|
33838
|
+
id: "did:web:university-example.edu",
|
|
33839
|
+
type: ["Profile"],
|
|
33840
|
+
name: "State University",
|
|
33841
|
+
url: "https://university-example.edu"
|
|
33842
|
+
},
|
|
33843
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33844
|
+
validUntil: "2027-09-01T00:00:00Z",
|
|
33845
|
+
name: "Extended Exam Time",
|
|
33846
|
+
description: "Administrative exam accommodation claim without a diagnosis or assessed achievement.",
|
|
33847
|
+
credentialSubject: {
|
|
33848
|
+
id: "https://fixtures.example.org/frenchfry/personas/admin-20",
|
|
33849
|
+
designation: "Extended exam time",
|
|
33850
|
+
claimRole: "recipient",
|
|
33851
|
+
claimScope: "Fictional extra time provision; no diagnosis included"
|
|
33852
|
+
}
|
|
33853
|
+
}
|
|
33854
|
+
};
|
|
33855
|
+
|
|
33856
|
+
// src/fixtures/clr/mixed-role-portfolio.ts
|
|
33857
|
+
var import_types39 = require("@learncard/types");
|
|
33858
|
+
var clrMixedRolePortfolio = {
|
|
33859
|
+
id: "clr/mixed-role-portfolio",
|
|
33860
|
+
name: "Quadratic Modeling and Statistical Sampling Portfolio",
|
|
33861
|
+
description: "CLR collection with two learner assessments, one instructor assessment, and scalar Association types.",
|
|
33862
|
+
spec: "clr-v2",
|
|
33863
|
+
profile: "learner-record",
|
|
33864
|
+
features: [
|
|
33865
|
+
"evidence",
|
|
33866
|
+
"alignment",
|
|
33867
|
+
"results",
|
|
33868
|
+
"expiration",
|
|
33869
|
+
"associations",
|
|
33870
|
+
"nested-credentials"
|
|
33871
|
+
],
|
|
33872
|
+
source: "synthetic",
|
|
33873
|
+
signed: false,
|
|
33874
|
+
validity: "valid",
|
|
33875
|
+
validator: import_types39.UnsignedClrCredentialValidator,
|
|
33876
|
+
tags: ["portfolio", "mixed-role", "canonical-associations", "achievement-ids"],
|
|
33877
|
+
credential: {
|
|
33878
|
+
"@context": [
|
|
33879
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33880
|
+
"https://purl.imsglobal.org/spec/clr/v2p0/context.json",
|
|
33881
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
33882
|
+
],
|
|
33883
|
+
id: "urn:uuid:47213155-4246-5f73-bcf4-54776e488e21",
|
|
33884
|
+
type: ["VerifiableCredential", "ClrCredential"],
|
|
33885
|
+
name: "Quadratic Modeling and Statistical Sampling Portfolio",
|
|
33886
|
+
description: "Portfolio of quadratic modeling practice, statistical sampling transfer, and teaching performance.",
|
|
33887
|
+
issuer: {
|
|
33888
|
+
id: "did:example:communitycollegeXYZ",
|
|
33889
|
+
type: ["Profile"],
|
|
33890
|
+
name: "Community College XYZ",
|
|
33891
|
+
url: "https://ccxyz.example.edu"
|
|
33892
|
+
},
|
|
33893
|
+
validFrom: "2026-09-02T00:00:00Z",
|
|
33894
|
+
credentialSubject: {
|
|
33895
|
+
id: "https://fixtures.example.org/frenchfry/personas/b8aecbfaee47",
|
|
33896
|
+
type: ["ClrSubject"],
|
|
33897
|
+
verifiableCredential: [
|
|
33898
|
+
{
|
|
33899
|
+
"@context": [
|
|
33900
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33901
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
33902
|
+
],
|
|
33903
|
+
id: "urn:uuid:a70a3561-5b59-56ef-95c3-fba84bf4dbb6",
|
|
33904
|
+
type: ["VerifiableCredential", "OpenBadgeCredential"],
|
|
33905
|
+
name: "Quadratic modeling \u2014 observed practice",
|
|
33906
|
+
description: "Fit a parabola to a simulated projectile dataset. Demonstrate a controlled practice task with observer feedback.",
|
|
33907
|
+
issuer: {
|
|
33908
|
+
id: "did:example:communitycollegeXYZ",
|
|
33909
|
+
type: ["Profile"],
|
|
33910
|
+
name: "Community College XYZ",
|
|
33911
|
+
url: "https://ccxyz.example.edu"
|
|
33912
|
+
},
|
|
33913
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33914
|
+
validUntil: "2028-09-01T00:00:00Z",
|
|
33915
|
+
credentialSubject: {
|
|
33916
|
+
id: "https://fixtures.example.org/frenchfry/personas/b8aecbfaee47",
|
|
33917
|
+
type: ["AchievementSubject"],
|
|
33918
|
+
achievement: {
|
|
33919
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/practice",
|
|
33920
|
+
type: ["Achievement"],
|
|
33921
|
+
achievementType: "Assessment",
|
|
33922
|
+
name: "Quadratic modeling \u2014 observed practice",
|
|
33923
|
+
description: "Fit a parabola to a simulated projectile dataset. Demonstrate a controlled practice task with observer feedback.",
|
|
33924
|
+
criteria: {
|
|
33925
|
+
narrative: "Report residuals and explain the valid time domain"
|
|
33926
|
+
},
|
|
33927
|
+
fieldOfStudy: "education",
|
|
33928
|
+
inLanguage: "en",
|
|
33929
|
+
tag: ["education", "Quadratic modeling", "learner"],
|
|
33930
|
+
resultDescription: [
|
|
33931
|
+
{
|
|
33932
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/practice/rubric",
|
|
33933
|
+
type: ["ResultDescription"],
|
|
33934
|
+
name: "Simulated performance rubric",
|
|
33935
|
+
resultType: "Percent",
|
|
33936
|
+
valueMin: "0",
|
|
33937
|
+
valueMax: "100",
|
|
33938
|
+
requiredValue: "80"
|
|
33939
|
+
}
|
|
33940
|
+
]
|
|
33941
|
+
},
|
|
33942
|
+
role: "learner",
|
|
33943
|
+
narrative: "Demonstrate a controlled practice task with observer feedback.",
|
|
33944
|
+
activityStartDate: "2026-08-01T00:00:00Z",
|
|
33945
|
+
activityEndDate: "2026-08-31T00:00:00Z",
|
|
33946
|
+
result: [
|
|
33947
|
+
{
|
|
33948
|
+
type: ["Result"],
|
|
33949
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/practice/rubric",
|
|
33950
|
+
value: "86",
|
|
33951
|
+
status: "Completed"
|
|
33952
|
+
}
|
|
33953
|
+
]
|
|
33954
|
+
},
|
|
33955
|
+
evidence: [
|
|
33956
|
+
{
|
|
33957
|
+
id: "https://fixtures.example.org/frenchfry/evidence/b8aecbfaee47/practice",
|
|
33958
|
+
type: ["Evidence"],
|
|
33959
|
+
name: "Model notebook and residual plot",
|
|
33960
|
+
description: "Fit a parabola to a simulated projectile dataset; evaluation considered: Report residuals and explain the valid time domain",
|
|
33961
|
+
narrative: "Fit a parabola to a simulated projectile dataset; evaluation considered: Report residuals and explain the valid time domain",
|
|
33962
|
+
genre: "Observation record",
|
|
33963
|
+
audience: "Assessors"
|
|
33964
|
+
}
|
|
33965
|
+
]
|
|
33966
|
+
},
|
|
33967
|
+
{
|
|
33968
|
+
"@context": [
|
|
33969
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
33970
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
33971
|
+
],
|
|
33972
|
+
id: "urn:uuid:16476c98-56e6-5d0e-96dc-9ab47f234874",
|
|
33973
|
+
type: ["VerifiableCredential", "OpenBadgeCredential"],
|
|
33974
|
+
name: "Statistical sampling \u2014 independent transfer project",
|
|
33975
|
+
description: "Adapt this task to a new fictional setting: Design a stratified survey for a fictional school. Complete an independently planned transfer project, recording assumptions, an initial failed approach and a supported revision.",
|
|
33976
|
+
issuer: {
|
|
33977
|
+
id: "did:example:communitycollegeXYZ",
|
|
33978
|
+
type: ["Profile"],
|
|
33979
|
+
name: "Community College XYZ",
|
|
33980
|
+
url: "https://ccxyz.example.edu"
|
|
33981
|
+
},
|
|
33982
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
33983
|
+
validUntil: "2028-09-01T00:00:00Z",
|
|
33984
|
+
credentialSubject: {
|
|
33985
|
+
id: "https://fixtures.example.org/frenchfry/personas/b8aecbfaee47",
|
|
33986
|
+
type: ["AchievementSubject"],
|
|
33987
|
+
achievement: {
|
|
33988
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer",
|
|
33989
|
+
type: ["Achievement"],
|
|
33990
|
+
achievementType: "Course",
|
|
33991
|
+
name: "Statistical sampling \u2014 independent transfer project",
|
|
33992
|
+
description: "Adapt this task to a new fictional setting: Design a stratified survey for a fictional school. Complete an independently planned transfer project, recording assumptions, an initial failed approach and a supported revision.",
|
|
33993
|
+
criteria: {
|
|
33994
|
+
narrative: "Identify population, sampling frame and two bias risks; compare two alternative approaches and justify one under time and resource constraints."
|
|
33995
|
+
},
|
|
33996
|
+
fieldOfStudy: "education",
|
|
33997
|
+
inLanguage: "en",
|
|
33998
|
+
tag: ["education", "Statistical sampling", "learner"],
|
|
33999
|
+
resultDescription: [
|
|
34000
|
+
{
|
|
34001
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric",
|
|
34002
|
+
type: ["ResultDescription"],
|
|
34003
|
+
name: "Independent transfer rubric",
|
|
34004
|
+
resultType: "RubricCriterionLevel",
|
|
34005
|
+
requiredLevel: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/proficient",
|
|
34006
|
+
rubricCriterionLevel: [
|
|
34007
|
+
{
|
|
34008
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/developing",
|
|
34009
|
+
type: ["RubricCriterionLevel"],
|
|
34010
|
+
name: "Developing",
|
|
34011
|
+
level: "1",
|
|
34012
|
+
description: "Needs support to complete: Adapt this task to a new fictional setting: Design a stratified survey for a fictional school",
|
|
34013
|
+
points: "1"
|
|
34014
|
+
},
|
|
34015
|
+
{
|
|
34016
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/proficient",
|
|
34017
|
+
type: ["RubricCriterionLevel"],
|
|
34018
|
+
name: "Proficient",
|
|
34019
|
+
level: "2",
|
|
34020
|
+
description: "Meets the task criterion: Identify population, sampling frame and two bias risks; compare two alternative approaches and justify one under time and resource constraints.",
|
|
34021
|
+
points: "2"
|
|
34022
|
+
},
|
|
34023
|
+
{
|
|
34024
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/advanced",
|
|
34025
|
+
type: ["RubricCriterionLevel"],
|
|
34026
|
+
name: "Advanced",
|
|
34027
|
+
level: "3",
|
|
34028
|
+
description: "Meets criterion and explains limits and alternative approaches.",
|
|
34029
|
+
points: "3"
|
|
34030
|
+
}
|
|
34031
|
+
]
|
|
34032
|
+
}
|
|
34033
|
+
],
|
|
34034
|
+
alignment: [
|
|
34035
|
+
{
|
|
34036
|
+
type: ["Alignment"],
|
|
34037
|
+
targetName: "statistics",
|
|
34038
|
+
targetUrl: "http://data.europa.eu/esco/skill/7ee4c2ea-b349-4bd2-81a3-ec31475d4833",
|
|
34039
|
+
targetFramework: "ESCO (requested dataset v1.2.0)",
|
|
34040
|
+
targetDescription: "The study of statistical theory, methods and practices such as collection, organisation, analysis, interpretation and presentation of data. It deals with all aspects of data including the planning of data collection in terms of the design of surveys and experiments in order to forecast and plan work-related activities."
|
|
34041
|
+
}
|
|
34042
|
+
],
|
|
34043
|
+
creditsAvailable: 2
|
|
34044
|
+
},
|
|
34045
|
+
role: "learner",
|
|
34046
|
+
narrative: "Complete an independently planned transfer project, recording assumptions, an initial failed approach and a supported revision.",
|
|
34047
|
+
activityStartDate: "2026-08-01T00:00:00Z",
|
|
34048
|
+
activityEndDate: "2026-08-31T00:00:00Z",
|
|
34049
|
+
result: [
|
|
34050
|
+
{
|
|
34051
|
+
type: ["Result"],
|
|
34052
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric",
|
|
34053
|
+
achievedLevel: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/proficient",
|
|
34054
|
+
status: "Completed"
|
|
34055
|
+
}
|
|
34056
|
+
],
|
|
34057
|
+
creditsEarned: 2,
|
|
34058
|
+
term: "Synthetic Fall 2026"
|
|
34059
|
+
},
|
|
34060
|
+
evidence: [
|
|
34061
|
+
{
|
|
34062
|
+
id: "https://fixtures.example.org/frenchfry/evidence/c573cf61265a/transfer",
|
|
34063
|
+
type: ["Evidence"],
|
|
34064
|
+
name: "Independent project dossier; Sampling plan and response audit",
|
|
34065
|
+
description: "Adapt this task to a new fictional setting: Design a stratified survey for a fictional school; evaluation considered: Identify population, sampling frame and two bias risks; compare two alternative approaches and justify one under time and resource constraints.",
|
|
34066
|
+
narrative: "Adapt this task to a new fictional setting: Design a stratified survey for a fictional school; evaluation considered: Identify population, sampling frame and two bias risks; compare two alternative approaches and justify one under time and resource constraints.",
|
|
34067
|
+
genre: "Portfolio",
|
|
34068
|
+
audience: "Assessors"
|
|
34069
|
+
},
|
|
34070
|
+
{
|
|
34071
|
+
id: "https://fixtures.example.org/frenchfry/evidence/c573cf61265a/transfer-review",
|
|
34072
|
+
type: ["Evidence"],
|
|
34073
|
+
name: "Revision and peer critique record",
|
|
34074
|
+
narrative: "An initial approach was reviewed; the learner documented assumptions, evaluated an alternative and revised the work.",
|
|
34075
|
+
genre: "Reflective critique"
|
|
34076
|
+
}
|
|
34077
|
+
]
|
|
34078
|
+
},
|
|
34079
|
+
{
|
|
34080
|
+
"@context": [
|
|
34081
|
+
"https://www.w3.org/ns/credentials/v2",
|
|
34082
|
+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
|
|
34083
|
+
],
|
|
34084
|
+
id: "urn:uuid:b2aadaa8-c127-5a89-b4d0-c7f20f4da0df",
|
|
34085
|
+
type: ["VerifiableCredential", "OpenBadgeCredential"],
|
|
34086
|
+
name: "Teaching Quadratic modeling \u2014 facilitator performance",
|
|
34087
|
+
description: "Facilitate a simulated novice task: Fit a parabola to a simulated projectile dataset. Assesses teaching performance; independent learner skill is outside this assessment.",
|
|
34088
|
+
issuer: {
|
|
34089
|
+
id: "did:example:communitycollegeXYZ",
|
|
34090
|
+
type: ["Profile"],
|
|
34091
|
+
name: "Community College XYZ",
|
|
34092
|
+
url: "https://ccxyz.example.edu"
|
|
34093
|
+
},
|
|
34094
|
+
validFrom: "2026-09-01T00:00:00Z",
|
|
34095
|
+
validUntil: "2028-09-01T00:00:00Z",
|
|
34096
|
+
credentialSubject: {
|
|
34097
|
+
id: "https://fixtures.example.org/frenchfry/personas/b8aecbfaee47",
|
|
34098
|
+
type: ["AchievementSubject"],
|
|
34099
|
+
achievement: {
|
|
34100
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/facilitator",
|
|
34101
|
+
type: ["Achievement"],
|
|
34102
|
+
achievementType: "Assessment",
|
|
34103
|
+
name: "Teaching Quadratic modeling \u2014 facilitator performance",
|
|
34104
|
+
description: "Facilitate a simulated novice task: Fit a parabola to a simulated projectile dataset. Assesses teaching performance; independent learner skill is outside this assessment.",
|
|
34105
|
+
criteria: {
|
|
34106
|
+
narrative: "Coach the novice to explain and apply this task criterion: Report residuals and explain the valid time domain. Use an error example, ask for a revised attempt and distinguish this learning task from Linear regression."
|
|
34107
|
+
},
|
|
34108
|
+
fieldOfStudy: "education",
|
|
34109
|
+
inLanguage: "en",
|
|
34110
|
+
tag: ["education", "Quadratic modeling", "instructor"],
|
|
34111
|
+
resultDescription: [
|
|
34112
|
+
{
|
|
34113
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/facilitator/rubric",
|
|
34114
|
+
type: ["ResultDescription"],
|
|
34115
|
+
name: "Instruction performance",
|
|
34116
|
+
resultType: "PerformanceLevel",
|
|
34117
|
+
allowedValue: ["Developing", "Proficient", "Advanced"],
|
|
34118
|
+
requiredValue: "Proficient"
|
|
34119
|
+
}
|
|
34120
|
+
],
|
|
34121
|
+
alignment: [
|
|
34122
|
+
{
|
|
34123
|
+
type: ["Alignment"],
|
|
34124
|
+
targetName: "Instructing",
|
|
34125
|
+
targetUrl: "https://www.onetcenter.org/ctdlasn/resources/ce-07c266f7-9119-11e8-b852-782bcb5df6ac",
|
|
34126
|
+
targetFramework: "O*NET Content Model Worker Requirements - Transferable Skills: U.S. Department of Labor (DOL)",
|
|
34127
|
+
targetDescription: "Teaching others how to do something.",
|
|
34128
|
+
targetType: "ceasn:Competency",
|
|
34129
|
+
targetCode: "2.B.1.e"
|
|
34130
|
+
}
|
|
34131
|
+
]
|
|
34132
|
+
},
|
|
34133
|
+
role: "instructor",
|
|
34134
|
+
narrative: "Assesses teaching performance; independent learner skill is outside this assessment.",
|
|
34135
|
+
activityStartDate: "2026-08-01T00:00:00Z",
|
|
34136
|
+
activityEndDate: "2026-08-31T00:00:00Z",
|
|
34137
|
+
result: [
|
|
34138
|
+
{
|
|
34139
|
+
type: ["Result"],
|
|
34140
|
+
resultDescription: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/facilitator/rubric",
|
|
34141
|
+
value: "Proficient",
|
|
34142
|
+
status: "Completed"
|
|
34143
|
+
}
|
|
34144
|
+
]
|
|
34145
|
+
},
|
|
34146
|
+
evidence: [
|
|
34147
|
+
{
|
|
34148
|
+
id: "https://fixtures.example.org/frenchfry/evidence/b8aecbfaee47/facilitator",
|
|
34149
|
+
type: ["Evidence"],
|
|
34150
|
+
name: "Instructional worked example based on Model notebook and residual plot; simulated teach-back and observer critique",
|
|
34151
|
+
description: "Facilitate a simulated novice task: Fit a parabola to a simulated projectile dataset; evaluation considered: Coach the novice to explain and apply this task criterion: Report residuals and explain the valid time domain. Use an error example, ask for a revised attempt and distinguish this learning task from Linear regression.",
|
|
34152
|
+
narrative: "Facilitate a simulated novice task: Fit a parabola to a simulated projectile dataset; evaluation considered: Coach the novice to explain and apply this task criterion: Report residuals and explain the valid time domain. Use an error example, ask for a revised attempt and distinguish this learning task from Linear regression.",
|
|
34153
|
+
genre: "Portfolio",
|
|
34154
|
+
audience: "Assessors"
|
|
34155
|
+
}
|
|
34156
|
+
]
|
|
34157
|
+
}
|
|
34158
|
+
],
|
|
34159
|
+
achievement: [
|
|
34160
|
+
{
|
|
34161
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/practice",
|
|
34162
|
+
type: ["Achievement"],
|
|
34163
|
+
achievementType: "Assessment",
|
|
34164
|
+
name: "Quadratic modeling \u2014 observed practice",
|
|
34165
|
+
description: "Fit a parabola to a simulated projectile dataset. Demonstrate a controlled practice task with observer feedback.",
|
|
34166
|
+
criteria: {
|
|
34167
|
+
narrative: "Report residuals and explain the valid time domain"
|
|
34168
|
+
},
|
|
34169
|
+
fieldOfStudy: "education",
|
|
34170
|
+
inLanguage: "en",
|
|
34171
|
+
tag: ["education", "Quadratic modeling", "learner"],
|
|
34172
|
+
resultDescription: [
|
|
34173
|
+
{
|
|
34174
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/practice/rubric",
|
|
34175
|
+
type: ["ResultDescription"],
|
|
34176
|
+
name: "Simulated performance rubric",
|
|
34177
|
+
resultType: "Percent",
|
|
34178
|
+
valueMin: "0",
|
|
34179
|
+
valueMax: "100",
|
|
34180
|
+
requiredValue: "80"
|
|
34181
|
+
}
|
|
34182
|
+
]
|
|
34183
|
+
},
|
|
34184
|
+
{
|
|
34185
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer",
|
|
34186
|
+
type: ["Achievement"],
|
|
34187
|
+
achievementType: "Course",
|
|
34188
|
+
name: "Statistical sampling \u2014 independent transfer project",
|
|
34189
|
+
description: "Adapt this task to a new fictional setting: Design a stratified survey for a fictional school. Complete an independently planned transfer project, recording assumptions, an initial failed approach and a supported revision.",
|
|
34190
|
+
criteria: {
|
|
34191
|
+
narrative: "Identify population, sampling frame and two bias risks; compare two alternative approaches and justify one under time and resource constraints."
|
|
34192
|
+
},
|
|
34193
|
+
fieldOfStudy: "education",
|
|
34194
|
+
inLanguage: "en",
|
|
34195
|
+
tag: ["education", "Statistical sampling", "learner"],
|
|
34196
|
+
resultDescription: [
|
|
34197
|
+
{
|
|
34198
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric",
|
|
34199
|
+
type: ["ResultDescription"],
|
|
34200
|
+
name: "Independent transfer rubric",
|
|
34201
|
+
resultType: "RubricCriterionLevel",
|
|
34202
|
+
requiredLevel: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/proficient",
|
|
34203
|
+
rubricCriterionLevel: [
|
|
34204
|
+
{
|
|
34205
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/developing",
|
|
34206
|
+
type: ["RubricCriterionLevel"],
|
|
34207
|
+
name: "Developing",
|
|
34208
|
+
level: "1",
|
|
34209
|
+
description: "Needs support to complete: Adapt this task to a new fictional setting: Design a stratified survey for a fictional school",
|
|
34210
|
+
points: "1"
|
|
34211
|
+
},
|
|
34212
|
+
{
|
|
34213
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/proficient",
|
|
34214
|
+
type: ["RubricCriterionLevel"],
|
|
34215
|
+
name: "Proficient",
|
|
34216
|
+
level: "2",
|
|
34217
|
+
description: "Meets the task criterion: Identify population, sampling frame and two bias risks; compare two alternative approaches and justify one under time and resource constraints.",
|
|
34218
|
+
points: "2"
|
|
34219
|
+
},
|
|
34220
|
+
{
|
|
34221
|
+
id: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer/rubric/advanced",
|
|
34222
|
+
type: ["RubricCriterionLevel"],
|
|
34223
|
+
name: "Advanced",
|
|
34224
|
+
level: "3",
|
|
34225
|
+
description: "Meets criterion and explains limits and alternative approaches.",
|
|
34226
|
+
points: "3"
|
|
34227
|
+
}
|
|
34228
|
+
]
|
|
34229
|
+
}
|
|
34230
|
+
],
|
|
34231
|
+
alignment: [
|
|
34232
|
+
{
|
|
34233
|
+
type: ["Alignment"],
|
|
34234
|
+
targetName: "statistics",
|
|
34235
|
+
targetUrl: "http://data.europa.eu/esco/skill/7ee4c2ea-b349-4bd2-81a3-ec31475d4833",
|
|
34236
|
+
targetFramework: "ESCO (requested dataset v1.2.0)",
|
|
34237
|
+
targetDescription: "The study of statistical theory, methods and practices such as collection, organisation, analysis, interpretation and presentation of data. It deals with all aspects of data including the planning of data collection in terms of the design of surveys and experiments in order to forecast and plan work-related activities."
|
|
34238
|
+
}
|
|
34239
|
+
],
|
|
34240
|
+
creditsAvailable: 2
|
|
34241
|
+
},
|
|
34242
|
+
{
|
|
34243
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/facilitator",
|
|
34244
|
+
type: ["Achievement"],
|
|
34245
|
+
achievementType: "Assessment",
|
|
34246
|
+
name: "Teaching Quadratic modeling \u2014 facilitator performance",
|
|
34247
|
+
description: "Facilitate a simulated novice task: Fit a parabola to a simulated projectile dataset. Assesses teaching performance; independent learner skill is outside this assessment.",
|
|
34248
|
+
criteria: {
|
|
34249
|
+
narrative: "Coach the novice to explain and apply this task criterion: Report residuals and explain the valid time domain. Use an error example, ask for a revised attempt and distinguish this learning task from Linear regression."
|
|
34250
|
+
},
|
|
34251
|
+
fieldOfStudy: "education",
|
|
34252
|
+
inLanguage: "en",
|
|
34253
|
+
tag: ["education", "Quadratic modeling", "instructor"],
|
|
34254
|
+
resultDescription: [
|
|
34255
|
+
{
|
|
34256
|
+
id: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/facilitator/rubric",
|
|
34257
|
+
type: ["ResultDescription"],
|
|
34258
|
+
name: "Instruction performance",
|
|
34259
|
+
resultType: "PerformanceLevel",
|
|
34260
|
+
allowedValue: ["Developing", "Proficient", "Advanced"],
|
|
34261
|
+
requiredValue: "Proficient"
|
|
34262
|
+
}
|
|
34263
|
+
],
|
|
34264
|
+
alignment: [
|
|
34265
|
+
{
|
|
34266
|
+
type: ["Alignment"],
|
|
34267
|
+
targetName: "Instructing",
|
|
34268
|
+
targetUrl: "https://www.onetcenter.org/ctdlasn/resources/ce-07c266f7-9119-11e8-b852-782bcb5df6ac",
|
|
34269
|
+
targetFramework: "O*NET Content Model Worker Requirements - Transferable Skills: U.S. Department of Labor (DOL)",
|
|
34270
|
+
targetDescription: "Teaching others how to do something.",
|
|
34271
|
+
targetType: "ceasn:Competency",
|
|
34272
|
+
targetCode: "2.B.1.e"
|
|
34273
|
+
}
|
|
34274
|
+
]
|
|
34275
|
+
}
|
|
34276
|
+
],
|
|
34277
|
+
association: [
|
|
34278
|
+
{
|
|
34279
|
+
type: "Association",
|
|
34280
|
+
associationType: "isRelatedTo",
|
|
34281
|
+
sourceId: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/practice",
|
|
34282
|
+
targetId: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer"
|
|
34283
|
+
},
|
|
34284
|
+
{
|
|
34285
|
+
type: "Association",
|
|
34286
|
+
associationType: "isRelatedTo",
|
|
34287
|
+
sourceId: "https://fixtures.example.org/frenchfry/achievements/c573cf61265a/transfer",
|
|
34288
|
+
targetId: "https://fixtures.example.org/frenchfry/achievements/b8aecbfaee47/facilitator"
|
|
34289
|
+
}
|
|
34290
|
+
]
|
|
34291
|
+
}
|
|
34292
|
+
}
|
|
34293
|
+
};
|
|
34294
|
+
|
|
32914
34295
|
// src/fixtures/sd-jwt-vc/course-completion.ts
|
|
32915
34296
|
var sdJwtVcCourseCompletion = {
|
|
32916
34297
|
kind: "sd-jwt-vc",
|
|
@@ -32955,6 +34336,13 @@ var ALL_FIXTURES = [
|
|
|
32955
34336
|
obv3PlugfestJff2,
|
|
32956
34337
|
obv3OneedtechFull,
|
|
32957
34338
|
obv3ProfessionalCert,
|
|
34339
|
+
obv3QualificationLicense,
|
|
34340
|
+
obv3QualificationCertification,
|
|
34341
|
+
obv3QualificationApprenticeship,
|
|
34342
|
+
obv3QualificationJourneyman,
|
|
34343
|
+
obv3QualificationMaster,
|
|
34344
|
+
obv3QualificationExpired,
|
|
34345
|
+
obv3QualificationBadgeOverride,
|
|
32958
34346
|
obv3MicroCredential,
|
|
32959
34347
|
obv3CourseCompletion,
|
|
32960
34348
|
obv3StandaloneFullCourse,
|
|
@@ -33002,6 +34390,14 @@ var ALL_FIXTURES = [
|
|
|
33002
34390
|
clrAchievementIdAssociations,
|
|
33003
34391
|
clrProvisionalTranscript,
|
|
33004
34392
|
clrDemoIsdDiplomaAssessments,
|
|
34393
|
+
// Curated examples
|
|
34394
|
+
obv3FoodAllergenPractice,
|
|
34395
|
+
obv3FoodAllergenFacilitator,
|
|
34396
|
+
obv3FoodAllergenPracticeFr,
|
|
34397
|
+
obv3PhishingTransfer,
|
|
34398
|
+
customCourseEnrollment,
|
|
34399
|
+
customExamAccommodation,
|
|
34400
|
+
clrMixedRolePortfolio,
|
|
33005
34401
|
// SD-JWT VC
|
|
33006
34402
|
sdJwtVcCourseCompletion
|
|
33007
34403
|
];
|