Revert · Schema

Revert Unified CRM Deal

Normalized deal/opportunity entity returned by the Revert Unified CRM API

IntegrationsCRMUnified APIOpen Source

Properties

Name Type Description
id string Revert-normalized unique deal identifier
remoteId string The original ID from the source CRM provider
name string Deal name or title
amount number Deal value/amount
currency string Currency code (ISO 4217)
stage string Current pipeline stage
probability number Win probability percentage
closeDate string Expected or actual close date
ownerId string Deal owner user ID
contactId string Associated contact ID
companyId string Associated company ID
createdAt string
updatedAt string
additional object Non-unified fields from the source CRM provider
View JSON Schema on GitHub

JSON Schema

revert-deal-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/revert/main/json-schema/revert-deal-schema.json",
  "title": "Revert Unified CRM Deal",
  "description": "Normalized deal/opportunity entity returned by the Revert Unified CRM API",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Revert-normalized unique deal identifier"
    },
    "remoteId": {
      "type": "string",
      "description": "The original ID from the source CRM provider"
    },
    "name": {
      "type": "string",
      "description": "Deal name or title"
    },
    "amount": {
      "type": "number",
      "description": "Deal value/amount"
    },
    "currency": {
      "type": "string",
      "description": "Currency code (ISO 4217)"
    },
    "stage": {
      "type": "string",
      "description": "Current pipeline stage"
    },
    "probability": {
      "type": "number",
      "minimum": 0,
      "maximum": 100,
      "description": "Win probability percentage"
    },
    "closeDate": {
      "type": "string",
      "format": "date",
      "description": "Expected or actual close date"
    },
    "ownerId": {
      "type": "string",
      "description": "Deal owner user ID"
    },
    "contactId": {
      "type": "string",
      "description": "Associated contact ID"
    },
    "companyId": {
      "type": "string",
      "description": "Associated company ID"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "additional": {
      "type": "object",
      "description": "Non-unified fields from the source CRM provider"
    }
  },
  "required": ["id", "name"]
}