Commit 39bf90b1 authored by Jérome Perrin's avatar Jérome Perrin

fixup! srsLTE: Add JSON Schema for parameter forms

fix json format
parent 2b51d685
{ {
"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