From a3807830853e30fbd375144a18acb2f7038d65e5 Mon Sep 17 00:00:00 2001 From: Erik Jaegervall Date: Fri, 9 Feb 2024 13:47:53 +0100 Subject: [PATCH] Fix unit syntax in FAQ Signed-off-by: Erik Jaegervall --- FAQ.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/FAQ.md b/FAQ.md index 0fcde9cd..ad12955a 100644 --- a/FAQ.md +++ b/FAQ.md @@ -10,13 +10,15 @@ It is possible to replace the default units by the `-u` parameter, see [vspec2x The syntax of the file with units shall follow this pattern: ``` -units: - puncheon: - label: Puncheon - description: Volume measure in puncheons (1 puncheon = 318 liters) - domain: volume - hogshead: - label: Hogshead - description: Volume measure in hogsheads (1 hogshead = 238 liters) - domain: volume +puncheon: + definition: Volume measure in puncheons (1 puncheon = 318 liters) + unit: Puncheon + quantity: volume + allowed_datatypes: ['uint16', 'int16'] +hogshead: + definition: Volume measure in hogsheads (1 hogshead = 238 liters) + unit: Hogshead + quantity: volume + allowed_datatypes: ['numeric'] ``` +