{
  "openapi": "3.1.0",
  "info": {
    "title": "Propel Venture Partners pitch API",
    "version": "1.0.0",
    "description": "Submit a funding application to Propel. Also available as the MCP tool propel_pitch at https://propel.vc/mcp."
  },
  "servers": [
    {
      "url": "https://propel.vc"
    }
  ],
  "paths": {
    "/api/pitch": {
      "post": {
        "operationId": "submitPitch",
        "summary": "Submit a pitch",
        "description": "Accepts application/json or multipart/form-data. Required: email, founder1, location, stage. If stage is building: oneliner, business, started. If stage is considering: journey. Leave company_url empty; it is a honeypot.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Pitch"
              }
            },
            "multipart/form-data": {
              "schema": {
                "$ref": "#/components/schemas/Pitch"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Received",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Missing or invalid field",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ok": {
                      "type": "boolean"
                    },
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Pitch": {
        "type": "object",
        "required": [
          "email",
          "founder1",
          "location",
          "stage"
        ],
        "properties": {
          "email": {
            "type": "string",
            "format": "email",
            "description": "The founder's email"
          },
          "founder1": {
            "type": "string",
            "maxLength": 2000,
            "description": "Founder bio and experience. A LinkedIn URL helps."
          },
          "founder2": {
            "type": "string",
            "maxLength": 2000,
            "description": "Co-founder bio"
          },
          "founder3": {
            "type": "string",
            "maxLength": 2000,
            "description": "Co-founder bio"
          },
          "location": {
            "type": "string",
            "maxLength": 200,
            "description": "City, State / Country"
          },
          "heard": {
            "type": "string",
            "maxLength": 500,
            "description": "How they heard about Propel"
          },
          "stage": {
            "type": "string",
            "enum": [
              "building",
              "considering"
            ]
          },
          "oneliner": {
            "type": "string",
            "maxLength": 300,
            "description": "One sentence on what the company does (building)"
          },
          "company_name": {
            "type": "string",
            "maxLength": 200
          },
          "company_site": {
            "type": "string",
            "maxLength": 500,
            "format": "uri"
          },
          "business": {
            "type": "string",
            "maxLength": 2000,
            "description": "How it works and makes money (building)"
          },
          "started": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}$",
            "description": "YYYY-MM (building)"
          },
          "whyyou": {
            "type": "string",
            "maxLength": 1500
          },
          "whynow": {
            "type": "string",
            "maxLength": 1500
          },
          "funding": {
            "type": "string",
            "maxLength": 200,
            "description": "Outside money raised so far"
          },
          "customers": {
            "type": "string",
            "maxLength": 200
          },
          "metrics": {
            "type": "string",
            "maxLength": 1500
          },
          "raise": {
            "type": "string",
            "maxLength": 1000,
            "description": "Target and terms if raising now"
          },
          "deck": {
            "type": "string",
            "maxLength": 500,
            "format": "uri",
            "description": "Deck or video link"
          },
          "journey": {
            "type": "string",
            "maxLength": 2000,
            "description": "Where the founder's head is at (considering)"
          },
          "markets": {
            "type": "string",
            "maxLength": 1500
          },
          "idea": {
            "type": "string",
            "maxLength": 1500
          }
        }
      }
    }
  }
}