From be5cdb2ddeaad3cfd4a04b0e75c47cd2645cc9e4 Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Wed, 24 Jan 2024 11:56:00 +0100 Subject: [PATCH 1/3] Replaced by --- ob_v3p0/common_credentials.lines | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ob_v3p0/common_credentials.lines b/ob_v3p0/common_credentials.lines index 02d28f9e..335fc013 100644 --- a/ob_v3p0/common_credentials.lines +++ b/ob_v3p0/common_credentials.lines @@ -16,7 +16,7 @@ Package SharedCredentialDataModels DataModel Property fieldOfStudy String 0..1 "Category, subject, area of study, discipline, or general branch of knowledge. Examples include Business, Education, Psychology, and Technology." Property humanCode String 0..1 "The code, generally human readable, associated with an achievement." Property image Image 0..1 "An image representing the achievement." - Property @language LanguageCode 0..1 "The language of the achievement." + Property inLanguage LanguageCode 0..1 "The language of the achievement." "i:https://schema.org/inLanguage" Property name String 1 "The name of the achievement." Property otherIdentifier IdentifierEntry 0..* "A list of identifiers for the described entity." Property related Related 0..* "The related property identifies another Achievement that should be considered the same for most purposes. It is primarily intended to identify alternate language editions or previous versions of Achievements." @@ -137,7 +137,7 @@ Package SharedCredentialDataModels DataModel Class Related Unordered false [] "Identifies a related achievement." Property id URI 1 "The related achievement." Property type IRI 1..* array-compacted "The value of the type property MUST be an unordered set. One of the items MUST be the IRI 'Related'." - Property @language LanguageCode 0..1 "The language of the related achievement." + Property inLanguage LanguageCode 0..1 "The language of the related achievement." "i:https://schema.org/inLanguage" Property version String 0..1 "The version of the related achievement." Mixin Extensions From 7876ea0e3ce2c3be71cd73a032ddf2d044eeddd5 Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Wed, 24 Jan 2024 11:56:44 +0100 Subject: [PATCH 2/3] Added into the context --- ob_v3p0/context-3.0.3.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ob_v3p0/context-3.0.3.json b/ob_v3p0/context-3.0.3.json index 114ab138..194cc990 100644 --- a/ob_v3p0/context-3.0.3.json +++ b/ob_v3p0/context-3.0.3.json @@ -61,6 +61,9 @@ }, "version": { "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version" + }, + "inLanguage": { + "@id": "https://schema.org/inLanguage" } } }, @@ -331,6 +334,9 @@ "type": "@type", "version": { "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version" + }, + "inLanguage": { + "@id": "https://schema.org/inLanguage" } } }, @@ -417,6 +423,9 @@ "@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#image", "@type": "@id" }, + "inLanguage": { + "@id": "https://schema.org/inLanguage" + }, "name": { "@id": "https://schema.org/name" }, From 950414f5a70a64c086eea7704eec66de1b9b7ff4 Mon Sep 17 00:00:00 2001 From: Xavi Aracil Date: Wed, 24 Jan 2024 11:57:12 +0100 Subject: [PATCH 3/3] Changed example to use --- ob_v3p0/impl/migrating.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ob_v3p0/impl/migrating.md b/ob_v3p0/impl/migrating.md index c3eb17e2..11e3880e 100644 --- a/ob_v3p0/impl/migrating.md +++ b/ob_v3p0/impl/migrating.md @@ -75,7 +75,7 @@ document, the full IRI `https://w3id.org/openbadges#BadgeClass` is used here). { "@context": "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json", "type": ["Achievement", "https://w3id.org/openbadges#BadgeClass"], - "@language": "en", + "inLanguage": "en", "id": "https://example.com/achievements/c3c1ea5b-9d6b-416d-ab7f-76da1df3e8d6" ... "related": [ @@ -90,7 +90,7 @@ document, the full IRI `https://w3id.org/openbadges#BadgeClass` is used here). { "type": ["Related"], "id": "https://example.com/achievements/c3c1ea5b-9d6b-416d-ab7f-76da1df3e8d6/es", - "@language": "es" + "inLanguage": "es" } ] }