{"resource_type":{"id":225,"name":"mqtt","schema":"{\n\t\"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n\t\"additionalProperties\": false,\n\t\"description\": \"Configuration settings for connecting to an MQTT broker\",\n\t\"order\": [\n\t\t\"broker\",\n\t\t\"port\",\n\t\t\"credentials\",\n\t\t\"tls\"\n\t],\n\t\"properties\": {\n\t\t\"broker\": {\n\t\t\t\"default\": \"\",\n\t\t\t\"description\": \"The hostname or IP address of the MQTT broker\",\n\t\t\t\"examples\": [\n\t\t\t\t\"mqtt.example.com\",\n\t\t\t\t\"192.168.1.100\"\n\t\t\t],\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"credentials\": {\n\t\t\t\"description\": \"Authentication credentials for the MQTT broker\",\n\t\t\t\"order\": [\n\t\t\t\t\"username\",\n\t\t\t\t\"password\"\n\t\t\t],\n\t\t\t\"properties\": {\n\t\t\t\t\"password\": {\n\t\t\t\t\t\"description\": \"Password for broker authentication\",\n\t\t\t\t\t\"format\": \"password\",\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"username\": {\n\t\t\t\t\t\"description\": \"Username for broker authentication\",\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"type\": \"object\"\n\t\t},\n\t\t\"port\": {\n\t\t\t\"default\": 1883,\n\t\t\t\"description\": \"The port number for the MQTT broker connection\",\n\t\t\t\"examples\": [\n\t\t\t\t1883,\n\t\t\t\t8883\n\t\t\t],\n\t\t\t\"type\": \"integer\"\n\t\t},\n\t\t\"tls\": {\n\t\t\t\"description\": \"TLS/SSL configuration for secure connections. For standard TLS, only the 'enabled' property needs to be set to true. For mutual TLS (mTLS) with client authentication, the CA certificate, client certificate, and certificate password are also required.\",\n\t\t\t\"order\": [\n\t\t\t\t\"enabled\",\n\t\t\t\t\"ca_certificate\",\n\t\t\t\t\"pkcs12_client_certificate\",\n\t\t\t\t\"pkcs12_certificate_password\"\n\t\t\t],\n\t\t\t\"properties\": {\n\t\t\t\t\"ca_certificate\": {\n\t\t\t\t\t\"default\": \"\",\n\t\t\t\t\t\"description\": \"CA certificate in PEM format for verifying the broker identity. Optional for standard TLS, required for mTLS.\",\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"enabled\": {\n\t\t\t\t\t\"default\": false,\n\t\t\t\t\t\"description\": \"Enable TLS/SSL for the connection\",\n\t\t\t\t\t\"type\": \"boolean\"\n\t\t\t\t},\n\t\t\t\t\"pkcs12_certificate_password\": {\n\t\t\t\t\t\"description\": \"Password used to decrypt and access the protected PKCS#12 client certificate\",\n\t\t\t\t\t\"format\": \"password\",\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t},\n\t\t\t\t\"pkcs12_client_certificate\": {\n\t\t\t\t\t\"contentEncoding\": \"base64\",\n\t\t\t\t\t\"default\": \"\",\n\t\t\t\t\t\"description\": \"DER-formatted PKCS#12 certificate encoded in Base64. Contains both the client certificate and private key for authentication\",\n\t\t\t\t\t\"type\": \"string\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"type\": \"object\"\n\t\t}\n\t},\n\t\"required\": [\n\t\t\"broker\",\n\t\t\"port\"\n\t],\n\t\"title\": \"MQTT resource\",\n\t\"type\": \"object\"\n}","approved":true,"app":"mqtt","description":"Connection settings for an MQTT broker, with optional username/password authentication and TLS/mTLS.","created_by":"dieriba.pro916","created_at":"2025-02-28T12:51:10.247Z","format_extension":null,"picks":"1","display_name":"MQTT"}}