Skip to content

Add ucumUnit keyword support (Units extension) #168

Description

@clemensv

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

  1. Add ucumUnit to the Units extension keyword list in schema validators
  2. Validate that ucumUnit values are strings (same as unit)
  3. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions