From 9555be7ba9ee103d72ac9a146a56093b7fb68c19 Mon Sep 17 00:00:00 2001 From: eduard256 Date: Wed, 25 Mar 2026 06:29:34 +0000 Subject: [PATCH] Add JSON Schema for OUI database --- schemas/oui.schema.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 schemas/oui.schema.json diff --git a/schemas/oui.schema.json b/schemas/oui.schema.json new file mode 100644 index 0000000..8e7aac7 --- /dev/null +++ b/schemas/oui.schema.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://github.com/eduard256/StrixCamDB/schemas/oui.schema.json", + "title": "StrixCamDB OUI Database", + "description": "MAC address prefix (OUI) to camera brand mapping", + "type": "object", + "additionalProperties": { + "type": "string", + "minLength": 1 + }, + "propertyNames": { + "pattern": "^[0-9A-F]{2}:[0-9A-F]{2}:[0-9A-F]{2}$" + } +}