{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/polygon-technology/main/json-schema/polygon-technology-post-counterparties-request-schema.json",
  "title": "PostCounterpartiesRequest",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/polygon-technology-openapi-generated.yml#/components/schemas/PostCounterpartiesRequest",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "Owner customer."
    },
    "entityType": {
      "type": "string",
      "description": "individual or business."
    },
    "firstName": {
      "type": "string",
      "description": "For individual."
    },
    "lastName": {
      "type": "string",
      "description": "For individual."
    },
    "businessName": {
      "type": "string",
      "description": "For business."
    },
    "address": {
      "type": "string",
      "description": "Object with line1, city, zipCode, country, (state for US)."
    },
    "email": {
      "type": "string",
      "description": "Contact email."
    },
    "phone": {
      "type": "string",
      "description": "Contact phone."
    },
    "taxId": {
      "type": "string",
      "description": "Tax identifier."
    }
  },
  "required": [
    "customerId",
    "entityType"
  ]
}