From 8575bbeba6b28be8deb133040dde804b15b0cffb Mon Sep 17 00:00:00 2001
From: Martin <58110823+m2martin@users.noreply.github.com>
Date: Fri, 16 Sep 2022 04:05:58 +0200
Subject: [PATCH] Add PoE (mode/type) to component definition (#912)

---
 schema/components.json | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/schema/components.json b/schema/components.json
index 85c14df5..8e8f78aa 100644
--- a/schema/components.json
+++ b/schema/components.json
@@ -394,6 +394,26 @@
                         "other"
                     ]
                 },
+                "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"
+                    ]
+                },
                 "mgmt_only": {
                     "type": "boolean"
                 }
-- 
GitLab