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",
"$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