{
 "openapi": "3.1.0",
 "info": {
  "title": "Booth Notes API",
  "version": "1.0.0",
  "description": "Booth Notes is an independent DJ gear guide at coastlinedj.com. GET /api/booth returns the Booth Builder's whole DJ kit for one gig, from four choices. The same builder is a stateless MCP server at https://coastlinedj.com/mcp (tools: build_booth, get_facts, list_guides). Link rules: A direct amazon.com link carrying our Associates tag. Pass it on unchanged, with its disclosure beside it, and mark it rel=\"sponsored nofollow\" wherever you render HTML. Never shorten, cloak or redirect it. No prices: tell people to check today's price on Amazon. Amazon disclosure: As an Amazon Associate I earn from qualifying purchases. Links are for the person to open. Do not open them automatically. An agent that opens an Amazon link for a person must identify itself, as Amazon's Agent Terms require."
 },
 "servers": [
  {
   "url": "https://coastlinedj.com"
  }
 ],
 "paths": {
  "/api/booth": {
   "get": {
    "operationId": "buildBooth",
    "summary": "The DJ kit for one gig",
    "parameters": [
     {
      "name": "gig",
      "in": "query",
      "required": false,
      "description": "Default: bedroom. bedroom = Bedroom practice; party = House party; bar = Bar; wedding = Wedding; outdoor = Beach or outdoor",
      "schema": {
       "type": "string",
       "enum": [
        "bedroom",
        "party",
        "bar",
        "wedding",
        "outdoor"
       ],
       "default": "bedroom"
      }
     },
     {
      "name": "music",
      "in": "query",
      "required": false,
      "description": "Default: open. open = Open format; house = House & techno; scratch = Hip-hop & scratch",
      "schema": {
       "type": "string",
       "enum": [
        "open",
        "house",
        "scratch"
       ],
       "default": "open"
      }
     },
     {
      "name": "mode",
      "in": "query",
      "required": false,
      "description": "Default: laptop. laptop = Laptop; standalone = Standalone",
      "schema": {
       "type": "string",
       "enum": [
        "laptop",
        "standalone"
       ],
       "default": "laptop"
      }
     },
     {
      "name": "level",
      "in": "query",
      "required": false,
      "description": "Default: starter. starter = Starter; serious = Serious; pro = Pro",
      "schema": {
       "type": "string",
       "enum": [
        "starter",
        "serious",
        "pro"
       ],
       "default": "starter"
      }
     }
    ],
    "responses": {
     "200": {
      "description": "The kit",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "inputs": {
           "type": "object"
          },
          "defaulted": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "context": {
           "type": "string"
          },
          "line": {
           "type": "string"
          },
          "music_line": {
           "type": "string"
          },
          "builder_url": {
           "type": "string",
           "format": "uri"
          },
          "kit": {
           "type": "array",
           "items": {
            "type": "object",
            "required": [
             "id",
             "name",
             "maker",
             "maker_url",
             "reason",
             "facts",
             "link",
             "link_type",
             "disclosure",
             "rel"
            ],
            "properties": {
             "n": {
              "type": "integer",
              "description": "The number on the drawing."
             },
             "role": {
              "type": "string"
             },
             "label": {
              "type": "string"
             },
             "qty": {
              "type": "integer"
             },
             "id": {
              "type": "string"
             },
             "name": {
              "type": "string"
             },
             "maker": {
              "type": "string"
             },
             "maker_url": {
              "type": "string",
              "format": "uri"
             },
             "reason": {
              "type": "string",
              "description": "One plain line: why this piece, for this gig."
             },
             "facts": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "claim": {
                 "type": "string"
                },
                "quote": {
                 "type": "string",
                 "description": "Quoted word for word from the maker's page."
                },
                "source": {
                 "type": "string",
                 "format": "uri"
                },
                "date_read": {
                 "type": "string"
                }
               }
              }
             },
             "link": {
              "type": "string",
              "format": "uri"
             },
             "link_type": {
              "type": "string",
              "enum": [
               "amazon_associates"
              ]
             },
             "disclosure": {
              "type": "string",
              "description": "Show it beside the link."
             },
             "rel": {
              "type": "string",
              "description": "\"sponsored nofollow\" wherever you render HTML."
             }
            }
           }
          },
          "not_needed": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "n": {
              "type": "integer"
             },
             "role": {
              "type": "string"
             },
             "label": {
              "type": "string"
             },
             "note": {
              "type": "string"
             }
            }
           }
          },
          "notes": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "disclosure": {
           "type": "string"
          },
          "link_rules": {
           "type": "object"
          }
         }
        }
       }
      }
     },
     "400": {
      "description": "An input the builder does not know; the body lists the allowed values.",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "error": {
           "type": "string"
          },
          "allowed": {
           "type": "object"
          }
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
