From a35da40089fbd466cbc8078e58cfbf092dd1f323 Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Mon, 29 Jul 2024 15:53:24 +0200 Subject: [PATCH] Updated cardinality of @context --- ob_v3p0/common_credentials.lines | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ob_v3p0/common_credentials.lines b/ob_v3p0/common_credentials.lines index e200ef58..db09c321 100644 --- a/ob_v3p0/common_credentials.lines +++ b/ob_v3p0/common_credentials.lines @@ -28,7 +28,7 @@ Package SharedCredentialDataModels DataModel Mixin Extensions Class AchievementCredential Unordered false [VerifiableCredential] "AchievementCredentials are representations of an awarded achievement, used to share information about a achievement belonging to one earner. Maps to a Verifiable Credential as defined in the [[VC-DATA-MODEL-2.0]]. As described in [[[#data-integrity]]], at least one proof mechanism, and the details necessary to evaluate that proof, MUST be expressed for a credential to be a verifiable credential. In the case of an embedded proof, the credential MUST append the proof in the `proof` property." - Property @context Context 1..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/ns/credentials/v2', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." + Property @context Context 2..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/ns/credentials/v2', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." Constraint items [https://www.w3.org/ns/credentials/v2, /^https:\/\/purl\.imsglobal\.org\/spec\/ob\/v3p0\/context(-3\.\d\.\d)*\.json$/] Property id URI 1 "Unambiguous reference to the credential." Property type IRI 1..* array-compacted "The value of the type property MUST be an unordered set. One of the items MUST be the URI 'VerifiableCredential', and one of the items MUST be the URI 'AchievementCredential' or the URI 'OpenBadgeCredential'." @@ -82,7 +82,7 @@ Package SharedCredentialDataModels DataModel Mixin Extensions Class EndorsementCredential Unordered false [VerifiableCredential] "A verifiable credential that asserts a claim about an entity. As described in [[[#data-integrity]]], at least one proof mechanism, and the details necessary to evaluate that proof, MUST be expressed for a credential to be a verifiable credential. In the case of an embedded proof, the credential MUST append the proof in the `proof` property." - Property @context Context 1..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/ns/credentials/v2', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." + Property @context Context 2..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/ns/credentials/v2', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." Constraint items [https://www.w3.org/ns/credentials/v2, /^https:\/\/purl\.imsglobal\.org\/spec\/ob\/v3p0\/context(-3\.\d\.\d)*\.json$/] Property type IRI 1..* array-compacted "The value of the type property MUST be an unordered set. One of the items MUST be the URI 'VerifiableCredential', and one of the items MUST be the URI 'EndorsementCredential'." Constraint contains VerifiableCredential @@ -333,7 +333,7 @@ Package SharedLegacyCredentialsDataModels DataModel Class AnyAchievementCredential EmbeddedSelection false [AchievementCredential, AchievementCredentialv1p1] "AnyAchievementCredential represents an AchievementCredential that might be built using [[VC-DATA-MODEL]] or [[VC-DATA-MODEL-2.0]]. The scope of this class is only for verification purposes. It is not intended to be used in the creation of new credentials, where the [[[#achievementcredential]]] class MUST be used." Class AchievementCredentialv1p1 Unordered false [VerifiableCredentialv1p1] "AchievementCredentials are representations of an awarded achievement, used to share information about a achievement belonging to one earner. Maps to a Verifiable Credential as defined in the [[VC-DATA-MODEL]]. As described in [[[#data-integrity]]], at least one proof mechanism, and the details necessary to evaluate that proof, MUST be expressed for a credential to be a verifiable credential. In the case of an embedded proof, the credential MUST append the proof in the `proof` property." - Property @context Context 1..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/2018/credentials/v1', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." + Property @context Context 2..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/2018/credentials/v1', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." Constraint items [https://www.w3.org/2018/credentials/v1, /^https:\/\/purl\.imsglobal\.org\/spec\/ob\/v3p0\/context(-3\.\d\.\d)*\.json$/] Property id URI 1 "Unambiguous reference to the credential." @@ -352,7 +352,7 @@ Package SharedLegacyCredentialsDataModels DataModel Class AnyEndorsementCredential EmbeddedSelection false [EndorsementCredential, EndorsementCredentialv1p1] "AnyEndorsementCredential represents an EndorsementCredential that might be built using [[VC-DATA-MODEL]] or [[VC-DATA-MODEL-2.0]]. The scope of this class is only for verification purposes. It is not intended to be used in the creation of new credentials, where the [[[#endorsementcredential]] class MUST be used." Class EndorsementCredentialv1p1 Unordered false [VerifiableCredentialv1p1] "A verifiable credential that asserts a claim about an entity. As described in [[[#data-integrity]]], at least one proof mechanism, and the details necessary to evaluate that proof, MUST be expressed for a credential to be a verifiable credential. In the case of an embedded proof, the credential MUST append the proof in the `proof` property." - Property @context Context 1..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/2018/credentials/v1', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." + Property @context Context 2..* "The value of the `@context` property MUST be an ordered set where the first item is a URI with the value 'https://www.w3.org/2018/credentials/v1', and the second item is a URI with the value 'https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json'." Constraint items [https://www.w3.org/2018/credentials/v1, /^https:\/\/purl\.imsglobal\.org\/spec\/ob\/v3p0\/context(-3\.\d\.\d)*\.json$/] Property type IRI 1..* array-compacted "The value of the type property MUST be an unordered set. One of the items MUST be the URI 'VerifiableCredential', and one of the items MUST be the URI 'EndorsementCredential'." Constraint contains VerifiableCredential