{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-ai-context-update-schema-schema.json",
  "title": "AiContextUpdateSchema",
  "description": "Request body for editing the context fields (tri-state PATCH semantics).",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-ai-context-api-openapi.yml#/components/schemas/AiContextUpdateSchema",
  "properties": {
    "company_description": {
      "anyOf": [
        {
          "maxLength": 10000,
          "type": "string"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "New value. Set to null to clear.",
      "title": "Company Description"
    },
    "company_type": {
      "anyOf": [
        {
          "$ref": "#/$defs/CompanyType"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "How the company makes money. Set to null to clear.",
      "title": "Company Type"
    },
    "ideal_buyer_personas": {
      "anyOf": [
        {
          "maxLength": 10000,
          "type": "string"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "New value. Set to null to clear.",
      "title": "Ideal Buyer Personas"
    },
    "ideal_customer_profile": {
      "anyOf": [
        {
          "maxLength": 10000,
          "type": "string"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "New value. Set to null to clear.",
      "title": "Ideal Customer Profile"
    },
    "interest_signals": {
      "anyOf": [
        {
          "maxLength": 10000,
          "type": "string"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "New value. Set to null to clear.",
      "title": "Interest Signals"
    },
    "sells_to": {
      "anyOf": [
        {
          "$ref": "#/$defs/SellsTo"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "Who buys from the company. Set to null to clear.",
      "title": "Sells To"
    },
    "social_proof": {
      "anyOf": [
        {
          "maxLength": 10000,
          "type": "string"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "New value. Set to null to clear.",
      "title": "Social Proof"
    },
    "voice": {
      "anyOf": [
        {
          "maxLength": 600,
          "type": "string"
        },
        {},
        {
          "type": "null"
        }
      ],
      "description": "The company voice: spelling, formality, what the company calls its product and its buyers, jargon it avoids, how technical it gets. Not length or punctuation. Set to null to clear.",
      "title": "Voice"
    }
  },
  "type": "object",
  "$defs": {
    "CompanyType": {
      "description": "How a company makes money: the catalog's ``company_type`` choices, one for one.",
      "enum": [
        "b2b_saas",
        "b2c_saas",
        "agency_services",
        "ecommerce_dtc",
        "marketplace",
        "manufacturing",
        "financial_services",
        "healthcare",
        "education",
        "nonprofit",
        "government",
        "media_publishing",
        "real_estate",
        "hospitality",
        "logistics",
        "other"
      ],
      "title": "CompanyType",
      "type": "string"
    },
    "SellsTo": {
      "description": "Who a company's buyer is: the catalog's ``sells_to`` choices, one for one.",
      "enum": [
        "businesses",
        "consumers",
        "both"
      ],
      "title": "SellsTo",
      "type": "string"
    }
  }
}