Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
lorennorman committed Nov 8, 2023
1 parent bcce9e2 commit 77c5a8a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions boards/magic_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,17 @@
"type": "array",
"items": {
"type": "object",
"required": [ "name", "type" ],
"additionalProperties": false,
"oneOf": [
{ "required": [ "isPin" ],
{ "required": [ "isPin", "name", "type" ],
"properties": {
"isPin": { "type": "boolean", "const": true },
"name": { "type": "string" },
"type": { "type": "string" },
"pinName": { "type": "string" },
"mode": { "type": "string" },
"direction": { "type": "string" }
}
},
"additionalProperties": false
},
{ "properties": {
"isPixel": { "type": "boolean", "const": true }
Expand Down

0 comments on commit 77c5a8a

Please sign in to comment.