{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sitesplaced-com/json-schema/sitesplaced-com-connect-exchange-result-schema.json",
  "title": "ConnectExchangeResult",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sitesplaced-com-openapi.json#/components/schemas/ConnectExchangeResult",
  "type": "object",
  "required": [
    "api_key",
    "webhook_secret",
    "connection_id",
    "store"
  ],
  "properties": {
    "api_key": {
      "type": "string"
    },
    "webhook_secret": {
      "type": "string",
      "description": "Signs the updates pushed back to the shop."
    },
    "connection_id": {
      "type": "string",
      "format": "uuid"
    },
    "store": {
      "$ref": "#/$defs/ConnectedStore"
    }
  },
  "$defs": {
    "ConnectedStore": {
      "type": "object",
      "required": [
        "id",
        "name",
        "slug",
        "tracking_url",
        "dashboard_url"
      ],
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "type": "string"
        },
        "slug": {
          "type": "string"
        },
        "tracking_url": {
          "type": "string",
          "format": "uri"
        },
        "dashboard_url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}