{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/xplanner-co/json-schema/xplanner-co-get-accounts-response-schema.json",
  "title": "GetAccountsResponse",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/xplanner-co-openapi-generated.yml#/components/schemas/GetAccountsResponse",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "description": "Array of account objects"
    },
    "id": {
      "type": "string",
      "description": "Account identifier"
    },
    "workspaceId": {
      "type": "string",
      "description": "Workspace identifier"
    },
    "socialSetId": {
      "type": "string",
      "description": "Social Set identifier"
    },
    "platform": {
      "type": "string",
      "description": "Platform name"
    },
    "accountType": {
      "type": "string",
      "description": "Type of account (e.g., profile)"
    },
    "connectionMethod": {
      "type": "string",
      "description": "Method used for connection"
    },
    "platformAccountId": {
      "type": "string",
      "description": "Platform specific account ID"
    },
    "username": {
      "type": "string",
      "description": "Username on the platform"
    },
    "displayName": {
      "type": "string",
      "description": "Display name of the account"
    },
    "connectionStatus": {
      "type": "string",
      "description": "Current connection status"
    },
    "isPrimary": {
      "type": "boolean",
      "description": "Whether this is the primary account"
    },
    "authVersion": {
      "type": "string",
      "description": "Authentication version"
    },
    "bio": {
      "type": "string",
      "description": "Account biography"
    },
    "profileImageUrl": {
      "type": "string",
      "description": "URL of the profile image"
    },
    "followersCount": {
      "type": "integer",
      "description": "Number of followers"
    },
    "followingCount": {
      "type": "integer",
      "description": "Number of accounts followed"
    },
    "postCount": {
      "type": "integer",
      "description": "Number of posts"
    },
    "verified": {
      "type": "boolean",
      "description": "Verification status"
    },
    "verifiedType": {
      "type": "string",
      "description": "Type of verification"
    },
    "lastProfileSyncAt": {
      "type": "string",
      "description": "Timestamp of last profile sync"
    },
    "createdAt": {
      "type": "string",
      "description": "Creation timestamp"
    },
    "updatedAt": {
      "type": "string",
      "description": "Last update timestamp"
    },
    "requestId": {
      "type": "string",
      "description": "Request identifier"
    }
  }
}