forked from M-Labs/artiq
1
0
Fork 0

jsonschema: mirny: accept string enums for validating clk_sel

This commit is contained in:
Harry Ho 2021-03-29 17:10:09 +08:00 committed by Sébastien Bourdeauducq
parent 75efb8985c
commit 5f32cb7196
1 changed files with 19 additions and 10 deletions

View File

@ -370,10 +370,19 @@
"default": 100e6
},
"clk_sel": {
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 3,
"default": 0
},
{
"type": "string",
"enum": ["xo", "mmcx", "sma"],
"default": "xo"
}
]
}
},
"required": ["ports"]