diff --git a/boards/magic_schema.json b/boards/magic_schema.json index a185874..59ab84c 100644 --- a/boards/magic_schema.json +++ b/boards/magic_schema.json @@ -47,14 +47,12 @@ "items": { "type": "object", "required": [ "name", "type" ], - "properties": { - "name": { "type": "string" }, - "type": { "type": "string" } - }, "oneOf": [ { "required": [ "isPin" ], "properties": { "isPin": { "type": "boolean", "const": true }, + "name": { "type": "string" }, + "type": { "type": "string" }, "pinName": { "type": "string" }, "mode": { "type": "string" }, "direction": { "type": "string" }