Skip to content

Commit

Permalink
FOCUS #547: CommitmentDiscountQuantity and ConsumedQuantity spec upda…
Browse files Browse the repository at this point in the history
…te - value range spec fix
  • Loading branch information
ijurica committed Sep 25, 2024
1 parent f546c16 commit f957712
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion specification/columns/commitmentdiscountquantity.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The CommitmentDiscountQuantity column adheres to the following requirements:
* CommitmentDiscountQuantity MUST be present in a FOCUS dataset when the provider supports *commitment discounts*.
* CommitmentDiscountQuantity MUST be of type Decimal and MUST conform to [Numeric Format](#numericformat) requirements.
* If [*CommitmentDiscountId*](#commitmentdiscountid) is not null and [*ChargeClass*](#chargeclass) is not "Correction", the following applies:
* CommitmentDiscountQuantity MUST NOT be null and MAY be any valid positive decimal value.
* CommitmentDiscountQuantity MUST NOT be null and MUST be a valid positive decimal value.
* When *ChargeCategory* is "Purchase" and [*ChargeFrequency*](#chargefrequency) is "One-Time", CommitmentDiscountQuantity MUST be the positive quantity of *CommitmentDiscountUnits*, paid fully or partially upfront, that is eligible for consumption over the *commitment discount's* *term*.
* When *ChargeCategory* is "Purchase" and *ChargeFrequency* is "Recurring", CommitmentDiscountQuantity MUST be the positive quantity of *CommitmentDiscountUnits* that is eligible for consumption for each *charge period* that corresponds with the purchase.
* When *ChargeCategory* is "Usage" and *CommitmentDiscountStatus* is "Used", CommitmentDiscountQuantity MUST be the positive, metered quantity of *CommitmentDiscountUnits* that is consumed over the *row's* *charge period*.
Expand Down
2 changes: 1 addition & 1 deletion specification/columns/consumedquantity.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The ConsumedQuantity column adheres to the following requirements:
* ConsumedQuantity MUST be present in a FOCUS dataset when the provider supports the measurement of usage.
* ConsumedQuantity MUST be of type Decimal and MUST conform to [Numeric Format](#numericformat) requirements.
* If [ChargeCategory](#chargecategory) is "Usage" and [CommitmentDiscountStatus](#commitmentdiscountstatus) is not "Unused", the following applies:
* ConsumedQuantity MUST NOT be null and MAY be any valid non-negative decimal value if [ChargeClass](#chargeclass) is not "Correction".
* ConsumedQuantity MUST NOT be null and MUST be a valid non-negative decimal value if [ChargeClass](#chargeclass) is not "Correction".
* ConsumedQuantity MAY be null or any valid decimal value if [ChargeClass](#chargeclass) is "Correction".
* ConsumedQuantity MUST be null in all other cases.

Expand Down

0 comments on commit f957712

Please sign in to comment.