{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/potarix-com/json-schema/potarix-com-company-enrich-request-schema.json",
  "title": "CompanyEnrichRequest",
  "description": "Request model for company enrichment.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/potarix-com-openapi.json#/components/schemas/CompanyEnrichRequest",
  "properties": {
    "company_name": {
      "type": "string",
      "title": "Company Name",
      "description": "The name of the company to enrich"
    },
    "first_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "First Name",
      "description": "Optional first name of a known contact"
    },
    "last_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Last Name",
      "description": "Optional last name of a known contact"
    },
    "company_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Company Url",
      "description": "Optional existing company URL"
    },
    "address": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Address",
      "description": "Optional address for people search"
    },
    "location": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Location",
      "description": "Optional location for LinkedIn search fallback"
    },
    "cheap_run": {
      "type": "boolean",
      "title": "Cheap Run",
      "description": "If True, skip expensive API calls",
      "default": false
    },
    "find_only_decision_makers": {
      "type": "boolean",
      "title": "Find Only Decision Makers",
      "description": "If True, only search for decision makers",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "company_name"
  ]
}