{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/soeru-biz/json-schema/soeru-biz-test-connection-request-schema.json",
  "title": "TestConnectionRequest",
  "description": "Platform-agnostic test connection request.\n\nSupports both legacy field names (service_secret/license_key) and\nplatform-prefixed names (rakuten_service_secret/rakuten_license_key).",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/soeru-biz-openapi.json#/components/schemas/TestConnectionRequest",
  "properties": {
    "platform": {
      "type": "string",
      "title": "Platform",
      "default": "rakuten"
    },
    "service_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Service Secret"
    },
    "license_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "License Key"
    },
    "rakuten_service_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rakuten Service Secret"
    },
    "rakuten_license_key": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Rakuten License Key"
    },
    "amazon_seller_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amazon Seller Id"
    },
    "amazon_mws_auth_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amazon Mws Auth Token"
    },
    "amazon_marketplace_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Amazon Marketplace Id"
    },
    "shopify_store_domain": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Shopify Store Domain"
    },
    "shopify_access_token": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Shopify Access Token"
    },
    "shopify_client_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Shopify Client Id"
    },
    "shopify_client_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Shopify Client Secret"
    },
    "yahoo_app_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Yahoo App Id"
    },
    "yahoo_secret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Yahoo Secret"
    },
    "yahoo_seller_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Yahoo Seller Id"
    }
  },
  "type": "object"
}