Aller au contenu principal
Petanque Life

Venue Registry

F07.01 10 fonctionnalités Planifié

En bref

Venue Registry is the canonical directory of every boulodrome on the platform, capturing location, ownership, amenities, opening hours, ratings, and accessibility metadata in one structured record. It powers the public map-based finder with Haversine geo-search, federation venue lookups, and the upstream data feed that court management, booking, homologation, and competition assignment all depend on for ground truth.

Comment ça fonctionne

Each venue is registered with name, address, and GPS coordinates that anchor it on the public map. The profile layer adds photos, descriptions, capacity figures, and amenities that render on venue detail pages, while a separate court inventory lists every playing surface with its number, terrain type, indoor/outdoor classification, and lighting status. Ownership is modelled through a club_id reference so that operations like opening hours, bookings, and homologation always resolve back to a responsible OrgNode within the tenant.

Discovery is built on two cooperating endpoints. The directory search filters by location, capacity, and facility attributes for structured queries from federation portals, and the map-based finder runs a Haversine-based geo-search against lat/lng/radius parameters so the public app can stream nearby boulodromes as the user pans the map. Both views share the same accessibility schema, exposing wheelchair access, parking, toilet facilities, and hearing-loop availability so that players with accessibility needs can pre-qualify a venue before travelling.

Opening hours are managed as structured weekly schedules with override windows, which the venue feed broadcasts to player apps and which the booking system consults when computing available slots. Contact details (phone, email, website) are stored on the venue record itself, while social links live in a dedicated channel feature to avoid duplicating identities across federation tooling.

Ratings and reviews close the loop: visitors leave star ratings and short reviews, which surface aggregated scores on the directory and finder. Moderation hooks let club administrators flag inappropriate content, and review counts feed into ranking heuristics so well-run venues bubble up in nearby searches. Every change to a venue record is auditable through Craft Easy's standard audit trail, and the registry is the read-down source for downstream subsystems including Court Management, Booking, and Homologation.

Capacités clés

  • Venue registration with name, address, and GPS coordinates
  • Rich profiles with photos, capacity, amenities, and descriptions
  • Court inventory per venue (count, terrain, indoor/outdoor, lighting)
  • Map-based finder with Haversine geo-search by lat/lng/radius
  • Accessibility metadata (wheelchair, parking, toilets, hearing loop)
  • Opening hours management with structured weekly schedules
  • Ratings and reviews with aggregated scoring

En pratique

A visiting player lands in Lyon for a tournament and opens the public app to find somewhere to train. They tap the map view, drag to their hotel, and see ten boulodromes within a 5 km radius rendered as pins via the Haversine geo-search. They filter for outdoor, lit, and wheelchair-accessible venues, leaving three results.

Tapping the closest one opens the profile: photos of the courts, current opening hours, a 4.6-star rating from 38 reviews, and the parent club's contact details. They confirm parking is available, save the venue to favourites, and continue into the booking flow to reserve a court for the evening session.

Fonctionnalités de ce sous-système

10
ID Status Fonctionnalités
F07.01.01 Livré Venue/boulodrome registration (name, address, GPS coordinates) ✅ PL-F0701a
F07.01.02 Livré Venue profile (photos, description, capacity, amenities) ✅ PL-F0701a
F07.01.03 Livré Court inventory per venue (number, type, surface, indoor/outdoor, lighting) ✅ PL-F0701a
F07.01.04 Livré Venue ownership/management (club_id reference) ✅ PL-F0701a
F07.01.05 Livré Venue search/directory (by location, capacity, facilities) ✅ PL-F0701a
F07.01.06 Livré Map-based venue finder with geo-search (lat/lng/radius via Haversine) ✅ PL-F0701b
F07.01.07 Livré Venue rating and reviews ✅ PL-F0701b
F07.01.08 Livré Venue accessibility information (wheelchair, parking, toilets, hearing loop) ✅ PL-F0701b
F07.01.09 Livré Opening hours management ✅ PL-F0701b
F07.01.10 Livré Venue contact (phone, email, website) — social media links via separate feature ✅ PL-F0701b