{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/Lead", "title": "Lead", "type": "object", "properties": { "id": { "type": "string", "format": "uuid" }, "remote_id": { "type": [ "string", "null" ], "description": "The third-party API ID of the matching object." }, "created_at": { "type": "string", "format": "date-time", "description": "The datetime that this object was created by Merge." }, "modified_at": { "type": "string", "format": "date-time", "description": "The datetime that this object was modified by Merge." }, "owner": { "type": [ "string", "null" ], "format": "uuid", "description": "The lead's owner." }, "lead_source": { "type": [ "string", "null" ], "description": "The lead's source." }, "title": { "type": [ "string", "null" ], "description": "The lead's title." }, "company": { "type": [ "string", "null" ], "description": "The lead's company." }, "first_name": { "type": [ "string", "null" ], "description": "The lead's first name." }, "last_name": { "type": [ "string", "null" ], "description": "The lead's last name." }, "addresses": { "type": "array", "items": { "$ref": "#/components/schemas/Address" } }, "email_addresses": { "type": "array", "items": { "$ref": "#/components/schemas/EmailAddress" } }, "phone_numbers": { "type": "array", "items": { "$ref": "#/components/schemas/PhoneNumber" } }, "remote_updated_at": { "type": [ "string", "null" ], "format": "date-time", "description": "When the third party's lead was updated." }, "remote_created_at": { "type": [ "string", "null" ], "format": "date-time", "description": "When the third party's lead was created." }, "converted_date": { "type": [ "string", "null" ], "format": "date-time", "description": "When the lead was converted." }, "converted_contact": { "type": [ "string", "null" ], "format": "uuid", "description": "The contact of the converted lead." }, "converted_account": { "type": [ "string", "null" ], "format": "uuid", "description": "The account of the converted lead." }, "status": { "oneOf": [ { "$ref": "#/components/schemas/LeadStatusEnum" }, { "type": "null" } ], "description": "The lead's status." }, "lead_url": { "type": [ "string", "null" ], "format": "uri", "description": "The lead's URL in the remote system." }, "remote_was_deleted": { "type": "boolean", "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)." }, "field_mappings": { "oneOf": [ { "$ref": "#/components/schemas/LeadFieldMappings" }, { "type": "null" } ] }, "remote_data": { "type": [ "array", "null" ], "items": { "$ref": "#/components/schemas/RemoteData" } }, "remote_fields": { "type": "array", "items": { "$ref": "#/components/schemas/RemoteField" } } }, "description": "# The Lead Object\n### Description\nThe `Lead` object is used to represent an individual who is a potential customer.\n### Usage Example\nTODO" }