UnitOfMeasurement
public struct UnitOfMeasurement : Codable
An object containing three key-value pairs:
- The name property presents the full name of the unitOfMeasurement.
- The symbol property shows the textual form of the unit symbol.
- The definition contains the URI defining the unitOfMeasurement.
The values of these properties SHOULD follow the Unified Code for Unit of Measure (UCUM).
-
Full name of the UnitofMeasurement such as Degree Celsius.
Declaration
Swift
public var name: String
-
Symbol of the unit such as degC.
Declaration
Swift
public var symbol: String
-
Link to unit definition such as: http://www.qudt.org/qudt/owl/1.0.0/unit/Instances.html#DegreeCelsius
Declaration
Swift
public var definition: String
-
Undocumented
Declaration
Swift
public init(name: String, symbol: String, definition: String)