Update simple examples

This commit is contained in:
Andy Miller (IMS) 2022-11-10 11:53:55 -08:00
parent e813369036
commit 26bf98d046
3 changed files with 33 additions and 43 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -10,54 +10,49 @@
"https://purl.imsglobal.org/spec/ob/v3p0/extensions.json", "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json",
"https://w3id.org/security/suites/ed25519-2020/v1" "https://w3id.org/security/suites/ed25519-2020/v1"
], ],
"id": "http://example.edu/credentials/3732", "id": "urn:uuid:280c19b6-9680-4a37-ba84-e38b1a4e4584",
"type": [ "type": [
"VerifiableCredential", "VerifiableCredential",
"OpenBadgeCredential" "AchievementCredential"
], ],
"issuer": { "issuer": {
"id": "https://example.edu/issuers/565049",
"type": [ "type": [
"Profile" "Profile"
], ],
"name": "Example University" "name": "Andy F. Miller",
"id": "urn:uuid:6f2e33e5-7a29-4155-840a-59483ba10164"
}, },
"issuanceDate": "2010-01-01T00:00:00Z", "issuanceDate": "2022-11-10T07:38:00-08:00",
"name": "Example University Degree", "name": "test 1",
"credentialSubject": { "credentialSubject": {
"id": "did:example:ebfeb1f712ebc6f1c276e12ec21", "id": "urn:uuid:6f2e33e5-7a29-4155-840a-59483ba10164",
"type": [ "type": [
"AchievementSubject" "AchievementSubject"
], ],
"achievement": { "achievement": {
"id": "https://example.com/achievements/21st-century-skills/teamwork", "id": "urn:uuid:35258e6f-4c05-4215-8ada-38a5a5b80510",
"type": [ "type": [
"Achievement" "Achievement"
], ],
"achievementType": "Achievement",
"name": "test 1",
"description": "This is a test achievement",
"criteria": { "criteria": {
"narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management." "narrative": "There is no criteria"
}, }
"description": "This badge recognizes the development of the capacity to collaborate within a group environment.",
"name": "Teamwork"
} }
}, },
"credentialSchema": [
{
"id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_achievementcredential_schema.json",
"type": "1EdTechJsonSchemaValidator2019"
}
],
"proof": [ "proof": [
{ {
"type": "Ed25519Signature2020", "type": "Ed25519Signature2020",
"created": "2022-09-15T15:48:32Z", "created": "2022-11-10T19:36:07Z",
"verificationMethod": "https://example.edu/issuers/565049#z6MkmY1R6tG2NEdRHzphdRT6JqxeYpHwLAHwbrDfQULpkMAj",
"proofPurpose": "assertionMethod", "proofPurpose": "assertionMethod",
"proofValue": "z3yUuWbFsLUp2CUrSZRaRbTk1UnkhpoJgJYu1SdMqd3AEMotpY41sKky7VzavnSfjApggtWJg1tcREvs5H4ZNnBRH" "verificationMethod": "z6Mkt5PKegVQUpjQjoeiqkFa1HqpvMvehiLJuPMJcqX9hxM5",
"proofValue": "z4xh7M5Xpo4hU2bDU6dtQZgnuJCtJUhYCsMPBbCnhAvdnugDidH8anMJ6ayt7vR74iL5mhgJgTDQnNHoYrCnhARVD"
} }
] ]
} }
]]> ]]>
</openbadges:credential> </openbadges:credential>
<g> <g>
<path fill="none" stroke="#040000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M500,928.8c0,0,0,40.8,245,40.8" /> <path fill="none" stroke="#040000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" d="M500,928.8c0,0,0,40.8,245,40.8" />

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

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