Skip to content

Commit

Permalink
fix(JSON-LD): Do not alias @value to avoid conflict with schema.org/v…
Browse files Browse the repository at this point in the history
…alue
  • Loading branch information
nokome committed Jan 31, 2020
1 parent dfa59cb commit a59ca2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ts/bindings/jsonld.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ export const build = async (): Promise<void> => {
// https://datalanguage.com/news/publishing-json-ld-for-developers
type: '@type',
id: '@id',
value: '@value',
// @value is a keyword but do not alias that as `value` because that will
// conflict with https://schema.org/value.

// Other contexts referred to, including this one
// Note that http vs https is important!
Expand Down

0 comments on commit a59ca2e

Please sign in to comment.