{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "CrmDeal Structure", "description": "JSON Structure for CrmDeal from Unified.to API", "structure": { "type": "object", "description": "A deal represents an opportunity with companies and/or contacts", "properties": { "id": { "type": "string" }, "created_at": { "type": "string" }, "updated_at": { "type": "string" }, "name": { "type": "string" }, "amount": { "type": "number" }, "currency": { "type": "string" }, "closed_at": { "type": "string" }, "closing_at": { "type": "string" }, "stage": { "type": "string" }, "stage_id": { "type": "string" }, "pipeline": { "type": "string" }, "pipeline_id": { "type": "string" }, "stages": { "$ref": "property_CrmDeal_stages" }, "pipelines": { "$ref": "property_CrmDeal_pipelines" }, "source": { "type": "string" }, "probability": { "type": "number" }, "tags": { "$ref": "property_CrmDeal_tags" }, "lost_reason": { "type": "string" }, "won_reason": { "type": "string" }, "user_id": { "type": "string" } } } }