w3c / json-ld-syntax

JSON-LD 1.1 Specification
https://w3c.github.io/json-ld-syntax/
Other
112 stars 22 forks source link

Add version list of lists #194

Closed aljones15 closed 5 years ago

aljones15 commented 5 years ago

Example 71 for recursive lists is a feature on version 1.1. so added a version tag to the example.

"@context": {
      "@version": 1.1,
      "@vocab": "https://purl.org/geojson/vocab#"
}

Preview | Diff

iherman commented 5 years ago

Marked as non substantive for IPR from ash-nazg.

pchampin commented 5 years ago

Strictly speaking, the context itself does not use any 1.1 specific feature. It can be used even with a 1.0 processor (see example in the playground).

What is specific to JSON-LD 1.1 is that it allows lists of lists in the data.

gkellogg commented 5 years ago

Lists of lists does not require processing mode to be set to 1.1. It is a feature of the 1.1 specification independent of processing mode. Tests are (or should be) marked with ”specVersion”: “json-ld-1.1”.

aljones15 commented 5 years ago

ahhh ok my bad. I saw the tests marking it as 1.1 so thought it needed to be there.