{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blackbaud/main/json-schema/blackbaud-order-ticket-list-collection-schema.json",
  "title": "OrderTicketListCollection",
  "description": "A collection of items. Data lists can contain paginated results.",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blackbaud-altru-sales-api-openapi.yml#/components/schemas/OrderTicketListCollection",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "The number of items available for retrieval into the collection after applying any request parameters.",
      "format": "int32"
    },
    "value": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/OrderTicketListSummary"
      },
      "description": "The set of items included in the response. This may be a subset of the items in the collection."
    },
    "infinity_session": {
      "type": "string",
      "description": "Values for cookies related to the Infinity load balancer session.",
      "format": "string"
    },
    "session_key": {
      "type": "string",
      "description": "Session key for paging provided by user in request query parameter.",
      "format": "string"
    },
    "total_available_rows": {
      "type": "integer",
      "description": "The number of total rows available.",
      "format": "int32"
    },
    "more_rows_range_key": {
      "type": "string",
      "description": "Key for accessing cached results on subsequent calls to this data list.",
      "format": "string"
    },
    "data_no_longer_available": {
      "type": "boolean",
      "description": "Indicates data is no longer available in the context of this session.",
      "format": "boolean"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "HourMinute": {
      "type": "object",
      "properties": {
        "hour": {
          "type": "integer",
          "description": "The hour.",
          "format": "int32"
        },
        "minute": {
          "type": "integer",
          "description": "The minute.",
          "format": "int32"
        }
      },
      "description": "HourMinute",
      "x-display-name": "Hour Minute",
      "x-display-id": "Hour Minute"
    },
    "OrderTicketListSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID."
        },
        "name": {
          "type": "string",
          "description": "The name."
        },
        "event_date": {
          "type": "string",
          "description": "The event date. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
          "format": "date-time"
        },
        "event_time": {
          "$ref": "#/$defs/HourMinute"
        },
        "print_count": {
          "type": "integer",
          "description": "The times printed.",
          "format": "int32"
        },
        "bar_code": {
          "type": "string",
          "description": "The barcode ID."
        },
        "status": {
          "type": "string",
          "description": "The status."
        },
        "status_code": {
          "type": "integer",
          "description": "The status code.",
          "format": "int32"
        },
        "applied_to_membership": {
          "type": "boolean",
          "description": "Indicates whether applied to membership."
        },
        "membership_sales_order_id": {
          "type": "string",
          "description": "The membership sales order ID."
        },
        "scan_datetime": {
          "type": "string",
          "description": "The scan date. Uses the format YYYY-MM-DDThh:mm:ss. An example date: <i>1955-11-05T22:04:00</i>.",
          "format": "date-time"
        }
      },
      "additionalProperties": false,
      "description": "ListOrderTicketDetails",
      "x-display-name": "Order Ticket Detail Data List",
      "x-display-id": "Order Ticket Detail Data List"
    }
  }
}