瀏覽代碼

Allow NO_PIN within info.json (#16359)

Joel Challis 3 年之前
父節點
當前提交
fede569bbe
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      data/schemas/definitions.jsonschema

+ 4 - 0
data/schemas/definitions.jsonschema

@@ -51,6 +51,10 @@
     },
     "mcu_pin": {
         "oneOf": [
+            {
+                "type": "string",
+                "enum": ["NO_PIN"]
+            },
             {
                 "type": "string",
                 "pattern": "^[A-K]\\d{1,2}$"