ref_resolver module¶
JSON Schema URI resolution scopes and dereferencing
https://tools.ietf.org/id/draft-zyp-json-schema-04.html#rfc.section.7
Code adapted from https://github.com/Julian/jsonschema
-
class
gemseo.third_party.fastjsonschema.ref_resolver.
RefResolver
(base_uri, schema, store={}, cache=True, handlers={})[source]¶ Bases:
object
Resolve JSON References.
base_uri is URI of the referring document from the schema.
-
classmethod
from_schema
(schema, handlers={}, **kwargs)[source]¶ Construct a resolver from a JSON schema object.
-
classmethod
-
gemseo.third_party.fastjsonschema.ref_resolver.
resolve_path
(schema, fragment)[source]¶ Return definition from path.
Path is unescaped according https://tools.ietf.org/html/rfc6901