From 1f581e9035064e66ab18047990d7d011b357f6ec Mon Sep 17 00:00:00 2001 From: Chris Hung Date: Fri, 19 Aug 2022 00:06:14 +0800 Subject: [PATCH] feat: update uom configuration example Signed-off-by: Chris Hung --- .../microservices/core/metadata/Ch-Metadata.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/docs_src/microservices/core/metadata/Ch-Metadata.md b/docs_src/microservices/core/metadata/Ch-Metadata.md index c9c8394824..23383168aa 100644 --- a/docs_src/microservices/core/metadata/Ch-Metadata.md +++ b/docs_src/microservices/core/metadata/Ch-Metadata.md @@ -474,15 +474,14 @@ If the `units` value does not match any one of the configuration units of measur ### Sample TOML unit of measure configuration ```toml -[Uom] Source="reference to source for all UoM if not specified below" - [Uom.Units] - [Uom.Units.temperature] - Source="www.weather.com" - Values=["C","F","K"] - [Uom.Units.weights] - Source="www.usa.gov/federal-agencies/weights-and-measures-division" - Values=["lbs","ounces","kilos","grams"] +[Units] + [Units.temperature] + Source="www.weather.com" + Values=["C","F","K"] + [Units.weights] + Source="www.usa.gov/federal-agencies/weights-and-measures-division" + Values=["lbs","ounces","kilos","grams"] ``` ## API Reference