openapi: 3.0.1
info:
  title: BallBooking AI Discovery API
  description: Public API specification for AI engines to discover partner sports clubs, court availability, and tournament brackets.
  version: 1.0.0
servers:
  - url: http://127.0.0.1:54321/rest/v1
paths:
  /clubs:
    get:
      summary: List partner sports clubs
      description: Returns a list of sports clubs with court types, indoor/outdoor flags, and geolocation.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    name:
                      type: string
                    address:
                      type: string
                    city:
                      type: string
  /activity_feed_items:
    get:
      summary: Search recent public match results
      description: Returns recent player match activities, scores, and Glicko-2 performance updates.
      responses:
        '200':
          description: Successful response
