diff --git a/inspector-vc/src/test/resources/ob30/simple-json.png b/inspector-vc/src/test/resources/ob30/simple-json.png index ee80f0a..f1b1f70 100644 Binary files a/inspector-vc/src/test/resources/ob30/simple-json.png and b/inspector-vc/src/test/resources/ob30/simple-json.png differ diff --git a/inspector-vc/src/test/resources/ob30/simple-json.svg b/inspector-vc/src/test/resources/ob30/simple-json.svg index 4a4f39c..9b83371 100644 --- a/inspector-vc/src/test/resources/ob30/simple-json.svg +++ b/inspector-vc/src/test/resources/ob30/simple-json.svg @@ -10,54 +10,49 @@ "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json", "https://w3id.org/security/suites/ed25519-2020/v1" ], - "id": "http://example.edu/credentials/3732", + "id": "urn:uuid:280c19b6-9680-4a37-ba84-e38b1a4e4584", "type": [ "VerifiableCredential", - "OpenBadgeCredential" + "AchievementCredential" ], "issuer": { - "id": "https://example.edu/issuers/565049", "type": [ "Profile" ], - "name": "Example University" + "name": "Andy F. Miller", + "id": "urn:uuid:6f2e33e5-7a29-4155-840a-59483ba10164" }, - "issuanceDate": "2010-01-01T00:00:00Z", - "name": "Example University Degree", + "issuanceDate": "2022-11-10T07:38:00-08:00", + "name": "test 1", "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", + "id": "urn:uuid:6f2e33e5-7a29-4155-840a-59483ba10164", "type": [ "AchievementSubject" ], "achievement": { - "id": "https://example.com/achievements/21st-century-skills/teamwork", + "id": "urn:uuid:35258e6f-4c05-4215-8ada-38a5a5b80510", "type": [ "Achievement" ], + "achievementType": "Achievement", + "name": "test 1", + "description": "This is a test achievement", "criteria": { - "narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management." - }, - "description": "This badge recognizes the development of the capacity to collaborate within a group environment.", - "name": "Teamwork" + "narrative": "There is no criteria" + } } }, - "credentialSchema": [ - { - "id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_achievementcredential_schema.json", - "type": "1EdTechJsonSchemaValidator2019" - } - ], "proof": [ { "type": "Ed25519Signature2020", - "created": "2022-09-15T15:48:32Z", - "verificationMethod": "https://example.edu/issuers/565049#z6MkmY1R6tG2NEdRHzphdRT6JqxeYpHwLAHwbrDfQULpkMAj", + "created": "2022-11-10T19:36:07Z", "proofPurpose": "assertionMethod", - "proofValue": "z3yUuWbFsLUp2CUrSZRaRbTk1UnkhpoJgJYu1SdMqd3AEMotpY41sKky7VzavnSfjApggtWJg1tcREvs5H4ZNnBRH" + "verificationMethod": "z6Mkt5PKegVQUpjQjoeiqkFa1HqpvMvehiLJuPMJcqX9hxM5", + "proofValue": "z4xh7M5Xpo4hU2bDU6dtQZgnuJCtJUhYCsMPBbCnhAvdnugDidH8anMJ6ayt7vR74iL5mhgJgTDQnNHoYrCnhARVD" } ] } - ]]> + ]]> diff --git a/inspector-vc/src/test/resources/ob30/simple.json b/inspector-vc/src/test/resources/ob30/simple.json index 6c48673..92fa200 100644 --- a/inspector-vc/src/test/resources/ob30/simple.json +++ b/inspector-vc/src/test/resources/ob30/simple.json @@ -5,50 +5,45 @@ "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json", "https://w3id.org/security/suites/ed25519-2020/v1" ], - "id": "http://example.edu/credentials/3732", + "id": "urn:uuid:280c19b6-9680-4a37-ba84-e38b1a4e4584", "type": [ "VerifiableCredential", - "OpenBadgeCredential" + "AchievementCredential" ], "issuer": { - "id": "https://example.edu/issuers/565049", "type": [ "Profile" ], - "name": "Example University" + "name": "Andy F. Miller", + "id": "urn:uuid:6f2e33e5-7a29-4155-840a-59483ba10164" }, - "issuanceDate": "2010-01-01T00:00:00Z", - "name": "Example University Degree", + "issuanceDate": "2022-11-10T07:38:00-08:00", + "name": "test 1", "credentialSubject": { - "id": "did:example:ebfeb1f712ebc6f1c276e12ec21", + "id": "urn:uuid:6f2e33e5-7a29-4155-840a-59483ba10164", "type": [ "AchievementSubject" ], "achievement": { - "id": "https://example.com/achievements/21st-century-skills/teamwork", + "id": "urn:uuid:35258e6f-4c05-4215-8ada-38a5a5b80510", "type": [ "Achievement" ], + "achievementType": "Achievement", + "name": "test 1", + "description": "This is a test achievement", "criteria": { - "narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management." - }, - "description": "This badge recognizes the development of the capacity to collaborate within a group environment.", - "name": "Teamwork" + "narrative": "There is no criteria" + } } }, - "credentialSchema": [ - { - "id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_achievementcredential_schema.json", - "type": "1EdTechJsonSchemaValidator2019" - } - ], "proof": [ { "type": "Ed25519Signature2020", - "created": "2022-09-15T15:48:32Z", - "verificationMethod": "https://example.edu/issuers/565049#z6MkmY1R6tG2NEdRHzphdRT6JqxeYpHwLAHwbrDfQULpkMAj", + "created": "2022-11-10T19:36:07Z", "proofPurpose": "assertionMethod", - "proofValue": "z3yUuWbFsLUp2CUrSZRaRbTk1UnkhpoJgJYu1SdMqd3AEMotpY41sKky7VzavnSfjApggtWJg1tcREvs5H4ZNnBRH" + "verificationMethod": "z6Mkt5PKegVQUpjQjoeiqkFa1HqpvMvehiLJuPMJcqX9hxM5", + "proofValue": "z4xh7M5Xpo4hU2bDU6dtQZgnuJCtJUhYCsMPBbCnhAvdnugDidH8anMJ6ayt7vR74iL5mhgJgTDQnNHoYrCnhARVD" } ] } \ No newline at end of file