2019-12-19 16:19:41 +01:00
|
|
|
{
|
|
|
|
|
|
|
|
"type": "object",
|
2022-01-06 19:37:24 +01:00
|
|
|
"additionalProperties": false,
|
2019-12-19 16:19:41 +01:00
|
|
|
"definitions": {
|
|
|
|
|
|
|
|
"console-port": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-30 19:41:40 +01:00
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"de-9",
|
|
|
|
"db-25",
|
2020-02-19 19:57:26 +01:00
|
|
|
"rj-11",
|
2020-01-03 19:35:51 +01:00
|
|
|
"rj-12",
|
2019-12-19 16:19:41 +01:00
|
|
|
"rj-45",
|
2021-11-12 02:20:50 +01:00
|
|
|
"mini-din-8",
|
2019-12-19 16:19:41 +01:00
|
|
|
"usb-a",
|
|
|
|
"usb-b",
|
|
|
|
"usb-c",
|
|
|
|
"usb-mini-a",
|
|
|
|
"usb-mini-b",
|
|
|
|
"usb-micro-a",
|
|
|
|
"usb-micro-b",
|
2022-01-28 02:20:23 +01:00
|
|
|
"usb-micro-ab",
|
2019-12-19 16:19:41 +01:00
|
|
|
"other"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "type"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"console-server-port": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-30 19:41:40 +01:00
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"de-9",
|
|
|
|
"db-25",
|
2020-01-03 19:35:51 +01:00
|
|
|
"rj-12",
|
2019-12-19 16:19:41 +01:00
|
|
|
"rj-45",
|
2021-11-12 02:20:50 +01:00
|
|
|
"mini-din-8",
|
2019-12-19 16:19:41 +01:00
|
|
|
"usb-a",
|
|
|
|
"usb-b",
|
|
|
|
"usb-c",
|
|
|
|
"usb-mini-a",
|
|
|
|
"usb-mini-b",
|
|
|
|
"usb-micro-a",
|
|
|
|
"usb-micro-b",
|
2022-01-28 02:20:23 +01:00
|
|
|
"usb-micro-ab",
|
2019-12-19 16:19:41 +01:00
|
|
|
"other"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "type"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"power-port": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-30 19:41:40 +01:00
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"iec-60320-c6",
|
|
|
|
"iec-60320-c8",
|
|
|
|
"iec-60320-c14",
|
|
|
|
"iec-60320-c16",
|
|
|
|
"iec-60320-c20",
|
2021-08-25 23:18:51 +02:00
|
|
|
"iec-60320-c22",
|
2019-12-19 16:19:41 +01:00
|
|
|
"iec-60309-p-n-e-4h",
|
|
|
|
"iec-60309-p-n-e-6h",
|
|
|
|
"iec-60309-p-n-e-9h",
|
|
|
|
"iec-60309-2p-e-4h",
|
|
|
|
"iec-60309-2p-e-6h",
|
|
|
|
"iec-60309-2p-e-9h",
|
|
|
|
"iec-60309-3p-e-4h",
|
|
|
|
"iec-60309-3p-e-6h",
|
|
|
|
"iec-60309-3p-e-9h",
|
|
|
|
"iec-60309-3p-n-e-4h",
|
|
|
|
"iec-60309-3p-n-e-6h",
|
|
|
|
"iec-60309-3p-n-e-9h",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-1-15p",
|
2019-12-19 16:19:41 +01:00
|
|
|
"nema-5-15p",
|
|
|
|
"nema-5-20p",
|
|
|
|
"nema-5-30p",
|
|
|
|
"nema-5-50p",
|
|
|
|
"nema-6-15p",
|
|
|
|
"nema-6-20p",
|
|
|
|
"nema-6-30p",
|
|
|
|
"nema-6-50p",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-10-30p",
|
|
|
|
"nema-10-50p",
|
|
|
|
"nema-14-20p",
|
|
|
|
"nema-14-30p",
|
|
|
|
"nema-14-50p",
|
|
|
|
"nema-14-60p",
|
2020-12-31 15:34:29 +01:00
|
|
|
"nema-15-15p",
|
|
|
|
"nema-15-20p",
|
|
|
|
"nema-15-30p",
|
|
|
|
"nema-15-50p",
|
|
|
|
"nema-15-60p",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l1-15p",
|
2019-12-19 16:19:41 +01:00
|
|
|
"nema-l5-15p",
|
|
|
|
"nema-l5-20p",
|
|
|
|
"nema-l5-30p",
|
|
|
|
"nema-l5-50p",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l6-15p",
|
2019-12-19 16:19:41 +01:00
|
|
|
"nema-l6-20p",
|
|
|
|
"nema-l6-30p",
|
|
|
|
"nema-l6-50p",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l10-30p",
|
2020-05-20 17:39:06 +02:00
|
|
|
"nema-l14-20p",
|
|
|
|
"nema-l14-30p",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l14-50p",
|
|
|
|
"nema-l14-60p",
|
2020-12-31 15:34:29 +01:00
|
|
|
"nema-l15-20p",
|
|
|
|
"nema-l15-30p",
|
|
|
|
"nema-l15-50p",
|
|
|
|
"nema-l15-60p",
|
2020-05-20 17:39:06 +02:00
|
|
|
"nema-l21-20p",
|
|
|
|
"nema-l21-30p",
|
2022-01-28 02:20:23 +01:00
|
|
|
"nema-l22-30p",
|
2020-12-31 15:34:29 +01:00
|
|
|
"cs6361c",
|
|
|
|
"cs6365c",
|
|
|
|
"cs8165c",
|
|
|
|
"cs8265c",
|
|
|
|
"cs8365c",
|
|
|
|
"cs8465c",
|
2022-01-28 02:20:23 +01:00
|
|
|
"ita-c",
|
2019-12-19 16:19:41 +01:00
|
|
|
"ita-e",
|
|
|
|
"ita-f",
|
|
|
|
"ita-ef",
|
|
|
|
"ita-g",
|
|
|
|
"ita-h",
|
|
|
|
"ita-i",
|
|
|
|
"ita-j",
|
|
|
|
"ita-k",
|
|
|
|
"ita-l",
|
|
|
|
"ita-m",
|
|
|
|
"ita-n",
|
2020-01-03 20:43:57 +01:00
|
|
|
"ita-o",
|
2020-12-31 15:34:29 +01:00
|
|
|
"usb-a",
|
|
|
|
"usb-b",
|
|
|
|
"usb-c",
|
|
|
|
"usb-mini-a",
|
|
|
|
"usb-mini-b",
|
|
|
|
"usb-micro-a",
|
|
|
|
"usb-micro-b",
|
2022-01-28 02:20:23 +01:00
|
|
|
"usb-micro-ab",
|
2020-12-31 15:34:29 +01:00
|
|
|
"usb-3-b",
|
2021-05-11 22:10:54 +02:00
|
|
|
"usb-3-micro-b",
|
2022-01-28 02:20:23 +01:00
|
|
|
"dc-terminal",
|
|
|
|
"saf-d-grid",
|
2023-01-07 08:29:13 +01:00
|
|
|
"ubiquiti-smartpower",
|
2023-02-13 14:56:20 +01:00
|
|
|
"hardwired",
|
|
|
|
"other"
|
2019-12-19 16:19:41 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"maximum_draw": {
|
|
|
|
"type": "integer"
|
|
|
|
},
|
|
|
|
"allocated_draw": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "type"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"power-outlet": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-30 19:41:40 +01:00
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"iec-60320-c5",
|
|
|
|
"iec-60320-c7",
|
|
|
|
"iec-60320-c13",
|
|
|
|
"iec-60320-c15",
|
|
|
|
"iec-60320-c19",
|
2021-08-25 23:18:51 +02:00
|
|
|
"iec-60320-c21",
|
2019-12-19 16:19:41 +01:00
|
|
|
"iec-60309-p-n-e-4h",
|
|
|
|
"iec-60309-p-n-e-6h",
|
|
|
|
"iec-60309-p-n-e-9h",
|
|
|
|
"iec-60309-2p-e-4h",
|
|
|
|
"iec-60309-2p-e-6h",
|
|
|
|
"iec-60309-2p-e-9h",
|
|
|
|
"iec-60309-3p-e-4h",
|
|
|
|
"iec-60309-3p-e-6h",
|
|
|
|
"iec-60309-3p-e-9h",
|
|
|
|
"iec-60309-3p-n-e-4h",
|
|
|
|
"iec-60309-3p-n-e-6h",
|
|
|
|
"iec-60309-3p-n-e-9h",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-1-15r",
|
2019-12-19 16:19:41 +01:00
|
|
|
"nema-5-15r",
|
|
|
|
"nema-5-20r",
|
|
|
|
"nema-5-30r",
|
|
|
|
"nema-5-50r",
|
|
|
|
"nema-6-15r",
|
|
|
|
"nema-6-20r",
|
|
|
|
"nema-6-30r",
|
|
|
|
"nema-6-50r",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-10-30r",
|
|
|
|
"nema-10-50r",
|
|
|
|
"nema-14-20r",
|
|
|
|
"nema-14-30r",
|
|
|
|
"nema-14-50r",
|
|
|
|
"nema-14-60r",
|
2020-12-31 15:34:29 +01:00
|
|
|
"nema-15-15r",
|
|
|
|
"nema-15-20r",
|
|
|
|
"nema-15-30r",
|
|
|
|
"nema-15-50r",
|
|
|
|
"nema-15-60r",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l1-15r",
|
2019-12-19 16:19:41 +01:00
|
|
|
"nema-l5-15r",
|
|
|
|
"nema-l5-20r",
|
|
|
|
"nema-l5-30r",
|
|
|
|
"nema-l5-50r",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l6-15r",
|
2019-12-19 16:19:41 +01:00
|
|
|
"nema-l6-20r",
|
|
|
|
"nema-l6-30r",
|
|
|
|
"nema-l6-50r",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l10-30r",
|
2020-05-20 17:39:06 +02:00
|
|
|
"nema-l14-20r",
|
|
|
|
"nema-l14-30r",
|
2020-07-05 19:30:25 +02:00
|
|
|
"nema-l14-50r",
|
|
|
|
"nema-l14-60r",
|
2020-12-31 15:34:29 +01:00
|
|
|
"nema-l15-20r",
|
|
|
|
"nema-l15-30r",
|
|
|
|
"nema-l15-50r",
|
|
|
|
"nema-l15-60r",
|
2020-05-20 17:39:06 +02:00
|
|
|
"nema-l21-20r",
|
|
|
|
"nema-l21-30r",
|
2022-01-28 02:20:23 +01:00
|
|
|
"nema-l22-30r",
|
2020-12-31 15:34:29 +01:00
|
|
|
"CS6360C",
|
|
|
|
"CS6364C",
|
|
|
|
"CS8164C",
|
|
|
|
"CS8264C",
|
|
|
|
"CS8364C",
|
|
|
|
"CS8464C",
|
2019-12-19 16:19:41 +01:00
|
|
|
"ita-e",
|
|
|
|
"ita-f",
|
|
|
|
"ita-g",
|
|
|
|
"ita-h",
|
|
|
|
"ita-i",
|
|
|
|
"ita-j",
|
|
|
|
"ita-k",
|
|
|
|
"ita-l",
|
|
|
|
"ita-m",
|
|
|
|
"ita-n",
|
2020-01-03 20:43:57 +01:00
|
|
|
"ita-o",
|
2022-01-28 02:20:23 +01:00
|
|
|
"ita-multistandard",
|
2020-12-31 15:34:29 +01:00
|
|
|
"usb-a",
|
|
|
|
"usb-micro-b",
|
|
|
|
"usb-c",
|
2022-01-28 02:20:23 +01:00
|
|
|
"dc-terminal",
|
|
|
|
"hdot-cx",
|
|
|
|
"saf-d-grid",
|
2023-01-07 08:29:13 +01:00
|
|
|
"ubiquiti-smartpower",
|
2023-02-13 14:56:20 +01:00
|
|
|
"hardwired",
|
|
|
|
"other"
|
2019-12-19 16:19:41 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"power_port": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"feed_leg": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": ["A", "B", "C"]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "type"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"interface": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-30 19:41:40 +01:00
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"virtual",
|
2022-01-24 14:52:41 +01:00
|
|
|
"bridge",
|
2022-01-28 02:20:23 +01:00
|
|
|
"lag",
|
2023-01-20 21:36:28 +01:00
|
|
|
"100base-fx",
|
|
|
|
"100base-lfx",
|
2019-12-19 16:19:41 +01:00
|
|
|
"100base-tx",
|
2023-01-20 21:36:28 +01:00
|
|
|
"100base-t1",
|
2019-12-19 16:19:41 +01:00
|
|
|
"1000base-t",
|
2022-01-28 02:20:23 +01:00
|
|
|
"1000base-x-gbic",
|
|
|
|
"1000base-x-sfp",
|
2019-12-19 16:19:41 +01:00
|
|
|
"2.5gbase-t",
|
|
|
|
"5gbase-t",
|
|
|
|
"10gbase-t",
|
|
|
|
"10gbase-cx4",
|
|
|
|
"10gbase-x-sfpp",
|
|
|
|
"10gbase-x-xfp",
|
|
|
|
"10gbase-x-xenpak",
|
|
|
|
"10gbase-x-x2",
|
|
|
|
"25gbase-x-sfp28",
|
|
|
|
"40gbase-x-qsfpp",
|
|
|
|
"50gbase-x-sfp28",
|
|
|
|
"100gbase-x-cfp",
|
|
|
|
"100gbase-x-cfp2",
|
|
|
|
"100gbase-x-cfp4",
|
|
|
|
"100gbase-x-cpak",
|
|
|
|
"100gbase-x-qsfp28",
|
2022-01-28 02:20:23 +01:00
|
|
|
"200gbase-x-cfp2",
|
2019-12-19 16:19:41 +01:00
|
|
|
"200gbase-x-qsfp56",
|
2023-06-26 17:22:18 +02:00
|
|
|
"200gbase-x-qsfpdd",
|
2019-12-19 16:19:41 +01:00
|
|
|
"400gbase-x-qsfpdd",
|
|
|
|
"400gbase-x-osfp",
|
|
|
|
"ieee802.11a",
|
|
|
|
"ieee802.11g",
|
|
|
|
"ieee802.11n",
|
|
|
|
"ieee802.11ac",
|
|
|
|
"ieee802.11ad",
|
2020-12-31 15:34:29 +01:00
|
|
|
"ieee802.11ax",
|
2021-11-13 19:29:18 +01:00
|
|
|
"ieee802.15.1",
|
2019-12-19 16:19:41 +01:00
|
|
|
"gsm",
|
|
|
|
"cdma",
|
|
|
|
"lte",
|
|
|
|
"sonet-oc3",
|
|
|
|
"sonet-oc12",
|
|
|
|
"sonet-oc48",
|
|
|
|
"sonet-oc192",
|
|
|
|
"sonet-oc768",
|
|
|
|
"sonet-oc1920",
|
|
|
|
"sonet-oc3840",
|
|
|
|
"1gfc-sfp",
|
|
|
|
"2gfc-sfp",
|
|
|
|
"4gfc-sfp",
|
|
|
|
"8gfc-sfpp",
|
|
|
|
"16gfc-sfpp",
|
|
|
|
"32gfc-sfp28",
|
2022-01-28 02:20:23 +01:00
|
|
|
"64gfc-qsfpp",
|
2021-12-17 17:31:56 +01:00
|
|
|
"128gfc-qsfp28",
|
2020-12-31 15:34:29 +01:00
|
|
|
"infiniband-sdr",
|
|
|
|
"infiniband-ddr",
|
|
|
|
"infiniband-qdr",
|
|
|
|
"infiniband-fdr10",
|
|
|
|
"infiniband-fdr",
|
|
|
|
"infiniband-edr",
|
|
|
|
"infiniband-hdr",
|
|
|
|
"infiniband-ndr",
|
|
|
|
"infiniband-xdr",
|
2019-12-19 16:19:41 +01:00
|
|
|
"t1",
|
|
|
|
"e1",
|
|
|
|
"t3",
|
|
|
|
"e3",
|
2022-01-28 02:20:23 +01:00
|
|
|
"xdsl",
|
2022-09-02 23:18:54 +02:00
|
|
|
"docsis",
|
2019-12-19 16:19:41 +01:00
|
|
|
"cisco-stackwise",
|
|
|
|
"cisco-stackwise-plus",
|
|
|
|
"cisco-flexstack",
|
|
|
|
"cisco-flexstack-plus",
|
2022-01-28 02:20:23 +01:00
|
|
|
"cisco-stackwise-80",
|
|
|
|
"cisco-stackwise-160",
|
|
|
|
"cisco-stackwise-320",
|
|
|
|
"cisco-stackwise-480",
|
2019-12-19 16:19:41 +01:00
|
|
|
"juniper-vcp",
|
|
|
|
"extreme-summitstack",
|
|
|
|
"extreme-summitstack-128",
|
|
|
|
"extreme-summitstack-256",
|
2020-12-31 15:34:29 +01:00
|
|
|
"extreme-summitstack-512",
|
2022-09-02 22:16:23 +02:00
|
|
|
"gpon",
|
|
|
|
"xg-pon",
|
|
|
|
"xgs-pon",
|
|
|
|
"ng-pon2",
|
|
|
|
"epon",
|
|
|
|
"10g-epon",
|
2020-12-31 15:34:29 +01:00
|
|
|
"other"
|
2019-12-19 16:19:41 +01:00
|
|
|
]
|
|
|
|
},
|
2022-09-16 04:05:58 +02:00
|
|
|
"poe_mode": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"pd",
|
|
|
|
"pse"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"poe_type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"type1-ieee802.3af",
|
|
|
|
"type2-ieee802.3at",
|
|
|
|
"type3-ieee802.3bt",
|
|
|
|
"type4-ieee802.3bt",
|
|
|
|
"passive-24v-2pair",
|
|
|
|
"passive-24v-4pair",
|
|
|
|
"passive-48v-2pair",
|
|
|
|
"passive-48v-4pair"
|
|
|
|
]
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"mgmt_only": {
|
|
|
|
"type": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "type"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"front-port": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-30 19:41:40 +01:00
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"8p8c",
|
2020-12-31 15:34:29 +01:00
|
|
|
"8p6c",
|
|
|
|
"8p4c",
|
|
|
|
"8p2c",
|
2022-01-28 02:20:23 +01:00
|
|
|
"6p6c",
|
|
|
|
"6p4c",
|
|
|
|
"6p2c",
|
|
|
|
"4p4c",
|
|
|
|
"4p2c",
|
|
|
|
"gg45",
|
|
|
|
"tera-4p",
|
|
|
|
"tera-2p",
|
|
|
|
"tera-1p",
|
2019-12-19 16:19:41 +01:00
|
|
|
"110-punch",
|
|
|
|
"bnc",
|
2022-01-28 02:20:23 +01:00
|
|
|
"f",
|
|
|
|
"n",
|
2020-03-03 16:24:34 +01:00
|
|
|
"mrj21",
|
2020-12-31 15:34:29 +01:00
|
|
|
"st",
|
|
|
|
"sc",
|
|
|
|
"sc-apc",
|
2019-12-19 16:19:41 +01:00
|
|
|
"fc",
|
|
|
|
"lc",
|
|
|
|
"lc-apc",
|
2020-12-31 15:34:29 +01:00
|
|
|
"mtrj",
|
|
|
|
"mpo",
|
2019-12-19 16:19:41 +01:00
|
|
|
"lsh",
|
|
|
|
"lsh-apc",
|
2020-12-31 15:34:29 +01:00
|
|
|
"splice",
|
|
|
|
"cs",
|
2022-01-28 02:20:23 +01:00
|
|
|
"sn",
|
|
|
|
"sma-905",
|
|
|
|
"sma-906",
|
|
|
|
"urm-p2",
|
|
|
|
"urm-p4",
|
2023-02-13 14:56:20 +01:00
|
|
|
"urm-p8",
|
|
|
|
"other"
|
2019-12-19 16:19:41 +01:00
|
|
|
]
|
|
|
|
},
|
2022-08-18 15:39:50 +02:00
|
|
|
"color": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^[a-f0-9]{6}$"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"rear_port": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"rear_port_position": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "type", "rear_port"]
|
|
|
|
},
|
|
|
|
|
|
|
|
"rear-port": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2021-12-30 19:41:40 +01:00
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"8p8c",
|
2020-12-31 15:34:29 +01:00
|
|
|
"8p6c",
|
|
|
|
"8p4c",
|
|
|
|
"8p2c",
|
2022-01-28 02:20:23 +01:00
|
|
|
"6p6c",
|
|
|
|
"6p4c",
|
|
|
|
"6p2c",
|
|
|
|
"4p4c",
|
|
|
|
"4p2c",
|
|
|
|
"gg45",
|
|
|
|
"tera-4p",
|
|
|
|
"tera-2p",
|
|
|
|
"tera-1p",
|
2019-12-19 16:19:41 +01:00
|
|
|
"110-punch",
|
|
|
|
"bnc",
|
2022-01-28 02:20:23 +01:00
|
|
|
"f",
|
|
|
|
"n",
|
2020-03-03 16:24:34 +01:00
|
|
|
"mrj21",
|
2020-12-31 15:34:29 +01:00
|
|
|
"st",
|
|
|
|
"sc",
|
|
|
|
"sc-apc",
|
2019-12-19 16:19:41 +01:00
|
|
|
"fc",
|
|
|
|
"lc",
|
|
|
|
"lc-apc",
|
2020-12-31 15:34:29 +01:00
|
|
|
"mtrj",
|
|
|
|
"mpo",
|
2019-12-19 16:19:41 +01:00
|
|
|
"lsh",
|
|
|
|
"lsh-apc",
|
2020-12-31 15:34:29 +01:00
|
|
|
"splice",
|
|
|
|
"cs",
|
2022-01-28 02:20:23 +01:00
|
|
|
"sn",
|
|
|
|
"sma-905",
|
|
|
|
"sma-906",
|
|
|
|
"urm-p2",
|
|
|
|
"urm-p4",
|
|
|
|
"urm-p8"
|
2019-12-19 16:19:41 +01:00
|
|
|
]
|
|
|
|
},
|
2022-08-18 15:39:50 +02:00
|
|
|
"color": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^[a-f0-9]{6}$"
|
|
|
|
},
|
2019-12-19 16:19:41 +01:00
|
|
|
"positions": {
|
|
|
|
"type": "integer"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name", "type"]
|
|
|
|
},
|
|
|
|
|
2021-12-30 19:51:30 +01:00
|
|
|
"module-bay": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"position": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name"]
|
|
|
|
},
|
|
|
|
|
2019-12-19 16:19:41 +01:00
|
|
|
"device-bay": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
2021-12-30 19:41:40 +01:00
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
2019-12-19 16:19:41 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name"]
|
2021-12-30 19:51:30 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
"inventory-item": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"label": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"manufacturer": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"part_id": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": ["name"]
|
2019-12-19 16:19:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|