{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/venturu-com/json-schema/venturu-com-get-leads-for-organization-response-schema-schema.json",
  "title": "getLeadsForOrganizationResponseSchema",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/venturu-com-openapi.json#/components/schemas/getLeadsForOrganizationResponseSchema",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "success"
      ],
      "description": "Indicates that the request was successful."
    },
    "organizationId": {
      "type": "number",
      "description": "The Venturu ID of the organization."
    },
    "organizationName": {
      "type": "string",
      "description": "The name of the organization."
    },
    "totalLeads": {
      "type": "number",
      "description": "The total number of leads for the organization."
    },
    "officeBreakdown": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "officeId": {
            "type": "number",
            "description": "The Venturu ID of the office."
          },
          "officeName": {
            "type": "string",
            "description": "The name of the office."
          },
          "totalLeads": {
            "type": "number",
            "description": "The total number of leads for the office."
          }
        },
        "required": [
          "officeId",
          "officeName",
          "totalLeads"
        ]
      },
      "description": "A breakdown of leads by office within the organization."
    }
  },
  "required": [
    "status",
    "organizationId",
    "organizationName",
    "totalLeads",
    "officeBreakdown"
  ]
}