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

Merged
merged 1 commit into from Dec 9, 2015

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

@dbs dbs 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>
dd450c7
@danbri danbri merged commit 4189980 into schemaorg:master Dec 9, 2015
@danbri
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