{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/advisorppc-com/json-schema/advisorppc-com-account-chat-open-out-schema.json",
  "title": "AccountChatOpenOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/advisorppc-com-account-chat-api-openapi.yml#/components/schemas/AccountChatOpenOut",
  "properties": {
    "conversationId": {
      "type": "string",
      "title": "Conversationid"
    },
    "created": {
      "type": "boolean",
      "title": "Created"
    },
    "accounts": {
      "items": {
        "$ref": "#/$defs/AccountCardOut"
      },
      "type": "array",
      "title": "Accounts"
    },
    "activated": {
      "type": "boolean",
      "title": "Activated",
      "default": false
    },
    "notice": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notice"
    },
    "previewText": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Previewtext"
    },
    "messageCount": {
      "type": "integer",
      "title": "Messagecount",
      "default": 0
    }
  },
  "type": "object",
  "required": [
    "conversationId",
    "created",
    "accounts"
  ],
  "$defs": {
    "AccountCardOut": {
      "properties": {
        "platform": {
          "type": "string",
          "title": "Platform"
        },
        "platformLabel": {
          "type": "string",
          "title": "Platformlabel"
        },
        "accountId": {
          "type": "string",
          "title": "Accountid"
        },
        "accountName": {
          "type": "string",
          "title": "Accountname"
        },
        "currency": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Currency"
        },
        "managed": {
          "type": "boolean",
          "title": "Managed"
        }
      },
      "type": "object",
      "required": [
        "platform",
        "platformLabel",
        "accountId",
        "accountName",
        "managed"
      ],
      "title": "AccountCardOut"
    }
  }
}