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

Projects
None yet
2 participants
@dbs
Contributor

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

Remove @value clauses from Periodical JSON-LD examples
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>

danbri added a commit that referenced this pull request Dec 9, 2015

Merge pull request #925 from dbs/fix_903
Remove @value clauses from Periodical JSON-LD examples

@danbri danbri merged commit 4189980 into schemaorg:master Dec 9, 2015

@danbri

This comment has been minimized.

Show comment
Hide comment
@danbri

danbri Dec 9, 2015

Contributor

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

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