{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/converly-io/json-schema/converly-io-action-types-response-schema.json",
  "title": "ActionTypesResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/converly-io-action-types-api-openapi.yml#/components/schemas/ActionTypesResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ActionTypeItem"
      }
    }
  },
  "required": [
    "data"
  ],
  "$defs": {
    "ActionTypeField": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "string",
            "number",
            "boolean",
            "enum"
          ]
        },
        "required": {
          "type": "boolean"
        },
        "optional": {
          "type": "boolean"
        },
        "label": {
          "type": "string"
        },
        "default": {},
        "options": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "source": {
          "type": "string",
          "enum": [
            "conversions_list"
          ]
        }
      },
      "required": [
        "name",
        "type",
        "label"
      ]
    },
    "ActionTypeItem": {
      "type": "object",
      "properties": {
        "destination_type": {
          "type": "string",
          "enum": [
            "google-ads",
            "meta",
            "google-analytics",
            "linkedin-ads",
            "microsoft-ads",
            "tiktok-ads",
            "x-ads",
            "reddit-ads",
            "pinterest-ads",
            "snapchat-ads",
            "chatgpt-ads",
            "adroll",
            "taboola",
            "plausible-analytics",
            "fathom-analytics",
            "gosquared",
            "simple-analytics",
            "pirsch-analytics"
          ]
        },
        "display_label": {
          "type": "string"
        },
        "icon_url": {
          "type": [
            "string",
            "null"
          ]
        },
        "category": {
          "type": "string"
        },
        "action": {
          "type": "string"
        },
        "fields": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ActionTypeField"
          }
        },
        "config_example": {
          "type": "object",
          "additionalProperties": {}
        }
      },
      "required": [
        "destination_type",
        "display_label",
        "icon_url",
        "category",
        "action",
        "fields",
        "config_example"
      ]
    }
  }
}