def METHOD_NAME(
        patron_transaction_schema, patron_transaction_overdue_saxon_data):
    """Test type for patron transaction jsonschemas."""
    validate(patron_transaction_overdue_saxon_data, patron_transaction_schema)
    with pytest.raises(ValidationError):
        data = copy.deepcopy(patron_transaction_overdue_saxon_data)
        data['type'] = 25
        validate(data, patron_transaction_schema)