{ "documentationUrl": "https://docs.airbyte.io/integrations/sources/pipedrive", "connectionSpecification": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Pipedrive Spec", "type": "object", "required": ["replication_start_date"], "additionalProperties": true, "properties": { "authorization": { "type": "object", "title": "Authentication Type", "description": "Choose one of the possible authorization method", "oneOf": [ { "title": "Sign in via Pipedrive (OAuth)", "type": "object", "required": [ "auth_type", "client_id", "client_secret", "refresh_token" ], "properties": { "auth_type": { "type": "string", "const": "Client", "order": 0 }, "client_id": { "title": "Client ID", "type": "string", "description": "The Client ID of your Pipedrive developer application.", "airbyte_secret": true }, "client_secret": { "title": "Client Secret", "type": "string", "description": "The Client Secret of your Pipedrive developer application", "airbyte_secret": true }, "refresh_token": { "title": "Refresh Token", "type": "string", "description": "The token for obtaining the new access token.", "airbyte_secret": true } } }, { "type": "object", "title": "API Key Authentication", "required": ["auth_type", "api_token"], "properties": { "auth_type": { "type": "string", "const": "Token", "order": 0 }, "api_token": { "title": "API Token", "type": "string", "description": "The Pipedrive API Token.", "airbyte_secret": true } } } ] }, "replication_start_date": { "title": "Start Date", "description": "UTC date and time in the format 2017-01-25T00:00:00Z. Any data before this date will not be replicated. When specified and not None, then stream will behave as incremental", "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$", "examples": ["2017-01-25T00:00:00Z"], "type": "string" } } }, "supportsIncremental": true, "authSpecification": { "auth_type": "oauth2.0", "oauth2Specification": { "rootObject": ["authorization", 0], "oauthFlowInitParameters": [["client_id"], ["client_secret"]], "oauthFlowOutputParameters": [["refresh_token"]] } } }