json-schema icon indicating copy to clipboard operation
json-schema copied to clipboard

PHP implementation of JSON schema. Fork of the http://jsonschemaphpv.sourceforge.net/ project

Results 56 json-schema issues
Sort by recently updated
recently updated
newest added

# Introduction As mentioned in https://github.com/justinrainbow/json-schema/issues/658#issuecomment-1926950044 I was going to do some triage on the issues and pull requests. Since early february I've been going through the majority of them...

WIP

Unfortunately, I no longer have the time available to do this project justice, and have not for some time now. I've been dealing with things as I have the capacity...

Community

Fixes all issues that emits a deprecation notice on PHP 8.4. See: - [RFC](https://wiki.php.net/rfc/deprecate-implicitly-nullable-types) - [PHP 8.4: Implicitly nullable parameter declarations deprecated](https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated)

Open discussions

Hi, I tried to use type coercion with version 5.2.13, but it's not working properly in many situations (e.g. no conversion to string, no coercion from arrays). However, the issue...

Regex in `UriResolver->parse()` doesn't correctly parse a file path if it contains Windows directory separators. This makes the `$basePath` become an empty string and breaks relative `$ref`s. ``` // UriResolver->resolve($uri,...

PRs Welcome
Windows

Test case for invalid string type validation. I cannot run this test case locally because missing php 8 support for test

Needs Review

This PR attempts to resolve issue #694, in order to do so three commits where added - The first adds a failing test showing the issue - The second refactors...

Hello, When validate with multiple schema using 'allOf', definition order has a behavior impact. cf attached code to test [testSchemaValidator2.zip](https://github.com/justinrainbow/json-schema/files/14265230/testSchemaValidator2.zip) Correct: ``` input value: "true" schema: { "allOf": [ {...