UnitPriceSpecification¶
A UnitPriceSpecification is one more price of an Offer, in its priceSpecification, beside price: the price before a sale (priceType StrikethroughPrice, see PriceTypeEnumeration), a member price (validForMemberTier, pointing to MemberProgramTiers), or a price per unit (referenceQuantity).
Modeled on schema.org/UnitPriceSpecification ยท JSON Schema
Example¶
Fields¶
Required: price.
| Field | Type | Required | Description |
|---|---|---|---|
at_type |
UnitPriceSpecification |
JSON-LD @type, the object's type name. |
|
price |
number | Yes | The price |
priceCurrency |
CurrencyCodeEnumeration | The currency of the price, ISO 4217 | |
priceType |
PriceTypeEnumeration | The kind of price, e.g. StrikethroughPrice for the price before a sale; none for the price to pay | |
referenceQuantity |
QuantitativeValue | The amount the price is for, e.g. 100 g | |
unitCode |
string | The unit of the price, a UN/CEFACT Common Code (3 characters) or a URL | |
unitText |
string | The unit of the price as text, e.g. 'per kg' | |
billingDuration |
string | The period the price is for, an ISO 8601 duration, e.g. P1M for a monthly price | |
billingIncrement |
number | The smallest amount of the unit billed, e.g. 0.25 for quarter hours | |
billingStart |
number | The unit from which this price applies, e.g. 3 for the third month on | |
priceComponentType |
PriceComponentTypeEnumeration | The part of a price this is, e.g. Subscription, ActivationFee | |
validFrom |
date-time | When the price starts | |
validThrough |
date-time | When the price ends | |
valueAddedTaxIncluded |
boolean | Whether the price includes value added tax | |
membershipPointsEarned |
number | The loyalty points earned at this price | |
validForMemberTier |
list of References to MemberProgramTier | The member tiers this price is for: a member price |