forked from M-Labs/artiq
jsonschema: mirny: accept string enums for validating clk_sel
This commit is contained in:
parent
cd2e471b07
commit
c6bfcdbf10
|
@ -370,10 +370,19 @@
|
||||||
"default": 100e6
|
"default": 100e6
|
||||||
},
|
},
|
||||||
"clk_sel": {
|
"clk_sel": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 3,
|
"maximum": 3,
|
||||||
"default": 0
|
"default": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["xo", "mmcx", "sma"],
|
||||||
|
"default": "xo"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["ports"]
|
"required": ["ports"]
|
||||||
|
|
Loading…
Reference in New Issue