{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/wholechain/json-schema/wholechain-wholechain-connect-application-events-queries-get-simple-event-query-simple-event-query-request-schema.json",
  "title": "Wholechain.Connect.Application.Events.Queries.GetSimpleEventQuery.SimpleEventQueryRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wholechain-epcis-legacy-interface-api-openapi.yml#/components/schemas/Wholechain.Connect.Application.Events.Queries.GetSimpleEventQuery.SimpleEventQueryRequest",
  "type": "object",
  "properties": {
    "queryType": {
      "type": [
        "string",
        "null"
      ]
    },
    "query": {
      "$ref": "#/$defs/Wholechain.Connect.Application.Models.SimpleEventQueryRequestBody"
    },
    "pageNumber": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    },
    "pageSize": {
      "type": [
        "integer",
        "null"
      ],
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "Wholechain.Connect.Application.Models.SimpleEventQueryRequestBody": {
      "type": "object",
      "properties": {
        "lE_recordTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lT_recordTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "gE_recordTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lE_eventTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "lT_eventTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "gE_eventTime": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "matcH_anyEPC": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "matcH_anyEPCClass": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "eQ_bizStep": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "eQ_bizLocation": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "eQ_transformationID": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": "string"
          }
        },
        "excludeDisaggregationFromClassMatches": {
          "type": "boolean"
        },
        "type": {
          "type": [
            "string",
            "null"
          ]
        },
        "pageNumber": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        },
        "pageSize": {
          "type": [
            "integer",
            "null"
          ],
          "format": "int32"
        }
      },
      "additionalProperties": false
    }
  }
}