From 3692c501c748e132b11fe0dc27a22256c36c3da4 Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Thu, 28 Mar 2024 14:23:52 +0100 Subject: [PATCH] Added link to JSON schemas --- ob_v3p0/verification.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/ob_v3p0/verification.md b/ob_v3p0/verification.md index 25e33714..718391a4 100644 --- a/ob_v3p0/verification.md +++ b/ob_v3p0/verification.md @@ -17,6 +17,13 @@ This section applies to Verifiable Credentials with a \`type\` of "OpenBadgeCred 1. Check that the OpenBadgeCredential conforms to the specification: - If the OpenBadgeCredential has a \`credentialSchema\` property, and the \`type\` of the [CredentialSchema](#credentialschema) object is "1EdTechJsonSchemaValidator2019", check that the credential conforms to JSON Schema as shown in [[[VCCS-10]]]. If it does not, the credential does not conform to the specification. - Check that the \`credentialSubject\` is identified by an \`id\` and/or an \`identifier\`. If neither is present, the credential does not conform to the specification. + +
+ OpenBadgeCredentials created following [[VC-DATA-MODEL]] have different names for attributes used in this process. Concretely, they have \`issuanceDate\` and \`expirationDate\` instead of \`validFrom\` and \`validUntil\`, respectively. + The data model of these credentials is described at [[[#org-1edtech-ob-v3p0-model-6]]]. This specification also defines the JSON + schemas of these entities, available at [[[#org-1edtech-ob-v3p0-model-9]]]. +
+ 1. Check that the proof method is satisfied: - If the OpenBadgeCredential is signed using the [[[#jwt-proof]]] (VC-JWT), verify the signature as shown in [[[#jwt-verify]]]. If the OpenBadgeCredential is signed using an embedded proof, verify the signature as shown in [[[#lds-verify]]]. If the signature cannot be verified, the proof method is not satisfied. @@ -62,6 +69,13 @@ This section applies to Verifiable Credentials with a \`type\` of "EndorsementCr 1. Check that the EndorsementCredential conforms to the specification: 1. If the credential has a \`credentialSchema\` property, and the \`type\` of the [CredentialSchema](#credentialschema) object is "1EdTechJsonSchemaValidator2019", check that the credential conforms to JSON Schema as shown in [[[VCCS-10]]]. If it does not, the credential does not conform to the specification. + +
+ EndorsementCredentials created following [[VC-DATA-MODEL]] have different names for attributes used in this process. Concretely, they have \`issuanceDate\` and \`expirationDate\` instead of \`validFrom\` and \`validUntil\`, respectively. + The data model of these credentials is described at [[[#org-1edtech-ob-v3p0-model-6]]]. This specification also defines the JSON + schemas of these entities, available at [[[#org-1edtech-ob-v3p0-model-9]]]. +
+ 1. Check that the proof method is satisfied: 1. If the EndorsementCredential is signed using the [[[#jwt-proof]]] (VC-JWT), verify the signature as shown in [[[#jwt-verify]]]. If the EndorsementCredential is signed using an embedded proof, verify the signature as shown in [[[#lds-verify]]]. If the signature cannot be verified, the proof method is not satisfied.