Closed
Description
Per issue #446. See below test case:
$data = json_decode(<<<'eot'
{
"propertyOne": "blue"
}
eot
);
$base = json_decode(<<<'eot'
{
"id": "schema.json",
"properties": {
"propertyOne": {
"$ref": "propertyOne.json"
}
}
}
eot
);
$validator = new \JsonSchema\Validator();
var_dump($validator->validate($data, $base));
@bighappyface Could you please mark this as blocking for 6.0.0? I need to stare at the code some more, but at first look this may require significant refactoring of the $ref
code.
Metadata
Metadata
Assignees
Labels
No labels