{
  "openapi": "3.1.0",
  "info": {
    "title": "Public library statistics by council, Queensland query API",
    "version": "2026-07-21",
    "summary": "Filter, page and aggregate Public library statistics by council, Queensland from State Library of Queensland.",
    "description": "The query API returns only the rows you ask for, as JSON, NDJSON or CSV, from the same typed rows as the files. It needs no key. The API allows 60 requests in 10 seconds from one address. Above that it answers 429 for 10 seconds with a `Retry-After` header, a `RateLimit-Policy` header and a JSON body that gives the limit. Every API answer carries the same `RateLimit-Policy`. A client should wait the `Retry-After` seconds, or read the files, which have no limit. Every JSON answer carries the version, licence and attribution. CSV and NDJSON answers carry them in response headers. State Library of Queensland has not endorsed this site. The whole site is described in https://publicdata.au/openapi.json.",
    "license": {
      "name": "CC BY 4.0",
      "url": "https://creativecommons.org/licenses/by/4.0/"
    }
  },
  "servers": [
    {
      "url": "https://publicdata.au"
    }
  ],
  "externalDocs": {
    "url": "https://publicdata.au/d/qld-public-library-council-statistics/#query"
  },
  "tags": [
    {
      "name": "query"
    }
  ],
  "paths": {
    "/api/v1/datasets/qld-public-library-council-statistics/rows": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Query Public library statistics by council, Queensland",
        "operationId": "queryRows_qld_public_library_council_statistics",
        "description": "Rows of Public library statistics by council, Queensland in the newest loaded version, filtered and paged. Each filter is `field=operator.value` in the query string, and every filter must match. A number or date field compares as a number or date, and a text field compares as text. Values are case-sensitive except with `ilike`. Prefix `not.` to negate a filter, as `not.eq.value`. Operators: `eq.value`, `neq.value`, `gt.value`, `gte.value`, `lt.value`, `lte.value`, `like.*text*`, `ilike.*text*`, `in.(a,b,c)`, `is.null`.",
        "parameters": [
          {
            "name": "council",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Winton Shire Council"
            ]
          },
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: IND, RLQ.",
            "examples": [
              "eq.RLQ"
            ]
          },
          {
            "name": "population",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 270 to 1323162.",
            "examples": [
              "eq.1323162"
            ]
          },
          {
            "name": "library_management_system",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: AIT Aurora, Civica Spydus, Libero Systems, SirsiDynix Symphony.",
            "examples": [
              "eq.SirsiDynix Symphony"
            ]
          },
          {
            "name": "public_library_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 23000 to 4664515.",
            "examples": [
              "eq.4664515"
            ]
          },
          {
            "name": "first_5_forever_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 3000 to 711877.",
            "examples": [
              "eq.711877"
            ]
          },
          {
            "name": "expenditure_salaries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29061626.",
            "examples": [
              "eq.29061626"
            ]
          },
          {
            "name": "expenditure_operating",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29829872.",
            "examples": [
              "eq.29829872"
            ]
          },
          {
            "name": "expenditure_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 3324255.",
            "examples": [
              "eq.3324255"
            ]
          },
          {
            "name": "expenditure_non_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 365776.",
            "examples": [
              "eq.365776"
            ]
          },
          {
            "name": "expenditure_digital_resources",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2030979.",
            "examples": [
              "eq.2030979"
            ]
          },
          {
            "name": "expenditure_total_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4831046.",
            "examples": [
              "eq.4831046"
            ]
          },
          {
            "name": "expenditure_capital",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6264687.",
            "examples": [
              "eq.6264687"
            ]
          },
          {
            "name": "expenditure_other_unclassified",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 26144837.",
            "examples": [
              "eq.26144837"
            ]
          },
          {
            "name": "expenditure_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2980 to 69821152.",
            "examples": [
              "eq.69821152"
            ]
          },
          {
            "name": "collection_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 556 to 1099145.",
            "examples": [
              "eq.1099145"
            ]
          },
          {
            "name": "collection_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 5 to 42222.",
            "examples": [
              "eq.42222"
            ]
          },
          {
            "name": "collection_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 111 to 86708.",
            "examples": [
              "eq.86708"
            ]
          },
          {
            "name": "collection_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 39399.",
            "examples": [
              "eq.39399"
            ]
          },
          {
            "name": "collection_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1228584.",
            "examples": [
              "eq.1228584"
            ]
          },
          {
            "name": "collection_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 248182.",
            "examples": [
              "eq.248182"
            ]
          },
          {
            "name": "collection_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 313950.",
            "examples": [
              "eq.313950"
            ]
          },
          {
            "name": "collection_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 92, 119, 250, 2000, 2441, 2442, 2448, 3171.",
            "examples": [
              "eq.3171"
            ]
          },
          {
            "name": "collection_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 73112.",
            "examples": [
              "eq.73112"
            ]
          },
          {
            "name": "collection_total_electronic_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 599347.",
            "examples": [
              "eq.599347"
            ]
          },
          {
            "name": "collection_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1618546.",
            "examples": [
              "eq.1618546"
            ]
          },
          {
            "name": "acquisition_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 138535.",
            "examples": [
              "eq.138535"
            ]
          },
          {
            "name": "acquisition_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2383.",
            "examples": [
              "eq.2383"
            ]
          },
          {
            "name": "acquisition_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4096.",
            "examples": [
              "eq.4096"
            ]
          },
          {
            "name": "acquisition_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1528.",
            "examples": [
              "eq.1528"
            ]
          },
          {
            "name": "acquisition_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 141538.",
            "examples": [
              "eq.141538"
            ]
          },
          {
            "name": "withdrawal_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 85047.",
            "examples": [
              "eq.85047"
            ]
          },
          {
            "name": "withdrawal_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5177.",
            "examples": [
              "eq.5177"
            ]
          },
          {
            "name": "withdrawal_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7545.",
            "examples": [
              "eq.7545"
            ]
          },
          {
            "name": "withdrawal_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1438.",
            "examples": [
              "eq.1438"
            ]
          },
          {
            "name": "withdrawal_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 89788.",
            "examples": [
              "eq.89788"
            ]
          },
          {
            "name": "usage_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 25 to 5386771.",
            "examples": [
              "eq.5386771"
            ]
          },
          {
            "name": "usage_web_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6229077.",
            "examples": [
              "eq.6229077"
            ]
          },
          {
            "name": "usage_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1012228.",
            "examples": [
              "eq.1012228"
            ]
          },
          {
            "name": "usage_reservations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1258797.",
            "examples": [
              "eq.1258797"
            ]
          },
          {
            "name": "usage_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 5715959.",
            "examples": [
              "eq.5715959"
            ]
          },
          {
            "name": "usage_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 81423.",
            "examples": [
              "eq.81423"
            ]
          },
          {
            "name": "usage_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 278407.",
            "examples": [
              "eq.278407"
            ]
          },
          {
            "name": "usage_other_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 241561.",
            "examples": [
              "eq.241561"
            ]
          },
          {
            "name": "usage_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 6077043.",
            "examples": [
              "eq.6077043"
            ]
          },
          {
            "name": "usage_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 1737637.",
            "examples": [
              "eq.1737637"
            ]
          },
          {
            "name": "usage_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6 to 1107029.",
            "examples": [
              "eq.1107029"
            ]
          },
          {
            "name": "usage_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 78400.",
            "examples": [
              "eq.78400"
            ]
          },
          {
            "name": "usage_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 327964.",
            "examples": [
              "eq.327964"
            ]
          },
          {
            "name": "usage_retrievals_and_downloads",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 86701.",
            "examples": [
              "eq.86701"
            ]
          },
          {
            "name": "usage_other_usage_data",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2970547.",
            "examples": [
              "eq.2970547"
            ]
          },
          {
            "name": "usage_digital_electronic_collection_usage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 4706488.",
            "examples": [
              "eq.4706488"
            ]
          },
          {
            "name": "usage_total_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 89 to 10177773.",
            "examples": [
              "eq.10177773"
            ]
          },
          {
            "name": "members_total",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 425517.",
            "examples": [
              "eq.425517"
            ]
          },
          {
            "name": "members_new",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 4 to 62898.",
            "examples": [
              "eq.62898"
            ]
          },
          {
            "name": "staff_ftes",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.25 to 255.21.",
            "examples": [
              "eq.255.21"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5150.",
            "examples": [
              "eq.5150"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1806.",
            "examples": [
              "eq.1806"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 192.",
            "examples": [
              "eq.192"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1018.",
            "examples": [
              "eq.1018"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 716.",
            "examples": [
              "eq.716"
            ]
          },
          {
            "name": "programs_digital_inclusion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1163.",
            "examples": [
              "eq.1163"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 803.",
            "examples": [
              "eq.803"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 638.",
            "examples": [
              "eq.638"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 5, 7, 11, 12, 14, 16, 24, 28, 33, 128.",
            "examples": [
              "eq.128"
            ]
          },
          {
            "name": "programs_total_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 9700.",
            "examples": [
              "eq.9700"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 202268.",
            "examples": [
              "eq.202268"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 37917.",
            "examples": [
              "eq.37917"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2395.",
            "examples": [
              "eq.2395"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29292.",
            "examples": [
              "eq.29292"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 12764.",
            "examples": [
              "eq.12764"
            ]
          },
          {
            "name": "programs_digital_inclusion_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5858.",
            "examples": [
              "eq.5858"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 28322.",
            "examples": [
              "eq.28322"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7726.",
            "examples": [
              "eq.7726"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 4, 10, 11, 12, 19, 24, 56, 69, 79, 99, 175, 189, 194, 325, 327, 950, 2189.",
            "examples": [
              "eq.2189"
            ]
          },
          {
            "name": "programs_total_sessions_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 297282.",
            "examples": [
              "eq.297282"
            ]
          },
          {
            "name": "services_public_access_internet_devices",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 478.",
            "examples": [
              "eq.478"
            ]
          },
          {
            "name": "services_public_access_internet_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 185134.",
            "examples": [
              "eq.185134"
            ]
          },
          {
            "name": "services_wifi_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1161775.",
            "examples": [
              "eq.1161775"
            ]
          },
          {
            "name": "services_wifi_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 487146.",
            "examples": [
              "eq.487146"
            ]
          },
          {
            "name": "per_capita_operating_expenditure",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 130.2.",
            "examples": [
              "eq.130.2"
            ]
          },
          {
            "name": "per_capita_collection_items_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.67 to 8.36.",
            "examples": [
              "eq.8.36"
            ]
          },
          {
            "name": "per_capita_collection_acquisition_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. Values: 0.0, 0.08, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.17, 0.18, 0.19, 0.2, 0.21, 0.27.",
            "examples": [
              "eq.0.27"
            ]
          },
          {
            "name": "per_capita_collection_withdrawal_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 0.52.",
            "examples": [
              "eq.0.52"
            ]
          },
          {
            "name": "per_capita_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.2 to 12.3.",
            "examples": [
              "eq.12.3"
            ]
          },
          {
            "name": "per_capita_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1.18.",
            "examples": [
              "eq.1.18"
            ]
          },
          {
            "name": "per_capita_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.01 to 29.77.",
            "examples": [
              "eq.29.77"
            ]
          },
          {
            "name": "select",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Fields to return, comma-separated. Every field when absent."
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "`field.asc` or `field.desc`, comma-separated. The publisher's row order when absent."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000,
              "default": 100
            },
            "description": "Rows per page, 1 to 10,000. 100 when absent."
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            },
            "description": "Rows to skip. The `next` URL in each answer sets it for you."
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "ndjson",
                "csv"
              ],
              "default": "json"
            },
            "description": "`json`, `ndjson` or `csv`. JSON carries the provenance header, and the others carry it in response headers."
          }
        ],
        "responses": {
          "200": {
            "description": "Rows with the version, licence and attribution. `next` is the URL of the following page, or null."
          },
          "400": {
            "description": "The query names a field the dataset does not have, or a value of the wrong type."
          },
          "404": {
            "description": "The dataset or version is not loaded for queries."
          },
          "429": {
            "description": "More than 60 requests in 10 seconds from one address. Blocked for 10 seconds. Wait `Retry-After` seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "Seconds until the block lifts."
              },
              "RateLimit-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "The limit, as \"fair-use\";q=60;w=10."
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer",
                      "const": 429
                    },
                    "limit": {
                      "type": "integer"
                    },
                    "window_seconds": {
                      "type": "integer"
                    },
                    "block_seconds": {
                      "type": "integer"
                    },
                    "docs": {
                      "type": "string",
                      "format": "uri"
                    },
                    "files": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/datasets/qld-public-library-council-statistics/versions/{version}/rows": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Query Public library statistics by council, Queensland",
        "operationId": "queryRows_qld_public_library_council_statistics_version",
        "description": "Rows of Public library statistics by council, Queensland in one dated version, filtered and paged. Each filter is `field=operator.value` in the query string, and every filter must match. A number or date field compares as a number or date, and a text field compares as text. Values are case-sensitive except with `ilike`. Prefix `not.` to negate a filter, as `not.eq.value`. Operators: `eq.value`, `neq.value`, `gt.value`, `gte.value`, `lt.value`, `lte.value`, `like.*text*`, `ilike.*text*`, `in.(a,b,c)`, `is.null`.",
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "description": "A dated version loaded for queries, from the versions path. Answers for a dated version never change."
          },
          {
            "name": "council",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Winton Shire Council"
            ]
          },
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: IND, RLQ.",
            "examples": [
              "eq.RLQ"
            ]
          },
          {
            "name": "population",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 270 to 1323162.",
            "examples": [
              "eq.1323162"
            ]
          },
          {
            "name": "library_management_system",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: AIT Aurora, Civica Spydus, Libero Systems, SirsiDynix Symphony.",
            "examples": [
              "eq.SirsiDynix Symphony"
            ]
          },
          {
            "name": "public_library_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 23000 to 4664515.",
            "examples": [
              "eq.4664515"
            ]
          },
          {
            "name": "first_5_forever_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 3000 to 711877.",
            "examples": [
              "eq.711877"
            ]
          },
          {
            "name": "expenditure_salaries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29061626.",
            "examples": [
              "eq.29061626"
            ]
          },
          {
            "name": "expenditure_operating",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29829872.",
            "examples": [
              "eq.29829872"
            ]
          },
          {
            "name": "expenditure_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 3324255.",
            "examples": [
              "eq.3324255"
            ]
          },
          {
            "name": "expenditure_non_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 365776.",
            "examples": [
              "eq.365776"
            ]
          },
          {
            "name": "expenditure_digital_resources",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2030979.",
            "examples": [
              "eq.2030979"
            ]
          },
          {
            "name": "expenditure_total_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4831046.",
            "examples": [
              "eq.4831046"
            ]
          },
          {
            "name": "expenditure_capital",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6264687.",
            "examples": [
              "eq.6264687"
            ]
          },
          {
            "name": "expenditure_other_unclassified",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 26144837.",
            "examples": [
              "eq.26144837"
            ]
          },
          {
            "name": "expenditure_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2980 to 69821152.",
            "examples": [
              "eq.69821152"
            ]
          },
          {
            "name": "collection_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 556 to 1099145.",
            "examples": [
              "eq.1099145"
            ]
          },
          {
            "name": "collection_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 5 to 42222.",
            "examples": [
              "eq.42222"
            ]
          },
          {
            "name": "collection_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 111 to 86708.",
            "examples": [
              "eq.86708"
            ]
          },
          {
            "name": "collection_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 39399.",
            "examples": [
              "eq.39399"
            ]
          },
          {
            "name": "collection_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1228584.",
            "examples": [
              "eq.1228584"
            ]
          },
          {
            "name": "collection_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 248182.",
            "examples": [
              "eq.248182"
            ]
          },
          {
            "name": "collection_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 313950.",
            "examples": [
              "eq.313950"
            ]
          },
          {
            "name": "collection_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 92, 119, 250, 2000, 2441, 2442, 2448, 3171.",
            "examples": [
              "eq.3171"
            ]
          },
          {
            "name": "collection_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 73112.",
            "examples": [
              "eq.73112"
            ]
          },
          {
            "name": "collection_total_electronic_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 599347.",
            "examples": [
              "eq.599347"
            ]
          },
          {
            "name": "collection_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1618546.",
            "examples": [
              "eq.1618546"
            ]
          },
          {
            "name": "acquisition_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 138535.",
            "examples": [
              "eq.138535"
            ]
          },
          {
            "name": "acquisition_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2383.",
            "examples": [
              "eq.2383"
            ]
          },
          {
            "name": "acquisition_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4096.",
            "examples": [
              "eq.4096"
            ]
          },
          {
            "name": "acquisition_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1528.",
            "examples": [
              "eq.1528"
            ]
          },
          {
            "name": "acquisition_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 141538.",
            "examples": [
              "eq.141538"
            ]
          },
          {
            "name": "withdrawal_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 85047.",
            "examples": [
              "eq.85047"
            ]
          },
          {
            "name": "withdrawal_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5177.",
            "examples": [
              "eq.5177"
            ]
          },
          {
            "name": "withdrawal_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7545.",
            "examples": [
              "eq.7545"
            ]
          },
          {
            "name": "withdrawal_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1438.",
            "examples": [
              "eq.1438"
            ]
          },
          {
            "name": "withdrawal_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 89788.",
            "examples": [
              "eq.89788"
            ]
          },
          {
            "name": "usage_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 25 to 5386771.",
            "examples": [
              "eq.5386771"
            ]
          },
          {
            "name": "usage_web_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6229077.",
            "examples": [
              "eq.6229077"
            ]
          },
          {
            "name": "usage_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1012228.",
            "examples": [
              "eq.1012228"
            ]
          },
          {
            "name": "usage_reservations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1258797.",
            "examples": [
              "eq.1258797"
            ]
          },
          {
            "name": "usage_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 5715959.",
            "examples": [
              "eq.5715959"
            ]
          },
          {
            "name": "usage_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 81423.",
            "examples": [
              "eq.81423"
            ]
          },
          {
            "name": "usage_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 278407.",
            "examples": [
              "eq.278407"
            ]
          },
          {
            "name": "usage_other_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 241561.",
            "examples": [
              "eq.241561"
            ]
          },
          {
            "name": "usage_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 6077043.",
            "examples": [
              "eq.6077043"
            ]
          },
          {
            "name": "usage_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 1737637.",
            "examples": [
              "eq.1737637"
            ]
          },
          {
            "name": "usage_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6 to 1107029.",
            "examples": [
              "eq.1107029"
            ]
          },
          {
            "name": "usage_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 78400.",
            "examples": [
              "eq.78400"
            ]
          },
          {
            "name": "usage_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 327964.",
            "examples": [
              "eq.327964"
            ]
          },
          {
            "name": "usage_retrievals_and_downloads",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 86701.",
            "examples": [
              "eq.86701"
            ]
          },
          {
            "name": "usage_other_usage_data",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2970547.",
            "examples": [
              "eq.2970547"
            ]
          },
          {
            "name": "usage_digital_electronic_collection_usage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 4706488.",
            "examples": [
              "eq.4706488"
            ]
          },
          {
            "name": "usage_total_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 89 to 10177773.",
            "examples": [
              "eq.10177773"
            ]
          },
          {
            "name": "members_total",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 425517.",
            "examples": [
              "eq.425517"
            ]
          },
          {
            "name": "members_new",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 4 to 62898.",
            "examples": [
              "eq.62898"
            ]
          },
          {
            "name": "staff_ftes",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.25 to 255.21.",
            "examples": [
              "eq.255.21"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5150.",
            "examples": [
              "eq.5150"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1806.",
            "examples": [
              "eq.1806"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 192.",
            "examples": [
              "eq.192"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1018.",
            "examples": [
              "eq.1018"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 716.",
            "examples": [
              "eq.716"
            ]
          },
          {
            "name": "programs_digital_inclusion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1163.",
            "examples": [
              "eq.1163"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 803.",
            "examples": [
              "eq.803"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 638.",
            "examples": [
              "eq.638"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 5, 7, 11, 12, 14, 16, 24, 28, 33, 128.",
            "examples": [
              "eq.128"
            ]
          },
          {
            "name": "programs_total_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 9700.",
            "examples": [
              "eq.9700"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 202268.",
            "examples": [
              "eq.202268"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 37917.",
            "examples": [
              "eq.37917"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2395.",
            "examples": [
              "eq.2395"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29292.",
            "examples": [
              "eq.29292"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 12764.",
            "examples": [
              "eq.12764"
            ]
          },
          {
            "name": "programs_digital_inclusion_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5858.",
            "examples": [
              "eq.5858"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 28322.",
            "examples": [
              "eq.28322"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7726.",
            "examples": [
              "eq.7726"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 4, 10, 11, 12, 19, 24, 56, 69, 79, 99, 175, 189, 194, 325, 327, 950, 2189.",
            "examples": [
              "eq.2189"
            ]
          },
          {
            "name": "programs_total_sessions_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 297282.",
            "examples": [
              "eq.297282"
            ]
          },
          {
            "name": "services_public_access_internet_devices",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 478.",
            "examples": [
              "eq.478"
            ]
          },
          {
            "name": "services_public_access_internet_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 185134.",
            "examples": [
              "eq.185134"
            ]
          },
          {
            "name": "services_wifi_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1161775.",
            "examples": [
              "eq.1161775"
            ]
          },
          {
            "name": "services_wifi_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 487146.",
            "examples": [
              "eq.487146"
            ]
          },
          {
            "name": "per_capita_operating_expenditure",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 130.2.",
            "examples": [
              "eq.130.2"
            ]
          },
          {
            "name": "per_capita_collection_items_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.67 to 8.36.",
            "examples": [
              "eq.8.36"
            ]
          },
          {
            "name": "per_capita_collection_acquisition_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. Values: 0.0, 0.08, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.17, 0.18, 0.19, 0.2, 0.21, 0.27.",
            "examples": [
              "eq.0.27"
            ]
          },
          {
            "name": "per_capita_collection_withdrawal_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 0.52.",
            "examples": [
              "eq.0.52"
            ]
          },
          {
            "name": "per_capita_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.2 to 12.3.",
            "examples": [
              "eq.12.3"
            ]
          },
          {
            "name": "per_capita_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1.18.",
            "examples": [
              "eq.1.18"
            ]
          },
          {
            "name": "per_capita_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.01 to 29.77.",
            "examples": [
              "eq.29.77"
            ]
          },
          {
            "name": "select",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Fields to return, comma-separated. Every field when absent."
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "`field.asc` or `field.desc`, comma-separated. The publisher's row order when absent."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000,
              "default": 100
            },
            "description": "Rows per page, 1 to 10,000. 100 when absent."
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            },
            "description": "Rows to skip. The `next` URL in each answer sets it for you."
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "ndjson",
                "csv"
              ],
              "default": "json"
            },
            "description": "`json`, `ndjson` or `csv`. JSON carries the provenance header, and the others carry it in response headers."
          }
        ],
        "responses": {
          "200": {
            "description": "Rows with the version, licence and attribution. `next` is the URL of the following page, or null."
          },
          "400": {
            "description": "The query names a field the dataset does not have, or a value of the wrong type."
          },
          "404": {
            "description": "The dataset or version is not loaded for queries."
          },
          "429": {
            "description": "More than 60 requests in 10 seconds from one address. Blocked for 10 seconds. Wait `Retry-After` seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "Seconds until the block lifts."
              },
              "RateLimit-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "The limit, as \"fair-use\";q=60;w=10."
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer",
                      "const": 429
                    },
                    "limit": {
                      "type": "integer"
                    },
                    "window_seconds": {
                      "type": "integer"
                    },
                    "block_seconds": {
                      "type": "integer"
                    },
                    "docs": {
                      "type": "string",
                      "format": "uri"
                    },
                    "files": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/datasets/{slug}/aggregate": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Counts, sums, averages, minimums and maximums by group",
        "operationId": "aggregate",
        "description": "Groups and totals of any dataset in the newest loaded version. Filters work as they do on rows. Each filter is `field=operator.value` in the query string, and every filter must match. A number or date field compares as a number or date, and a text field compares as text. Values are case-sensitive except with `ilike`. Prefix `not.` to negate a filter, as `not.eq.value`. Operators: `eq.value`, `neq.value`, `gt.value`, `gte.value`, `lt.value`, `lte.value`, `like.*text*`, `ilike.*text*`, `in.(a,b,c)`, `is.null`.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "qld-public-library-council-statistics"
              ]
            },
            "description": "The dataset's slug, as in its page URL `/d/<slug>/`."
          },
          {
            "name": "group",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "On `aggregate`, fields to group by, comma-separated."
          },
          {
            "name": "metric",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "count"
            },
            "description": "On `aggregate`, `count`, `sum.field`, `avg.field`, `min.field` or `max.field`, comma-separated. `count` when absent."
          },
          {
            "name": "council",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Winton Shire Council"
            ]
          },
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: IND, RLQ.",
            "examples": [
              "eq.RLQ"
            ]
          },
          {
            "name": "population",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 270 to 1323162.",
            "examples": [
              "eq.1323162"
            ]
          },
          {
            "name": "library_management_system",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: AIT Aurora, Civica Spydus, Libero Systems, SirsiDynix Symphony.",
            "examples": [
              "eq.SirsiDynix Symphony"
            ]
          },
          {
            "name": "public_library_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 23000 to 4664515.",
            "examples": [
              "eq.4664515"
            ]
          },
          {
            "name": "first_5_forever_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 3000 to 711877.",
            "examples": [
              "eq.711877"
            ]
          },
          {
            "name": "expenditure_salaries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29061626.",
            "examples": [
              "eq.29061626"
            ]
          },
          {
            "name": "expenditure_operating",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29829872.",
            "examples": [
              "eq.29829872"
            ]
          },
          {
            "name": "expenditure_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 3324255.",
            "examples": [
              "eq.3324255"
            ]
          },
          {
            "name": "expenditure_non_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 365776.",
            "examples": [
              "eq.365776"
            ]
          },
          {
            "name": "expenditure_digital_resources",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2030979.",
            "examples": [
              "eq.2030979"
            ]
          },
          {
            "name": "expenditure_total_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4831046.",
            "examples": [
              "eq.4831046"
            ]
          },
          {
            "name": "expenditure_capital",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6264687.",
            "examples": [
              "eq.6264687"
            ]
          },
          {
            "name": "expenditure_other_unclassified",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 26144837.",
            "examples": [
              "eq.26144837"
            ]
          },
          {
            "name": "expenditure_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2980 to 69821152.",
            "examples": [
              "eq.69821152"
            ]
          },
          {
            "name": "collection_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 556 to 1099145.",
            "examples": [
              "eq.1099145"
            ]
          },
          {
            "name": "collection_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 5 to 42222.",
            "examples": [
              "eq.42222"
            ]
          },
          {
            "name": "collection_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 111 to 86708.",
            "examples": [
              "eq.86708"
            ]
          },
          {
            "name": "collection_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 39399.",
            "examples": [
              "eq.39399"
            ]
          },
          {
            "name": "collection_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1228584.",
            "examples": [
              "eq.1228584"
            ]
          },
          {
            "name": "collection_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 248182.",
            "examples": [
              "eq.248182"
            ]
          },
          {
            "name": "collection_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 313950.",
            "examples": [
              "eq.313950"
            ]
          },
          {
            "name": "collection_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 92, 119, 250, 2000, 2441, 2442, 2448, 3171.",
            "examples": [
              "eq.3171"
            ]
          },
          {
            "name": "collection_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 73112.",
            "examples": [
              "eq.73112"
            ]
          },
          {
            "name": "collection_total_electronic_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 599347.",
            "examples": [
              "eq.599347"
            ]
          },
          {
            "name": "collection_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1618546.",
            "examples": [
              "eq.1618546"
            ]
          },
          {
            "name": "acquisition_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 138535.",
            "examples": [
              "eq.138535"
            ]
          },
          {
            "name": "acquisition_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2383.",
            "examples": [
              "eq.2383"
            ]
          },
          {
            "name": "acquisition_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4096.",
            "examples": [
              "eq.4096"
            ]
          },
          {
            "name": "acquisition_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1528.",
            "examples": [
              "eq.1528"
            ]
          },
          {
            "name": "acquisition_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 141538.",
            "examples": [
              "eq.141538"
            ]
          },
          {
            "name": "withdrawal_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 85047.",
            "examples": [
              "eq.85047"
            ]
          },
          {
            "name": "withdrawal_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5177.",
            "examples": [
              "eq.5177"
            ]
          },
          {
            "name": "withdrawal_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7545.",
            "examples": [
              "eq.7545"
            ]
          },
          {
            "name": "withdrawal_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1438.",
            "examples": [
              "eq.1438"
            ]
          },
          {
            "name": "withdrawal_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 89788.",
            "examples": [
              "eq.89788"
            ]
          },
          {
            "name": "usage_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 25 to 5386771.",
            "examples": [
              "eq.5386771"
            ]
          },
          {
            "name": "usage_web_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6229077.",
            "examples": [
              "eq.6229077"
            ]
          },
          {
            "name": "usage_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1012228.",
            "examples": [
              "eq.1012228"
            ]
          },
          {
            "name": "usage_reservations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1258797.",
            "examples": [
              "eq.1258797"
            ]
          },
          {
            "name": "usage_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 5715959.",
            "examples": [
              "eq.5715959"
            ]
          },
          {
            "name": "usage_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 81423.",
            "examples": [
              "eq.81423"
            ]
          },
          {
            "name": "usage_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 278407.",
            "examples": [
              "eq.278407"
            ]
          },
          {
            "name": "usage_other_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 241561.",
            "examples": [
              "eq.241561"
            ]
          },
          {
            "name": "usage_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 6077043.",
            "examples": [
              "eq.6077043"
            ]
          },
          {
            "name": "usage_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 1737637.",
            "examples": [
              "eq.1737637"
            ]
          },
          {
            "name": "usage_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6 to 1107029.",
            "examples": [
              "eq.1107029"
            ]
          },
          {
            "name": "usage_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 78400.",
            "examples": [
              "eq.78400"
            ]
          },
          {
            "name": "usage_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 327964.",
            "examples": [
              "eq.327964"
            ]
          },
          {
            "name": "usage_retrievals_and_downloads",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 86701.",
            "examples": [
              "eq.86701"
            ]
          },
          {
            "name": "usage_other_usage_data",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2970547.",
            "examples": [
              "eq.2970547"
            ]
          },
          {
            "name": "usage_digital_electronic_collection_usage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 4706488.",
            "examples": [
              "eq.4706488"
            ]
          },
          {
            "name": "usage_total_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 89 to 10177773.",
            "examples": [
              "eq.10177773"
            ]
          },
          {
            "name": "members_total",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 425517.",
            "examples": [
              "eq.425517"
            ]
          },
          {
            "name": "members_new",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 4 to 62898.",
            "examples": [
              "eq.62898"
            ]
          },
          {
            "name": "staff_ftes",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.25 to 255.21.",
            "examples": [
              "eq.255.21"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5150.",
            "examples": [
              "eq.5150"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1806.",
            "examples": [
              "eq.1806"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 192.",
            "examples": [
              "eq.192"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1018.",
            "examples": [
              "eq.1018"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 716.",
            "examples": [
              "eq.716"
            ]
          },
          {
            "name": "programs_digital_inclusion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1163.",
            "examples": [
              "eq.1163"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 803.",
            "examples": [
              "eq.803"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 638.",
            "examples": [
              "eq.638"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 5, 7, 11, 12, 14, 16, 24, 28, 33, 128.",
            "examples": [
              "eq.128"
            ]
          },
          {
            "name": "programs_total_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 9700.",
            "examples": [
              "eq.9700"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 202268.",
            "examples": [
              "eq.202268"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 37917.",
            "examples": [
              "eq.37917"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2395.",
            "examples": [
              "eq.2395"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29292.",
            "examples": [
              "eq.29292"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 12764.",
            "examples": [
              "eq.12764"
            ]
          },
          {
            "name": "programs_digital_inclusion_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5858.",
            "examples": [
              "eq.5858"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 28322.",
            "examples": [
              "eq.28322"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7726.",
            "examples": [
              "eq.7726"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 4, 10, 11, 12, 19, 24, 56, 69, 79, 99, 175, 189, 194, 325, 327, 950, 2189.",
            "examples": [
              "eq.2189"
            ]
          },
          {
            "name": "programs_total_sessions_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 297282.",
            "examples": [
              "eq.297282"
            ]
          },
          {
            "name": "services_public_access_internet_devices",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 478.",
            "examples": [
              "eq.478"
            ]
          },
          {
            "name": "services_public_access_internet_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 185134.",
            "examples": [
              "eq.185134"
            ]
          },
          {
            "name": "services_wifi_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1161775.",
            "examples": [
              "eq.1161775"
            ]
          },
          {
            "name": "services_wifi_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 487146.",
            "examples": [
              "eq.487146"
            ]
          },
          {
            "name": "per_capita_operating_expenditure",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 130.2.",
            "examples": [
              "eq.130.2"
            ]
          },
          {
            "name": "per_capita_collection_items_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.67 to 8.36.",
            "examples": [
              "eq.8.36"
            ]
          },
          {
            "name": "per_capita_collection_acquisition_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. Values: 0.0, 0.08, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.17, 0.18, 0.19, 0.2, 0.21, 0.27.",
            "examples": [
              "eq.0.27"
            ]
          },
          {
            "name": "per_capita_collection_withdrawal_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 0.52.",
            "examples": [
              "eq.0.52"
            ]
          },
          {
            "name": "per_capita_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.2 to 12.3.",
            "examples": [
              "eq.12.3"
            ]
          },
          {
            "name": "per_capita_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1.18.",
            "examples": [
              "eq.1.18"
            ]
          },
          {
            "name": "per_capita_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.01 to 29.77.",
            "examples": [
              "eq.29.77"
            ]
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "`field.asc` or `field.desc`, comma-separated. The publisher's row order when absent."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000,
              "default": 100
            },
            "description": "Rows per page, 1 to 10,000. 100 when absent."
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            },
            "description": "Rows to skip. The `next` URL in each answer sets it for you."
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "ndjson",
                "csv"
              ],
              "default": "json"
            },
            "description": "`json`, `ndjson` or `csv`. JSON carries the provenance header, and the others carry it in response headers."
          }
        ],
        "responses": {
          "200": {
            "description": "Rows with the version, licence and attribution. `next` is the URL of the following page, or null."
          },
          "400": {
            "description": "The query names a field the dataset does not have, or a value of the wrong type."
          },
          "404": {
            "description": "The dataset or version is not loaded for queries."
          },
          "429": {
            "description": "More than 60 requests in 10 seconds from one address. Blocked for 10 seconds. Wait `Retry-After` seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "Seconds until the block lifts."
              },
              "RateLimit-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "The limit, as \"fair-use\";q=60;w=10."
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer",
                      "const": 429
                    },
                    "limit": {
                      "type": "integer"
                    },
                    "window_seconds": {
                      "type": "integer"
                    },
                    "block_seconds": {
                      "type": "integer"
                    },
                    "docs": {
                      "type": "string",
                      "format": "uri"
                    },
                    "files": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/datasets/{slug}/versions/{version}/aggregate": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Counts, sums, averages, minimums and maximums by group",
        "operationId": "aggregateVersion",
        "description": "Groups and totals of any dataset in one dated version. Filters work as they do on rows. Each filter is `field=operator.value` in the query string, and every filter must match. A number or date field compares as a number or date, and a text field compares as text. Values are case-sensitive except with `ilike`. Prefix `not.` to negate a filter, as `not.eq.value`. Operators: `eq.value`, `neq.value`, `gt.value`, `gte.value`, `lt.value`, `lte.value`, `like.*text*`, `ilike.*text*`, `in.(a,b,c)`, `is.null`.",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "qld-public-library-council-statistics"
              ]
            },
            "description": "The dataset's slug, as in its page URL `/d/<slug>/`."
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "description": "A dated version loaded for queries, from the versions path. Answers for a dated version never change."
          },
          {
            "name": "group",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "On `aggregate`, fields to group by, comma-separated."
          },
          {
            "name": "metric",
            "in": "query",
            "schema": {
              "type": "string",
              "default": "count"
            },
            "description": "On `aggregate`, `count`, `sum.field`, `avg.field`, `min.field` or `max.field`, comma-separated. `count` when absent."
          },
          {
            "name": "council",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Winton Shire Council"
            ]
          },
          {
            "name": "service",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: IND, RLQ.",
            "examples": [
              "eq.RLQ"
            ]
          },
          {
            "name": "population",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 270 to 1323162.",
            "examples": [
              "eq.1323162"
            ]
          },
          {
            "name": "library_management_system",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: AIT Aurora, Civica Spydus, Libero Systems, SirsiDynix Symphony.",
            "examples": [
              "eq.SirsiDynix Symphony"
            ]
          },
          {
            "name": "public_library_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 23000 to 4664515.",
            "examples": [
              "eq.4664515"
            ]
          },
          {
            "name": "first_5_forever_grant",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 3000 to 711877.",
            "examples": [
              "eq.711877"
            ]
          },
          {
            "name": "expenditure_salaries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29061626.",
            "examples": [
              "eq.29061626"
            ]
          },
          {
            "name": "expenditure_operating",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29829872.",
            "examples": [
              "eq.29829872"
            ]
          },
          {
            "name": "expenditure_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 3324255.",
            "examples": [
              "eq.3324255"
            ]
          },
          {
            "name": "expenditure_non_print_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 365776.",
            "examples": [
              "eq.365776"
            ]
          },
          {
            "name": "expenditure_digital_resources",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2030979.",
            "examples": [
              "eq.2030979"
            ]
          },
          {
            "name": "expenditure_total_materials",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4831046.",
            "examples": [
              "eq.4831046"
            ]
          },
          {
            "name": "expenditure_capital",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6264687.",
            "examples": [
              "eq.6264687"
            ]
          },
          {
            "name": "expenditure_other_unclassified",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 26144837.",
            "examples": [
              "eq.26144837"
            ]
          },
          {
            "name": "expenditure_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2980 to 69821152.",
            "examples": [
              "eq.69821152"
            ]
          },
          {
            "name": "collection_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 556 to 1099145.",
            "examples": [
              "eq.1099145"
            ]
          },
          {
            "name": "collection_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 5 to 42222.",
            "examples": [
              "eq.42222"
            ]
          },
          {
            "name": "collection_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 111 to 86708.",
            "examples": [
              "eq.86708"
            ]
          },
          {
            "name": "collection_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 39399.",
            "examples": [
              "eq.39399"
            ]
          },
          {
            "name": "collection_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1228584.",
            "examples": [
              "eq.1228584"
            ]
          },
          {
            "name": "collection_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 248182.",
            "examples": [
              "eq.248182"
            ]
          },
          {
            "name": "collection_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 313950.",
            "examples": [
              "eq.313950"
            ]
          },
          {
            "name": "collection_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 92, 119, 250, 2000, 2441, 2442, 2448, 3171.",
            "examples": [
              "eq.3171"
            ]
          },
          {
            "name": "collection_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 73112.",
            "examples": [
              "eq.73112"
            ]
          },
          {
            "name": "collection_total_electronic_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 599347.",
            "examples": [
              "eq.599347"
            ]
          },
          {
            "name": "collection_total_all_categories",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 742 to 1618546.",
            "examples": [
              "eq.1618546"
            ]
          },
          {
            "name": "acquisition_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 138535.",
            "examples": [
              "eq.138535"
            ]
          },
          {
            "name": "acquisition_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2383.",
            "examples": [
              "eq.2383"
            ]
          },
          {
            "name": "acquisition_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 4096.",
            "examples": [
              "eq.4096"
            ]
          },
          {
            "name": "acquisition_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1528.",
            "examples": [
              "eq.1528"
            ]
          },
          {
            "name": "acquisition_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 141538.",
            "examples": [
              "eq.141538"
            ]
          },
          {
            "name": "withdrawal_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 85047.",
            "examples": [
              "eq.85047"
            ]
          },
          {
            "name": "withdrawal_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5177.",
            "examples": [
              "eq.5177"
            ]
          },
          {
            "name": "withdrawal_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7545.",
            "examples": [
              "eq.7545"
            ]
          },
          {
            "name": "withdrawal_other_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1438.",
            "examples": [
              "eq.1438"
            ]
          },
          {
            "name": "withdrawal_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 89788.",
            "examples": [
              "eq.89788"
            ]
          },
          {
            "name": "usage_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 25 to 5386771.",
            "examples": [
              "eq.5386771"
            ]
          },
          {
            "name": "usage_web_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 6229077.",
            "examples": [
              "eq.6229077"
            ]
          },
          {
            "name": "usage_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1012228.",
            "examples": [
              "eq.1012228"
            ]
          },
          {
            "name": "usage_reservations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1258797.",
            "examples": [
              "eq.1258797"
            ]
          },
          {
            "name": "usage_printed_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 5715959.",
            "examples": [
              "eq.5715959"
            ]
          },
          {
            "name": "usage_audio_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 81423.",
            "examples": [
              "eq.81423"
            ]
          },
          {
            "name": "usage_video_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 278407.",
            "examples": [
              "eq.278407"
            ]
          },
          {
            "name": "usage_other_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 241561.",
            "examples": [
              "eq.241561"
            ]
          },
          {
            "name": "usage_total_physical_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 36 to 6077043.",
            "examples": [
              "eq.6077043"
            ]
          },
          {
            "name": "usage_ebook",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 1737637.",
            "examples": [
              "eq.1737637"
            ]
          },
          {
            "name": "usage_eaudio",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6 to 1107029.",
            "examples": [
              "eq.1107029"
            ]
          },
          {
            "name": "usage_evideo",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 78400.",
            "examples": [
              "eq.78400"
            ]
          },
          {
            "name": "usage_other_digital_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 327964.",
            "examples": [
              "eq.327964"
            ]
          },
          {
            "name": "usage_retrievals_and_downloads",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 86701.",
            "examples": [
              "eq.86701"
            ]
          },
          {
            "name": "usage_other_usage_data",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2970547.",
            "examples": [
              "eq.2970547"
            ]
          },
          {
            "name": "usage_digital_electronic_collection_usage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 4706488.",
            "examples": [
              "eq.4706488"
            ]
          },
          {
            "name": "usage_total_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 89 to 10177773.",
            "examples": [
              "eq.10177773"
            ]
          },
          {
            "name": "members_total",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 425517.",
            "examples": [
              "eq.425517"
            ]
          },
          {
            "name": "members_new",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 4 to 62898.",
            "examples": [
              "eq.62898"
            ]
          },
          {
            "name": "staff_ftes",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.25 to 255.21.",
            "examples": [
              "eq.255.21"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5150.",
            "examples": [
              "eq.5150"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1806.",
            "examples": [
              "eq.1806"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 192.",
            "examples": [
              "eq.192"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1018.",
            "examples": [
              "eq.1018"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 716.",
            "examples": [
              "eq.716"
            ]
          },
          {
            "name": "programs_digital_inclusion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1163.",
            "examples": [
              "eq.1163"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 803.",
            "examples": [
              "eq.803"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 638.",
            "examples": [
              "eq.638"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 5, 7, 11, 12, 14, 16, 24, 28, 33, 128.",
            "examples": [
              "eq.128"
            ]
          },
          {
            "name": "programs_total_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 9700.",
            "examples": [
              "eq.9700"
            ]
          },
          {
            "name": "programs_for_children_0_to_5_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 202268.",
            "examples": [
              "eq.202268"
            ]
          },
          {
            "name": "programs_for_children_6_to_12_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 37917.",
            "examples": [
              "eq.37917"
            ]
          },
          {
            "name": "programs_for_young_adults_13_to_17_years_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 2395.",
            "examples": [
              "eq.2395"
            ]
          },
          {
            "name": "programs_literacy_and_lifelong_learning_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 29292.",
            "examples": [
              "eq.29292"
            ]
          },
          {
            "name": "programs_informed_and_connected_citizens_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 12764.",
            "examples": [
              "eq.12764"
            ]
          },
          {
            "name": "programs_digital_inclusion_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 5858.",
            "examples": [
              "eq.5858"
            ]
          },
          {
            "name": "programs_personal_development_and_wellbeing_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 28322.",
            "examples": [
              "eq.28322"
            ]
          },
          {
            "name": "programs_stronger_and_more_creative_communities_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 7726.",
            "examples": [
              "eq.7726"
            ]
          },
          {
            "name": "programs_economic_and_workforce_development_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 4, 10, 11, 12, 19, 24, 56, 69, 79, 99, 175, 189, 194, 325, 327, 950, 2189.",
            "examples": [
              "eq.2189"
            ]
          },
          {
            "name": "programs_total_sessions_attendance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 297282.",
            "examples": [
              "eq.297282"
            ]
          },
          {
            "name": "services_public_access_internet_devices",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 478.",
            "examples": [
              "eq.478"
            ]
          },
          {
            "name": "services_public_access_internet_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 185134.",
            "examples": [
              "eq.185134"
            ]
          },
          {
            "name": "services_wifi_sessions",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1161775.",
            "examples": [
              "eq.1161775"
            ]
          },
          {
            "name": "services_wifi_hours",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 487146.",
            "examples": [
              "eq.487146"
            ]
          },
          {
            "name": "per_capita_operating_expenditure",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 130.2.",
            "examples": [
              "eq.130.2"
            ]
          },
          {
            "name": "per_capita_collection_items_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.67 to 8.36.",
            "examples": [
              "eq.8.36"
            ]
          },
          {
            "name": "per_capita_collection_acquisition_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. Values: 0.0, 0.08, 0.1, 0.11, 0.12, 0.13, 0.14, 0.15, 0.17, 0.18, 0.19, 0.2, 0.21, 0.27.",
            "examples": [
              "eq.0.27"
            ]
          },
          {
            "name": "per_capita_collection_withdrawal_physical",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 0.52.",
            "examples": [
              "eq.0.52"
            ]
          },
          {
            "name": "per_capita_circulation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.2 to 12.3.",
            "examples": [
              "eq.12.3"
            ]
          },
          {
            "name": "per_capita_reference_enquiries",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1.18.",
            "examples": [
              "eq.1.18"
            ]
          },
          {
            "name": "per_capita_physical_visits",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.01 to 29.77.",
            "examples": [
              "eq.29.77"
            ]
          },
          {
            "name": "order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "`field.asc` or `field.desc`, comma-separated. The publisher's row order when absent."
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 1,
              "maximum": 10000,
              "default": 100
            },
            "description": "Rows per page, 1 to 10,000. 100 when absent."
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "minimum": 0,
              "default": 0
            },
            "description": "Rows to skip. The `next` URL in each answer sets it for you."
          },
          {
            "name": "format",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "json",
                "ndjson",
                "csv"
              ],
              "default": "json"
            },
            "description": "`json`, `ndjson` or `csv`. JSON carries the provenance header, and the others carry it in response headers."
          }
        ],
        "responses": {
          "200": {
            "description": "Rows with the version, licence and attribution. `next` is the URL of the following page, or null."
          },
          "400": {
            "description": "The query names a field the dataset does not have, or a value of the wrong type."
          },
          "404": {
            "description": "The dataset or version is not loaded for queries."
          },
          "429": {
            "description": "More than 60 requests in 10 seconds from one address. Blocked for 10 seconds. Wait `Retry-After` seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "Seconds until the block lifts."
              },
              "RateLimit-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "The limit, as \"fair-use\";q=60;w=10."
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer",
                      "const": 429
                    },
                    "limit": {
                      "type": "integer"
                    },
                    "window_seconds": {
                      "type": "integer"
                    },
                    "block_seconds": {
                      "type": "integer"
                    },
                    "docs": {
                      "type": "string",
                      "format": "uri"
                    },
                    "files": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/datasets/{slug}/versions": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "The versions loaded for queries, newest first, with the URLs to query each",
        "operationId": "queryVersions",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "qld-public-library-council-statistics"
              ]
            },
            "description": "The dataset's slug, as in its page URL `/d/<slug>/`."
          }
        ],
        "responses": {
          "200": {
            "description": "Loaded versions with row counts and URLs."
          },
          "404": {
            "description": "The dataset or version is not loaded for queries."
          },
          "429": {
            "description": "More than 60 requests in 10 seconds from one address. Blocked for 10 seconds. Wait `Retry-After` seconds.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "integer"
                },
                "description": "Seconds until the block lifts."
              },
              "RateLimit-Policy": {
                "schema": {
                  "type": "string"
                },
                "description": "The limit, as \"fair-use\";q=60;w=10."
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    },
                    "status": {
                      "type": "integer",
                      "const": 429
                    },
                    "limit": {
                      "type": "integer"
                    },
                    "window_seconds": {
                      "type": "integer"
                    },
                    "block_seconds": {
                      "type": "integer"
                    },
                    "docs": {
                      "type": "string",
                      "format": "uri"
                    },
                    "files": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
