Skip to content

Commit 54352d8

Browse files
authored
fix(jsonld): hydra context w3.org updates (#7410)
1 parent 91b34d1 commit 54352d8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/JsonLd/HydraContext.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,10 @@
547547
'@id' => 'hydra:memberAssertion',
548548
'label' => 'member assertion',
549549
'comment' => 'Semantics of each member provided by the collection.',
550-
'domain' => 'hydra:Collection',
550+
'domainIncludes' => [
551+
'hydra:Collection',
552+
'hydra:Class',
553+
],
551554
'isDefinedBy' => 'http://www.w3.org/ns/hydra/core',
552555
'vs:term_status' => 'testing',
553556
],
@@ -716,7 +719,10 @@
716719
'label' => 'variable representation',
717720
'comment' => 'The representation format to use when expanding the IRI template.',
718721
'range' => 'hydra:VariableRepresentation',
719-
'domain' => 'hydra:IriTemplateMapping',
722+
'domainIncludes' => [
723+
'hydra:IriTemplateMapping',
724+
'hydra:IriTemplate',
725+
],
720726
'isDefinedBy' => 'http://www.w3.org/ns/hydra/core',
721727
'vs:term_status' => 'testing',
722728
],

0 commit comments

Comments
 (0)