From 998d4f687ae6cc4fa489bd011cd67230914e3e6b Mon Sep 17 00:00:00 2001 From: m-burgoyne Date: Thu, 7 Dec 2023 12:55:14 +0000 Subject: [PATCH] Fix inconsistencies in Unit documentation Fixes for problem identified in #486 --- core/standard/sections/annex_collection_response.adoc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/core/standard/sections/annex_collection_response.adoc b/core/standard/sections/annex_collection_response.adoc index f8dc78c9..e19daade 100644 --- a/core/standard/sections/annex_collection_response.adoc +++ b/core/standard/sections/annex_collection_response.adoc @@ -368,10 +368,12 @@ The unit object provides the information to describe the units of measure of the .Unit Object |========================== |Field Name|Type|Required|Description -|**label** | String|**Yes**| Name of the unit -|**symbol** | <> object|**Yes**| Information to describe the symbols used to represent the unit +|**label** | String|**No^1^**| Name of the unit +|**symbol** | <> object|**No^1^**| Information to describe the symbols used to represent the unit |========================== +^1^ Either one of label or symbol or both attributes MUST be present in a unit object + [[col-symbol]] === Symbol Object The symbol object provides the information to describe the symbols which represent the unit of a value. @@ -380,8 +382,6 @@ The symbol object provides the information to describe the symbols which represe .Symbol Object |========================== |Field Name|Type|Required|Description -|title | String|No| Symbol name -|description |String |No| A text description of the symbol |value |String |No| A Unicode representation for the symbol |type |String |No| A URI to a registry entry providing more detailed information about the unit (i.e. https://www.qudt.org/[QUDT] is one example of a registry that provide links for many common units) |==========================