Skip to content

Instantly share code, notes, and snippets.

@Systemad
Created March 2, 2021 14:12
Show Gist options
  • Save Systemad/f183bc7ffd8d9049fd00581c54a74fc8 to your computer and use it in GitHub Desktop.
Save Systemad/f183bc7ffd8d9049fd00581c54a74fc8 to your computer and use it in GitHub Desktop.
model.json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "MQTT Configuration",
"description": "",
"type": "object",
"properties": {
"topicPattern": {
"title": "Topic that will be used when publishing messages on DNX MQTT Server.",
"type": "string",
"minimum": 3,
"maximum": 255,
"description": "Topic may include argument such as {devEui} and {requestType}.\nUsed topic will be lora/ + TopicPattern.\nex. topicPattern: application1/{devEui}/something/{requestType} => lora/application1/aabbccddeeff1122/something/rx."
}
},
"required": [
"topicPattern"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment