From 26bf98d0468e24cbee95ec85780ba7f9c500ff32 Mon Sep 17 00:00:00 2001 From: "Andy Miller (IMS)" <48326098+amiller-ims@users.noreply.github.com> Date: Thu, 10 Nov 2022 11:53:55 -0800 Subject: [PATCH] Update simple examples --- .../src/test/resources/ob30/simple-json.png | Bin 84440 -> 84080 bytes .../src/test/resources/ob30/simple-json.svg | 39 ++++++++---------- .../src/test/resources/ob30/simple.json | 37 +++++++---------- 3 files changed, 33 insertions(+), 43 deletions(-) diff --git a/inspector-vc/src/test/resources/ob30/simple-json.png b/inspector-vc/src/test/resources/ob30/simple-json.png index ee80f0abe5cd18f2f1bd5ea03294aac9c481500d..f1b1f70c634d666b2c7f404ca473aea7cf38928f 100644 GIT binary patch delta 697 zcma)2F>ljA80C<%lmW4X1teo3SU7ZN-`Qs`RT3wprY=d8RBa_B&h{mCo7jnCM@^-u z2&p>~gMR=!6A~=^23Qb`>@55Q>=cnoEWF|SmiNBzz4!f1<=5-V%lF`G{d(o%!?!xP z17Ma!W|oD%sW9YW!_}anF$4)$b?9kut@|RNUvE+o~u}I`cTT%fz^kq|$|31-%icnQSq0SWp5=<#%1aU|W!c>=Igf$`; z%2g?s!}&bpktZykit>zt6a``oG3q1TRGEnoMCB~L-75GIpR9SQn5PoX^(J_@$@f36 z^NS`JY$PgGC==Qc5)V;G6kNFFK8Gsflv9@>icx;M1q_{UD(Nq$YZF&m`cuX~4(0r3 z3*4=SbBRl9&sWaK`I8oa4+4=0sUSqLr`1O&88W1mUiobsXE99T>r>LpO$} zNgNON`8Zo=IwPln?$Cp2OoD;pS_92byGNravm2>B2o4)_r&D(uQBYg>Q8uzdzs-2$ zY}*=Nruw3%lW><#f{{JyTis}{9Umqoxwmg!hAP86-&%e8@#XWi0z1t;>s|fDtKYjX B%pU*% delta 1084 zcma)5%We}f6lFj~q8lVOumH(QD-|Kyd8A2c1dF6e8$we=nzU*WDjtt#;wEFe9w%vn zsvv%VN-X9tSRr-Cf`35p6G(glwo{s_Y#3Q1+jH){=bU@z_vy^fPc!eoSl>(6Z~i*_ zQL^q^b8RVk!M5=+jCmI?;h<+Dfdfn>f!)N;u4KIwlr87hOO9y?1`$qQm#z7SB*+v% zMn@-C!by_!ut@A&KIbg2rl%F_Uiz_YJ%}ok8lXi^ZKp=(uV%9j9Q{e#Rgvj1A)7Y@m!IfpPk@Vl6BLBq*GVDqugvz8kK%9`;c_bdk4` z$LfGQSJP`fyD9^**oLT0a39CYiNyBYL@pw=?TO)H(ji@Cjl?h>FwsfxtXr$;*L7=t ztZqPzV_&HQP+&k=OsG;6fRG6w+av+Lwh;J3b;3jdjt!OuKw!ioN=6FY z3XlvS*6l){3B?@@h$2n_1d(7p4lwN#!KjX0G9A&CGo~v=UGm(O3AvMt22Y1-8?|u^ z6}{Jn|GRS)89h;He$9F`P7K06Oc=G9f6&iz=ipL1rl}4l$R&-Oa*;!BCd91-O^n(# z^>I>j2X;vSB@=48R;L8tn7QJDvCyze?`~LYV`p{I%{ARzVfjfR>rIBwNL8~-LV}<+ zxsGL<{pX)BH_F#L@t)hr%MEX<5;UqK-VPegeC_BM@A2wjvsfMYq8z?zZSu~IdhswN z8&-B~h$-qlBWjc#wtBn%da~K#-dam+?>At>Z+6@k?X)?oMYX-2yB*Yzf^4x;XOizN zyUB~raAju%`*b@zEb=IlyS2!bs8Q)Bx$5%%7A-ZZm;9JLxm`c|c1=CcD_b+=&!x8? F{s6YPU?>0p 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