Skip to content

Invalid JSON-LD example #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
iherman opened this issue Apr 6, 2019 · 1 comment
Closed

Invalid JSON-LD example #33

iherman opened this issue Apr 6, 2019 · 1 comment
Assignees

Comments

@iherman
Copy link
Member

iherman commented Apr 6, 2019

I am looking at the latest (Apr. 4) version of the document which (per w3c/web-share#6 (comment)) is about to be published. However, Example 7 is incorrect JSON-LD. It should be:

{
  "@context": {
    "example": "http://example.com/example/",
    "title": {
      "@id": "example:title",
      "@container": "@language"
    }
  },
  "@id": "http://example.com/Learning%20Web%20Design",
  "title": { "en"      : "Learning Web Design",
             "ar"      : "التعلم على شبكة الإنترنت التصمي", 
             "ja"      : "Webデザインを学ぶ" ,
             "zh-Hans" : "学习网页设计" 
   }
}
r12a added a commit that referenced this issue Apr 10, 2019
Fix Example 7 (see #33)
Fix links for FPWD publication
@r12a
Copy link
Contributor

r12a commented Apr 10, 2019

The commit at 2c5311b fixes Example 7.
It also seeks to clarify the scope of the document.
I'm therefore closing this issue.

@r12a r12a closed this as completed Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants