def METHOD_NAME(
        patron_transaction_event_schema,
        patron_transaction_overdue_event_saxon_data):
    """Test subtype for patron transaction event jsonschemas."""
    validate(patron_transaction_overdue_event_saxon_data,
             patron_transaction_event_schema)
    with pytest.raises(ValidationError):
        data = copy.deepcopy(patron_transaction_overdue_event_saxon_data)
        data['subtype'] = 25
        validate(data, patron_transaction_event_schema)