Skip to content

Commit 4b518eb

Browse files
committed
Update dictionary json schema
1 parent 7e72141 commit 4b518eb

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

compiler/tools/fpp-to-dict/test/dictionary.schema.json

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,26 @@
407407
"type": "string"
408408
},
409409
"throttle": {
410-
"type": "number"
410+
"type": "object",
411+
"properties": {
412+
"count": {
413+
"type": "integer",
414+
"minimum": 1
415+
},
416+
"interval": {
417+
"type": "object",
418+
"properties": {
419+
"seconds": {
420+
"type": "integer",
421+
"minimum": 0
422+
},
423+
"useconds": {
424+
"type": "integer",
425+
"minimum": 0
426+
}
427+
}
428+
}
429+
}
411430
}
412431
},
413432
"required": [
@@ -568,4 +587,4 @@
568587
}
569588
}
570589
}
571-
}
590+
}

0 commit comments

Comments
 (0)