def METHOD_NAME() -> Plugin:
    return Plugin(
        start=False,
        debug=False,
        spec=Spec(
            module='tracardi.process_engine.action.v1.time.local_time_span.plugin',
            className='LocalTimeSpanAction',
            inputs=['payload'],
            outputs=['in', 'out'],
            manual='local_time_span_action',
            version="0.6.0.1",
            author="Marcin Gaca, Risto Kowaczewski",
            init={
                "timezone": "session@context.time.tz",
                "start": None,
                "end": None,
            },
            form=Form(groups=[
                FormGroup(
                    name="Time-span settings",
                    description="Please define the time span. This action will check if current time is in defined time span.",
                    fields=[
                        FormField(
                            id="timezone",
                            name="Timezone",
                            description="Type time zone or path to time zone, eg. Europe/Paris, or session@context.time.tz",
                            component=FormComponent(type="dotPath", props={})
                        ),
                        FormField(
                            id="start",
                            name="Start time",
                            description="This is the beginning of time span. Start time must be before end time.",
                            component=FormComponent(type="text", props={
                                "label": "Start time"
                            })
                        ),
                        FormField(
                            id="end",
                            name="End time",
                            description="This is the end of time span. End time must be after start time.",
                            component=FormComponent(type="text", props={
                                "label": "End time"
                            })
                        ),
                    ]
                )
            ]
            ),
        ),
        metadata=MetaData(
            name='Is time between dates',
            desc='Checks if the current time is within defined time span.',
            icon='profiler',
            group=["Time"],
            tags=['condition'],
            type="condNode",
            purpose=['collection', 'segmentation'],
            documentation=Documentation(
                inputs={
                    "payload": PortDoc(desc="Reads payload object.")
                },
                outputs={
                    "in": PortDoc(desc="Returns input payload if local time is in the defined range."),
                    "out": PortDoc(desc="Returns input payload if local time outside in the defined range."),
                }
            )
        )
    )