{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getsliq-com/json-schema/getsliq-com-interactions-out-schema.json",
  "title": "InteractionsOut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getsliq-com-people-api-openapi.yml#/components/schemas/InteractionsOut",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/InteractionOut"
      },
      "title": "Data",
      "type": "array"
    },
    "has_more": {
      "description": "True when older interactions were truncated — the timeline returns the most recent events up to a fixed cap. The returned events are still ascending.",
      "title": "Has More",
      "type": "boolean"
    }
  },
  "required": [
    "data",
    "has_more"
  ],
  "type": "object",
  "$defs": {
    "Channel": {
      "description": "An outreach channel.",
      "enum": [
        "linkedin",
        "email"
      ],
      "title": "Channel",
      "type": "string"
    },
    "InteractionOut": {
      "properties": {
        "at": {
          "description": "ISO-8601 timestamp of the interaction.",
          "title": "At",
          "type": "string"
        },
        "channel": {
          "$ref": "#/$defs/Channel"
        },
        "direction": {
          "description": "'outbound' (from the account owner) or 'inbound' (from the prospect).",
          "title": "Direction",
          "type": "string"
        },
        "type": {
          "description": "'message' for ordinary messages, else a kind like 'reaction' or 'connection_request_sent'.",
          "title": "Type",
          "type": "string"
        },
        "text": {
          "description": "The message's own text; an email's quoted reply or forward history below it is returned separately in `quoted`. An email that is only a quote or forward, with nothing written above it, comes back whole here.",
          "title": "Text",
          "type": "string"
        },
        "quoted": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "An email's quoted reply or forward history; null when it has none and for LinkedIn.",
          "title": "Quoted"
        },
        "subject": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Subject"
        }
      },
      "required": [
        "at",
        "channel",
        "direction",
        "type",
        "text"
      ],
      "title": "InteractionOut",
      "type": "object"
    }
  }
}