{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bountyapi-com/json-schema/bountyapi-com-pitch-request-schema.json",
  "title": "PitchRequest",
  "description": "Request body for POST /property/pitch.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/bountyapi-com-api-openapi.json#/components/schemas/PitchRequest",
  "properties": {
    "property_type": {
      "type": "string",
      "title": "Property Type",
      "description": "hdb, private, condo, landed",
      "default": "hdb"
    },
    "property_price": {
      "type": "number",
      "exclusiveMinimum": 0.0,
      "title": "Property Price",
      "description": "Asking price in SGD"
    },
    "town": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Town",
      "description": "HDB town (e.g. 'TAMPINES') or area name"
    },
    "flat_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Flat Type",
      "description": "HDB flat type (e.g. '4 ROOM') or unit type (e.g. '3BR')"
    },
    "project_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project Name",
      "description": "Condo/project name (for private property)"
    },
    "postal_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Postal Code",
      "description": "Postal code for location intelligence"
    },
    "sqft": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Sqft",
      "description": "Floor area in square feet"
    },
    "monthly_rent": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Monthly Rent",
      "description": "Expected monthly rent (optional)"
    },
    "tenure": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tenure",
      "description": "Freehold, 99-year, 999-year, etc."
    },
    "top_year": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Top Year",
      "description": "Year of Temporary Occupation Permit (TOP)"
    },
    "buyer_profile": {
      "$ref": "#/$defs/apis__property_pitch__BuyerProfile",
      "description": "SC, SPR, FR, entity",
      "default": "SC"
    },
    "property_count": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Property Count",
      "description": "Number of properties owned including this one",
      "default": 1
    },
    "monthly_income": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Monthly Income",
      "description": "Gross monthly income"
    },
    "existing_monthly_debt": {
      "type": "number",
      "minimum": 0.0,
      "title": "Existing Monthly Debt",
      "description": "Existing monthly debt",
      "default": 0
    },
    "buyer_notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Buyer Notes",
      "description": "Any specific concerns or goals the buyer has"
    }
  },
  "type": "object",
  "required": [
    "property_price"
  ],
  "$defs": {
    "apis__property_pitch__BuyerProfile": {
      "type": "string",
      "enum": [
        "SC",
        "SPR",
        "FR",
        "entity"
      ],
      "title": "BuyerProfile"
    }
  }
}