/** * Get the Trigger configuration schema. * @returns {*} */ getConfigurationSchema() { return this.joi.object().keys({ url: this.joi.string().uri({ scheme: ['mqtt', 'mqtts', 'tcp', 'tls', 'ws', 'wss'], }).required(), topic: this.joi.string().default('wud/image'), user: this.joi.string(), password: this.joi.string(), }); }