{
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "title": "Input Parameters",
  "properties": {
    "rrh": {
      "title": "RRH",
      "description": "RRH",
      "type": "string",
      "default": "SDR",
      "enum": [
        "SDR",
        "Lopcomm ORAN"
      ]
    },
    "tx_gain": {
      "title": "Tx gain",
      "description": "Tx gain (in dB)",
      "type": "number",
      "default": 60
    },
    "rx_gain": {
      "title": "Rx gain",
      "description": "Rx gain (in dB)",
      "type": "number",
      "default": 45
    },
    "dl_earfcn": {
      "title": "DL EARFCN",
      "description": "Downlink E-UTRA Absolute Radio Frequency Channel Number of the cell",
      "type": "number",
      "default": 42590
    },
    "n_rb_dl": {
      "title": "DL RB",
      "description": "number of DL resource blocks",
      "type": "number",
      "default": 100
    },
    "mme_list": {
      "title": "MME list",
      "description": "Optionnal. List of MME to which the gNodeB is connected",
      "patternProperties": {
        ".*": {
          "properties": {
            "mme_addr": {
              "title": "MME Address",
              "description": "IP address (and optional port) of S1AP SCTP connection to the MME. The default port is 36412.",
              "type": "string"
            }
          },
          "type": "object"
        }
      },
      "type": "object",
      "default": {}
    },
    "enb_id": {
      "title": "eNB ID",
      "description": "eNB ID",
      "type": "string",
      "default": "0x1A2D0"
    },
    "pci": {
      "title": "Physical Cell ID",
      "description": "Physical Cell ID",
      "type": "number",
      "default": 1
    },
    "plmn_list": {
      "title": "PLMN list",
      "description": "List of PLMNs broadcasted by the eNodeB, at most 6 (default: 00101)",
      "patternProperties": {
        ".*": {
          "properties": {
            "plmn": {
              "default": "00101",
              "title": "Public Land Mobile Network",
              "description": "Public Land Mobile Network",
              "type": "string"
            },
            "attach_without_pdn": {
              "default": false,
              "title": "Attach Without PDN",
              "description": "Optional boolean. Indicates if PLMN supports attach without PDN connectivity.",
              "type": "boolean"
            },
            "reserved": {
              "default": false,
              "title": "Reserved",
              "description": "True if the cell is reserved for operator use.",
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "type": "object",
      "default": {}
    },
    "inactivity_timer": {
      "title": "Inactivity Timer",
      "description": "Send RRC connection release after this time (in ms) of network inactivity.",
      "type": "number",
      "default": 10000
    },
    "use_ipv4": {
      "default": false,
      "title": "Use IPv4",
      "description": "Set to true to use IPv4 for AMF / MME addresses",
      "type": "boolean"
    },
    "enb_stats_fetch_period": {
      "title": "eNB statistics fetch period (seconds)",
      "description": "Describes how often a call to Amarisoft remote API is made to get eNB statistics",
      "type": "number",
      "default": 60
    },
    "max_rx_sample_db": {
      "title": "Maximum RX sample value (dB)",
      "description": "Maximum RX sample threshold above which RX saturated promise will fail",
      "type": "number",
      "default": 0
    },
    "min_txrx_delay": {
      "title": "Minimum available time for radio front end processing (ms)",
      "description": "Baseband latency promise will fail if minimum TX/RX diff reaches threshold (higher than this value)",
      "type": "number",
      "default": 5
    },
    "avg_txrx_delay": {
      "title": "Average available time for radio front end processing (ms)",
      "description": "Baseband latency promise will fail if average TX/RX diff reaches threshold (higher than this value)",
      "type": "number",
      "default": 7
    },
    "promise_cpu_max_spot_temp": {
      "title": "Maximum CPU spot temperature",
      "description": "Maximum CPU spot temperature above which CPU temperature promise will fail",
      "type": "number",
      "default": 90
    },
    "promise_cpu_max_avg_temp": {
      "title": "Maximum average CPU temperature",
      "description": "If average temperature over specified period reaches this threshold, promise will fail",
      "type": "number",
      "default": 80
    },
    "promise_cpu_avg_temp_period": {
      "title": "Period of Average CPU temperature checks",
      "description": "Duration during which average temperature should not exceed specified threshold",
      "type": "number",
      "default": 600
    },
    "n_antenna_dl": {
      "title": "Number of DL antennas",
      "description": "Enumeration: 1, 2, 4 or 8. Number of DL antennas. It must be the same for all NB-IoT and LTE cells sharing the same RF port.",
      "type": "number",
      "default": 2
    },
    "n_antenna_ul": {
      "title": "Number of UL antennas",
      "description": "Enumeration: 1, 2, 4 or 8. Number of UL antennas. It must be the same for all NB-IoT and LTE cells sharing the same RF port.",
      "type": "number",
      "default": 2
    },
    "txa0cc00_active": {
      "title": "Lopcomm ORAN TX array carriers (TXA0CC00)",
      "description": "Activate or inactivate Lopcomm ORAN TX array carriers (TXA0CC00)",
      "type": "string",
      "default": "ACTIVE",
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ]
    },
    "rxa0cc00_active": {
      "title": "Lopcomm ORAN RX array carriers (RXA0CC00)",
      "description": "Activate or inactivate Lopcomm ORAN RX array carriers (RXA0CC00)",
      "type": "string",
      "default": "ACTIVE",
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ]
    }
  }
}