{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tender-agents-com/json-schema/tender-agents-com-company-profile-in-schema.json",
  "title": "CompanyProfileIn",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tender-agents-com-agentleads-openapi.json#/components/schemas/CompanyProfileIn",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "title": "Email"
    },
    "company": {
      "type": "string",
      "title": "Company"
    },
    "industry": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Industry"
    },
    "region": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Region"
    },
    "services": {
      "type": "string",
      "title": "Services"
    },
    "budget": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget"
    },
    "frequency": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Frequency"
    },
    "selected_verticals": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Selected Verticals"
    },
    "included_cpv_codes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Included Cpv Codes"
    },
    "excluded_cpv_codes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Excluded Cpv Codes"
    },
    "positive_keywords": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Positive Keywords"
    },
    "negative_keywords": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Negative Keywords"
    },
    "capabilities": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Capabilities"
    },
    "reference_projects": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Reference Projects"
    },
    "used_portals": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Used Portals"
    },
    "current_search_terms": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Current Search Terms"
    },
    "existing_alerts": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Existing Alerts"
    },
    "go_no_go_rules": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Go No Go Rules"
    },
    "preferred_buyer_clusters": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Preferred Buyer Clusters"
    },
    "early_signal_keywords": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Early Signal Keywords"
    },
    "pilot_user_emails": {
      "items": {
        "type": "string",
        "format": "email"
      },
      "type": "array",
      "title": "Pilot User Emails"
    },
    "prequalification_number": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Prequalification Number"
    },
    "prequalification_status": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 120
        },
        {
          "type": "null"
        }
      ],
      "title": "Prequalification Status"
    },
    "target_countries": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Target Countries"
    },
    "keyword_languages": {
      "items": {
        "type": "string",
        "enum": [
          "deu",
          "eng",
          "fra",
          "spa"
        ]
      },
      "type": "array",
      "maxItems": 4,
      "minItems": 1,
      "title": "Keyword Languages"
    },
    "target_regions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Target Regions"
    },
    "target_nuts_codes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Target Nuts Codes"
    },
    "postal_code": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Postal Code"
    },
    "radius_km": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 2000.0,
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Radius Km"
    },
    "location_mode": {
      "type": "string",
      "enum": [
        "nationwide",
        "priority",
        "strict"
      ],
      "title": "Location Mode",
      "default": "priority"
    },
    "minimum_contract_value_eur": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Minimum Contract Value Eur"
    },
    "maximum_contract_value_eur": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Maximum Contract Value Eur"
    },
    "preferred_notification_frequency": {
      "type": "string",
      "enum": [
        "off",
        "daily",
        "weekly"
      ],
      "title": "Preferred Notification Frequency",
      "default": "weekly"
    },
    "only_active": {
      "type": "boolean",
      "title": "Only Active",
      "default": true
    },
    "minimum_days_until_deadline": {
      "type": "integer",
      "maximum": 365.0,
      "minimum": 0.0,
      "title": "Minimum Days Until Deadline",
      "default": 0
    },
    "source": {
      "type": "string",
      "title": "Source",
      "default": "website"
    }
  },
  "type": "object",
  "required": [
    "email",
    "company",
    "services"
  ]
}