{ "documentationUrl": "https://docsurl.com", "connectionSpecification": { "$schema": "http://json-schema.org/draft-07/schema#", "title": "Linkedin Spec", "type": "object", "additionalProperties": true, "properties": { "credentials": { "title": "Authentication mechanism", "description": "Choose how to authenticate into Linkedin Api", "type": "object", "oneOf": [ { "type": "object", "title": "OAuth 2.0", "required": [ "access_token", "client_id", "client_secret", "option_title" ], "properties": { "option_title": { "type": "string", "const": "Default OAuth2.0 authorization" }, "client_id": { "title": "Client ID", "description": "Linkedin client_id.", "type": "string", "examples": ["Linkedin-client-id-example"], "airbyte_secret": true }, "client_secret": { "title": "Client Secret", "description": "Linkedin client_secret.", "type": "string", "examples": ["Linkedin-client-secret-example"], "airbyte_secret": true }, "access_token": { "title": "Access token", "description": "Linkedin access_token.", "type": "string", "examples": ["Linkedin-access-token-example"], "airbyte_secret": true } }, "order": 0 }, { "type": "object", "title": "API Token", "required": ["api_token", "option_title"], "properties": { "option_title": { "type": "string", "const": "API Token Credentials" }, "api_token": { "type": "string", "title": "API Token", "description": "A Linkedin bot token.", "airbyte_secret": true } }, "order": 1 } ] } } }, "authSpecification": { "auth_type": "oauth2.0", "oauth2Specification": { "rootObject": ["credentials", 0], "oauthFlowInitParameters": [["client_id"], ["client_secret"]], "oauthFlowOutputParameters": [["access_token"]] } } }