{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/chnlsync-com/json-schema/chnlsync-com-agent-session-create-request-schema.json",
  "title": "AgentSessionCreateRequest",
  "description": "Structured environment intro an external agent submits for its user.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chnlsync-com-customer-agent-api-openapi.yml#/components/schemas/AgentSessionCreateRequest",
  "properties": {
    "company_name": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Company Name"
    },
    "domain": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Domain"
    },
    "site_count": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Site Count"
    },
    "current_providers": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 20,
      "title": "Current Providers"
    },
    "contract_end_dates": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Contract End Dates"
    },
    "pain": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 1,
      "title": "Pain"
    }
  },
  "type": "object",
  "required": [
    "company_name",
    "pain"
  ]
}