def METHOD_NAME(_, context, data, schema):
    """Get the record's schema from context."""
    record = (context or {}).get('record', {})
    return record.get('$schema', current_jsonschemas.path_to_url(schema))