{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Pipedrive activity", "type": "object", "required": [ "subject" ], "properties": { "subject": { "type": "string", "description": "Activity subject." }, "type": { "type": "string", "description": "Activity type." }, "done": { "type": "boolean", "description": "Whether the activity is complete." }, "due_date": { "type": "string", "format": "date", "description": "Due date in YYYY-MM-DD form." }, "due_time": { "type": "string", "description": "Due time in HH:MM form.", "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$" }, "duration": { "type": "string", "description": "Duration in HH:MM form.", "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$" }, "note": { "type": "string", "description": "Activity note." }, "deal_id": { "type": "integer", "description": "Linked deal id." }, "person_id": { "type": "integer", "description": "Linked person id." }, "org_id": { "type": "integer", "description": "Linked organization id." }, "user_id": { "type": "integer", "description": "Owner user id." }, "id": { "type": "string", "description": "Provider canonical record id.", "readOnly": true }, "createdAt": { "type": "string", "format": "date-time", "description": "Provider creation timestamp.", "readOnly": true }, "updatedAt": { "type": "string", "format": "date-time", "description": "Provider last update timestamp.", "readOnly": true }, "url": { "type": "string", "format": "uri", "description": "Provider URL for the record.", "readOnly": true }, "identifier": { "type": "string", "description": "Provider human-readable identifier or key.", "readOnly": true }, "provider": { "type": "string", "description": "Relayfile provider name.", "readOnly": true }, "objectType": { "type": "string", "description": "Relayfile object type.", "readOnly": true }, "objectId": { "type": "string", "description": "Relayfile object id.", "readOnly": true }, "workspaceId": { "type": "string", "description": "Relayfile workspace id.", "readOnly": true }, "connectionId": { "type": "string", "description": "Relayfile connection id.", "readOnly": true }, "_webhook": { "type": "object", "description": "Provider webhook metadata captured during sync.", "readOnly": true, "additionalProperties": true }, "_connection": { "type": "object", "description": "Relayfile connection metadata captured during sync.", "readOnly": true, "additionalProperties": true } }, "additionalProperties": false, "description": "Full resource record schema. Fields marked readOnly are synced from the provider and cannot be written by agents." }