Skip to content

Commit

Permalink
Updated cardinality of @context
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviaracil committed Jul 29, 2024
1 parent e650add commit a35da40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ob_v3p0/common_credentials.lines
Original file line number Diff line number Diff line change
Expand Up @@ -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'."
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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."
Expand All @@ -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
Expand Down

0 comments on commit a35da40

Please sign in to comment.