{
  "openapi": "3.1.0",
  "info": {
    "title": "Warehouse Dock Appointment Booking API",
    "description": "Books inbound and outbound warehouse bay slots to reduce dock congestion and waiting. Pre-launch design; endpoints are not live yet.",
    "version": "0.1.0",
    "x-planned-pricing": {
      "model": "free tier for evaluation, paid tiers by volume",
      "status": "planned; nothing charged before launch"
    }
  },
  "servers": [
    {
      "url": "https://openapiregistry.com/api/v1/warehouse-slot",
      "description": "Pre-launch: endpoints are not live yet and answer 503."
    }
  ],
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/slots": {
      "post": {
        "summary": "Book a warehouse slot",
        "description": "Books a bay arrival window and returns a confirmation with a bay assignment.",
        "tags": [
          "logistics"
        ],
        "operationId": "warehouse-slot-post-slots",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Slot booked.",
            "content": {
              "application/json": {
                "example": {
                  "slotId": "s-881",
                  "status": "confirmed",
                  "bay": "B3"
                },
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "409": {
            "description": "Slot unavailable."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "warehouse",
                  "window"
                ],
                "properties": {
                  "warehouse": {
                    "type": "string"
                  },
                  "window": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key",
        "description": "Planned for launch: an API key issued on request. Free tier for evaluation, paid tiers by volume; nothing is charged before launch."
      }
    }
  }
}
