{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CalculationRequest",
  "title": "CalculationRequest",
  "type": "object",
  "required": [
    "datasetId",
    "recordId",
    "quantity"
  ],
  "properties": {
    "datasetId": {
      "type": "string"
    },
    "recordId": {
      "type": "string"
    },
    "quantity": {
      "type": "number",
      "description": "Quantity in the unit specified by the record."
    },
    "unit": {
      "type": "string",
      "description": "Unit of the quantity."
    }
  }
}