Skip to main content

AccessRule.When

Scopes for AccessRule: Scope.HEADING, Scope.TEMPORAL, Scope.TRAVEL MODE, Scope.PURPOSE OF USE, Scope.RECOGNIZED STATUS and Scope.VEHICLE

Fields

NameTypeDescription
headingHeading (optional)The heading, either forward or backward, that the containing AccessRule applies to.

At least one of heading, during, mode, using, recognized, vehicle must be set
duringOpeningHours (optional)The recurring time span, in the OpenStreetMap opening hours format, that the containing AccessRule applies to. For the OSM opening hours specification, see https://wiki.openstreetmap.org/wiki/Key:opening_hours/specification.

At least one of heading, during, mode, using, recognized, vehicle must be set
modelist<TravelMode> (optional)A list of one or more travel modes, such as car, truck, or foot, that the containing AccessRule applies to.

Minimum length: 1
All items must be unique. (UniqueItemsConstraint)

At least one of heading, during, mode, using, recognized, vehicle must be set
usinglist<PurposeOfUse> (optional)A list of one or more usage purposes, such as delivery or arrival at final destination, that the containing AccessRule applies to.

Minimum length: 1
All items must be unique. (UniqueItemsConstraint)

At least one of heading, during, mode, using, recognized, vehicle must be set
recognizedlist<RecognizedStatus> (optional)A list of one or more recognized status values, such as employee or student, that the containing AccessRule applies to.

Minimum length: 1
All items must be unique. (UniqueItemsConstraint)

At least one of heading, during, mode, using, recognized, vehicle must be set
vehicleVehicleAxleCountSelector | VehicleHeightSelector | VehicleLengthSelector | VehicleWeightSelector | VehicleWidthSelector (list, optional)A list of one or more vehicle parameters that limit the vehicles the containing AccessRule applies to.

Minimum length: 1
All items must be unique. (UniqueItemsConstraint)

At least one of heading, during, mode, using, recognized, vehicle must be set

Constraints

  • At least one of heading, during, mode, using, recognized, vehicle must be set

Used By