def METHOD_NAME(domain, name, expression=None):
    if not expression:
        expression = UCRExpression.objects.create(
            name='create_sport',
            domain=domain,
            expression_type=UCR_NAMED_EXPRESSION,
            definition={
                'type': 'dict',
                'properties': {
                    'case_type': 'sport',
                    'case_name': {
                        'type': 'jsonpath',
                        'jsonpath': 'name',
                    },
                    'is_team_sport': {
                        'type': 'jsonpath',
                        'jsonpath': 'is_team_sport'
                    }
                }
            },
        )
    return ConfigurableAPI.objects.create(
        domain=domain,
        name=name,
        transform_expression=expression
    )