maas-schemas

cost Schema

http://maasglobal.com/core/components/cost.json

MaaS common units that are used consistently within our own objects

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Develop No Forbidden Forbidden core/components/cost.json

cost Properties

Property Type Required Nullable Defined by
amount number Required Yes cost (this schema)
currency complex Required No cost (this schema)
discount number Optional No cost (this schema)
isFixedPrice boolean Optional No cost (this schema)
originalAmount number Optional Yes cost (this schema)
taxes number Optional No cost (this schema)

amount

amount

amount Type

number, nullable

currency

currency

currency Type

One of the following conditions need to be fulfilled.

Condition 1

Condition 2

discount

discount

discount Type

number

isFixedPrice

A flag indicating whether TSP price is fixed

isFixedPrice

isFixedPrice Type

boolean

originalAmount

originalAmount

originalAmount Type

number, nullable

taxes

taxes

taxes Type

number