Remove @value from datePublished in Periodical JSON-LD examples #904

Closed
dbs opened this Issue Nov 23, 2015 · 4 comments

Projects

None yet

4 participants

@dbs
Contributor
dbs commented Nov 23, 2015

As noted by @Aaranged and related to #903, the JSON-LD examples for Periodical / ScholarlyArticle examples currently contain unnecessary @value stanzas that complicate the otherwise straightforward datePublished attributes. These should be removed.

@dbs dbs added a commit to dbs/schemaorg that referenced this issue Nov 23, 2015
@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>
8ecbfe0
@dbs
Contributor
dbs commented Nov 23, 2015

See dbs@8ecbfe0 for a commit that resolves this issue.

@chaals
Contributor
chaals commented Dec 1, 2015

+1

@danbri
Contributor
danbri commented Dec 9, 2015

@dbs - can you send a PR against our master branch? I tried to figure a way to do this without bugging you but have totally failed!

@dbs dbs added a commit to dbs/schemaorg that referenced this issue Dec 9, 2015
@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
@RichardWallis
Contributor

Fixed in #926

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment