Skip to content
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

Remove @value clauses from Periodical JSON-LD examples #925

Merged
merged 1 commit into from
Dec 9, 2015

Conversation

dbs
Copy link
Contributor

@dbs dbs commented Dec 9, 2015

The JSON-LD examples for ScholarlyArticle included unnecessary @value
clauses due to a naive conversion from the RDFa source. Remove them, so
instead of:

  "datePublished": {
    "@value": "2006-10",
    "@type": "xsd:gYearMonth"
  },

we'll have the much simpler, easier to publish and consume:

  "datePublished": "2006-10",

Fixes #904.

Signed-off-by: Dan Scott dan@coffeecode.net

The JSON-LD examples for ScholarlyArticle included unnecessary @value
clauses due to a naive conversion from the RDFa source. Remove them, so
instead of:

      "datePublished": {
        "@value": "2006-10",
        "@type": "xsd:gYearMonth"
      },

we'll have the much simpler, easier to publish and consume:

      "datePublished": "2006-10",

Fixes schemaorg#904.

Signed-off-by: Dan Scott <dan@coffeecode.net>
danbri added a commit that referenced this pull request Dec 9, 2015
Remove @value clauses from Periodical JSON-LD examples
@danbri danbri merged commit 4189980 into schemaorg:master Dec 9, 2015
@danbri
Copy link
Contributor

danbri commented Dec 9, 2015

thanks! and for the git tips. I'd forgotten about cherry-pick...

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

Successfully merging this pull request may close these issues.

2 participants