Skip to content

Commit

Permalink
Fix unit syntax in FAQ
Browse files Browse the repository at this point in the history
Signed-off-by: Erik Jaegervall <[email protected]>
  • Loading branch information
erikbosch committed Feb 9, 2024
1 parent b0bcde7 commit a380783
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -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']
```

0 comments on commit a380783

Please sign in to comment.