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 @@
"type": "integer",
"default": 1
},
"key-length" : {
"key-length": {
"title": "Key length",
"description": "Size, in bits, of the SSL key generated to authenticate users.",
"default": 2048,
......
......@@ -384,7 +384,7 @@
"ssl": {
"description": "HTTPS certificate generation parameters",
"properties": {
"caucase-url":{
"caucase-url": {
"title": "Caucase URL",
"description": "URL of caucase service to use. If not set, global setting will be used.",
"type": "string"
......
{
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters",
"properties": {
"Log": {
"type": "object",
"title": "Log Configuration",
"properties": {
"options": {
"title": "Log Level",
"description": "Log Level",
"type": "string",
"default": "debug"
}
}
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema",
"title": "Input Parameters",
"properties": {
"Log": {
"type": "object",
"title": "Log Configuration",
"properties": {
"options": {
"title": "Log Level",
"description": "Log Level",
"type": "string",
"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": {
"title": "MME address",
"description": "address of MME for S1AP connection",
"type": "string",
"default": "127.0.1.100"
"tx_gain": {
"title": "Tx gain",
"description": "Tx gain (in dB)",
"type": "number"
},
"rf_params": {
"type": "object",
"title": "RF Parameters",
"properties": {
"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"
}
}
"rx_gain": {
"title": "Rx gain",
"description": "Rx gain (in dB)",
"type": "number"
}
}
}
}
}
{
"name": "srsLTE",
"description": "srsLTE",
"serialisation": "json-in-xml",
"software-type": {
"default": {
"title": "Default",
"software-type": "default",
"description": "Default",
"request": "instance-srslte-input-schema.json",
"response": "instance-srslte-schema.json",
"index": 1
}
"name": "srsLTE",
"description": "srsLTE",
"serialisation": "json-in-xml",
"software-type": {
"default": {
"title": "Default",
"software-type": "default",
"description": "Default",
"request": "instance-srslte-input-schema.json",
"response": "instance-srslte-schema.json",
"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