Skip to content

Commit

Permalink
Update usageunit.md
Browse files Browse the repository at this point in the history
Making sure that description doesn't clobber content constraint
  • Loading branch information
tobrien authored Oct 26, 2023
1 parent d1c2b0e commit 1ffa26a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions specification/dimensions/usageunit.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,9 @@ Usage Unit

## Description

The Usage Unit for a particular line item may differ from PricingUnit when providers use different units, unit increments, or columns to determine cost. The values in UsageUnit and QuantityInUsageUnit are often listed at a finer granularity or over a different time interval than the PricingUnit and QuantityInPricingUnit. While UsageUnit may appear to relate to pricing and cost, UsageUnit is focused on resource or service consumption. It is essential not to confuse UsageUnit with PricingUnit which is the basis for determining cost.

The unit of measure for the usage or consumption of a resource or service

### Content constraints

| Constraint | Value |
|:----------------|:----------------|
| Column required | True |
| Data type | String |
| Allows nulls | True |
| Value format | \<not specified> |
The Usage Unit for a particular line item may differ from PricingUnit when providers use different units, unit increments, or columns to determine cost. The values in UsageUnit and QuantityInUsageUnit are often listed at a finer granularity or over a different time interval than the PricingUnit and QuantityInPricingUnit. While UsageUnit may appear to relate to pricing and cost, UsageUnit is focused on resource or service consumption. It is essential not to confuse UsageUnit with PricingUnit which is the basis for determining cost.

### Recommended Values

Expand Down Expand Up @@ -101,6 +92,15 @@ If the UsageUnit value is a composite value made from combinations of one or mor

Instead of "per" or "-" to denote a Composite Unit, slash ("/") and space(" ") must be used as a common convention.  Count-based units like requests, instances, and tokens SHOULD be expressed using a value listed in the count dimension.  For example, if a usage unit is measured as a rate of requests or instances over a period of time, the unit should be listed as "count/day" to signify the number of requests per day.

## Content constraints

| Constraint | Value |
|:----------------|:----------------|
| Column required | True |
| Data type | String |
| Allows nulls | True |
| Value format | \<not specified> |

## Introduced (version)

1.0

0 comments on commit 1ffa26a

Please sign in to comment.