{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mcpweave-com/json-schema/mcpweave-com-amazon-ads-connect-body-schema.json",
  "title": "AmazonAdsConnectBody",
  "description": "BYOC — Amazon LWA 앱 자격증명 (Login with Amazon).",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mcpweave-com-openapi.json#/components/schemas/AmazonAdsConnectBody",
  "properties": {
    "client_id": {
      "type": "string",
      "minLength": 10,
      "title": "Client Id",
      "description": "Amazon LWA 앱 Client ID (amzn1.application-oa2-client.{32hex})"
    },
    "client_secret": {
      "type": "string",
      "minLength": 10,
      "title": "Client Secret",
      "description": "Amazon LWA 앱 Client Secret"
    },
    "region": {
      "type": "string",
      "title": "Region",
      "description": "API 리전. na(미국/캐나다/멕시코/브라질) / eu(유럽/인도/UAE) / fe(일본/호주/싱가포르). 기본값: na.",
      "default": "na"
    },
    "preferred_profile_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Preferred Profile Id",
      "description": "선택할 프로필 ID (선택 사항). 비우면 프로필이 하나면 자동 선택, 여럿이면 첫 번째 자동 선택."
    }
  },
  "type": "object",
  "required": [
    "client_id",
    "client_secret"
  ]
}