2
0

generated_schema.json 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  1. {
  2. "type": "object",
  3. "$id": "urn:devicetype-library:generated-schema",
  4. "$schema": "https://json-schema.org/draft/2020-12/schema",
  5. "additionalProperties": false,
  6. "definitions": {
  7. "airflow": {
  8. "type": "string",
  9. "enum": [
  10. "front-to-rear",
  11. "rear-to-front",
  12. "left-to-right",
  13. "right-to-left",
  14. "side-to-rear",
  15. "rear-to-side",
  16. "bottom-to-top",
  17. "top-to-bottom",
  18. "passive",
  19. "mixed"
  20. ]
  21. },
  22. "weight-unit": {
  23. "type": "string",
  24. "enum": [
  25. "kg",
  26. "g",
  27. "lb",
  28. "oz"
  29. ]
  30. },
  31. "subdevice-role": {
  32. "type": "string",
  33. "enum": [
  34. "parent",
  35. "child"
  36. ]
  37. },
  38. "console-port": {
  39. "type": "object",
  40. "properties": {
  41. "type": {
  42. "type": "string",
  43. "enum": [
  44. "de-9",
  45. "db-25",
  46. "rj-11",
  47. "rj-12",
  48. "rj-45",
  49. "mini-din-8",
  50. "usb-a",
  51. "usb-b",
  52. "usb-c",
  53. "usb-mini-a",
  54. "usb-mini-b",
  55. "usb-micro-a",
  56. "usb-micro-b",
  57. "usb-micro-ab",
  58. "other"
  59. ]
  60. }
  61. }
  62. },
  63. "console-server-port": {
  64. "type": "object",
  65. "properties": {
  66. "type": {
  67. "type": "string",
  68. "enum": [
  69. "de-9",
  70. "db-25",
  71. "rj-11",
  72. "rj-12",
  73. "rj-45",
  74. "mini-din-8",
  75. "usb-a",
  76. "usb-b",
  77. "usb-c",
  78. "usb-mini-a",
  79. "usb-mini-b",
  80. "usb-micro-a",
  81. "usb-micro-b",
  82. "usb-micro-ab",
  83. "other"
  84. ]
  85. }
  86. }
  87. },
  88. "power-port": {
  89. "type": "object",
  90. "properties": {
  91. "type": {
  92. "type": "string",
  93. "enum": [
  94. "iec-60320-c6",
  95. "iec-60320-c8",
  96. "iec-60320-c14",
  97. "iec-60320-c16",
  98. "iec-60320-c18",
  99. "iec-60320-c20",
  100. "iec-60320-c22",
  101. "iec-60309-p-n-e-4h",
  102. "iec-60309-p-n-e-6h",
  103. "iec-60309-p-n-e-9h",
  104. "iec-60309-2p-e-4h",
  105. "iec-60309-2p-e-6h",
  106. "iec-60309-2p-e-9h",
  107. "iec-60309-3p-e-4h",
  108. "iec-60309-3p-e-6h",
  109. "iec-60309-3p-e-9h",
  110. "iec-60309-3p-n-e-4h",
  111. "iec-60309-3p-n-e-6h",
  112. "iec-60309-3p-n-e-9h",
  113. "iec-60906-1",
  114. "nbr-14136-10a",
  115. "nbr-14136-20a",
  116. "nema-1-15p",
  117. "nema-5-15p",
  118. "nema-5-20p",
  119. "nema-5-30p",
  120. "nema-5-50p",
  121. "nema-6-15p",
  122. "nema-6-20p",
  123. "nema-6-30p",
  124. "nema-6-50p",
  125. "nema-10-30p",
  126. "nema-10-50p",
  127. "nema-14-20p",
  128. "nema-14-30p",
  129. "nema-14-50p",
  130. "nema-14-60p",
  131. "nema-15-15p",
  132. "nema-15-20p",
  133. "nema-15-30p",
  134. "nema-15-50p",
  135. "nema-15-60p",
  136. "nema-l1-15p",
  137. "nema-l5-15p",
  138. "nema-l5-20p",
  139. "nema-l5-30p",
  140. "nema-l5-50p",
  141. "nema-l6-15p",
  142. "nema-l6-20p",
  143. "nema-l6-30p",
  144. "nema-l6-50p",
  145. "nema-l10-30p",
  146. "nema-l14-20p",
  147. "nema-l14-30p",
  148. "nema-l14-50p",
  149. "nema-l14-60p",
  150. "nema-l15-20p",
  151. "nema-l15-30p",
  152. "nema-l15-50p",
  153. "nema-l15-60p",
  154. "nema-l21-20p",
  155. "nema-l21-30p",
  156. "nema-l22-20p",
  157. "nema-l22-30p",
  158. "cs6361c",
  159. "cs6365c",
  160. "cs8165c",
  161. "cs8265c",
  162. "cs8365c",
  163. "cs8465c",
  164. "ita-c",
  165. "ita-e",
  166. "ita-f",
  167. "ita-ef",
  168. "ita-g",
  169. "ita-h",
  170. "ita-i",
  171. "ita-j",
  172. "ita-k",
  173. "ita-l",
  174. "ita-m",
  175. "ita-n",
  176. "ita-o",
  177. "usb-a",
  178. "usb-b",
  179. "usb-c",
  180. "usb-mini-a",
  181. "usb-mini-b",
  182. "usb-micro-a",
  183. "usb-micro-b",
  184. "usb-micro-ab",
  185. "usb-3-b",
  186. "usb-3-micro-b",
  187. "molex-micro-fit-1x2",
  188. "molex-micro-fit-2x2",
  189. "molex-micro-fit-2x4",
  190. "dc-terminal",
  191. "saf-d-grid",
  192. "neutrik-powercon-20",
  193. "neutrik-powercon-32",
  194. "neutrik-powercon-true1",
  195. "neutrik-powercon-true1-top",
  196. "ubiquiti-smartpower",
  197. "hardwired",
  198. "other"
  199. ]
  200. }
  201. }
  202. },
  203. "power-outlet": {
  204. "type": "object",
  205. "properties": {
  206. "type": {
  207. "type": "string",
  208. "enum": [
  209. "iec-60320-c5",
  210. "iec-60320-c7",
  211. "iec-60320-c13",
  212. "iec-60320-c15",
  213. "iec-60320-c17",
  214. "iec-60320-c19",
  215. "iec-60320-c21",
  216. "iec-60309-p-n-e-4h",
  217. "iec-60309-p-n-e-6h",
  218. "iec-60309-p-n-e-9h",
  219. "iec-60309-2p-e-4h",
  220. "iec-60309-2p-e-6h",
  221. "iec-60309-2p-e-9h",
  222. "iec-60309-3p-e-4h",
  223. "iec-60309-3p-e-6h",
  224. "iec-60309-3p-e-9h",
  225. "iec-60309-3p-n-e-4h",
  226. "iec-60309-3p-n-e-6h",
  227. "iec-60309-3p-n-e-9h",
  228. "iec-60906-1",
  229. "nbr-14136-10a",
  230. "nbr-14136-20a",
  231. "nema-1-15r",
  232. "nema-5-15r",
  233. "nema-5-20r",
  234. "nema-5-30r",
  235. "nema-5-50r",
  236. "nema-6-15r",
  237. "nema-6-20r",
  238. "nema-6-30r",
  239. "nema-6-50r",
  240. "nema-10-30r",
  241. "nema-10-50r",
  242. "nema-14-20r",
  243. "nema-14-30r",
  244. "nema-14-50r",
  245. "nema-14-60r",
  246. "nema-15-15r",
  247. "nema-15-20r",
  248. "nema-15-30r",
  249. "nema-15-50r",
  250. "nema-15-60r",
  251. "nema-l1-15r",
  252. "nema-l5-15r",
  253. "nema-l5-20r",
  254. "nema-l5-30r",
  255. "nema-l5-50r",
  256. "nema-l6-15r",
  257. "nema-l6-20r",
  258. "nema-l6-30r",
  259. "nema-l6-50r",
  260. "nema-l10-30r",
  261. "nema-l14-20r",
  262. "nema-l14-30r",
  263. "nema-l14-50r",
  264. "nema-l14-60r",
  265. "nema-l15-20r",
  266. "nema-l15-30r",
  267. "nema-l15-50r",
  268. "nema-l15-60r",
  269. "nema-l21-20r",
  270. "nema-l21-30r",
  271. "nema-l22-20r",
  272. "nema-l22-30r",
  273. "CS6360C",
  274. "CS6364C",
  275. "CS8164C",
  276. "CS8264C",
  277. "CS8364C",
  278. "CS8464C",
  279. "ita-e",
  280. "ita-f",
  281. "ita-g",
  282. "ita-h",
  283. "ita-i",
  284. "ita-j",
  285. "ita-k",
  286. "ita-l",
  287. "ita-m",
  288. "ita-n",
  289. "ita-o",
  290. "ita-multistandard",
  291. "usb-a",
  292. "usb-micro-b",
  293. "usb-c",
  294. "molex-micro-fit-1x2",
  295. "molex-micro-fit-2x2",
  296. "molex-micro-fit-2x4",
  297. "dc-terminal",
  298. "eaton-c39",
  299. "hdot-cx",
  300. "saf-d-grid",
  301. "neutrik-powercon-20a",
  302. "neutrik-powercon-32a",
  303. "neutrik-powercon-true1",
  304. "neutrik-powercon-true1-top",
  305. "ubiquiti-smartpower",
  306. "hardwired",
  307. "other"
  308. ]
  309. },
  310. "feed-leg": {
  311. "type": "string",
  312. "enum": [
  313. "A",
  314. "B",
  315. "C"
  316. ]
  317. }
  318. }
  319. },
  320. "interface": {
  321. "type": "object",
  322. "properties": {
  323. "type": {
  324. "type": "string",
  325. "enum": [
  326. "virtual",
  327. "bridge",
  328. "lag",
  329. "100base-fx",
  330. "100base-lfx",
  331. "100base-tx",
  332. "100base-t1",
  333. "1000base-bx10-d",
  334. "1000base-bx10-u",
  335. "1000base-cwdm",
  336. "1000base-cx",
  337. "1000base-dwdm",
  338. "1000base-ex",
  339. "1000base-lsx",
  340. "1000base-lx",
  341. "1000base-lx10",
  342. "1000base-sx",
  343. "1000base-t",
  344. "1000base-tx",
  345. "1000base-zx",
  346. "2.5gbase-t",
  347. "5gbase-t",
  348. "10gbase-br-d",
  349. "10gbase-br-u",
  350. "10gbase-cx4",
  351. "10gbase-er",
  352. "10gbase-lr",
  353. "10gbase-lrm",
  354. "10gbase-lx4",
  355. "10gbase-sr",
  356. "10gbase-t",
  357. "10gbase-zr",
  358. "25gbase-cr",
  359. "25gbase-er",
  360. "25gbase-lr",
  361. "25gbase-sr",
  362. "25gbase-t",
  363. "40gbase-cr4",
  364. "40gbase-er4",
  365. "40gbase-fr4",
  366. "40gbase-lr4",
  367. "40gbase-sr4",
  368. "50gbase-cr",
  369. "50gbase-er",
  370. "50gbase-fr",
  371. "50gbase-lr",
  372. "50gbase-sr",
  373. "100gbase-cr1",
  374. "100gbase-cr2",
  375. "100gbase-cr4",
  376. "100gbase-cr10",
  377. "100gbase-cwdm4",
  378. "100gbase-dr",
  379. "100gbase-er4",
  380. "100gbase-fr1",
  381. "100gbase-lr1",
  382. "100gbase-lr4",
  383. "100gbase-sr1",
  384. "100gbase-sr1.2",
  385. "100gbase-sr2",
  386. "100gbase-sr4",
  387. "100gbase-sr10",
  388. "100gbase-zr",
  389. "200gbase-cr2",
  390. "200gbase-cr4",
  391. "200gbase-dr4",
  392. "200gbase-er4",
  393. "200gbase-fr4",
  394. "200gbase-lr4",
  395. "200gbase-sr2",
  396. "200gbase-sr4",
  397. "200gbase-vr2",
  398. "400gbase-cr4",
  399. "400gbase-dr4",
  400. "400gbase-er8",
  401. "400gbase-fr4",
  402. "400gbase-fr8",
  403. "400gbase-lr4",
  404. "400gbase-lr8",
  405. "400gbase-sr4",
  406. "400gbase-sr4_2",
  407. "400gbase-sr8",
  408. "400gbase-sr16",
  409. "400gbase-vr4",
  410. "400gbase-zr",
  411. "800gbase-cr8",
  412. "800gbase-dr8",
  413. "800gbase-sr8",
  414. "800gbase-vr8",
  415. "100base-x-sfp",
  416. "1000base-x-gbic",
  417. "1000base-x-sfp",
  418. "10gbase-x-sfpp",
  419. "10gbase-x-xenpak",
  420. "10gbase-x-xfp",
  421. "10gbase-x-x2",
  422. "25gbase-x-sfp28",
  423. "40gbase-x-qsfpp",
  424. "50gbase-x-sfp28",
  425. "50gbase-x-sfp56",
  426. "100gbase-x-cfp",
  427. "100gbase-x-cfp2",
  428. "100gbase-x-cfp4",
  429. "100gbase-x-cxp",
  430. "100gbase-x-cpak",
  431. "100gbase-x-dsfp",
  432. "100gbase-x-qsfp28",
  433. "100gbase-x-qsfpdd",
  434. "100gbase-x-sfpdd",
  435. "200gbase-x-cfp2",
  436. "200gbase-x-qsfp56",
  437. "200gbase-x-qsfpdd",
  438. "400gbase-x-qsfp112",
  439. "400gbase-x-qsfpdd",
  440. "400gbase-x-cdfp",
  441. "400gbase-x-cfp2",
  442. "400gbase-x-cfp8",
  443. "400gbase-x-osfp",
  444. "400gbase-x-osfp-rhs",
  445. "800gbase-x-osfp",
  446. "800gbase-x-qsfpdd",
  447. "1000base-kx",
  448. "2.5gbase-kx",
  449. "5gbase-kr",
  450. "10gbase-kr",
  451. "10gbase-kx4",
  452. "25gbase-kr",
  453. "40gbase-kr4",
  454. "50gbase-kr",
  455. "100gbase-kp4",
  456. "100gbase-kr2",
  457. "100gbase-kr4",
  458. "ieee802.11a",
  459. "ieee802.11g",
  460. "ieee802.11n",
  461. "ieee802.11ac",
  462. "ieee802.11ad",
  463. "ieee802.11ax",
  464. "ieee802.11ay",
  465. "ieee802.11be",
  466. "ieee802.15.1",
  467. "ieee802.15.4",
  468. "other-wireless",
  469. "gsm",
  470. "cdma",
  471. "lte",
  472. "4g",
  473. "5g",
  474. "sonet-oc3",
  475. "sonet-oc12",
  476. "sonet-oc48",
  477. "sonet-oc192",
  478. "sonet-oc768",
  479. "sonet-oc1920",
  480. "sonet-oc3840",
  481. "1gfc-sfp",
  482. "2gfc-sfp",
  483. "4gfc-sfp",
  484. "8gfc-sfpp",
  485. "16gfc-sfpp",
  486. "32gfc-sfp28",
  487. "32gfc-sfpp",
  488. "64gfc-qsfpp",
  489. "64gfc-sfpdd",
  490. "64gfc-sfpp",
  491. "128gfc-qsfp28",
  492. "infiniband-sdr",
  493. "infiniband-ddr",
  494. "infiniband-qdr",
  495. "infiniband-fdr10",
  496. "infiniband-fdr",
  497. "infiniband-edr",
  498. "infiniband-hdr",
  499. "infiniband-ndr",
  500. "infiniband-xdr",
  501. "t1",
  502. "e1",
  503. "t3",
  504. "e3",
  505. "xdsl",
  506. "docsis",
  507. "moca",
  508. "bpon",
  509. "epon",
  510. "10g-epon",
  511. "gpon",
  512. "xg-pon",
  513. "xgs-pon",
  514. "ng-pon2",
  515. "25g-pon",
  516. "50g-pon",
  517. "cisco-stackwise",
  518. "cisco-stackwise-plus",
  519. "cisco-flexstack",
  520. "cisco-flexstack-plus",
  521. "cisco-stackwise-80",
  522. "cisco-stackwise-160",
  523. "cisco-stackwise-320",
  524. "cisco-stackwise-480",
  525. "cisco-stackwise-1t",
  526. "juniper-vcp",
  527. "extreme-summitstack",
  528. "extreme-summitstack-128",
  529. "extreme-summitstack-256",
  530. "extreme-summitstack-512",
  531. "other"
  532. ]
  533. },
  534. "poe_mode": {
  535. "type": "string",
  536. "enum": [
  537. "pd",
  538. "pse"
  539. ]
  540. },
  541. "poe_type": {
  542. "type": "string",
  543. "enum": [
  544. "type1-ieee802.3af",
  545. "type2-ieee802.3at",
  546. "type3-ieee802.3bt",
  547. "type4-ieee802.3bt",
  548. "passive-24v-2pair",
  549. "passive-24v-4pair",
  550. "passive-48v-2pair",
  551. "passive-48v-4pair"
  552. ]
  553. },
  554. "rf_role": {
  555. "type": "string",
  556. "enum": [
  557. "ap",
  558. "station"
  559. ]
  560. }
  561. }
  562. },
  563. "front-port": {
  564. "type": "object",
  565. "properties": {
  566. "type": {
  567. "type": "string",
  568. "enum": [
  569. "8p8c",
  570. "8p6c",
  571. "8p4c",
  572. "8p2c",
  573. "6p6c",
  574. "6p4c",
  575. "6p2c",
  576. "4p4c",
  577. "4p2c",
  578. "gg45",
  579. "tera-4p",
  580. "tera-2p",
  581. "tera-1p",
  582. "110-punch",
  583. "bnc",
  584. "f",
  585. "n",
  586. "mrj21",
  587. "fc",
  588. "fc-pc",
  589. "fc-upc",
  590. "fc-apc",
  591. "lc",
  592. "lc-pc",
  593. "lc-upc",
  594. "lc-apc",
  595. "lsh",
  596. "lsh-pc",
  597. "lsh-upc",
  598. "lsh-apc",
  599. "lx5",
  600. "lx5-pc",
  601. "lx5-upc",
  602. "lx5-apc",
  603. "mpo",
  604. "mtrj",
  605. "sc",
  606. "sc-pc",
  607. "sc-upc",
  608. "sc-apc",
  609. "st",
  610. "cs",
  611. "sn",
  612. "sma-905",
  613. "sma-906",
  614. "urm-p2",
  615. "urm-p4",
  616. "urm-p8",
  617. "splice",
  618. "usb-a",
  619. "usb-b",
  620. "usb-c",
  621. "usb-mini-a",
  622. "usb-mini-b",
  623. "usb-micro-a",
  624. "usb-micro-b",
  625. "usb-micro-ab",
  626. "other"
  627. ]
  628. }
  629. }
  630. },
  631. "rear-port": {
  632. "type": "object",
  633. "properties": {
  634. "type": {
  635. "type": "string",
  636. "enum": [
  637. "8p8c",
  638. "8p6c",
  639. "8p4c",
  640. "8p2c",
  641. "6p6c",
  642. "6p4c",
  643. "6p2c",
  644. "4p4c",
  645. "4p2c",
  646. "gg45",
  647. "tera-4p",
  648. "tera-2p",
  649. "tera-1p",
  650. "110-punch",
  651. "bnc",
  652. "f",
  653. "n",
  654. "mrj21",
  655. "fc",
  656. "fc-pc",
  657. "fc-upc",
  658. "fc-apc",
  659. "lc",
  660. "lc-pc",
  661. "lc-upc",
  662. "lc-apc",
  663. "lsh",
  664. "lsh-pc",
  665. "lsh-upc",
  666. "lsh-apc",
  667. "lx5",
  668. "lx5-pc",
  669. "lx5-upc",
  670. "lx5-apc",
  671. "mpo",
  672. "mtrj",
  673. "sc",
  674. "sc-pc",
  675. "sc-upc",
  676. "sc-apc",
  677. "st",
  678. "cs",
  679. "sn",
  680. "sma-905",
  681. "sma-906",
  682. "urm-p2",
  683. "urm-p4",
  684. "urm-p8",
  685. "splice",
  686. "usb-a",
  687. "usb-b",
  688. "usb-c",
  689. "usb-mini-a",
  690. "usb-mini-b",
  691. "usb-micro-a",
  692. "usb-micro-b",
  693. "usb-micro-ab",
  694. "other"
  695. ]
  696. }
  697. }
  698. }
  699. }
  700. }