{
  "name": "Race Director",
  "version": "1.1",
  "scope": "Shared esports discovery and official results. Rig control is local to each venue. Bookings and payments belong to venue sites.",
  "openapi": { "competition": "/openapi.json", "venueDesk": "/desk-openapi.json" },
  "read": {
    "listEvents": "/api/v1/events",
    "getEventRules": "/api/v1/events/{eventId}/rules",
    "getEsportsStats": "/api/v1/events/{eventId}/stats",
    "getOfficialStandings": "/api/v1/events/{eventId}/standings"
  },
  "write": {
    "scope": "Venue bearer key. Submit only for the caller's checked-in drivers.",
    "registerEsportsEntry": "/api/v1/events/{eventId}/entries",
    "checkInEsportsEntry": "/api/v1/events/{eventId}/check-in/{entryId}",
    "submitEsportsResult": "/api/v1/events/{eventId}/results"
  },
  "publication": {
    "source": "Organizer-reviewed results",
    "cacheVersionField": "snapshot.publishedAt",
    "statuses": {
      "unpublished": "No official snapshot",
      "official": "Current official snapshot",
      "under_review": "Last official snapshot remains available while a correction is reviewed"
    }
  }
}
