$translationMap
$translationMap : array
Retrieves JSON Schema URIs
$uriRetriever : null|\JsonSchema\Uri\Retrievers\UriRetrieverInterface
confirmMediaType(\JsonSchema\Uri\Retrievers\UriRetrieverInterface $uriRetriever, string $uri) : boolean|void
Guarantee the correct media type was encountered
\JsonSchema\Uri\Retrievers\UriRetrieverInterface | $uriRetriever | |
string | $uri |
getUriRetriever() : \JsonSchema\Uri\Retrievers\UriRetrieverInterface
Get a URI Retriever
If none is specified, sets a default FileGetContents retriever and returns that object.
resolvePointer(object $jsonSchema, string $uri) : object
Resolve a schema based on pointer
URIs can have a fragment at the end in the format of
the first object then the 'to' and 'object' properties.
object | $jsonSchema | JSON Schema contents |
string | $uri | JSON Schema URI |
JSON Schema after walking down the fragment pieces
setUriRetriever(\JsonSchema\Uri\Retrievers\UriRetrieverInterface $uriRetriever) : $this
Set the URI Retriever
\JsonSchema\Uri\Retrievers\UriRetrieverInterface | $uriRetriever |
for chaining