@classmethod<EOL><INDENT>def from_schema(cls, schema, id_of=_id_of, *args, **kwargs):<DEDENT>
return cls(base_uri=id_of(schema), referrer=schema, *args, **kwargs)<EOL>
Construct a resolver from a JSON schema object.

Arguments:

    schema:

        the referring schema

Returns:

    `RefResolver`