Unified.to · Schema

CrmDeal

A deal represents an opportunity with companies and/or contacts

IntegrationsUnified API

Properties

Name Type Description
amount number
closed_at string
closing_at string
company_ids object
contact_ids object
created_at string
currency string
id string
lost_reason string
metadata object
name string
pipeline string
pipeline_id string
pipelines object
probability number
raw object
source string
stage string
stage_id string
stages object
tags object
updated_at string
user_id string
won_reason string
View JSON Schema on GitHub

JSON Schema

unified-to-crmdeal-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CrmDeal",
  "title": "CrmDeal",
  "description": "A deal represents an opportunity with companies and/or contacts",
  "properties": {
    "amount": {
      "type": "number"
    },
    "closed_at": {
      "format": "date-time",
      "type": "string"
    },
    "closing_at": {
      "format": "date-time",
      "type": "string"
    },
    "company_ids": {
      "$ref": "#/components/schemas/property_CrmDeal_company_ids"
    },
    "contact_ids": {
      "$ref": "#/components/schemas/property_CrmDeal_contact_ids"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "lost_reason": {
      "type": "string"
    },
    "metadata": {
      "$ref": "#/components/schemas/property_CrmDeal_metadata"
    },
    "name": {
      "type": "string"
    },
    "pipeline": {
      "type": "string"
    },
    "pipeline_id": {
      "type": "string"
    },
    "pipelines": {
      "$ref": "#/components/schemas/property_CrmDeal_pipelines"
    },
    "probability": {
      "type": "number"
    },
    "raw": {
      "additionalProperties": true,
      "type": "object"
    },
    "source": {
      "type": "string"
    },
    "stage": {
      "type": "string"
    },
    "stage_id": {
      "type": "string"
    },
    "stages": {
      "$ref": "#/components/schemas/property_CrmDeal_stages"
    },
    "tags": {
      "$ref": "#/components/schemas/property_CrmDeal_tags"
    },
    "updated_at": {
      "format": "date-time",
      "type": "string"
    },
    "user_id": {
      "type": "string"
    },
    "won_reason": {
      "type": "string"
    }
  },
  "type": "object"
}