{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ConnectionOptionsAmazon", "title": "ConnectionOptionsAmazon", "description": "Options for the 'amazon' connection", "type": "object", "additionalProperties": true, "allOf": [ { "$ref": "#/components/schemas/ConnectionOptionsCommon" }, { "type": "object", "properties": { "client_id": { "$ref": "#/components/schemas/ConnectionClientIdAmazon" }, "client_secret": { "$ref": "#/components/schemas/ConnectionClientSecretAmazon" }, "freeform_scopes": { "$ref": "#/components/schemas/ConnectionFreeformScopesAmazon" }, "postal_code": { "type": "boolean", "description": "When enabled, requests the user's postal code from Amazon during authentication. This adds the 'postal_code' scope to the authorization request.", "default": false }, "profile": { "type": "boolean", "description": "When enabled, requests the user's basic profile information (name, email, user ID) from Amazon during authentication. This scope is always enabled for Amazon connections.", "const": true }, "scope": { "$ref": "#/components/schemas/ConnectionScopeAmazon" }, "set_user_root_attributes": { "$ref": "#/components/schemas/ConnectionSetUserRootAttributesEnum" }, "upstream_params": { "$ref": "#/components/schemas/ConnectionUpstreamParams" } } } ] }