.cdm-java.6.0.0-dev.82.source-code.cdm-base-math-QuantitySchedule.schema.json Maven / Gradle / Ivy
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$anchor": "cdm.base.math",
"type": "object",
"title": "QuantitySchedule",
"description": "Specifies a quantity schedule to be associated to a financial product to represent a trade amount. This data type extends MeasureSchedule with several unit or multiplier attributes that are used to define financial quantities. This data type is generically based on a schedule and can also be used to represent a quantity as a single value.",
"properties": {
"value": {
"description": "Specifies the value of the measure as a number. Optional because in a measure vector or schedule, this single value may be omitted.",
"type": "number"
},
"unit": {
"description": "Qualifies the unit by which the amount is measured. Optional because a measure may be unit-less (e.g. when representing a ratio between amounts in the same unit).",
"$ref": "cdm-base-math-UnitType.schema.json"
},
"datedValue": {
"description": "A schedule of step date and value pairs. On each step date the associated step value becomes effective. The step dates are used to order the steps by ascending order. This attribute is optional so the data type may be used to define a schedule with a single value.",
"type": "array",
"items": {
"$ref": "cdm-base-math-DatedValue.schema.json"
},
"minItems": 0
},
"multiplier": {
"description": "Defines an optional number that the quantity should be multiplied by to derive a total quantity. This number is associated to a unit. For example in the case of the Coal (API2) CIF ARA (ARGUS-McCloskey) Futures Contract on the CME, where the unit would be contracts, the multiplier value would 1,000 and the mulitiplier unit would be 1,000 MT (Metric Tons).",
"$ref": "cdm-base-math-Measure.schema.json"
},
"frequency": {
"description": "Defines the frequency to be used when defining a quantity. For example a quantity may be specified as a number of barrels of oil per day, which needs multiplying by the number of days in the relevant period to get the total quantity as a number of barrels.",
"$ref": "cdm-base-datetime-Frequency.schema.json"
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy