{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "campaigns": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": ["string", "null"]
              },
              "name": {
                "type": ["string", "null"]
              },
              "status": {
                "type": ["string", "null"]
              },
              "mode": {
                "type": ["string", "null"]
              },
              "timezone": {
                "type": ["string", "null"]
              },
              "delivery_provider": {
                "type": ["string", "null"]
              },
              "current_revision": {
                "type": ["number", "null"]
              },
              "daily_limit": {
                "type": ["number", "null"]
              },
              "total_send_limit": {
                "type": ["number", "null"]
              },
              "can_manage": {
                "type": ["boolean", "null"]
              },
              "stats": {
                "type": "object",
                "properties": {
                  "leads": {
                    "type": ["number", "null"]
                  },
                  "replied": {
                    "type": ["number", "null"]
                  },
                  "needs_review": {
                    "type": ["number", "null"]
                  },
                  "scheduled": {
                    "type": ["number", "null"]
                  },
                  "sent": {
                    "type": ["number", "null"]
                  },
                  "bounced": {
                    "type": ["number", "null"]
                  },
                  "unsubscribed": {
                    "type": ["number", "null"]
                  },
                  "blocked": {
                    "type": ["number", "null"]
                  },
                  "failed": {
                    "type": ["number", "null"]
                  },
                  "delivered": {
                    "type": ["number", "null"]
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "mailboxes": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": ["string", "null"]
              },
              "mailbox_email": {
                "type": ["string", "null"]
              },
              "provider": {
                "type": ["string", "null"]
              },
              "connected": {
                "type": ["boolean", "null"]
              },
              "paused": {
                "type": ["boolean", "null"]
              },
              "daily_limit": {
                "type": ["number", "null"]
              }
            },
            "additionalProperties": false
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "accounts": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": ["string", "null"]
              },
              "provider": {
                "type": ["string", "null"]
              },
              "email": {
                "type": ["string", "null"]
              }
            },
            "additionalProperties": false
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "instantlyConnections": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": ["string", "null"]
              },
              "alias": {
                "type": ["string", "null"]
              },
              "status": {
                "type": ["string", "null"]
              }
            },
            "additionalProperties": false
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "icps": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "id": {
                "type": ["string", "null"]
              },
              "name": {
                "type": ["string", "null"]
              },
              "status": {
                "type": ["string", "null"]
              }
            },
            "additionalProperties": false
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "page": {
      "type": "object",
      "properties": {
        "page": {
          "type": ["number", "null"]
        },
        "size": {
          "type": ["number", "null"]
        },
        "total": {
          "type": ["number", "null"]
        },
        "next": {
          "type": ["string", "null"]
        },
        "nextCursor": {
          "type": ["string", "null"]
        },
        "after": {
          "type": ["string", "null"]
        },
        "hasMore": {
          "type": ["boolean", "null"]
        },
        "has_more": {
          "type": ["boolean", "null"]
        }
      },
      "additionalProperties": false
    },
    "nextCursor": {
      "type": ["string", "null"]
    },
    "nextAfter": {
      "type": ["string", "null"]
    },
    "hasMore": {
      "type": ["boolean", "null"]
    }
  },
  "additionalProperties": false
}
