Commit 69c25204 authored by Rafael Monnerat's avatar Rafael Monnerat

ors-json-schema: Update cell json schema

parent 66dfbb62
...@@ -14,17 +14,6 @@ ...@@ -14,17 +14,6 @@
], ],
"properties": { "properties": {
"cell_type": {
"type": "string",
"options": { "hidden": true }
},
"cell_kind": {
"type": "string",
"const": "enb",
"template": "enb",
"options": { "hidden": true }
},
"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",
......
{ {
"$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"
}
] ]
} }
...@@ -4,8 +4,14 @@ ...@@ -4,8 +4,14 @@
"title": "LTE Cell", "title": "LTE Cell",
"type": "object", "type": "object",
"properties": {
"lte": {
"title": "LTE Cell",
"type": "object",
"properties" : {
"enb": {
"type": "object",
"required": [ "required": [
"cell_type",
"rf_mode", "rf_mode",
"pci", "pci",
"cell_id", "cell_id",
...@@ -17,13 +23,6 @@ ...@@ -17,13 +23,6 @@
], ],
"properties": { "properties": {
"$ref": "../../cell/common.json#/properties", "$ref": "../../cell/common.json#/properties",
"cell_type": {
"$ref": "#/properties/cell_type",
"const": "lte",
"template": "lte"
},
"tdd_ul_dl_config": { "tdd_ul_dl_config": {
"title": "TDD Configuration", "title": "TDD Configuration",
"type": "string", "type": "string",
...@@ -38,7 +37,6 @@ ...@@ -38,7 +37,6 @@
} }
} }
}, },
"bandwidth": { "bandwidth": {
"$ref": "#/properties/bandwidth", "$ref": "#/properties/bandwidth",
"enum": [ "enum": [
...@@ -50,7 +48,6 @@ ...@@ -50,7 +48,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",
...@@ -67,9 +64,13 @@ ...@@ -67,9 +64,13 @@
"type": "string" "type": "string"
}, },
"root_sequence_index": { "root_sequence_index": {
"$ref": "#/properties/root_sequence_index", "$ref": "../../cell/common.json#/properties/root_sequence_index",
"description": "Range: 0 to 837. Set the PRACH root sequence index (SIB2.rootSequenceIndex field). It must be different for each neighbour cell operating on the same frequency and sharing the same PRACH configuration.", "description": "Range: 0 to 837. Set the PRACH root sequence index (SIB2.rootSequenceIndex field). It must be different for each neighbour cell operating on the same frequency and sharing the same PRACH configuration.",
"default": 204 "default": 204
} }
} }
}
}
}
}
} }
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