{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$anchor": "cdm.base.math",
  "type": "object",
  "title": "Rounding",
  "description": "Defines rounding rules and precision to be used in the rounding of a number.",
  "properties": {
    "roundingDirection": {
      "description": "Specifies the rounding rounding rule as up, down, or nearest.",
      "$ref": "cdm-base-math-RoundingDirectionEnum.schema.json"
    },
    "precision": {
      "description": "Specifies the rounding precision in terms of a number of decimal places when the number is evaluated in decimal form (not percentage), e.g. 0.09876543 rounded to the nearest 5 decimal places is  0.0987654.",
      "type": "integer"
    }
  },
  "required": [
    "roundingDirection"
  ]
}
