w3c / json-ld-framing

JSON-LD 1.1 Framing Specification
https://w3c.github.io/json-ld-framing/
Other
24 stars 20 forks source link

Added tests for `@json` field testcase in framing #144

Closed pasquale95 closed 1 year ago

pasquale95 commented 1 year ago

As suggested in the issue #142, I've added a test collection to better define what is expected when framing over a @json field.

w3cbot commented 1 year ago

gkellogg marked as non substantive for IPR from ash-nazg.

gkellogg commented 1 year ago

I updated your branch with the manifest entries required. Without the suggested update, the result will be in the expanded form:

{
  "@context": {
    "ex": "http://example.org/vocab#"
  },
  "@id": "http://example.org/test/#library",
  "@type": "ex:Library",
  "ex:info": {
    "@value": {
      "author": "JOHN",
      "pages": 200
    },
    "@type": "@json"
  }
}

But, it fails with the update, which will require some investigation.

gkellogg commented 1 year ago

I've updated this to be a passing test.