From 5a03dc0d54a749391d329215a24d9f906e381148 Mon Sep 17 00:00:00 2001 From: soyuka Date: Thu, 25 Sep 2025 10:17:17 +0200 Subject: [PATCH] fix(jsonld): hydra context w3.org updates --- src/JsonLd/HydraContext.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/JsonLd/HydraContext.php b/src/JsonLd/HydraContext.php index 90b6858682a..7d694b81e51 100644 --- a/src/JsonLd/HydraContext.php +++ b/src/JsonLd/HydraContext.php @@ -547,7 +547,10 @@ '@id' => 'hydra:memberAssertion', 'label' => 'member assertion', 'comment' => 'Semantics of each member provided by the collection.', - 'domain' => 'hydra:Collection', + 'domainIncludes' => [ + 'hydra:Collection', + 'hydra:Class', + ], 'isDefinedBy' => 'http://www.w3.org/ns/hydra/core', 'vs:term_status' => 'testing', ], @@ -716,7 +719,10 @@ 'label' => 'variable representation', 'comment' => 'The representation format to use when expanding the IRI template.', 'range' => 'hydra:VariableRepresentation', - 'domain' => 'hydra:IriTemplateMapping', + 'domainIncludes' => [ + 'hydra:IriTemplateMapping', + 'hydra:IriTemplate', + ], 'isDefinedBy' => 'http://www.w3.org/ns/hydra/core', 'vs:term_status' => 'testing', ],