2
0

generated_schema.json 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  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-2x3",
  190. "molex-micro-fit-2x4",
  191. "dc-terminal",
  192. "saf-d-grid",
  193. "neutrik-powercon-20",
  194. "neutrik-powercon-32",
  195. "neutrik-powercon-true1",
  196. "neutrik-powercon-true1-top",
  197. "ubiquiti-smartpower",
  198. "hardwired",
  199. "other"
  200. ]
  201. }
  202. }
  203. },
  204. "power-outlet": {
  205. "type": "object",
  206. "properties": {
  207. "type": {
  208. "type": "string",
  209. "enum": [
  210. "iec-60320-c5",
  211. "iec-60320-c7",
  212. "iec-60320-c13",
  213. "iec-60320-c15",
  214. "iec-60320-c17",
  215. "iec-60320-c19",
  216. "iec-60320-c21",
  217. "iec-60309-p-n-e-4h",
  218. "iec-60309-p-n-e-6h",
  219. "iec-60309-p-n-e-9h",
  220. "iec-60309-2p-e-4h",
  221. "iec-60309-2p-e-6h",
  222. "iec-60309-2p-e-9h",
  223. "iec-60309-3p-e-4h",
  224. "iec-60309-3p-e-6h",
  225. "iec-60309-3p-e-9h",
  226. "iec-60309-3p-n-e-4h",
  227. "iec-60309-3p-n-e-6h",
  228. "iec-60309-3p-n-e-9h",
  229. "iec-60906-1",
  230. "nbr-14136-10a",
  231. "nbr-14136-20a",
  232. "nema-1-15r",
  233. "nema-5-15r",
  234. "nema-5-20r",
  235. "nema-5-30r",
  236. "nema-5-50r",
  237. "nema-6-15r",
  238. "nema-6-20r",
  239. "nema-6-30r",
  240. "nema-6-50r",
  241. "nema-10-30r",
  242. "nema-10-50r",
  243. "nema-14-20r",
  244. "nema-14-30r",
  245. "nema-14-50r",
  246. "nema-14-60r",
  247. "nema-15-15r",
  248. "nema-15-20r",
  249. "nema-15-30r",
  250. "nema-15-50r",
  251. "nema-15-60r",
  252. "nema-l1-15r",
  253. "nema-l5-15r",
  254. "nema-l5-20r",
  255. "nema-l5-30r",
  256. "nema-l5-50r",
  257. "nema-l6-15r",
  258. "nema-l6-20r",
  259. "nema-l6-30r",
  260. "nema-l6-50r",
  261. "nema-l10-30r",
  262. "nema-l14-20r",
  263. "nema-l14-30r",
  264. "nema-l14-50r",
  265. "nema-l14-60r",
  266. "nema-l15-20r",
  267. "nema-l15-30r",
  268. "nema-l15-50r",
  269. "nema-l15-60r",
  270. "nema-l21-20r",
  271. "nema-l21-30r",
  272. "nema-l22-20r",
  273. "nema-l22-30r",
  274. "CS6360C",
  275. "CS6364C",
  276. "CS8164C",
  277. "CS8264C",
  278. "CS8364C",
  279. "CS8464C",
  280. "ita-e",
  281. "ita-f",
  282. "ita-g",
  283. "ita-h",
  284. "ita-i",
  285. "ita-j",
  286. "ita-k",
  287. "ita-l",
  288. "ita-m",
  289. "ita-n",
  290. "ita-o",
  291. "ita-multistandard",
  292. "usb-a",
  293. "usb-micro-b",
  294. "usb-c",
  295. "molex-micro-fit-1x2",
  296. "molex-micro-fit-2x2",
  297. "molex-micro-fit-2x3",
  298. "molex-micro-fit-2x4",
  299. "dc-terminal",
  300. "eaton-c39",
  301. "hdot-cx",
  302. "saf-d-grid",
  303. "neutrik-powercon-20a",
  304. "neutrik-powercon-32a",
  305. "neutrik-powercon-true1",
  306. "neutrik-powercon-true1-top",
  307. "ubiquiti-smartpower",
  308. "hardwired",
  309. "other"
  310. ]
  311. },
  312. "feed-leg": {
  313. "type": "string",
  314. "enum": [
  315. "A",
  316. "B",
  317. "C"
  318. ]
  319. }
  320. }
  321. },
  322. "interface": {
  323. "type": "object",
  324. "properties": {
  325. "type": {
  326. "type": "string",
  327. "enum": [
  328. "virtual",
  329. "bridge",
  330. "lag",
  331. "100base-fx",
  332. "100base-lfx",
  333. "100base-tx",
  334. "100base-t1",
  335. "1000base-bx10-d",
  336. "1000base-bx10-u",
  337. "1000base-cwdm",
  338. "1000base-cx",
  339. "1000base-dwdm",
  340. "1000base-ex",
  341. "1000base-lsx",
  342. "1000base-lx",
  343. "1000base-lx10",
  344. "1000base-sx",
  345. "1000base-t",
  346. "1000base-tx",
  347. "1000base-zx",
  348. "2.5gbase-t",
  349. "5gbase-t",
  350. "10gbase-br-d",
  351. "10gbase-br-u",
  352. "10gbase-cx4",
  353. "10gbase-er",
  354. "10gbase-lr",
  355. "10gbase-lrm",
  356. "10gbase-lx4",
  357. "10gbase-sr",
  358. "10gbase-t",
  359. "10gbase-zr",
  360. "25gbase-cr",
  361. "25gbase-er",
  362. "25gbase-lr",
  363. "25gbase-sr",
  364. "25gbase-t",
  365. "40gbase-cr4",
  366. "40gbase-er4",
  367. "40gbase-fr4",
  368. "40gbase-lr4",
  369. "40gbase-sr4",
  370. "50gbase-cr",
  371. "50gbase-er",
  372. "50gbase-fr",
  373. "50gbase-lr",
  374. "50gbase-sr",
  375. "100gbase-cr1",
  376. "100gbase-cr2",
  377. "100gbase-cr4",
  378. "100gbase-cr10",
  379. "100gbase-cwdm4",
  380. "100gbase-dr",
  381. "100gbase-er4",
  382. "100gbase-fr1",
  383. "100gbase-lr1",
  384. "100gbase-lr4",
  385. "100gbase-sr1",
  386. "100gbase-sr1.2",
  387. "100gbase-sr2",
  388. "100gbase-sr4",
  389. "100gbase-sr10",
  390. "100gbase-zr",
  391. "200gbase-cr2",
  392. "200gbase-cr4",
  393. "200gbase-dr4",
  394. "200gbase-er4",
  395. "200gbase-fr4",
  396. "200gbase-lr4",
  397. "200gbase-sr2",
  398. "200gbase-sr4",
  399. "200gbase-vr2",
  400. "400gbase-cr4",
  401. "400gbase-dr4",
  402. "400gbase-er8",
  403. "400gbase-fr4",
  404. "400gbase-fr8",
  405. "400gbase-lr4",
  406. "400gbase-lr8",
  407. "400gbase-sr4",
  408. "400gbase-sr4_2",
  409. "400gbase-sr8",
  410. "400gbase-sr16",
  411. "400gbase-vr4",
  412. "400gbase-zr",
  413. "800gbase-cr8",
  414. "800gbase-dr8",
  415. "800gbase-sr8",
  416. "800gbase-vr8",
  417. "100base-x-sfp",
  418. "1000base-x-gbic",
  419. "1000base-x-sfp",
  420. "10gbase-x-sfpp",
  421. "10gbase-x-xenpak",
  422. "10gbase-x-xfp",
  423. "10gbase-x-x2",
  424. "25gbase-x-sfp28",
  425. "40gbase-x-qsfpp",
  426. "50gbase-x-sfp28",
  427. "50gbase-x-sfp56",
  428. "100gbase-x-cfp",
  429. "100gbase-x-cfp2",
  430. "100gbase-x-cfp4",
  431. "100gbase-x-cxp",
  432. "100gbase-x-cpak",
  433. "100gbase-x-dsfp",
  434. "100gbase-x-qsfp28",
  435. "100gbase-x-qsfpdd",
  436. "100gbase-x-sfpdd",
  437. "200gbase-x-cfp2",
  438. "200gbase-x-qsfp56",
  439. "200gbase-x-qsfpdd",
  440. "400gbase-x-qsfp112",
  441. "400gbase-x-qsfpdd",
  442. "400gbase-x-cdfp",
  443. "400gbase-x-cfp2",
  444. "400gbase-x-cfp8",
  445. "400gbase-x-osfp",
  446. "400gbase-x-osfp-rhs",
  447. "800gbase-x-osfp",
  448. "800gbase-x-qsfpdd",
  449. "1000base-kx",
  450. "2.5gbase-kx",
  451. "5gbase-kr",
  452. "10gbase-kr",
  453. "10gbase-kx4",
  454. "25gbase-kr",
  455. "40gbase-kr4",
  456. "50gbase-kr",
  457. "100gbase-kp4",
  458. "100gbase-kr2",
  459. "100gbase-kr4",
  460. "ieee802.11a",
  461. "ieee802.11g",
  462. "ieee802.11n",
  463. "ieee802.11ac",
  464. "ieee802.11ad",
  465. "ieee802.11ax",
  466. "ieee802.11ay",
  467. "ieee802.11be",
  468. "ieee802.15.1",
  469. "ieee802.15.4",
  470. "other-wireless",
  471. "gsm",
  472. "cdma",
  473. "lte",
  474. "4g",
  475. "5g",
  476. "sonet-oc3",
  477. "sonet-oc12",
  478. "sonet-oc48",
  479. "sonet-oc192",
  480. "sonet-oc768",
  481. "sonet-oc1920",
  482. "sonet-oc3840",
  483. "1gfc-sfp",
  484. "2gfc-sfp",
  485. "4gfc-sfp",
  486. "8gfc-sfpp",
  487. "16gfc-sfpp",
  488. "32gfc-sfp28",
  489. "32gfc-sfpp",
  490. "64gfc-qsfpp",
  491. "64gfc-sfpdd",
  492. "64gfc-sfpp",
  493. "128gfc-qsfp28",
  494. "infiniband-sdr",
  495. "infiniband-ddr",
  496. "infiniband-qdr",
  497. "infiniband-fdr10",
  498. "infiniband-fdr",
  499. "infiniband-edr",
  500. "infiniband-hdr",
  501. "infiniband-ndr",
  502. "infiniband-xdr",
  503. "t1",
  504. "e1",
  505. "t3",
  506. "e3",
  507. "xdsl",
  508. "docsis",
  509. "moca",
  510. "bpon",
  511. "epon",
  512. "10g-epon",
  513. "gpon",
  514. "xg-pon",
  515. "xgs-pon",
  516. "ng-pon2",
  517. "25g-pon",
  518. "50g-pon",
  519. "cisco-stackwise",
  520. "cisco-stackwise-plus",
  521. "cisco-flexstack",
  522. "cisco-flexstack-plus",
  523. "cisco-stackwise-80",
  524. "cisco-stackwise-160",
  525. "cisco-stackwise-320",
  526. "cisco-stackwise-480",
  527. "cisco-stackwise-1t",
  528. "juniper-vcp",
  529. "extreme-summitstack",
  530. "extreme-summitstack-128",
  531. "extreme-summitstack-256",
  532. "extreme-summitstack-512",
  533. "other"
  534. ]
  535. },
  536. "poe_mode": {
  537. "type": "string",
  538. "enum": [
  539. "pd",
  540. "pse"
  541. ]
  542. },
  543. "poe_type": {
  544. "type": "string",
  545. "enum": [
  546. "type1-ieee802.3af",
  547. "type2-ieee802.3at",
  548. "type3-ieee802.3bt",
  549. "type4-ieee802.3bt",
  550. "passive-24v-2pair",
  551. "passive-24v-4pair",
  552. "passive-48v-2pair",
  553. "passive-48v-4pair"
  554. ]
  555. },
  556. "rf_role": {
  557. "type": "string",
  558. "enum": [
  559. "ap",
  560. "station"
  561. ]
  562. }
  563. }
  564. },
  565. "front-port": {
  566. "type": "object",
  567. "properties": {
  568. "type": {
  569. "type": "string",
  570. "enum": [
  571. "8p8c",
  572. "8p6c",
  573. "8p4c",
  574. "8p2c",
  575. "6p6c",
  576. "6p4c",
  577. "6p2c",
  578. "4p4c",
  579. "4p2c",
  580. "gg45",
  581. "tera-4p",
  582. "tera-2p",
  583. "tera-1p",
  584. "110-punch",
  585. "bnc",
  586. "f",
  587. "n",
  588. "mrj21",
  589. "fc",
  590. "fc-pc",
  591. "fc-upc",
  592. "fc-apc",
  593. "lc",
  594. "lc-pc",
  595. "lc-upc",
  596. "lc-apc",
  597. "lsh",
  598. "lsh-pc",
  599. "lsh-upc",
  600. "lsh-apc",
  601. "lx5",
  602. "lx5-pc",
  603. "lx5-upc",
  604. "lx5-apc",
  605. "mpo",
  606. "mtrj",
  607. "sc",
  608. "sc-pc",
  609. "sc-upc",
  610. "sc-apc",
  611. "st",
  612. "cs",
  613. "sn",
  614. "sma-905",
  615. "sma-906",
  616. "urm-p2",
  617. "urm-p4",
  618. "urm-p8",
  619. "splice",
  620. "usb-a",
  621. "usb-b",
  622. "usb-c",
  623. "usb-mini-a",
  624. "usb-mini-b",
  625. "usb-micro-a",
  626. "usb-micro-b",
  627. "usb-micro-ab",
  628. "other"
  629. ]
  630. }
  631. }
  632. },
  633. "rear-port": {
  634. "type": "object",
  635. "properties": {
  636. "type": {
  637. "type": "string",
  638. "enum": [
  639. "8p8c",
  640. "8p6c",
  641. "8p4c",
  642. "8p2c",
  643. "6p6c",
  644. "6p4c",
  645. "6p2c",
  646. "4p4c",
  647. "4p2c",
  648. "gg45",
  649. "tera-4p",
  650. "tera-2p",
  651. "tera-1p",
  652. "110-punch",
  653. "bnc",
  654. "f",
  655. "n",
  656. "mrj21",
  657. "fc",
  658. "fc-pc",
  659. "fc-upc",
  660. "fc-apc",
  661. "lc",
  662. "lc-pc",
  663. "lc-upc",
  664. "lc-apc",
  665. "lsh",
  666. "lsh-pc",
  667. "lsh-upc",
  668. "lsh-apc",
  669. "lx5",
  670. "lx5-pc",
  671. "lx5-upc",
  672. "lx5-apc",
  673. "mpo",
  674. "mtrj",
  675. "sc",
  676. "sc-pc",
  677. "sc-upc",
  678. "sc-apc",
  679. "st",
  680. "cs",
  681. "sn",
  682. "sma-905",
  683. "sma-906",
  684. "urm-p2",
  685. "urm-p4",
  686. "urm-p8",
  687. "splice",
  688. "usb-a",
  689. "usb-b",
  690. "usb-c",
  691. "usb-mini-a",
  692. "usb-mini-b",
  693. "usb-micro-a",
  694. "usb-micro-b",
  695. "usb-micro-ab",
  696. "other"
  697. ]
  698. }
  699. }
  700. }
  701. }
  702. }