openapi: 3.1.0
info:
  title: Verified Local Sitters, Maids & Ride Sponsor
  version: 0.1.0
servers:
  - url: https://api.swiperbuy.com
paths:
  /v1/services/book:
    post:
      operationId: bookVerifiedService
      summary: Book a Checkr-gated local service and optionally sponsor transit
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/ServiceBookRequest"
      responses:
        "200":
          description: Booking stub accepted
components:
  schemas:
    ServiceBookRequest:
      type: object
      properties:
        category:
          type: string
          description: sitter | maid | tutor | chef
        sponsor_transit: { type: boolean, default: false }
        destination_lat: { type: number }
        destination_lng: { type: number }
        client_id: { type: string }
