Infinite Audience · Schema

ContinuousPurchaseControlCommand

CompanyIdentity ResolutionData EnrichmentAudiencesMarketingMCPA2A
View JSON Schema on GitHub

JSON Schema

infiniteaudience-ai-continuous-purchase-control-command-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/infiniteaudience-ai/json-schema/infiniteaudience-ai-continuous-purchase-control-command-schema.json",
  "title": "ContinuousPurchaseControlCommand",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/infiniteaudience-ai-integrations-api-openapi.yml#/components/schemas/ContinuousPurchaseControlCommand",
  "oneOf": [
    {
      "type": "object",
      "required": [
        "action",
        "scopes",
        "max_records_per_period",
        "max_charge_cents_per_period"
      ],
      "properties": {
        "action": {
          "type": "string",
          "const": "preview"
        },
        "scopes": {
          "type": "array",
          "minItems": 1,
          "maxItems": 50,
          "items": {
            "allOf": [
              {
                "$ref": "#/$defs/ContinuousPurchaseScope"
              },
              {
                "type": "object",
                "properties": {
                  "provider": {
                    "type": "string",
                    "enum": [
                      "hubspot",
                      "klaviyo"
                    ]
                  }
                }
              }
            ]
          }
        },
        "max_records_per_period": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100000000
        },
        "max_charge_cents_per_period": {
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        "expires_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        }
      },
      "additionalProperties": false
    },
    {
      "type": "object",
      "required": [
        "action",
        "scopes",
        "max_records_per_period",
        "max_charge_cents_per_period",
        "request_id",
        "expected_revision",
        "billing_terms_fingerprint"
      ],
      "properties": {
        "action": {
          "type": "string",
          "const": "approve"
        },
        "scopes": {
          "type": "array",
          "minItems": 1,
          "maxItems": 50,
          "items": {
            "allOf": [
              {
                "$ref": "#/$defs/ContinuousPurchaseScope"
              },
              {
                "type": "object",
                "properties": {
                  "provider": {
                    "type": "string",
                    "enum": [
                      "hubspot",
                      "klaviyo"
                    ]
                  }
                }
              }
            ]
          }
        },
        "max_records_per_period": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100000000
        },
        "max_charge_cents_per_period": {
          "type": "integer",
          "minimum": 1,
          "maximum": 9007199254740991
        },
        "expires_at": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "request_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 240
        },
        "expected_revision": {
          "type": [
            "string",
            "null"
          ]
        },
        "billing_terms_fingerprint": {
          "type": "string",
          "pattern": "^[a-f0-9]{64}$"
        }
      },
      "additionalProperties": false
    }
  ],
  "$defs": {
    "ContinuousPurchaseScope": {
      "type": "object",
      "required": [
        "provider",
        "connection_id",
        "selected_fields"
      ],
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "shopify",
            "hubspot",
            "klaviyo"
          ]
        },
        "connection_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 240
        },
        "selected_fields": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/infiniteaudience-ai-continuous-purchase-control-command"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.