forked from M-Labs/artiq
1
0
Fork 0

jsonschema: style

This commit is contained in:
Harry Ho 2021-03-29 17:34:26 +08:00 committed by Sébastien Bourdeauducq
parent 5f32cb7196
commit 8002fcf8bb
1 changed files with 33 additions and 33 deletions

View File

@ -175,24 +175,24 @@
"type": "boolean", "type": "boolean",
"default": false "default": false
}, },
"refclk": { "refclk": {
"type": "number", "type": "number",
"minimum": 0 "minimum": 0
}, },
"clk_sel": { "clk_sel": {
"type": "integer", "type": "integer",
"minimum": 0, "minimum": 0,
"maximum": 3 "maximum": 3
}, },
"clk_div": { "clk_div": {
"type": "integer", "type": "integer",
"minimum": 0, "minimum": 0,
"maximum": 3 "maximum": 3
}, },
"pll_n": { "pll_n": {
"type": "integer" "type": "integer"
}, },
"pll_vco": { "pll_vco": {
"type": "integer" "type": "integer"
}, },
"dds": { "dds": {
@ -282,20 +282,20 @@
"minItems": 2, "minItems": 2,
"maxItems": 2 "maxItems": 2
}, },
"refclk": { "refclk": {
"type": "number", "type": "number",
"minimum": 0 "minimum": 0
}, },
"clk_sel": { "clk_sel": {
"type": "integer", "type": "integer",
"minimum": 0, "minimum": 0,
"maximum": 3 "maximum": 3
}, },
"pll_n": { "pll_n": {
"type": "integer", "type": "integer",
"default": 32 "default": 32
}, },
"pll_vco": { "pll_vco": {
"type": "integer" "type": "integer"
} }
}, },
@ -364,12 +364,12 @@
"minItems": 1, "minItems": 1,
"maxItems": 1 "maxItems": 1
}, },
"refclk": { "refclk": {
"type": "number", "type": "number",
"exclusiveMinimum": 0, "exclusiveMinimum": 0,
"default": 100e6 "default": 100e6
}, },
"clk_sel": { "clk_sel": {
"oneOf": [ "oneOf": [
{ {
"type": "integer", "type": "integer",
@ -383,7 +383,7 @@
"default": "xo" "default": "xo"
} }
] ]
} }
}, },
"required": ["ports"] "required": ["ports"]
} }