{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/premierletters-com/json-schema/premierletters-com-connect-request-schema.json",
  "title": "ConnectRequest",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/premierletters-com-openapi.json#/components/schemas/ConnectRequest",
  "type": "object",
  "required": [
    "email",
    "agent_name"
  ],
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
      "description": "The account owner's email; the approval link is sent here"
    },
    "agent_name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 80,
      "description": "Your name as the user will see it, e.g. \"Claude\". Letters, digits, spaces and . , ' & ( ) - _ only (no links)."
    },
    "mode": {
      "type": "string",
      "enum": [
        "live",
        "test"
      ],
      "default": "live"
    }
  }
}