Commit 10e90dee authored by Jérome Perrin's avatar Jérome Perrin

*.json: format with ./format-json

parent a212dbb0
...@@ -137,7 +137,10 @@ ...@@ -137,7 +137,10 @@
}, },
"additionalProperties": { "additionalProperties": {
"description": "See NEO documentation for the list of supported settings.", "description": "See NEO documentation for the list of supported settings.",
"type": ["number", "string"] "type": [
"number",
"string"
]
}, },
"type": "object" "type": "object"
}, },
...@@ -152,7 +155,10 @@ ...@@ -152,7 +155,10 @@
}, },
"additionalProperties": { "additionalProperties": {
"description": "To configure parameters like innodb_buffer_pool_size, rocksdb_block_cache_size, etc.", "description": "To configure parameters like innodb_buffer_pool_size, rocksdb_block_cache_size, etc.",
"type": ["number", "string"] "type": [
"number",
"string"
]
}, },
"type": "object" "type": "object"
}, },
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Cell. Common properties", "title": "Cell. Common properties",
"type": "object", "type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"rf_mode", "rf_mode",
...@@ -12,7 +10,6 @@ ...@@ -12,7 +10,6 @@
"bandwidth", "bandwidth",
"ru" "ru"
], ],
"properties": { "properties": {
"cell_type": { "cell_type": {
"type": "string" "type": "string"
...@@ -21,12 +18,14 @@ ...@@ -21,12 +18,14 @@
"type": "string", "type": "string",
"const": "enb" "const": "enb"
}, },
"rf_mode": { "rf_mode": {
"title": "RF mode", "title": "RF mode",
"description": "Mode for TX/RX radio multiplexing: Frequency- or Time- Domain Division", "description": "Mode for TX/RX radio multiplexing: Frequency- or Time- Domain Division",
"type": "string", "type": "string",
"enum": ["fdd", "tdd"], "enum": [
"fdd",
"tdd"
],
"propertyOrder": 101 "propertyOrder": 101
}, },
"pci": { "pci": {
...@@ -59,7 +58,6 @@ ...@@ -59,7 +58,6 @@
"propertyOrder": 9999 "propertyOrder": 9999
} }
}, },
"$defs": { "$defs": {
"ru-of-cell": { "ru-of-cell": {
"title": "Radio Unit", "title": "Radio Unit",
...@@ -68,7 +66,10 @@ ...@@ -68,7 +66,10 @@
"title": "Shared Radio Unit", "title": "Shared Radio Unit",
"description": "Use radio unit defined in separate shared instance", "description": "Use radio unit defined in separate shared instance",
"type": "object", "type": "object",
"required": ["ru_type", "ru_ref"], "required": [
"ru_type",
"ru_ref"
],
"properties": { "properties": {
"ru_type": { "ru_type": {
"type": "string", "type": "string",
...@@ -85,7 +86,10 @@ ...@@ -85,7 +86,10 @@
"title": "Shared Radio Unit of a Cell", "title": "Shared Radio Unit of a Cell",
"description": "Use the same radio unit as referenced cell instance does", "description": "Use the same radio unit as referenced cell instance does",
"type": "object", "type": "object",
"required": ["ru_type", "ruincell_ref"], "required": [
"ru_type",
"ruincell_ref"
],
"properties": { "properties": {
"ru_type": { "ru_type": {
"type": "string", "type": "string",
...@@ -98,9 +102,15 @@ ...@@ -98,9 +102,15 @@
} }
} }
}, },
{ "$ref": "../ru/sdr/input-schema.json" }, {
{ "$ref": "../ru/lopcomm/input-schema.json" }, "$ref": "../ru/sdr/input-schema.json"
{ "$ref": "../ru/sunwave/input-schema.json" } },
{
"$ref": "../ru/lopcomm/input-schema.json"
},
{
"$ref": "../ru/sunwave/input-schema.json"
}
] ]
} }
} }
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Cell", "title": "Cell",
"type": "object", "type": "object",
"oneOf": [ "oneOf": [
{ "$ref": "../cell/lte/input-schema.json" }, {
{ "$ref": "../cell/nr/input-schema.json" } "$ref": "../cell/lte/input-schema.json"
},
{
"$ref": "../cell/nr/input-schema.json"
}
] ]
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LTE Cell", "title": "LTE Cell",
"type": "object", "type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"rf_mode", "rf_mode",
...@@ -11,18 +9,15 @@ ...@@ -11,18 +9,15 @@
"cell_id", "cell_id",
"bandwidth", "bandwidth",
"ru", "ru",
"dl_earfcn", "dl_earfcn",
"tac" "tac"
], ],
"properties": { "properties": {
"$ref": "../../cell/common.json#/properties", "$ref": "../../cell/common.json#/properties",
"cell_type": { "cell_type": {
"$ref": "#/properties/cell_type", "$ref": "#/properties/cell_type",
"const": "lte" "const": "lte"
}, },
"tdd_ul_dl_config": { "tdd_ul_dl_config": {
"title": "TDD Configuration", "title": "TDD Configuration",
"type": "string", "type": "string",
...@@ -37,7 +32,6 @@ ...@@ -37,7 +32,6 @@
} }
} }
}, },
"bandwidth": { "bandwidth": {
"$ref": "#/properties/bandwidth", "$ref": "#/properties/bandwidth",
"enum": [ "enum": [
...@@ -49,7 +43,6 @@ ...@@ -49,7 +43,6 @@
20 20
] ]
}, },
"dl_earfcn": { "dl_earfcn": {
"title": "DL EARFCN", "title": "DL EARFCN",
"description": "Downlink E-UTRA Absolute Radio Frequency Channel Number of the cell", "description": "Downlink E-UTRA Absolute Radio Frequency Channel Number of the cell",
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "NR Cell", "title": "NR Cell",
"type": "object", "type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"rf_mode", "rf_mode",
...@@ -11,18 +9,15 @@ ...@@ -11,18 +9,15 @@
"cell_id", "cell_id",
"bandwidth", "bandwidth",
"ru", "ru",
"dl_nr_arfcn", "dl_nr_arfcn",
"nr_band" "nr_band"
], ],
"properties": { "properties": {
"$ref": "../../cell/common.json#/properties", "$ref": "../../cell/common.json#/properties",
"cell_type": { "cell_type": {
"$ref": "#/properties/cell_type", "$ref": "#/properties/cell_type",
"const": "nr" "const": "nr"
}, },
"tdd_ul_dl_config": { "tdd_ul_dl_config": {
"title": "TDD Configuration", "title": "TDD Configuration",
"type": "string", "type": "string",
...@@ -38,11 +33,9 @@ ...@@ -38,11 +33,9 @@
} }
} }
}, },
"bandwidth": { "bandwidth": {
"$ref": "#/properties/bandwidth" "$ref": "#/properties/bandwidth"
}, },
"dl_nr_arfcn": { "dl_nr_arfcn": {
"title": "DL NR ARFCN", "title": "DL NR ARFCN",
"description": "Downlink NR Absolute Radio Frequency Channel Number of the cell", "description": "Downlink NR Absolute Radio Frequency Channel Number of the cell",
...@@ -75,7 +68,6 @@ ...@@ -75,7 +68,6 @@
"default": 1 "default": 1
} }
}, },
"$defs": { "$defs": {
"tac": { "tac": {
"title": "Tracking Area Code", "title": "Tracking Area Code",
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Peer Cell. Common properties", "title": "Peer Cell. Common properties",
"type": "object", "type": "object",
"required": [ "required": [
...@@ -9,7 +8,6 @@ ...@@ -9,7 +8,6 @@
"pci", "pci",
"tac" "tac"
], ],
"properties": { "properties": {
"cell_type": { "cell_type": {
"type": "string" "type": "string"
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Peer Cell", "title": "Peer Cell",
"type": "object", "type": "object",
"oneOf": [ "oneOf": [
{ "$ref": "../../peer/cell/lte/input-schema.json" }, {
{ "$ref": "../../peer/cell/nr/input-schema.json" } "$ref": "../../peer/cell/lte/input-schema.json"
},
{
"$ref": "../../peer/cell/nr/input-schema.json"
}
] ]
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LTE Peer Cell", "title": "LTE Peer Cell",
"type": "object", "type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"cell_kind", "cell_kind",
"pci", "pci",
"tac", "tac",
"e_cell_id", "e_cell_id",
"dl_earfcn" "dl_earfcn"
], ],
"properties": { "properties": {
"cell_type": { "cell_type": {
"$ref": "../../../peer/cell/common.json#/properties/cell_type", "$ref": "../../../peer/cell/common.json#/properties/cell_type",
"const": "lte" "const": "lte"
}, },
"e_cell_id": { "e_cell_id": {
"title": "E-UTRAN Cell ID", "title": "E-UTRAN Cell ID",
"description": "28 bit E-UTRAN cell identity. Concatenation of enb_id and cell_id of the neighbour cell.", "description": "28 bit E-UTRAN cell identity. Concatenation of enb_id and cell_id of the neighbour cell.",
"type": "string" "type": "string"
}, },
"dl_earfcn": { "$ref": "../../../cell/lte/input-schema.json#/properties/dl_earfcn" }, "dl_earfcn": {
"pci": { "$ref": "../../../cell/lte/input-schema.json#/properties/pci" }, "$ref": "../../../cell/lte/input-schema.json#/properties/dl_earfcn"
"tac": { "$ref": "../../../cell/lte/input-schema.json#/properties/tac" } },
"pci": {
"$ref": "../../../cell/lte/input-schema.json#/properties/pci"
},
"tac": {
"$ref": "../../../cell/lte/input-schema.json#/properties/tac"
}
} }
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "NR Peer Cell", "title": "NR Peer Cell",
"type": "object", "type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"cell_kind", "cell_kind",
"pci", "pci",
"tac", "tac",
"nr_cell_id", "nr_cell_id",
"gnb_id_bits", "gnb_id_bits",
"dl_nr_arfcn", "dl_nr_arfcn",
"nr_band" "nr_band"
], ],
"properties": { "properties": {
"cell_type": { "cell_type": {
"$ref": "../../../peer/cell/common.json#/properties/cell_type", "$ref": "../../../peer/cell/common.json#/properties/cell_type",
"const": "nr" "const": "nr"
}, },
"nr_cell_id": { "nr_cell_id": {
"title": "NR Cell ID", "title": "NR Cell ID",
"description": "Concatenation of gnb_id and cell_id of the neighbour cell", "description": "Concatenation of gnb_id and cell_id of the neighbour cell",
...@@ -32,11 +27,23 @@ ...@@ -32,11 +27,23 @@
"description": "Number of bits for the gNodeB global identifier. (range 22 to 32)", "description": "Number of bits for the gNodeB global identifier. (range 22 to 32)",
"type": "integer" "type": "integer"
}, },
"dl_nr_arfcn": { "$ref": "../../../cell/nr/input-schema.json#/properties/dl_nr_arfcn" }, "dl_nr_arfcn": {
"nr_band": { "$ref": "../../../cell/nr/input-schema.json#/properties/nr_band" }, "$ref": "../../../cell/nr/input-schema.json#/properties/dl_nr_arfcn"
"ssb_nr_arfcn": { "$ref": "../../../cell/nr/input-schema.json#/properties/ssb_nr_arfcn" }, },
"ul_nr_arfcn": { "$ref": "../../../cell/nr/input-schema.json#/properties/ul_nr_arfcn" }, "nr_band": {
"pci": { "$ref": "../../../cell/nr/input-schema.json#/properties/pci" }, "$ref": "../../../cell/nr/input-schema.json#/properties/nr_band"
"tac": { "$ref": "../../../cell/nr/input-schema.json#/$defs/tac" } },
"ssb_nr_arfcn": {
"$ref": "../../../cell/nr/input-schema.json#/properties/ssb_nr_arfcn"
},
"ul_nr_arfcn": {
"$ref": "../../../cell/nr/input-schema.json#/properties/ul_nr_arfcn"
},
"pci": {
"$ref": "../../../cell/nr/input-schema.json#/properties/pci"
},
"tac": {
"$ref": "../../../cell/nr/input-schema.json#/$defs/tac"
}
} }
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Peer. Common properties", "title": "Peer. Common properties",
"type": "object", "type": "object",
"required": [ "required": [
"peer_type" "peer_type"
], ],
"properties": { "properties": {
"peer_type": { "peer_type": {
"type": "string" "type": "string"
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Peer eNB/gNB", "title": "Peer eNB/gNB",
"type": "object", "type": "object",
"oneOf": [ "oneOf": [
{ "$ref": "../peer/lte/input-schema.json" }, {
{ "$ref": "../peer/nr/input-schema.json" } "$ref": "../peer/lte/input-schema.json"
},
{
"$ref": "../peer/nr/input-schema.json"
}
] ]
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Peer eNB", "title": "Peer eNB",
"type": "object", "type": "object",
"required": [ "required": [
"peer_type", "peer_type",
"x2_addr" "x2_addr"
], ],
"properties": { "properties": {
"peer_type": { "peer_type": {
"$ref": "../../peer/common.json#/properties/peer_type", "$ref": "../../peer/common.json#/properties/peer_type",
"const": "lte" "const": "lte"
}, },
"x2_addr": { "x2_addr": {
"title": "X2 Address", "title": "X2 Address",
"description": "X2 Address of the neighbour node (eNB Address)", "description": "X2 Address of the neighbour node (eNB Address)",
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Peer gNB", "title": "Peer gNB",
"type": "object", "type": "object",
"required": [ "required": [
"peer_type", "peer_type",
"xn_addr" "xn_addr"
], ],
"properties": { "properties": {
"peer_type": { "peer_type": {
"$ref": "../../peer/common.json#/properties/peer_type", "$ref": "../../peer/common.json#/properties/peer_type",
"const": "nr" "const": "nr"
}, },
"xn_addr": { "xn_addr": {
"title": "XN Address", "title": "XN Address",
"description": "XN Address of the neighbour node (gNB Address)", "description": "XN Address of the neighbour node (gNB Address)",
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Radio Unit. Common properties", "title": "Radio Unit. Common properties",
"type": "object", "type": "object",
"required": [ "required": [
"ru_type", "ru_type",
"ru_link_type", "ru_link_type",
...@@ -12,7 +10,6 @@ ...@@ -12,7 +10,6 @@
"tx_gain", "tx_gain",
"rx_gain" "rx_gain"
], ],
"properties": { "properties": {
"ru_type": { "ru_type": {
"type": "string" "type": "string"
...@@ -20,46 +17,41 @@ ...@@ -20,46 +17,41 @@
"ru_link_type": { "ru_link_type": {
"type": "string" "type": "string"
}, },
"n_antenna_dl": { "n_antenna_dl": {
"title": "Number of DL antennas", "title": "Number of DL antennas",
"type": "integer" "type": "integer"
}, },
"n_antenna_ul": { "n_antenna_ul": {
"title": "Number of UL antennas", "title": "Number of UL antennas",
"type": "integer" "type": "integer"
}, },
"tx_gain": { "tx_gain": {
"title": "Tx gain", "title": "Tx gain",
"description": "Tx gain (in dB)", "description": "Tx gain (in dB)",
"type": "number" "type": "number"
}, },
"rx_gain": { "rx_gain": {
"title": "Rx gain", "title": "Rx gain",
"description": "Rx gain (in dB)", "description": "Rx gain (in dB)",
"type": "number" "type": "number"
}, },
"txrx_active": { "txrx_active": {
"title": "Activate Tx/Rx", "title": "Activate Tx/Rx",
"description": "Activate or inactivate Tx transmission and Rx reception. When inactive RU does no radio.", "description": "Activate or inactivate Tx transmission and Rx reception. When inactive RU does no radio.",
"type": "string", "type": "string",
"enum": ["ACTIVE", "INACTIVE"], "enum": [
"ACTIVE",
"INACTIVE"
],
"default": "INACTIVE" "default": "INACTIVE"
}, },
"cpri_link": { "cpri_link": {
"title": "CPRI link settings", "title": "CPRI link settings",
"options": { "options": {
"dependencies": { "dependencies": {
"ru_link_type": "cpri" "ru_link_type": "cpri"
} }
}, },
"type": "object", "type": "object",
"required": [ "required": [
"sdr_dev", "sdr_dev",
...@@ -78,13 +70,23 @@ ...@@ -78,13 +70,23 @@
"mapping": { "mapping": {
"title": "Mapping method of AxCs on the CPRI", "title": "Mapping method of AxCs on the CPRI",
"type": "string", "type": "string",
"enum": ["standard", "hw", "spread", "bf1"] "enum": [
"standard",
"hw",
"spread",
"bf1"
]
}, },
"mult": { "mult": {
"title": "CPRI line bit rate multipler", "title": "CPRI line bit rate multipler",
"description": "Select the CPRI line bit rate in terms of multiple of option 1 (614.4 Mbps). E.g set 4 for option 3, 8 for option 5 and 16 for option 7", "description": "Select the CPRI line bit rate in terms of multiple of option 1 (614.4 Mbps). E.g set 4 for option 3, 8 for option 5 and 16 for option 7",
"type": "integer", "type": "integer",
"enum": [4, 5, 8, 16], "enum": [
4,
5,
8,
16
],
"default": 16 "default": 16
}, },
"rx_delay": { "rx_delay": {
...@@ -107,18 +109,15 @@ ...@@ -107,18 +109,15 @@
} }
} }
}, },
"mac_addr": { "mac_addr": {
"title": "RU MAC address", "title": "RU MAC address",
"description": "RU MAC address used for NETCONF", "description": "RU MAC address used for NETCONF",
"type": "string", "type": "string",
"options": { "options": {
"dependencies": { "dependencies": {
"ru_link_type": "cpri" "ru_link_type": "cpri"
} }
} }
} }
} }
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Radio Unit", "title": "Radio Unit",
"type": "object", "type": "object",
"oneOf": [ "oneOf": [
{ "$ref": "sdr/input-schema.json" }, {
{ "$ref": "lopcomm/input-schema.json" }, "$ref": "sdr/input-schema.json"
{ "$ref": "sunwave/input-schema.json" } },
{
"$ref": "lopcomm/input-schema.json"
},
{
"$ref": "sunwave/input-schema.json"
}
] ]
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Lopcomm ORAN", "title": "Lopcomm ORAN",
"type": "object", "type": "object",
"required": [ "required": [
"ru_type", "ru_type",
"ru_link_type", "ru_link_type",
...@@ -11,14 +9,11 @@ ...@@ -11,14 +9,11 @@
"n_antenna_ul", "n_antenna_ul",
"tx_gain", "tx_gain",
"rx_gain", "rx_gain",
"cpri_link", "cpri_link",
"mac_addr" "mac_addr"
], ],
"properties": { "properties": {
"$ref": "../../ru/common.json#/properties", "$ref": "../../ru/common.json#/properties",
"ru_type": { "ru_type": {
"$ref": "#/properties/ru_type", "$ref": "#/properties/ru_type",
"const": "lopcomm" "const": "lopcomm"
...@@ -27,7 +22,6 @@ ...@@ -27,7 +22,6 @@
"$ref": "#/properties/ru_link_type", "$ref": "#/properties/ru_link_type",
"const": "cpri" "const": "cpri"
}, },
"n_antenna_dl": { "n_antenna_dl": {
"$ref": "#/properties/n_antenna_dl", "$ref": "#/properties/n_antenna_dl",
"default": 2 "default": 2
...@@ -43,7 +37,9 @@ ...@@ -43,7 +37,9 @@
"mapping": { "mapping": {
"$ref": "#/properties/cpri_link/properties/mapping", "$ref": "#/properties/cpri_link/properties/mapping",
"const": "hw", "const": "hw",
"enum": ["hw"] "enum": [
"hw"
]
}, },
"rx_delay": { "rx_delay": {
"$ref": "#/properties/cpri_link/properties/rx_delay", "$ref": "#/properties/cpri_link/properties/rx_delay",
...@@ -59,7 +55,6 @@ ...@@ -59,7 +55,6 @@
} }
} }
}, },
"reset_schedule": { "reset_schedule": {
"title": "Cron schedule for RRH reset", "title": "Cron schedule for RRH reset",
"description": "Refer https://crontab.guru/ to make a reset schedule for RRH, for example, '0 1 * * *' means the RRH will reset every day at 1 am", "description": "Refer https://crontab.guru/ to make a reset schedule for RRH, for example, '0 1 * * *' means the RRH will reset every day at 1 am",
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "SDR transiever", "title": "SDR transiever",
"description": "Radio Unit constituted of several SDR boards", "description": "Radio Unit constituted of several SDR boards",
"type": "object", "type": "object",
"required": [ "required": [
"ru_type", "ru_type",
"ru_link_type", "ru_link_type",
...@@ -12,13 +10,10 @@ ...@@ -12,13 +10,10 @@
"n_antenna_ul", "n_antenna_ul",
"tx_gain", "tx_gain",
"rx_gain", "rx_gain",
"sdr_dev_list" "sdr_dev_list"
], ],
"properties": { "properties": {
"$ref": "../../ru/common.json#/properties", "$ref": "../../ru/common.json#/properties",
"ru_type": { "ru_type": {
"$ref": "#/properties/ru_type", "$ref": "#/properties/ru_type",
"const": "sdr" "const": "sdr"
...@@ -27,7 +22,6 @@ ...@@ -27,7 +22,6 @@
"$ref": "#/properties/ru_link_type", "$ref": "#/properties/ru_link_type",
"const": "sdr" "const": "sdr"
}, },
"sdr_dev_list": { "sdr_dev_list": {
"title": "SDR boards", "title": "SDR boards",
"description": "Which SDR boards to use as combined RF port", "description": "Which SDR boards to use as combined RF port",
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Sunwave M2RU", "title": "Sunwave M2RU",
"type": "object", "type": "object",
"required": [ "required": [
"ru_type", "ru_type",
"ru_link_type", "ru_link_type",
...@@ -11,14 +9,11 @@ ...@@ -11,14 +9,11 @@
"n_antenna_ul", "n_antenna_ul",
"tx_gain", "tx_gain",
"rx_gain", "rx_gain",
"cpri_link", "cpri_link",
"mac_addr" "mac_addr"
], ],
"properties": { "properties": {
"$ref": "../../ru/common.json#/properties", "$ref": "../../ru/common.json#/properties",
"ru_type": { "ru_type": {
"$ref": "#/properties/ru_type", "$ref": "#/properties/ru_type",
"const": "sunwave" "const": "sunwave"
...@@ -27,7 +22,6 @@ ...@@ -27,7 +22,6 @@
"$ref": "#/properties/ru_link_type", "$ref": "#/properties/ru_link_type",
"const": "cpri" "const": "cpri"
}, },
"n_antenna_dl": { "n_antenna_dl": {
"$ref": "#/properties/n_antenna_dl", "$ref": "#/properties/n_antenna_dl",
"default": 2 "default": 2
...@@ -43,7 +37,9 @@ ...@@ -43,7 +37,9 @@
"mapping": { "mapping": {
"$ref": "#/properties/cpri_link/properties/mapping", "$ref": "#/properties/cpri_link/properties/mapping",
"const": "bf1", "const": "bf1",
"enum": ["bf1"] "enum": [
"bf1"
]
}, },
"rx_delay": { "rx_delay": {
"$ref": "#/properties/cpri_link/properties/rx_delay", "$ref": "#/properties/cpri_link/properties/rx_delay",
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "UE Cell. Common properties", "title": "UE Cell. Common properties",
"type": "object", "type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"cell_kind", "cell_kind",
"rf_mode", "rf_mode",
"ru" "ru"
], ],
"properties": { "properties": {
"cell_type": { "cell_type": {
"type": "string" "type": "string"
...@@ -19,8 +16,11 @@ ...@@ -19,8 +16,11 @@
"type": "string", "type": "string",
"const": "ue" "const": "ue"
}, },
"rf_mode": {
"rf_mode": { "$ref": "../../cell/common.json#/properties/rf_mode" }, "$ref": "../../cell/common.json#/properties/rf_mode"
"ru": { "$ref": "../../cell/common.json#/$defs/ru-of-cell" } },
"ru": {
"$ref": "../../cell/common.json#/$defs/ru-of-cell"
}
} }
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "UE Cell", "title": "UE Cell",
"type": "object", "type": "object",
"oneOf": [ "oneOf": [
{ "$ref": "../../ue/cell/lte/input-schema.json" }, {
{ "$ref": "../../ue/cell/nr/input-schema.json" } "$ref": "../../ue/cell/lte/input-schema.json"
},
{
"$ref": "../../ue/cell/nr/input-schema.json"
}
] ]
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "NR Cell", "title": "NR Cell",
"type": "object", "type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"cell_kind", "cell_kind",
"rf_mode", "rf_mode",
"ru", "ru",
"dl_nr_arfcn", "dl_nr_arfcn",
"bandwidth", "bandwidth",
"nr_band" "nr_band"
], ],
"properties": { "properties": {
"cell_type": { "cell_type": {
"$ref": "../../../ue/cell/common.json#/properties/cell_type", "$ref": "../../../ue/cell/common.json#/properties/cell_type",
"const": "nr" "const": "nr"
}, },
"cell_kind": { "$ref": "../../../ue/cell/common.json#/properties/cell_kind" }, "cell_kind": {
"$ref": "../../../ue/cell/common.json#/properties/cell_kind"
"rf_mode": { "$ref": "../../../ue/cell/common.json#/properties/rf_mode" }, },
"ru": { "$ref": "../../../ue/cell/common.json#/properties/ru", "rf_mode": {
"$ref": "../../../ue/cell/common.json#/properties/rf_mode"
},
"ru": {
"$ref": "../../../ue/cell/common.json#/properties/ru",
"propertyOrder": 9999 "propertyOrder": 9999
}, },
"dl_nr_arfcn": {
"dl_nr_arfcn": { "$ref": "../../../cell/nr/input-schema.json#/properties/dl_nr_arfcn" }, "$ref": "../../../cell/nr/input-schema.json#/properties/dl_nr_arfcn"
"bandwidth": { "$ref": "../../../cell/common.json#/properties/bandwidth" }, },
"nr_band": { "$ref": "../../../cell/nr/input-schema.json#/properties/nr_band" }, "bandwidth": {
"ul_nr_arfcn": { "$ref": "../../../cell/nr/input-schema.json#/properties/ul_nr_arfcn" }, "$ref": "../../../cell/common.json#/properties/bandwidth"
"ssb_nr_arfcn": { "$ref": "../../../cell/nr/input-schema.json#/properties/ssb_nr_arfcn" } },
"nr_band": {
"$ref": "../../../cell/nr/input-schema.json#/properties/nr_band"
},
"ul_nr_arfcn": {
"$ref": "../../../cell/nr/input-schema.json#/properties/ul_nr_arfcn"
},
"ssb_nr_arfcn": {
"$ref": "../../../cell/nr/input-schema.json#/properties/ssb_nr_arfcn"
}
} }
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "UE. Common properties", "title": "UE. Common properties",
"type": "object", "type": "object",
"required": [ "required": [
"ue_type", "ue_type",
"rue_addr" "rue_addr"
], ],
"properties": { "properties": {
"$ref": "../sim/input-schema.json#/properties", "$ref": "../sim/input-schema.json#/properties",
"ue_type": { "ue_type": {
"type": "string" "type": "string"
}, },
"rue_addr": { "rue_addr": {
"title": "[Required] Remote UE address", "title": "[Required] Remote UE address",
"description": "[Required] Address of remote UE server. Default port is 2152.", "description": "[Required] Address of remote UE server. Default port is 2152.",
"type": "string", "type": "string",
"default": "" "default": ""
}, },
"imsi": { "imsi": {
"$ref": "../sim/input-schema.json#/properties/imsi", "$ref": "../sim/input-schema.json#/properties/imsi",
"default": "001010123456789" "default": "001010123456789"
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "UE", "title": "UE",
"type": "object", "type": "object",
"oneOf": [ "oneOf": [
{ "$ref": "../ue/lte/input-schema.json" }, {
{ "$ref": "../ue/nr/input-schema.json" } "$ref": "../ue/lte/input-schema.json"
},
{
"$ref": "../ue/nr/input-schema.json"
}
] ]
} }
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LTE UE", "title": "LTE UE",
"type": "object", "type": "object",
"properties": { "properties": {
"$ref": "../../ue/common.json#/properties", "$ref": "../../ue/common.json#/properties",
"ue_type": { "ue_type": {
"$ref": "#/properties/ue_type", "$ref": "#/properties/ue_type",
"const": "lte" "const": "lte"
......
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "NR UE", "title": "NR UE",
"type": "object", "type": "object",
"properties": { "properties": {
"$ref": "../../ue/common.json#/properties", "$ref": "../../ue/common.json#/properties",
"ue_type": { "ue_type": {
"$ref": "#/properties/ue_type", "$ref": "#/properties/ue_type",
"const": "nr" "const": "nr"
......
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