{ "type": "object", "name": "OAuth2", "properties": { "type": { "type": "string" }, "description": { "type": "string" }, "flows": { "type": "object", "properties": { "implicit": { "type": "object", "properties": { "authorizationUrl": { "type": "string" }, "scopes": { "type": "object", "properties": { "visualforce": { "type": "string" }, "address": { "type": "string" }, "custom_permissions": { "type": "string" }, "openid": { "type": "string" }, "profile": { "type": "string" }, "refresh_token": { "type": "string" }, "wave_api": { "type": "string" }, "web": { "type": "string" }, "phone": { "type": "string" }, "offline_access": { "type": "string" }, "chatter_api": { "type": "string" }, "id": { "type": "string" }, "api": { "type": "string" }, "eclair_api": { "type": "string" }, "email": { "type": "string" }, "pardot_api": { "type": "string" }, "full": { "type": "string" } }, "required": [ "visualforce", "address", "custom_permissions", "openid", "profile", "refresh_token", "wave_api", "web", "phone", "offline_access", "chatter_api", "id", "api", "eclair_api", "email", "pardot_api", "full" ] } }, "required": [ "authorizationUrl", "scopes" ] }, "password": { "type": "object", "properties": { "tokenUrl": { "type": "string" }, "scopes": { "type": "object", "properties": { "api": { "type": "string" } }, "required": [ "api" ] } }, "required": [ "tokenUrl", "scopes" ] }, "authorizationCode": { "type": "object", "properties": { "authorizationUrl": { "type": "string" }, "tokenUrl": { "type": "string" }, "scopes": { "type": "object", "properties": { "visualforce": { "type": "string" }, "address": { "type": "string" }, "custom_permissions": { "type": "string" }, "openid": { "type": "string" }, "profile": { "type": "string" }, "refresh_token": { "type": "string" }, "wave_api": { "type": "string" }, "web": { "type": "string" }, "phone": { "type": "string" }, "offline_access": { "type": "string" }, "chatter_api": { "type": "string" }, "id": { "type": "string" }, "api": { "type": "string" }, "eclair_api": { "type": "string" }, "email": { "type": "string" }, "pardot_api": { "type": "string" }, "full": { "type": "string" } }, "required": [ "visualforce", "address", "custom_permissions", "openid", "profile", "refresh_token", "wave_api", "web", "phone", "offline_access", "chatter_api", "id", "api", "eclair_api", "email", "pardot_api", "full" ] } }, "required": [ "authorizationUrl", "tokenUrl", "scopes" ] } }, "required": [ "implicit", "password", "authorizationCode" ] } }, "required": [ "type", "description", "flows" ], "$schema": "https://json-structure.org/draft/2020-12/schema" }