Copper · Schema

Activity

ActivitiesCompaniesContact Relationship ManagementContactsCRMCustomer Relationship ManagementGoogle WorkspaceLeadsOpportunitiesPeopleProjectsSalesTasks

Properties

Name Type Description
id integer
parent object
type object
details string
user_id integer
activity_date integer
old_value object
new_value object
date_created integer
date_modified integer
View JSON Schema on GitHub

JSON Schema

copper-activity-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Activity",
  "title": "Activity",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "parent": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "type": {
          "type": "string",
          "enum": [
            "lead",
            "person",
            "company",
            "opportunity",
            "project",
            "task"
          ]
        }
      }
    },
    "type": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "category": {
          "type": "string"
        }
      }
    },
    "details": {
      "type": "string"
    },
    "user_id": {
      "type": "integer"
    },
    "activity_date": {
      "type": "integer"
    },
    "old_value": {
      "type": "object",
      "nullable": true
    },
    "new_value": {
      "type": "object",
      "nullable": true
    },
    "date_created": {
      "type": "integer"
    },
    "date_modified": {
      "type": "integer"
    }
  }
}