diff --git a/src/Hydra/JsonSchema/SchemaFactory.php b/src/Hydra/JsonSchema/SchemaFactory.php index 41e68fdd348..a0f36401dd9 100644 --- a/src/Hydra/JsonSchema/SchemaFactory.php +++ b/src/Hydra/JsonSchema/SchemaFactory.php @@ -121,7 +121,7 @@ public function buildSchema(string $className, string $format = 'jsonld', string 'properties' => [ '@type' => ['type' => 'string'], 'variable' => ['type' => 'string'], - 'property' => ['type' => 'string'], + 'property' => ['type' => 'string', 'nullable' => true], 'required' => ['type' => 'boolean'], ], ],