{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateTokenExchangeProfileRequestContent", "title": "CreateTokenExchangeProfileRequestContent", "type": "object", "additionalProperties": false, "required": [ "name", "subject_token_type", "action_id", "type" ], "properties": { "name": { "type": "string", "description": "Friendly name of this profile.", "default": "Token Exchange Profile 1", "minLength": 3, "maxLength": 50 }, "subject_token_type": { "type": "string", "description": "Subject token type for this profile. When receiving a token exchange request on the Authentication API, the corresponding token exchange profile with a matching subject_token_type will be executed. This must be a URI.", "minLength": 8, "maxLength": 100, "format": "url" }, "action_id": { "type": "string", "description": "The ID of the Custom Token Exchange action to execute for this profile, in order to validate the subject_token. The action must use the custom-token-exchange trigger.", "minLength": 1, "maxLength": 36 }, "type": { "$ref": "#/components/schemas/TokenExchangeProfileTypeEnum" } } }