From 30b555d7dce9e8d4910de6cc9be765ca8415c00b Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 22 May 2025 23:23:22 -0400 Subject: [PATCH] add units keyword --- tools/json/molecule-schema.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/json/molecule-schema.json b/tools/json/molecule-schema.json index b88883a46d..9213655997 100644 --- a/tools/json/molecule-schema.json +++ b/tools/json/molecule-schema.json @@ -13,6 +13,9 @@ "title": {"type": "string"}, "docs": {"type": "string"}, "schema": {"type": "string"}, + "units": { + "enum": ["lj", "real", "metal", "si", "cgs", "electron", "micro", "nano" ] + }, "com": {"type": "array", "prefixItems": [ {"type": "number"},