Skip to content

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

Merged
danbri merged 1 commit intoschemaorg:masterfrom
dbs:fix_903
Dec 9, 2015
Merged

Remove @value clauses from Periodical JSON-LD examples#925
danbri merged 1 commit intoschemaorg:masterfrom
dbs:fix_903

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 [email protected]

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 <[email protected]>
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