'Construct a resolver from a JSON schema object.
:argument schema schema: the referring schema
:rtype: :class:`RefResolver`'

@classmethod
def from_schema(cls, schema, *args, **kwargs):

    return cls(schema.get(u'id', u''), schema, *args, **kwargs)
