{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/acculynx/json-schema/acculynx-lead-action-collection-schema.json",
  "title": "leadActionCollection",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/acculynx-leads-api-openapi.yml#/components/schemas/leadActionCollection",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/leadAction"
      }
    }
  },
  "$defs": {
    "companyUserLink": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The unique GUID of the AccuLynx User.",
          "format": "uuid"
        },
        "_link": {
          "type": "string",
          "description": "The unique URI of the AccuLynx User."
        }
      },
      "description": ""
    },
    "leadAction": {
      "type": "object",
      "properties": {
        "action": {
          "type": "string",
          "description": "The action performed on this lead."
        },
        "date": {
          "type": "string",
          "description": "Date and time the action happened represented in UTC."
        },
        "createdBy": {
          "$ref": "#/$defs/companyUserLink"
        },
        "leadDeadReason": {
          "type": "string"
        }
      }
    }
  }
}