From bbd8e7822b016133f9b151d07acb35bb1a7765fe Mon Sep 17 00:00:00 2001 From: David Godin <34038713+godind@users.noreply.github.com> Date: Tue, 9 Sep 2025 19:20:23 +0000 Subject: [PATCH 1/2] add computer SI units to schema --- schemas/definitions.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/schemas/definitions.json b/schemas/definitions.json index 5ead5550..e924c5cc 100644 --- a/schemas/definitions.json +++ b/schemas/definitions.json @@ -267,6 +267,18 @@ "quantity": "Viscosity", "quantityDisplay": "\u03bc", "description": "Viscosity in pascal seconds" + }, + "B": { + "display": "B", + "quantity": "Digital Storage Capacity", + "quantityDisplay": "Byte", + "description": "Digital quantity. 1 byte = 8 bits." + }, + "bps": { + "display": "bps", + "quantity": "Data Transfer Rate", + "quantityDisplay": "bit/s", + "description": "Telecommunication bandwidth, measured in bits per second." } } }, From d6259483be308537605ff68d53721cc3dd03b2e3 Mon Sep 17 00:00:00 2001 From: David Godin <34038713+godind@users.noreply.github.com> Date: Wed, 10 Sep 2025 22:11:15 +0000 Subject: [PATCH 2/2] Add Byte and bit per second units to processShemaFiles --- scripts/processSchemaFiles.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/processSchemaFiles.js b/scripts/processSchemaFiles.js index 2fb02dd0..c556da23 100755 --- a/scripts/processSchemaFiles.js +++ b/scripts/processSchemaFiles.js @@ -45,7 +45,9 @@ const units = { "rad": "Radian", "rad/s": "Radian per second", "ratio": "Ratio", - "s": "Second" + "s": "Second", + "B": "Byte", + "bps": "bit per second" } class Parser {