{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/CreateEmailCredentialDTO", "title": "CreateEmailCredentialDTO", "type": "object", "properties": { "provider": { "type": "string", "enum": [ "email" ] }, "email": { "type": "string", "description": "The recipient email address for alerts" }, "name": { "type": "string", "description": "This is the name of credential. This is just for your reference.", "minLength": 1, "maxLength": 40 } }, "required": [ "provider", "email" ] }