{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/merge/refs/heads/main/json-structure/crm-api-opportunity-structure.json", "name": "Opportunity", "description": "A sales opportunity or deal from a connected CRM system.", "type": "object", "properties": { "id": { "type": "uuid" }, "remote_id": { "type": "string" }, "name": { "type": "string" }, "description": { "type": "string" }, "amount": { "type": "int32" }, "owner": { "type": "uuid" }, "account": { "type": "uuid" }, "stage": { "type": "uuid" }, "status": { "type": "string", "enum": ["OPEN", "WON", "LOST"] }, "close_date": { "type": "datetime" }, "last_activity_at": { "type": "datetime" }, "remote_was_deleted": { "type": "boolean" }, "created_at": { "type": "datetime" }, "modified_at": { "type": "datetime" } } }