{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/date_time_range",
  "title": "Date and Time Range",
  "type": "object",
  "description": "The date and time range. Filters invoices by creation date, invoice date, due date, and payment date.",
  "properties": {
    "start": {
      "$ref": "#/components/schemas/date_time",
      "description": "The start date of the range. Filters invoices by creation date, invoice date, due date, and payment date."
    },
    "end": {
      "$ref": "#/components/schemas/date_time",
      "description": "The end date of the range. Filters invoices by creation date, invoice date, due date, and payment date. <blockquote><strong>Note: The regular expression provides guidance but does not reject all invalid dates.</strong></blockquote><br/>Minimum length: 20.<br/>Maximum length: 64<br/>Pattern: <code>^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])[T,t]([0-1][0-9]|2[0-3]):[0-5][0-9]:([0-5][0-9]|60)([.][0-9]+)?([Zz]|[+-][0-9]{2}:[0-9]{2})$</code>"
    }
  },
  "required": [
    "start",
    "end"
  ]
}