{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/listings-api/json-schema/listings-api-connected-accounts-paginated-schema.json",
  "title": "ConnectedAccountsPaginated",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/listings-api-connected-accounts-api-openapi.yml#/components/schemas/ConnectedAccountsPaginated",
  "type": "object",
  "properties": {
    "nodes": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConnectedAccountInfo"
      }
    },
    "totalCount": {
      "type": "integer",
      "format": "int32"
    },
    "pageInfo": {
      "$ref": "#/$defs/PageInfo"
    }
  },
  "$defs": {
    "ConnectedAccountInfo": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "type": {
          "$ref": "#/$defs/ConnectedSite"
        },
        "status": {
          "$ref": "#/$defs/ConnectedAccountStatus"
        }
      },
      "required": [
        "id"
      ]
    },
    "ConnectedAccountStatus": {
      "type": "string",
      "enum": [
        "ACTIVE",
        "DISCONNECTED",
        "EXPIRED",
        "ERROR"
      ]
    },
    "ConnectedSite": {
      "type": "string",
      "enum": [
        "GOOGLE",
        "FACEBOOK",
        "YELP",
        "LINKEDIN",
        "APPLE",
        "PINTEREST",
        "TRIPADVISOR"
      ]
    },
    "PageInfo": {
      "type": "object",
      "description": "(also defined by interactions) (also defined by v2app) (also defined by scantool) (also defined by thirdeye)",
      "properties": {
        "hasNextPage": {
          "type": "boolean"
        },
        "hasPreviousPage": {
          "type": "boolean"
        }
      }
    }
  }
}