{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/puzaricloud-in/json-schema/puzaricloud-in-client-in-schema.json",
  "title": "ClientIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/puzaricloud-in-partner-api-api-openapi.yml#/components/schemas/ClientIn",
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 120,
      "minLength": 1,
      "title": "Name",
      "description": "Shown in the partner's client list and inside the workspace"
    },
    "external_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "External Id",
      "description": "Your id for this client (e.g. WHMCS service id). Unique per partner; creating twice returns the same client."
    },
    "contact_email": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact Email",
      "description": "Client contact; login links log this person in as a client admin"
    }
  },
  "type": "object",
  "required": [
    "name"
  ]
}