{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ConnectionResponseContentOAuth2", "title": "ConnectionResponseContentOAuth2", "description": "Response for connections with strategy=oauth2", "allOf": [ { "type": "object", "properties": { "strategy": { "const": "oauth2" }, "options": { "$ref": "#/components/schemas/ConnectionOptionsOAuth2" } }, "required": [ "strategy" ] }, { "$ref": "#/components/schemas/ConnectionPurposes" }, { "$ref": "#/components/schemas/ConnectionResponseCommon" } ] }