Commit 940bb476 authored by Rafael Monnerat's avatar Rafael Monnerat

wip

parent b56eb0cb
{ {
"$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": [
"rf_mode", "rf_mode",
"pci", "pci",
...@@ -11,13 +9,15 @@ ...@@ -11,13 +9,15 @@
"bandwidth", "bandwidth",
"ru" "ru"
], ],
"properties": { "properties": {
"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": {
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
"propertyOrder": 9999 "propertyOrder": 9999
} }
}, },
"$defs": { "$defs": {
"ru-of-cell": { "ru-of-cell": {
"title": "Radio Unit", "title": "Radio Unit",
...@@ -59,39 +58,49 @@ ...@@ -59,39 +58,49 @@
"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"],
"properties": { "properties": {
"ru_type": { "ru_ref": {
"const": "ru_ref", "title": "Shared Radio Unit",
"template": "ru_ref", "description": "Use radio unit defined in separate shared instance",
"options": { "hidden": true } "type": "object",
}, "required": [
"ru_ref"
],
"properties": {
"ru_ref": { "ru_ref": {
"title": "RU Reference", "title": "RU Reference",
"description": "Reference of shared radio unit instance", "description": "Reference of shared radio unit instance",
"type": "string" "type": "string"
} }
} }
}
}
}, },
{ {
"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"],
"properties": { "properties": {
"ru_type": { "ruincell_ref": {
"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": [
"ruincell_ref"
],
"properties": {
"ruincell_ref": { "ruincell_ref": {
"title": "Cell Reference", "title": "Cell Reference",
"description": "Reference of cell instance whose radio unit to share", "description": "Reference of cell instance whose radio unit to share",
"type": "string" "type": "string"
} }
} }
}
}
}, },
{ "$ref": "../ru/input-schema.json" } {
"$ref": "../ru/input-schema.json"
}
] ]
} }
} }
......
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