Skip to content

Commit

Permalink
Merge pull request #558 from 1EdTech/550-misuse-of-language-in-exampl…
Browse files Browse the repository at this point in the history
…es-and-i18n-documentation

550 misuse of language in examples and i18n documentation
  • Loading branch information
xaviaracil authored Jan 26, 2024
2 parents dc17fb9 + f3804d0 commit e258a08
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ob_v3p0/common_credentials.lines
Original file line number Diff line number Diff line change
Expand Up @@ -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." "i:https://schema.org/name"
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."
Expand Down Expand Up @@ -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

Expand Down
9 changes: 9 additions & 0 deletions ob_v3p0/context-3.0.3.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
},
"version": {
"@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version"
},
"inLanguage": {
"@id": "https://schema.org/inLanguage"
}
}
},
Expand Down Expand Up @@ -331,6 +334,9 @@
"type": "@type",
"version": {
"@id": "https://purl.imsglobal.org/spec/vc/ob/vocab.html#version"
},
"inLanguage": {
"@id": "https://schema.org/inLanguage"
}
}
},
Expand Down Expand Up @@ -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"
},
Expand Down
4 changes: 2 additions & 2 deletions ob_v3p0/impl/migrating.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand All @@ -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"
}
]
}
Expand Down

0 comments on commit e258a08

Please sign in to comment.