diff --git a/src/DataModel/JsonLd/context.json b/src/DataModel/JsonLd/context.json index 29acfb82..f1054602 100644 --- a/src/DataModel/JsonLd/context.json +++ b/src/DataModel/JsonLd/context.json @@ -1,8 +1,7 @@ { - "@context": { + "@context": [{ "iri": "@id", "isA": "@type", - "@vocab": "http://www.w3.org/ns/hydra/core#", "hydra": "http://www.w3.org/ns/hydra/core#", "operations": "hydra:operation", "supportedClasses": { @@ -22,7 +21,8 @@ "@id": "hydra:member", "@container": "@set" }, - "http://www.w3.org/ns/hydra/core#Collection": "http://www.w3.org/ns/hydra/core#Collection", - "http://www.w3.org/ns/hydra/core#Resource": "http://www.w3.org/ns/hydra/core#Resource" - } -} \ No newline at end of file + "totalItems": "hydra:totalItems" + },{ + "hydra": null + }] +} diff --git a/tests/DataModel/JsonLd/JsonLdMetadataProvider.spec.ts b/tests/DataModel/JsonLd/JsonLdMetadataProvider.spec.ts index 450f0195..1f862ed2 100644 --- a/tests/DataModel/JsonLd/JsonLdMetadataProvider.spec.ts +++ b/tests/DataModel/JsonLd/JsonLdMetadataProvider.spec.ts @@ -106,4 +106,4 @@ describe("Given instance of the JsonLdHypermediaProcessor class", function() { afterEach(function() { (HydraClient)._hypermediaProcessors = this.hypermediaProcessors; }); -}); \ No newline at end of file +});