{
  "$schema": "https://json-schema.org/draft/2020-12/schema",

  "title": "NR Peer Cell",
  "type": "object",

  "required": [
    "cell_type",
    "cell_kind",
    "pci",
    "tac",

    "nr_cell_id",
    "gnb_id_bits",
    "dl_nr_arfcn",
    "nr_band"
  ],

  "properties": {
    "cell_type": {
      "$ref": "../../../peer/cell/common.json#/properties/cell_type",
      "const":    "nr",
      "template": "nr"
    },

    "nr_cell_id": {
      "title": "NR Cell ID",
      "description": "Concatenation of gnb_id and cell_id of the neighbour cell",
      "type": "string"
    },
    "gnb_id_bits": {
      "title": "gNB ID bits",
      "description": "Number of bits for the gNodeB global identifier. (range 22 to 32)",
      "type": "integer"
    },
    "dl_nr_arfcn":  { "$ref": "../../../cell/nr/input-schema.json#/properties/dl_nr_arfcn" },
    "nr_band":      { "$ref": "../../../cell/nr/input-schema.json#/properties/nr_band" },
    "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" }
  }
}
