{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mcpweave-com/json-schema/mcpweave-com-cjlogistics-connect-body-schema.json",
  "title": "CJLogisticsConnectBody",
  "description": "JSON body for POST /api/v1/connect/cj_logistics.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mcpweave-com-openapi.json#/components/schemas/CJLogisticsConnectBody",
  "properties": {
    "api_token": {
      "type": "string",
      "minLength": 10,
      "title": "Api Token",
      "description": "영구 API Token (portal Stage 1)"
    },
    "biz_reg_num": {
      "type": "string",
      "pattern": "^\\d{10}$",
      "title": "Biz Reg Num",
      "description": "사업자등록번호 10자리"
    },
    "cust_id": {
      "type": "string",
      "pattern": "^\\d{6,10}$",
      "title": "Cust Id",
      "description": "계약 코드 (CNPLUS, 보통 8자리)"
    },
    "user_id": {
      "type": "string",
      "minLength": 1,
      "title": "User Id",
      "description": "portal 사용자 ID"
    },
    "test_mode": {
      "type": "boolean",
      "title": "Test Mode",
      "description": "True = sandbox, False = production",
      "default": true
    },
    "cust_mgmt_dlcm_cd": {
      "type": "string",
      "title": "Cust Mgmt Dlcm Cd",
      "description": "발송 거래처 코드 (선택)",
      "default": ""
    },
    "display_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Display Name",
      "description": "dashboard 표시 이름 (선택)"
    }
  },
  "type": "object",
  "required": [
    "api_token",
    "biz_reg_num",
    "cust_id",
    "user_id"
  ]
}