Unified.to · Schema
CrmDeal
A deal represents an opportunity with companies and/or contacts
IntegrationsUnified API
Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| created_at | string | |
| updated_at | string | |
| name | string | |
| amount | number | |
| currency | string | |
| closed_at | string | |
| closing_at | string | |
| stage | string | |
| stage_id | string | |
| pipeline | string | |
| pipeline_id | string | |
| stages | object | |
| pipelines | object | |
| source | string | |
| probability | number | |
| tags | object | |
| lost_reason | string | |
| won_reason | string | |
| user_id | string | |
| contact_ids | object | |
| company_ids | object | |
| metadata | object | |
| raw | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/unified-to/refs/heads/main/json-schema/unified-to-crm-deal-schema.json",
"title": "CrmDeal",
"description": "A deal represents an opportunity with companies and/or contacts",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
},
"name": {
"type": "string"
},
"amount": {
"type": "number"
},
"currency": {
"type": "string"
},
"closed_at": {
"type": "string",
"format": "date-time"
},
"closing_at": {
"type": "string",
"format": "date-time"
},
"stage": {
"type": "string"
},
"stage_id": {
"type": "string"
},
"pipeline": {
"type": "string"
},
"pipeline_id": {
"type": "string"
},
"stages": {
"$ref": "#/components/schemas/property_CrmDeal_stages"
},
"pipelines": {
"$ref": "#/components/schemas/property_CrmDeal_pipelines"
},
"source": {
"type": "string"
},
"probability": {
"type": "number"
},
"tags": {
"$ref": "#/components/schemas/property_CrmDeal_tags"
},
"lost_reason": {
"type": "string"
},
"won_reason": {
"type": "string"
},
"user_id": {
"type": "string"
},
"contact_ids": {
"$ref": "#/components/schemas/property_CrmDeal_contact_ids"
},
"company_ids": {
"$ref": "#/components/schemas/property_CrmDeal_company_ids"
},
"metadata": {
"$ref": "#/components/schemas/property_CrmDeal_metadata"
},
"raw": {
"type": "object",
"additionalProperties": true
}
}
}