{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/converly-io/json-schema/converly-io-site-integration-schema.json",
  "title": "SiteIntegration",
  "description": "The calling plugin token's own install record — one Converly site ↔ one Webflow / WordPress / Wix / Framer installation. Returned by the /v1/site-integrations/me endpoints.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/converly-io-site-integrations-api-openapi.yml#/components/schemas/SiteIntegration",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "provider": {
      "type": "string",
      "description": "Platform: `webflow` | `wordpress` | `wix` | `framer`."
    },
    "status": {
      "type": "string",
      "description": "Install lifecycle, e.g. `active` | `uninstalled`."
    },
    "snippet_status": {
      "type": "string",
      "description": "Loader-snippet state, e.g. `installed` | `pending` | `failed` | `removed`."
    },
    "installed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "uninstalled_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "external_site_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "external_install_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "external_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "external_domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "id",
    "provider",
    "status",
    "snippet_status",
    "installed_at",
    "uninstalled_at",
    "external_site_id",
    "external_install_id",
    "external_name",
    "external_domain",
    "created_at",
    "updated_at"
  ]
}