Skip to content

Commit b3598a5

Browse files
committed
fix: more fixes to allow current shadow and extensions
1 parent a7c1482 commit b3598a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

schemas/deviceShadow/ipShadow/ipShadow.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"c2d": {
103103
"type": "string",
104104
"description": "Communication topic from cloud to device",
105-
"pattern": "(dev|beta|prod)\/[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}\/m\/d\/[a-z0-9:_-]{1,128}\/c2d"
105+
"pattern": "(dev|beta|prod)\/[a-f0-9]{8}-?[a-f0-9]{4}-?4[a-f0-9]{3}-?[89ab][a-f0-9]{3}-?[a-f0-9]{12}\/m\/d\/[a-z0-9:_-]{1,128}\/\\+\/r"
106106
}
107107
},
108108
"required": [
@@ -159,7 +159,7 @@
159159
"NetworkInfo": {
160160
"type": "object",
161161
"description": "Device's connected network information",
162-
"additionalProperties": false,
162+
"additionalProperties": true,
163163
"properties": {
164164
"currentBand": {
165165
"type": "integer"
@@ -223,7 +223,7 @@
223223
"DeviceInfo": {
224224
"type": "object",
225225
"description": "Data describing the device's application, firmware, and hardware versions",
226-
"additionalProperties": false,
226+
"additionalProperties": true,
227227
"properties": {
228228
"modemFirmware": {
229229
"type": "string"
@@ -262,7 +262,7 @@
262262
"description": "List of application ids that let nRF Connect for Cloud know what cards to display before receiving messages. See schemas under device to cloud to see a list of supported application ids.",
263263
"items": {
264264
"type": "string",
265-
"enum": ["GPS", "TEMP", "HUMID", "AIR_PRESS", "FLIP", "RSRP"]
265+
"enum": ["GNSS", "TEMP", "HUMID", "AIR_PRESS", "FLIP", "RSRP", "BUTTON"]
266266
},
267267
"examples": [
268268
[ "PRESS" ],

0 commit comments

Comments
 (0)