from __future__ import annotations
from dataclasses import dataclass, field
from .containment_aggregation_structure import ContainmentAggregationStructure
from .vehicle_journey_spot_allocation import VehicleJourneySpotAllocation

__NAMESPACE__ = "http://www.netex.org.uk/netex"


@dataclass(slots=True, kw_only=True)
class VehicleJourneySpotAllocationsRelStructure(ContainmentAggregationStructure):
    class Meta:
        name = "vehicleJourneySpotAllocations_RelStructure"

    vehicle_journey_spot_allocation: list[VehicleJourneySpotAllocation] = field(
        default_factory=list,
        metadata={
            "name": "VehicleJourneySpotAllocation",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )