{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.base.math",
  "type": "object",
  "title": "MeasureBase",
  "description": "Provides an abstract type to define a measure as a single number or a schedule associated to a unit. This type is abstract because all its attributes are optional. The types that extend it can specify further existence constraints.",
  "properties": {
    "value": {
      "description": "The initial rate or amount, as the case may be. An initial rate of 5% would be represented as 0.05.",
      "type": "number"
    },
    "datedValue": {
      "description": "The schedule of step date and value pairs. On each step date the associated step value becomes effective. A list of steps may be ordered in the document by ascending step date. An FpML document containing an unordered list of steps is still regarded as a conformant document.",
      "type": "array",
      "items": {
        "$ref": "cdm-base-math-DatedValue.schema.json"
      },
      "minItems": 0
    },
    "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"
    }
  }
}
