{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wordline/main/json-schema/wordline-business-cases-enquiry-request-schema.json",
  "title": "BusinessCasesEnquiryRequest",
  "description": "Request to enquire business cases. Either accountReference or businessCaseIds must be provided.",
  "x-generated": "2026-10-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wordline-account-authorization-api-openapi.yml#/components/schemas/BusinessCasesEnquiryRequest",
  "type": "object",
  "required": [
    "endTime",
    "startTime"
  ],
  "properties": {
    "accountReference": {
      "type": "string"
    },
    "businessCaseIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "endTime": {
      "type": "string",
      "format": "date-time"
    },
    "startTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}