{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Duration",
  "title": "Duration",
  "type": "object",
  "description": "A time interval in a given unit of time",
  "properties": {
    "amount": {
      "type": "integer",
      "description": "Time interval (number of seconds, minutes, hours, etc.)"
    },
    "units": {
      "type": "string",
      "description": "Unit of time (seconds, minutes, hours, etc.)"
    }
  }
}