{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/azupay/main/json-schema/azupay-payment-initiation-search-obj-schema.json",
  "title": "PaymentInitiationSearchObj",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azupay-payment-initiation-api-openapi.yml#/components/schemas/PaymentInitiationSearchObj",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "PaymentInitiationSearch": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "clientTransactionId": {
          "type": "string",
          "minLength": 5,
          "maxLength": 100,
          "description": "Unique Id for the transaction created by the merchant system.\n\nPlease note `clientTransactionId` and date fields can't be included in the same request.\n"
        },
        "fromDate": {
          "$ref": "#/$defs/fromDateUTC"
        },
        "toDate": {
          "$ref": "#/$defs/toDateUTC"
        },
        "paymentAgreementId": {
          "$ref": "#/$defs/paymentAgreementIdForSearch"
        }
      }
    }
  },
  "$defs": {
    "fromDateUTC": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
      "description": "The report date in ISO date/time string format in UTC"
    },
    "paymentAgreementIdForSearch": {
      "type": "string",
      "minLength": 1,
      "maxLength": 40,
      "description": "ID of the payment agreement being searched."
    },
    "toDateUTC": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{3}Z$",
      "description": "The report date in ISO date/time string format in UTC"
    }
  }
}