Commit e8d8d7b3 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c294ccc4
...@@ -4,207 +4,90 @@ ...@@ -4,207 +4,90 @@
"title": "Cell", "title": "Cell",
"type": "object", "type": "object",
"oneOf": [ "oneOf": [
{ { "$ref": "lte/input-schema.json" },
"title": "LTE Cell", { "$ref": "nr/input-schema.json" }
"type": "object", ],
"required": [
"cell_type",
"rf_mode",
"bandwidth",
"dl_earfcn",
"pci",
"cell_id",
"tac",
"ru"
],
"properties": {
"cell_type": {
"const": "lte",
"template": "lte",
"options": {
"hidden": true
}
},
"rf_mode": { "$ref": "#/$defs/rf_mode" },
"tdd_ul_dl_config": {
"title": "TDD Configuration",
"type": "string",
"enum": [
"[Configuration 2] 5ms 2UL 6DL (default)",
"[Configuration 6] 5ms 5UL 3DL (maximum uplink)"
],
"default": "5ms 2UL 7DL 4/6 (default)",
"options": {
"dependencies": {
"rf_mode": "tdd"
}
}
},
"bandwidth": {
"title": "Bandwidth",
"description": "Downlink Bandwidth",
"type": "string",
"enum": [
"1.4 MHz",
"3 MHz",
"5 MHz",
"10 MHz",
"15 MHz",
"20 MHz"
]
},
"dl_earfcn": {
"title": "DL EARFCN",
"description": "Downlink E-UTRA Absolute Radio Frequency Channel Number of the cell",
"type": "integer"
},
"pci": {
"$ref": "#/$defs/pci",
"default": 1
},
"cell_id": { "$ref": "#/$defs/cell_id" },
"tac": {
"title": "Tracking Area Code",
"description": "Tracking Area Code in hexadecimal representation (range 0x0000 to 0xffff)",
"default": "0x0001",
"type": "string"
},
"ru": { "$ref": "#/$defs/ru" }
}
},
{ "$defs": {
"title": "NR Cell", "cell-common": {
"type": "object",
"required": [ "required": [
"cell_type", "cell_type",
"rf_mode", "rf_mode",
"bandwidth",
"dl_nr_arfcn",
"pci", "pci",
"cell_id", "cell_id",
"ru" "ru"
], ],
"properties": { "properties": {
"cell_type": { "cell_type": {
"const": "nr",
"template": "nr",
"options": {
"hidden": true
}
},
"rf_mode": { "$ref": "#/$defs/rf_mode" },
"tdd_ul_dl_config": {
"title": "TDD Configuration",
"type": "string", "type": "string",
"enum": [ "options": { "hidden": true }
"5ms 2UL 7DL 4/6 (default)",
"2.5ms 1UL 3DL 2/10",
"5ms 8UL 3DL 2/10 (maximum uplink)"
],
"default": "5ms 2UL 7DL 4/6 (default)",
"options": {
"dependencies": {
"rf_mode": "tdd"
}
}
},
"bandwidth": {
"title": "Bandwidth",
"description": "Downlink Bandwidth (in MHz)",
"type": "number"
}, },
"dl_nr_arfcn": { "rf_mode": {
"title": "DL NR ARFCN", "title": "RF mode",
"description": "Downlink NR Absolute Radio Frequency Channel Number of the cell", "description": "Mode for TX/RX radio multiplexing: Frequency- or Time- Domain Division",
"type": "integer" "type": "string",
"enum": ["fdd", "tdd"],
"propertyOrder": 101
}, },
"nr_band": { "pci": {
"title": "NR band", "title": "Physical Cell ID",
"description": "NR band number", "description": "Physical Cell ID",
"type": "integer" "type": "integer"
}, },
"ssb_pos_bitmap": { "cell_id": {
"title": "SSB Position Bitmap", "title": "Cell ID",
"description": "SSB position bitmap in bits (4, 8 or 64 bits depending on the DL frequency).", "description": "Cell ID",
"type": "string", "type": "string",
"default": "10000000" "default": "0x01"
},
"pci": {
"$ref": "#/$defs/pci",
"default": 500
}, },
"cell_id": { "$ref": "#/$defs/cell_id" }, "ru": {
"title": "Radio Unit",
"ru": { "$ref": "#/$defs/ru" } "oneOf": [
} {
} "title": "Shared Radio Unit",
], "description": "Use radio unit defined in separate shared instance",
"type": "object",
"$defs": { "required": ["ru_type", "ru_ref"],
"rf_mode": { "properties": {
"title": "RF mode", "ru_type": {
"description": "Mode for TX/RX radio multiplexing: Frequency- or Time- Domain Division", "const": "ru_ref",
"type": "string", "template": "ru_ref",
"enum": ["fdd", "tdd"] "options": { "hidden": true }
}, },
"pci": { "ru_ref": {
"title": "Physical Cell ID", "title": "RU Reference",
"description": "Physical Cell ID", "description": "Reference of shared radio unit instance",
"type": "integer" "type": "string"
}, }
"cell_id": { }
"title": "Cell ID",
"description": "Cell ID",
"type": "string",
"default": "0x01"
},
"ru": {
"title": "Radio Unit",
"oneOf": [
{
"title": "Shared Radio Unit",
"description": "Use radio unit defined in separate shared instance",
"type": "object",
"required": ["ru_type", "ru_ref"],
"properties": {
"ru_type": {
"const": "ru_ref",
"template": "ru_ref",
"options": { "hidden": true }
}, },
"ru_ref": { {
"title": "RU Reference", "title": "Shared Radio Unit of a Cell",
"description": "Reference of shared radio unit instance", "description": "Use the same radio unit as referenced cell instance does",
"type": "string" "type": "object",
} "required": ["ru_type", "ruincell_ref"],
} "properties": {
}, "ru_type": {
{ "const": "ruincell_ref",
"title": "Shared Radio Unit of a Cell", "template": "ruincell_ref",
"description": "Use the same radio unit as referenced cell instance does", "options": { "hidden": true }
"type": "object", },
"required": ["ru_type", "ruincell_ref"], "ruincell_ref": {
"properties": { "title": "Cell Reference",
"ru_type": { "description": "Reference of cell instance whose radio unit to share",
"const": "ruincell_ref", "type": "string"
"template": "ruincell_ref", }
"options": { "hidden": true } }
}, },
"ruincell_ref": { { "$ref": "../ru/sdr/input-schema.json" },
"title": "Cell Reference", { "$ref": "../ru/lopcomm/input-schema.json" },
"description": "Reference of cell instance whose radio unit to share", { "$ref": "../ru/sunvawe/input-schema.json" }
"type": "string" ],
} "propertyOrder": 9999
} }
}, }
{ "$ref": "ru/sdr/input-schema.json" },
{ "$ref": "ru/lopcomm/input-schema.json" },
{ "$ref": "ru/sunvawe/input-schema.json" }
]
} }
} }
} }
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LTE Cell",
"type": "object",
"$ref": "../input-schema.json#/$defs/cell-common",
"required": [
"bandwidth",
"dl_earfcn",
"tac"
],
"properties": {
"cell_type": {
"const": "lte",
"template": "lte"
},
"tdd_ul_dl_config": {
"title": "TDD Configuration",
"type": "string",
"enum": [
"[Configuration 2] 5ms 2UL 6DL (default)",
"[Configuration 6] 5ms 5UL 3DL (maximum uplink)"
],
"default": "5ms 2UL 7DL 4/6 (default)",
"options": {
"dependencies": {
"rf_mode": "tdd"
}
}
},
"bandwidth": {
"title": "Bandwidth",
"description": "Downlink Bandwidth",
"type": "string",
"enum": [
"1.4 MHz",
"3 MHz",
"5 MHz",
"10 MHz",
"15 MHz",
"20 MHz"
]
},
"dl_earfcn": {
"title": "DL EARFCN",
"description": "Downlink E-UTRA Absolute Radio Frequency Channel Number of the cell",
"type": "integer"
},
"pci": {
"default": 1
},
"tac": {
"title": "Tracking Area Code",
"description": "Tracking Area Code in hexadecimal representation (range 0x0000 to 0xffff)",
"default": "0x0001",
"type": "string"
}
}
}
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "NR Cell",
"type": "object",
"$ref": "../input-schema.json#/$defs/cell-common",
"required": [
"bandwidth",
"dl_nr_arfcn"
],
"properties": {
"cell_type": {
"const": "nr",
"template": "nr"
},
"tdd_ul_dl_config": {
"title": "TDD Configuration",
"type": "string",
"enum": [
"5ms 2UL 7DL 4/6 (default)",
"2.5ms 1UL 3DL 2/10",
"5ms 8UL 3DL 2/10 (maximum uplink)"
],
"default": "5ms 2UL 7DL 4/6 (default)",
"options": {
"dependencies": {
"rf_mode": "tdd"
}
}
},
"bandwidth": {
"title": "Bandwidth",
"description": "Downlink Bandwidth (in MHz)",
"type": "number"
},
"dl_nr_arfcn": {
"title": "DL NR ARFCN",
"description": "Downlink NR Absolute Radio Frequency Channel Number of the cell",
"type": "integer"
},
"nr_band": {
"title": "NR band",
"description": "NR band number",
"type": "integer"
},
"ssb_pos_bitmap": {
"title": "SSB Position Bitmap",
"description": "SSB position bitmap in bits (4, 8 or 64 bits depending on the DL frequency).",
"type": "string",
"default": "10000000"
},
"pci": {
"default": 500
}
}
}
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