Summary
The Units extension now includes a new ucumUnit keyword that allows annotating numeric values with UCUM (Unified Code for Units of Measure) notation alongside the existing unit keyword.
Required Changes
- Add
ucumUnit to the Units extension keyword list in schema validators
- Validate that
ucumUnit values are strings (same as unit)
- Allow
ucumUnit to coexist with unit on the same schema element
Context
See units PR #5 for the spec text.
Affected SDKs
All language SDKs: TypeScript, Python, .NET, Java, Go, Rust, Ruby, Perl, PHP, Swift, C
Summary
The Units extension now includes a new
ucumUnitkeyword that allows annotating numeric values with UCUM (Unified Code for Units of Measure) notation alongside the existingunitkeyword.Required Changes
ucumUnitto the Units extension keyword list in schema validatorsucumUnitvalues are strings (same asunit)ucumUnitto coexist withuniton the same schema elementContext
See units PR #5 for the spec text.
Affected SDKs
All language SDKs: TypeScript, Python, .NET, Java, Go, Rust, Ruby, Perl, PHP, Swift, C