Commit ce6c8a60 authored by Jérome Perrin's avatar Jérome Perrin

Format JSON according to our convention

Since nexedi/slapos!392 we must format the json as done by `format-json`.

The tools for this are `format-json software/*/*.json` or `husky` ( nexedi/slapos!424 ).

/reviewed-on nexedi/slapos!522
parents 2b51d685 489196d6
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
"type": "integer", "type": "integer",
"default": 1 "default": 1
}, },
"key-length" : { "key-length": {
"title": "Key length", "title": "Key length",
"description": "Size, in bits, of the SSL key generated to authenticate users.", "description": "Size, in bits, of the SSL key generated to authenticate users.",
"default": 2048, "default": 2048,
......
...@@ -384,7 +384,7 @@ ...@@ -384,7 +384,7 @@
"ssl": { "ssl": {
"description": "HTTPS certificate generation parameters", "description": "HTTPS certificate generation parameters",
"properties": { "properties": {
"caucase-url":{ "caucase-url": {
"title": "Caucase URL", "title": "Caucase URL",
"description": "URL of caucase service to use. If not set, global setting will be used.", "description": "URL of caucase service to use. If not set, global setting will be used.",
"type": "string" "type": "string"
......
{ {
"type": "object", "type": "object",
"$schema": "http://json-schema.org/draft-04/schema", "$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters",
"title": "Input Parameters", "properties": {
"properties": { "Log": {
"Log": { "type": "object",
"type": "object", "title": "Log Configuration",
"title": "Log Configuration", "properties": {
"properties": { "options": {
"options": { "title": "Log Level",
"title": "Log Level", "description": "Log Level",
"description": "Log Level", "type": "string",
"type": "string", "default": "debug"
"default": "debug" }
} }
} },
"mme_addr": {
"title": "MME address",
"description": "address of MME for S1AP connection",
"type": "string",
"default": "127.0.1.100"
},
"rf_params": {
"type": "object",
"title": "RF Parameters",
"properties": {
"dl_earfcn": {
"title": "DL EARFCN",
"description": "Downlink EARFCN of the cell",
"type": "number"
}, },
"mme_addr": { "tx_gain": {
"title": "MME address", "title": "Tx gain",
"description": "address of MME for S1AP connection", "description": "Tx gain (in dB)",
"type": "string", "type": "number"
"default": "127.0.1.100"
}, },
"rf_params": { "rx_gain": {
"type": "object", "title": "Rx gain",
"title": "RF Parameters", "description": "Rx gain (in dB)",
"properties": { "type": "number"
"dl_earfcn": {
"title": "DL EARFCN",
"description": "Downlink EARFCN of the cell",
"type": "number"
},
"tx_gain": {
"title": "Tx gain",
"description": "Tx gain (in dB)",
"type": "number"
},
"rx_gain": {
"title": "Rx gain",
"description": "Rx gain (in dB)",
"type": "number"
}
}
} }
}
} }
}
} }
{ {
"name": "srsLTE", "name": "srsLTE",
"description": "srsLTE", "description": "srsLTE",
"serialisation": "json-in-xml", "serialisation": "json-in-xml",
"software-type": { "software-type": {
"default": { "default": {
"title": "Default", "title": "Default",
"software-type": "default", "software-type": "default",
"description": "Default", "description": "Default",
"request": "instance-srslte-input-schema.json", "request": "instance-srslte-input-schema.json",
"response": "instance-srslte-schema.json", "response": "instance-srslte-schema.json",
"index": 1 "index": 1
}
} }
}
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment