Changeset 19445 in josm for trunk/src/org


Ignore:
Timestamp:
2025-11-07T15:07:19+01:00 (7 weeks ago)
Author:
GerdP
Message:

fix #24531: Conditional: "permit" should be a valid restriction value

  • add permit to the list of allowed values
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java

    r18560 r19445  
    3030            "fee", "restriction", "interval", "duration", "dog", "maxweightrating"));
    3131    private static final Set<String> RESTRICTION_VALUES = new HashSet<>(Arrays.asList("yes", "official", "designated", "destination",
    32             "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no"));
     32            "delivery", "customers", "permissive", "private", "agricultural", "forestry", "no", "permit"));
    3333    private static final Set<String> TRANSPORT_MODES = new HashSet<>(Arrays.asList("access", "foot", "ski", "inline_skates", "ice_skates",
    3434            "horse", "vehicle", "bicycle", "carriage", "trailer", "caravan", "motor_vehicle", "motorcycle", "moped", "mofa",
Note: See TracChangeset for help on using the changeset viewer.