Designated Bay Compliance Policy
Mandatory-parking-bay enforcement — the vehicle must be inside a painted or marked bay to end the ride.
For cities and operators that require parking inside a designated bay (often a painted green box, a marked corral, or a stenciled zone), this policy confirms the vehicle sits within the bay markings. It is stricter than the open-street parking policies: presence inside the bay is a required, critical criterion. Modeled on the green/designated-bay flows used by operators in mandatory-bay markets.
Where this policy fits
- Mandatory parking-bay markets
- Green painted box / corral enforcement
- Geofenced bay programs needing photo proof
- Reducing out-of-bay drop-offs and clutter
Compliance categories
Every verification resolves to exactly one category. Compliant categories pass the ride or hand-off; the rest route to retry or manual review.
Parked In Bay
The vehicle is clearly inside the designated parking bay markings.
in_bayOutside Bay
The vehicle is outside the designated bay, only partially inside, or no bay is visible where one is required.
out_of_bayPoor Photo
Image quality prevents confirming whether the vehicle is inside a bay.
poor_photoNo Vehicle
No scooter or e-bike visible in the photo.
no_vehicleCriteria
Each criterion is evaluated independently. Required criteria gate the outcome; severity tunes how strictly the model interprets edge cases.
| Criterion | Severity | Required | ID |
|---|---|---|---|
Vehicle clearly visible A scooter or e-bike must be clearly identifiable in the photo. FAIL only if no micromobility vehicle is present. | critical | Yes | vehicle_visible |
Bay markings visible A designated parking bay must be visible — a painted box (commonly green), stenciled outline, corral, or signed marking. FAIL if there is no bay marking visible anywhere in the photo. | critical | Yes | bay_markings_visible |
Vehicle inside the bay The vehicle's wheels and footprint must sit INSIDE the bay markings. PASS if the vehicle is clearly within the painted/marked area. FAIL if the vehicle is outside the markings or substantially overhanging the boundary into the sidewalk or roadway. | critical | Yes | vehicle_inside_bay |
Not blocking adjacent path Even inside a bay, FAIL if the vehicle overhangs into and blocks an adjacent pedestrian path or doorway. Vehicles fully contained in the bay PASS. | warning | No | not_blocking_path |
Image is clear enough FAIL only if the photo is completely black, unidentifiably blurry, or a non-photo. Low-light photos PASS as long as the bay markings and vehicle are identifiable. | warning | Yes | image_clear |
Copy the policy JSON
Use this as the config for a named policy in your dashboard or send it to us to attach to your account. Once it has a stable policy ID, pass that ID to /api/v1/verify.
{
"id": "designated-bay-compliance-policy",
"name": "Designated Bay Compliance Policy",
"config": {
"mode": "structured",
"categories": [
{
"id": "in_bay",
"label": "Parked In Bay",
"color": "#22c55e",
"isCompliant": true,
"description": "The vehicle is clearly inside the designated parking bay markings."
},
{
"id": "out_of_bay",
"label": "Outside Bay",
"color": "#ef4444",
"isCompliant": false,
"description": "The vehicle is outside the designated bay, only partially inside, or no bay is visible where one is required."
},
{
"id": "poor_photo",
"label": "Poor Photo",
"color": "#f97316",
"isCompliant": false,
"description": "Image quality prevents confirming whether the vehicle is inside a bay."
},
{
"id": "no_vehicle",
"label": "No Vehicle",
"color": "#6b7280",
"isCompliant": false,
"description": "No scooter or e-bike visible in the photo."
}
],
"criteria": [
{
"id": "vehicle_visible",
"label": "Vehicle clearly visible",
"description": "A scooter or e-bike must be clearly identifiable in the photo. FAIL only if no micromobility vehicle is present.",
"severity": "critical",
"required": true
},
{
"id": "bay_markings_visible",
"label": "Bay markings visible",
"description": "A designated parking bay must be visible — a painted box (commonly green), stenciled outline, corral, or signed marking. FAIL if there is no bay marking visible anywhere in the photo.",
"severity": "critical",
"required": true
},
{
"id": "vehicle_inside_bay",
"label": "Vehicle inside the bay",
"description": "The vehicle's wheels and footprint must sit INSIDE the bay markings. PASS if the vehicle is clearly within the painted/marked area. FAIL if the vehicle is outside the markings or substantially overhanging the boundary into the sidewalk or roadway.",
"severity": "critical",
"required": true
},
{
"id": "not_blocking_path",
"label": "Not blocking adjacent path",
"description": "Even inside a bay, FAIL if the vehicle overhangs into and blocks an adjacent pedestrian path or doorway. Vehicles fully contained in the bay PASS.",
"severity": "warning",
"required": false
},
{
"id": "image_clear",
"label": "Image is clear enough",
"description": "FAIL only if the photo is completely black, unidentifiably blurry, or a non-photo. Low-light photos PASS as long as the bay markings and vehicle are identifiable.",
"severity": "warning",
"required": true
}
],
"maxAttempts": 3,
"autoApproveOnExhaust": false,
"uiCopy": {
"scannerTitle": "Park In The Bay",
"scannerInstructions": "Park inside the marked bay, then take a photo showing the vehicle and the bay lines",
"processingMessage": "Checking bay compliance...",
"successMessage": "Parked in the bay — ride complete!",
"failureMessage": "Vehicle is not inside a designated bay",
"retryMessage": "Please move your vehicle fully inside the marked bay and retake the photo. {remaining} attempts remaining.",
"exhaustedMessage": "Photo flagged for manual review."
}
}
}Frequently asked questions
Related policies
Micromobility Parking Policy
End-of-ride scooter and e-bike parking verification, hardened against the false positives that get riders wrongly fined.
View policyMicromobilityBike-Share Parking Policy
Dock-optional bike-share end-of-ride checks that confirm a tidy lock-to and a clear right-of-way.
View policy