Andy Miller (IMS) 45734fa9d4 Add credentialStatus test
This uses the wellspring2022-portal app. If it ever breaks, the data was probably changed in the app.
2023-05-22 10:30:29 +09:00

56 lines
2.4 KiB
JSON

{
"@context" : [ "https://www.w3.org/2018/credentials/v1", "https://purl.imsglobal.org/spec/ob/v3p0/context.json", "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json", "https://w3id.org/security/suites/ed25519-2020/v1" ],
"id" : "https://dc.1edtech.org/wellspring2022/wellspring-portal/credential/54418d3f-ec01-4652-800a-861c890a51a1",
"type" : [ "VerifiableCredential", "AchievementCredential" ],
"issuer" : {
"id" : "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:org:da1e96e9-afcc-4eed-b9a2-2ddf7353214c",
"type" : "Profile",
"address" : {
"type" : "Address",
"addressCountry" : "Japan"
},
"name" : "1EdTech Testing"
},
"awardedDate" : "2023-05-22T10:21:00Z",
"issuanceDate" : "2023-05-22T01:25:28Z",
"name" : "credential-status-revoked",
"description" : "This achievement credential is used in ims-inspector OB30Tests.",
"credentialSubject" : {
"id" : "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:learner:6896f98f-6b42-4c75-98ec-8befd0dc0b29",
"type" : "AchievementSubject",
"achievement" : {
"id" : "https://dc.1edtech.org/wellspring2022/wellspring-portal/achievement/45badd38-e201-4cf3-927f-be55bc7eb414",
"type" : "Achievement",
"achievementType" : "Achievement",
"criteria" : {
"narrative" : "Passes tests"
},
"description" : "Test achievement 1",
"name" : "Achievement 1"
},
"source" : {
"id" : "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:org:da1e96e9-afcc-4eed-b9a2-2ddf7353214c",
"type" : "Profile",
"address" : {
"type" : "Address",
"addressCountry" : "Japan"
},
"name" : "1EdTech Testing"
}
},
"credentialStatus" : {
"id" : "https://dc.1edtech.org/wellspring2022/wellspring-portal/api/revocations/da1e96e9-afcc-4eed-b9a2-2ddf7353214c",
"type" : "1EdTechRevocationList"
},
"refreshService" : {
"id" : "https://dc.1edtech.org/wellspring2022/wellspring-portal/api/refresh/54418d3f-ec01-4652-800a-861c890a51a1",
"type" : "1EdTechCredentialRefresh"
},
"proof" : {
"type" : "Ed25519Signature2020",
"created" : "2023-05-22T01:25:28Z",
"proofPurpose" : "assertionMethod",
"verificationMethod" : "did:web:dc.1edtech.org:wellspring2022:wellspring-portal:org:da1e96e9-afcc-4eed-b9a2-2ddf7353214c#key-0",
"proofValue" : "zXx8gzfqZT6snD9ZkJfMmRDVm1qoKt5gRoSnev6rTeQ4tCLPivv4ocpDEFpKwxyXakAqa76duAhfNcqUeWfnBasp"
}
}