diff --git a/inspector-vc/src/test/resources/ob30/endorsement-valid.json b/inspector-vc/src/test/resources/ob30/endorsement-valid.json index e04a1c0..39ab18e 100644 --- a/inspector-vc/src/test/resources/ob30/endorsement-valid.json +++ b/inspector-vc/src/test/resources/ob30/endorsement-valid.json @@ -1,39 +1,43 @@ { - "@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": "http://1edtech.edu/endorsementcredential/3732", + "@context": [ + "https://www.w3.org/ns/credentials/v2", + "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json", + "https://purl.imsglobal.org/spec/ob/v3p0/extensions.json" + ], + "id": "http://1edtech.edu/endorsementcredential/3732", + "type": [ + "VerifiableCredential", + "EndorsementCredential" + ], + "issuer": { + "id": "https://state.gov/issuers/565049", "type": [ - "VerifiableCredential", - "EndorsementCredential" + "Profile" ], - "issuer": { - "id": "https://state.gov/issuers/565049", - "type": ["Profile"], - "name": "State Department of Education" - }, - "issuanceDate": "2010-01-01T00:00:00Z", - "expirationDate": "2030-01-01T00:00:00Z", - "name": "Example endorsement", - "credentialSubject": { - "id": "https://1edtech.edu/issuers/565049", - "type": ["EndorsementSubject"], - "endorsementComment": "1EdTech University is in good standing" - }, - "credentialSchema": [ - { - "id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_endorsementcredential_schema.json", - "type": "1EdTechJsonSchemaValidator2019" - } + "name": "State Department of Education" + }, + "validFrom": "2010-01-01T00:00:00Z", + "validUntil": "2030-01-01T00:00:00Z", + "name": "Example endorsement", + "credentialSubject": { + "id": "https://1edtech.edu/issuers/565049", + "type": [ + "EndorsementSubject" ], - "proof": [{ - "type": "Ed25519Signature2020", - "created": "2010-01-01T19:23:24Z", - "verificationMethod": "https://state.gov/issuers/565049#z6MkjZRZv3aez3r18pB1RBFJR1kwUVJ5jHt92JmQwXbd5hwi", - "proofPurpose": "assertionMethod", - "proofValue": "z347N8ntbL3usCGshtUZiyrBeGBhYVAqyi4HUhz4fBmU1zVwk5eRfPZJvKoendfyGaeSbJcAfQEVNpvcHLzVhDtQC" - }] - } \ No newline at end of file + "endorsementComment": "1EdTech University is in good standing" + }, + "credentialSchema": [ + { + "id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_endorsementcredential_schema.json", + "type": "1EdTechJsonSchemaValidator2019" + } + ], + "proof": [{ + "type": "DataIntegrityProof", + "created": "2010-01-01T19:23:24Z", + "verificationMethod": "https://state.gov/issuers/565049#z6MkoMGF38Ck9xkdqrbZt4h9eHb1qc3GhAAkoSWa4Vy3SHRN", + "cryptosuite": "eddsa-rdfc-2022", + "proofPurpose": "assertionMethod", + "proofValue": "z4DKZeDFKKvz5dDVPEky9NU8Zk3J8tH62Vtnm7drwwvPhDKwd6wL6td8skZkbyqw17y5zNJxfjT42dKpQc3Mgx1x6" + }] +} \ No newline at end of file