{
  "openapi": "3.1.0",
  "info": {
    "title": "Reported offences by month, Queensland, from July 1997 query API",
    "version": "2026-09-11",
    "summary": "Filter, page and aggregate Reported offences by month, Queensland, from July 1997 from Queensland Police Service.",
    "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. Queensland Police Service 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-offences-monthly/#query"
  },
  "tags": [
    {
      "name": "query"
    }
  ],
  "paths": {
    "/api/v1/datasets/qld-offences-monthly/rows": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Query Reported offences by month, Queensland, from July 1997",
        "operationId": "queryRows_qld_offences_monthly",
        "description": "Rows of Reported offences by month, Queensland, from July 1997 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": "month",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. The month the offences were reported, published as a month and two-digit year such as JUL97 and read as the first day of that month. From 1997-07-01 to 2026-08-01."
          },
          {
            "name": "homicide_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18.",
            "examples": [
              "eq.18"
            ]
          },
          {
            "name": "other_homicide",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 29.",
            "examples": [
              "eq.29"
            ]
          },
          {
            "name": "attempted_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 25.",
            "examples": [
              "eq.25"
            ]
          },
          {
            "name": "conspiracy_to_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "manslaughter_excl_by_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5.",
            "examples": [
              "eq.5"
            ]
          },
          {
            "name": "driving_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "manslaughter_unlawful_striking_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3.",
            "examples": [
              "eq.3"
            ]
          },
          {
            "name": "assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1203 to 5882."
          },
          {
            "name": "grievous_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 42 to 187.",
            "examples": [
              "eq.187"
            ]
          },
          {
            "name": "serious_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 559 to 2618."
          },
          {
            "name": "serious_assault_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 56 to 715."
          },
          {
            "name": "common_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. The publisher's header ends in a stray apostrophe, Common Assault', kept as the source name. From 429 to 2489."
          },
          {
            "name": "sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 283 to 1212."
          },
          {
            "name": "rape_and_attempted_rape",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 45 to 495."
          },
          {
            "name": "other_sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 229 to 1097."
          },
          {
            "name": "robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 84 to 307."
          },
          {
            "name": "armed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 38 to 170.",
            "examples": [
              "eq.170"
            ]
          },
          {
            "name": "unarmed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 159.",
            "examples": [
              "eq.159"
            ]
          },
          {
            "name": "other_offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 180 to 950."
          },
          {
            "name": "kidnapping_abduction_etc",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 10 to 73.",
            "examples": [
              "eq.73"
            ]
          },
          {
            "name": "coercive_control",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 9, 19, 24, 25, 28, 29, 30, 32, 33, 34, 36, 37, 38, 42.",
            "examples": [
              "eq.42"
            ]
          },
          {
            "name": "extortion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 33.",
            "examples": [
              "eq.33"
            ]
          },
          {
            "name": "stalking",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 28 to 256.",
            "examples": [
              "eq.256"
            ]
          },
          {
            "name": "life_endangering_acts",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 106 to 623."
          },
          {
            "name": "voluntary_assisted_dying",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0.",
            "examples": [
              "eq.0"
            ]
          },
          {
            "name": "other_miscellaneous",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2044 to 7956."
          },
          {
            "name": "unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1933 to 7085."
          },
          {
            "name": "unlawful_entry_with_intent_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1132 to 4396."
          },
          {
            "name": "unlawful_entry_without_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1080 to 4317."
          },
          {
            "name": "unlawful_entry_with_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 102.",
            "examples": [
              "eq.102"
            ]
          },
          {
            "name": "unlawful_entry_with_intent_shop",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 87 to 847."
          },
          {
            "name": "unlawful_entry_with_intent_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 714 to 2143."
          },
          {
            "name": "arson",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 67 to 189.",
            "examples": [
              "eq.189"
            ]
          },
          {
            "name": "other_property_damage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2378 to 5686."
          },
          {
            "name": "unlawful_use_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 631 to 2091."
          },
          {
            "name": "other_theft_excl_unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6128 to 13826."
          },
          {
            "name": "stealing_from_dwellings",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 441 to 1007."
          },
          {
            "name": "shop_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 764 to 4174."
          },
          {
            "name": "vehicles_steal_from_enter_with_intent",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1654 to 3762."
          },
          {
            "name": "other_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2727 to 6423."
          },
          {
            "name": "fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 681 to 4312."
          },
          {
            "name": "fraud_by_computer",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1424.",
            "examples": [
              "eq.1424"
            ]
          },
          {
            "name": "fraud_by_cheque",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 618."
          },
          {
            "name": "fraud_by_credit_card",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 147 to 1767."
          },
          {
            "name": "identity_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 433.",
            "examples": [
              "eq.433"
            ]
          },
          {
            "name": "other_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 432 to 3407."
          },
          {
            "name": "handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 306 to 978."
          },
          {
            "name": "possess_property_suspected_stolen",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 368."
          },
          {
            "name": "receiving_stolen_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 332."
          },
          {
            "name": "possess_etc_tainted_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 132 to 705."
          },
          {
            "name": "other_handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17.",
            "examples": [
              "eq.17"
            ]
          },
          {
            "name": "offences_against_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 15458 to 27321."
          },
          {
            "name": "drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2371 to 10184."
          },
          {
            "name": "trafficking_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 173.",
            "examples": [
              "eq.173"
            ]
          },
          {
            "name": "possess_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1107 to 4683."
          },
          {
            "name": "produce_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 32 to 1288.",
            "examples": [
              "eq.1288"
            ]
          },
          {
            "name": "sell_supply_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 64 to 2521."
          },
          {
            "name": "other_drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 938 to 4399."
          },
          {
            "name": "prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 179.",
            "examples": [
              "eq.179"
            ]
          },
          {
            "name": "found_in_places_used_for_purpose_of_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 19, 23.",
            "examples": [
              "eq.23"
            ]
          },
          {
            "name": "have_interest_in_premises_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 8, 9, 13.",
            "examples": [
              "eq.13"
            ]
          },
          {
            "name": "knowingly_participate_in_provision_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 60.",
            "examples": [
              "eq.60"
            ]
          },
          {
            "name": "public_soliciting",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 168.",
            "examples": [
              "eq.168"
            ]
          },
          {
            "name": "procuring_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 15.",
            "examples": [
              "eq.15"
            ]
          },
          {
            "name": "permit_minor_to_be_at_a_place_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "advertising_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "other_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 36, 72.",
            "examples": [
              "eq.72"
            ]
          },
          {
            "name": "liquor_excl_drunkenness",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 73 to 1005."
          },
          {
            "name": "gaming_racing_betting_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 10, 15, 46, 70.",
            "examples": [
              "eq.70"
            ]
          },
          {
            "name": "breach_domestic_violence_protection_order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 324 to 6696."
          },
          {
            "name": "trespassing_and_vagrancy",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 134 to 872."
          },
          {
            "name": "weapons_act_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 214 to 1095."
          },
          {
            "name": "unlawful_possess_concealable_firearm",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 88.",
            "examples": [
              "eq.88"
            ]
          },
          {
            "name": "unlawful_possess_firearm_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 161.",
            "examples": [
              "eq.161"
            ]
          },
          {
            "name": "bomb_possess_and_or_use_of",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 22.",
            "examples": [
              "eq.22"
            ]
          },
          {
            "name": "possess_and_or_use_other_weapons_restricted_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 27 to 595.",
            "examples": [
              "eq.595"
            ]
          },
          {
            "name": "weapons_act_offences_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 39 to 810."
          },
          {
            "name": "good_order_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1130 to 5729."
          },
          {
            "name": "disobey_move_on_direction",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 181.",
            "examples": [
              "eq.181"
            ]
          },
          {
            "name": "resist_incite_hinder_obstruct_police",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 402 to 2685."
          },
          {
            "name": "fare_evasion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 22 to 598."
          },
          {
            "name": "public_nuisance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 643 to 3140."
          },
          {
            "name": "stock_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 418.",
            "examples": [
              "eq.418"
            ]
          },
          {
            "name": "traffic_and_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1851 to 4569."
          },
          {
            "name": "dangerous_operation_of_a_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 69 to 340."
          },
          {
            "name": "drink_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1478 to 3365."
          },
          {
            "name": "disqualified_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 197 to 1433."
          },
          {
            "name": "interfere_with_mechanism_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20.",
            "examples": [
              "eq.20"
            ]
          },
          {
            "name": "e_mobility",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 172, 264.",
            "examples": [
              "eq.264"
            ]
          },
          {
            "name": "miscellaneous_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 59 to 1052."
          },
          {
            "name": "other_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6916 to 26369."
          },
          {
            "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-offences-monthly/versions/{version}/rows": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Query Reported offences by month, Queensland, from July 1997",
        "operationId": "queryRows_qld_offences_monthly_version",
        "description": "Rows of Reported offences by month, Queensland, from July 1997 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": "month",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. The month the offences were reported, published as a month and two-digit year such as JUL97 and read as the first day of that month. From 1997-07-01 to 2026-08-01."
          },
          {
            "name": "homicide_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18.",
            "examples": [
              "eq.18"
            ]
          },
          {
            "name": "other_homicide",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 29.",
            "examples": [
              "eq.29"
            ]
          },
          {
            "name": "attempted_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 25.",
            "examples": [
              "eq.25"
            ]
          },
          {
            "name": "conspiracy_to_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "manslaughter_excl_by_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5.",
            "examples": [
              "eq.5"
            ]
          },
          {
            "name": "driving_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "manslaughter_unlawful_striking_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3.",
            "examples": [
              "eq.3"
            ]
          },
          {
            "name": "assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1203 to 5882."
          },
          {
            "name": "grievous_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 42 to 187.",
            "examples": [
              "eq.187"
            ]
          },
          {
            "name": "serious_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 559 to 2618."
          },
          {
            "name": "serious_assault_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 56 to 715."
          },
          {
            "name": "common_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. The publisher's header ends in a stray apostrophe, Common Assault', kept as the source name. From 429 to 2489."
          },
          {
            "name": "sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 283 to 1212."
          },
          {
            "name": "rape_and_attempted_rape",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 45 to 495."
          },
          {
            "name": "other_sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 229 to 1097."
          },
          {
            "name": "robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 84 to 307."
          },
          {
            "name": "armed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 38 to 170.",
            "examples": [
              "eq.170"
            ]
          },
          {
            "name": "unarmed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 159.",
            "examples": [
              "eq.159"
            ]
          },
          {
            "name": "other_offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 180 to 950."
          },
          {
            "name": "kidnapping_abduction_etc",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 10 to 73.",
            "examples": [
              "eq.73"
            ]
          },
          {
            "name": "coercive_control",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 9, 19, 24, 25, 28, 29, 30, 32, 33, 34, 36, 37, 38, 42.",
            "examples": [
              "eq.42"
            ]
          },
          {
            "name": "extortion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 33.",
            "examples": [
              "eq.33"
            ]
          },
          {
            "name": "stalking",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 28 to 256.",
            "examples": [
              "eq.256"
            ]
          },
          {
            "name": "life_endangering_acts",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 106 to 623."
          },
          {
            "name": "voluntary_assisted_dying",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0.",
            "examples": [
              "eq.0"
            ]
          },
          {
            "name": "other_miscellaneous",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2044 to 7956."
          },
          {
            "name": "unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1933 to 7085."
          },
          {
            "name": "unlawful_entry_with_intent_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1132 to 4396."
          },
          {
            "name": "unlawful_entry_without_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1080 to 4317."
          },
          {
            "name": "unlawful_entry_with_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 102.",
            "examples": [
              "eq.102"
            ]
          },
          {
            "name": "unlawful_entry_with_intent_shop",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 87 to 847."
          },
          {
            "name": "unlawful_entry_with_intent_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 714 to 2143."
          },
          {
            "name": "arson",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 67 to 189.",
            "examples": [
              "eq.189"
            ]
          },
          {
            "name": "other_property_damage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2378 to 5686."
          },
          {
            "name": "unlawful_use_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 631 to 2091."
          },
          {
            "name": "other_theft_excl_unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6128 to 13826."
          },
          {
            "name": "stealing_from_dwellings",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 441 to 1007."
          },
          {
            "name": "shop_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 764 to 4174."
          },
          {
            "name": "vehicles_steal_from_enter_with_intent",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1654 to 3762."
          },
          {
            "name": "other_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2727 to 6423."
          },
          {
            "name": "fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 681 to 4312."
          },
          {
            "name": "fraud_by_computer",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1424.",
            "examples": [
              "eq.1424"
            ]
          },
          {
            "name": "fraud_by_cheque",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 618."
          },
          {
            "name": "fraud_by_credit_card",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 147 to 1767."
          },
          {
            "name": "identity_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 433.",
            "examples": [
              "eq.433"
            ]
          },
          {
            "name": "other_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 432 to 3407."
          },
          {
            "name": "handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 306 to 978."
          },
          {
            "name": "possess_property_suspected_stolen",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 368."
          },
          {
            "name": "receiving_stolen_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 332."
          },
          {
            "name": "possess_etc_tainted_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 132 to 705."
          },
          {
            "name": "other_handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17.",
            "examples": [
              "eq.17"
            ]
          },
          {
            "name": "offences_against_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 15458 to 27321."
          },
          {
            "name": "drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2371 to 10184."
          },
          {
            "name": "trafficking_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 173.",
            "examples": [
              "eq.173"
            ]
          },
          {
            "name": "possess_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1107 to 4683."
          },
          {
            "name": "produce_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 32 to 1288.",
            "examples": [
              "eq.1288"
            ]
          },
          {
            "name": "sell_supply_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 64 to 2521."
          },
          {
            "name": "other_drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 938 to 4399."
          },
          {
            "name": "prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 179.",
            "examples": [
              "eq.179"
            ]
          },
          {
            "name": "found_in_places_used_for_purpose_of_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 19, 23.",
            "examples": [
              "eq.23"
            ]
          },
          {
            "name": "have_interest_in_premises_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 8, 9, 13.",
            "examples": [
              "eq.13"
            ]
          },
          {
            "name": "knowingly_participate_in_provision_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 60.",
            "examples": [
              "eq.60"
            ]
          },
          {
            "name": "public_soliciting",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 168.",
            "examples": [
              "eq.168"
            ]
          },
          {
            "name": "procuring_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 15.",
            "examples": [
              "eq.15"
            ]
          },
          {
            "name": "permit_minor_to_be_at_a_place_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "advertising_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "other_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 36, 72.",
            "examples": [
              "eq.72"
            ]
          },
          {
            "name": "liquor_excl_drunkenness",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 73 to 1005."
          },
          {
            "name": "gaming_racing_betting_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 10, 15, 46, 70.",
            "examples": [
              "eq.70"
            ]
          },
          {
            "name": "breach_domestic_violence_protection_order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 324 to 6696."
          },
          {
            "name": "trespassing_and_vagrancy",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 134 to 872."
          },
          {
            "name": "weapons_act_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 214 to 1095."
          },
          {
            "name": "unlawful_possess_concealable_firearm",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 88.",
            "examples": [
              "eq.88"
            ]
          },
          {
            "name": "unlawful_possess_firearm_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 161.",
            "examples": [
              "eq.161"
            ]
          },
          {
            "name": "bomb_possess_and_or_use_of",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 22.",
            "examples": [
              "eq.22"
            ]
          },
          {
            "name": "possess_and_or_use_other_weapons_restricted_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 27 to 595.",
            "examples": [
              "eq.595"
            ]
          },
          {
            "name": "weapons_act_offences_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 39 to 810."
          },
          {
            "name": "good_order_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1130 to 5729."
          },
          {
            "name": "disobey_move_on_direction",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 181.",
            "examples": [
              "eq.181"
            ]
          },
          {
            "name": "resist_incite_hinder_obstruct_police",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 402 to 2685."
          },
          {
            "name": "fare_evasion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 22 to 598."
          },
          {
            "name": "public_nuisance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 643 to 3140."
          },
          {
            "name": "stock_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 418.",
            "examples": [
              "eq.418"
            ]
          },
          {
            "name": "traffic_and_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1851 to 4569."
          },
          {
            "name": "dangerous_operation_of_a_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 69 to 340."
          },
          {
            "name": "drink_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1478 to 3365."
          },
          {
            "name": "disqualified_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 197 to 1433."
          },
          {
            "name": "interfere_with_mechanism_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20.",
            "examples": [
              "eq.20"
            ]
          },
          {
            "name": "e_mobility",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 172, 264.",
            "examples": [
              "eq.264"
            ]
          },
          {
            "name": "miscellaneous_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 59 to 1052."
          },
          {
            "name": "other_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6916 to 26369."
          },
          {
            "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-offences-monthly"
              ]
            },
            "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": "month",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. The month the offences were reported, published as a month and two-digit year such as JUL97 and read as the first day of that month. From 1997-07-01 to 2026-08-01."
          },
          {
            "name": "homicide_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18.",
            "examples": [
              "eq.18"
            ]
          },
          {
            "name": "other_homicide",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 29.",
            "examples": [
              "eq.29"
            ]
          },
          {
            "name": "attempted_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 25.",
            "examples": [
              "eq.25"
            ]
          },
          {
            "name": "conspiracy_to_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "manslaughter_excl_by_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5.",
            "examples": [
              "eq.5"
            ]
          },
          {
            "name": "driving_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "manslaughter_unlawful_striking_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3.",
            "examples": [
              "eq.3"
            ]
          },
          {
            "name": "assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1203 to 5882."
          },
          {
            "name": "grievous_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 42 to 187.",
            "examples": [
              "eq.187"
            ]
          },
          {
            "name": "serious_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 559 to 2618."
          },
          {
            "name": "serious_assault_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 56 to 715."
          },
          {
            "name": "common_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. The publisher's header ends in a stray apostrophe, Common Assault', kept as the source name. From 429 to 2489."
          },
          {
            "name": "sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 283 to 1212."
          },
          {
            "name": "rape_and_attempted_rape",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 45 to 495."
          },
          {
            "name": "other_sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 229 to 1097."
          },
          {
            "name": "robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 84 to 307."
          },
          {
            "name": "armed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 38 to 170.",
            "examples": [
              "eq.170"
            ]
          },
          {
            "name": "unarmed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 159.",
            "examples": [
              "eq.159"
            ]
          },
          {
            "name": "other_offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 180 to 950."
          },
          {
            "name": "kidnapping_abduction_etc",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 10 to 73.",
            "examples": [
              "eq.73"
            ]
          },
          {
            "name": "coercive_control",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 9, 19, 24, 25, 28, 29, 30, 32, 33, 34, 36, 37, 38, 42.",
            "examples": [
              "eq.42"
            ]
          },
          {
            "name": "extortion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 33.",
            "examples": [
              "eq.33"
            ]
          },
          {
            "name": "stalking",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 28 to 256.",
            "examples": [
              "eq.256"
            ]
          },
          {
            "name": "life_endangering_acts",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 106 to 623."
          },
          {
            "name": "voluntary_assisted_dying",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0.",
            "examples": [
              "eq.0"
            ]
          },
          {
            "name": "other_miscellaneous",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2044 to 7956."
          },
          {
            "name": "unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1933 to 7085."
          },
          {
            "name": "unlawful_entry_with_intent_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1132 to 4396."
          },
          {
            "name": "unlawful_entry_without_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1080 to 4317."
          },
          {
            "name": "unlawful_entry_with_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 102.",
            "examples": [
              "eq.102"
            ]
          },
          {
            "name": "unlawful_entry_with_intent_shop",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 87 to 847."
          },
          {
            "name": "unlawful_entry_with_intent_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 714 to 2143."
          },
          {
            "name": "arson",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 67 to 189.",
            "examples": [
              "eq.189"
            ]
          },
          {
            "name": "other_property_damage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2378 to 5686."
          },
          {
            "name": "unlawful_use_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 631 to 2091."
          },
          {
            "name": "other_theft_excl_unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6128 to 13826."
          },
          {
            "name": "stealing_from_dwellings",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 441 to 1007."
          },
          {
            "name": "shop_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 764 to 4174."
          },
          {
            "name": "vehicles_steal_from_enter_with_intent",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1654 to 3762."
          },
          {
            "name": "other_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2727 to 6423."
          },
          {
            "name": "fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 681 to 4312."
          },
          {
            "name": "fraud_by_computer",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1424.",
            "examples": [
              "eq.1424"
            ]
          },
          {
            "name": "fraud_by_cheque",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 618."
          },
          {
            "name": "fraud_by_credit_card",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 147 to 1767."
          },
          {
            "name": "identity_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 433.",
            "examples": [
              "eq.433"
            ]
          },
          {
            "name": "other_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 432 to 3407."
          },
          {
            "name": "handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 306 to 978."
          },
          {
            "name": "possess_property_suspected_stolen",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 368."
          },
          {
            "name": "receiving_stolen_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 332."
          },
          {
            "name": "possess_etc_tainted_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 132 to 705."
          },
          {
            "name": "other_handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17.",
            "examples": [
              "eq.17"
            ]
          },
          {
            "name": "offences_against_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 15458 to 27321."
          },
          {
            "name": "drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2371 to 10184."
          },
          {
            "name": "trafficking_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 173.",
            "examples": [
              "eq.173"
            ]
          },
          {
            "name": "possess_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1107 to 4683."
          },
          {
            "name": "produce_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 32 to 1288.",
            "examples": [
              "eq.1288"
            ]
          },
          {
            "name": "sell_supply_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 64 to 2521."
          },
          {
            "name": "other_drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 938 to 4399."
          },
          {
            "name": "prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 179.",
            "examples": [
              "eq.179"
            ]
          },
          {
            "name": "found_in_places_used_for_purpose_of_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 19, 23.",
            "examples": [
              "eq.23"
            ]
          },
          {
            "name": "have_interest_in_premises_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 8, 9, 13.",
            "examples": [
              "eq.13"
            ]
          },
          {
            "name": "knowingly_participate_in_provision_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 60.",
            "examples": [
              "eq.60"
            ]
          },
          {
            "name": "public_soliciting",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 168.",
            "examples": [
              "eq.168"
            ]
          },
          {
            "name": "procuring_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 15.",
            "examples": [
              "eq.15"
            ]
          },
          {
            "name": "permit_minor_to_be_at_a_place_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "advertising_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "other_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 36, 72.",
            "examples": [
              "eq.72"
            ]
          },
          {
            "name": "liquor_excl_drunkenness",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 73 to 1005."
          },
          {
            "name": "gaming_racing_betting_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 10, 15, 46, 70.",
            "examples": [
              "eq.70"
            ]
          },
          {
            "name": "breach_domestic_violence_protection_order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 324 to 6696."
          },
          {
            "name": "trespassing_and_vagrancy",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 134 to 872."
          },
          {
            "name": "weapons_act_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 214 to 1095."
          },
          {
            "name": "unlawful_possess_concealable_firearm",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 88.",
            "examples": [
              "eq.88"
            ]
          },
          {
            "name": "unlawful_possess_firearm_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 161.",
            "examples": [
              "eq.161"
            ]
          },
          {
            "name": "bomb_possess_and_or_use_of",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 22.",
            "examples": [
              "eq.22"
            ]
          },
          {
            "name": "possess_and_or_use_other_weapons_restricted_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 27 to 595.",
            "examples": [
              "eq.595"
            ]
          },
          {
            "name": "weapons_act_offences_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 39 to 810."
          },
          {
            "name": "good_order_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1130 to 5729."
          },
          {
            "name": "disobey_move_on_direction",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 181.",
            "examples": [
              "eq.181"
            ]
          },
          {
            "name": "resist_incite_hinder_obstruct_police",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 402 to 2685."
          },
          {
            "name": "fare_evasion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 22 to 598."
          },
          {
            "name": "public_nuisance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 643 to 3140."
          },
          {
            "name": "stock_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 418.",
            "examples": [
              "eq.418"
            ]
          },
          {
            "name": "traffic_and_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1851 to 4569."
          },
          {
            "name": "dangerous_operation_of_a_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 69 to 340."
          },
          {
            "name": "drink_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1478 to 3365."
          },
          {
            "name": "disqualified_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 197 to 1433."
          },
          {
            "name": "interfere_with_mechanism_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20.",
            "examples": [
              "eq.20"
            ]
          },
          {
            "name": "e_mobility",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 172, 264.",
            "examples": [
              "eq.264"
            ]
          },
          {
            "name": "miscellaneous_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 59 to 1052."
          },
          {
            "name": "other_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6916 to 26369."
          },
          {
            "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-offences-monthly"
              ]
            },
            "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": "month",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. The month the offences were reported, published as a month and two-digit year such as JUL97 and read as the first day of that month. From 1997-07-01 to 2026-08-01."
          },
          {
            "name": "homicide_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 18.",
            "examples": [
              "eq.18"
            ]
          },
          {
            "name": "other_homicide",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 29.",
            "examples": [
              "eq.29"
            ]
          },
          {
            "name": "attempted_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 25.",
            "examples": [
              "eq.25"
            ]
          },
          {
            "name": "conspiracy_to_murder",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "manslaughter_excl_by_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5.",
            "examples": [
              "eq.5"
            ]
          },
          {
            "name": "driving_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "manslaughter_unlawful_striking_causing_death",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3.",
            "examples": [
              "eq.3"
            ]
          },
          {
            "name": "assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1203 to 5882."
          },
          {
            "name": "grievous_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 42 to 187.",
            "examples": [
              "eq.187"
            ]
          },
          {
            "name": "serious_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 559 to 2618."
          },
          {
            "name": "serious_assault_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 56 to 715."
          },
          {
            "name": "common_assault",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. The publisher's header ends in a stray apostrophe, Common Assault', kept as the source name. From 429 to 2489."
          },
          {
            "name": "sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 283 to 1212."
          },
          {
            "name": "rape_and_attempted_rape",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 45 to 495."
          },
          {
            "name": "other_sexual_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 229 to 1097."
          },
          {
            "name": "robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 84 to 307."
          },
          {
            "name": "armed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 38 to 170.",
            "examples": [
              "eq.170"
            ]
          },
          {
            "name": "unarmed_robbery",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 159.",
            "examples": [
              "eq.159"
            ]
          },
          {
            "name": "other_offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 180 to 950."
          },
          {
            "name": "kidnapping_abduction_etc",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 10 to 73.",
            "examples": [
              "eq.73"
            ]
          },
          {
            "name": "coercive_control",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 9, 19, 24, 25, 28, 29, 30, 32, 33, 34, 36, 37, 38, 42.",
            "examples": [
              "eq.42"
            ]
          },
          {
            "name": "extortion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 33.",
            "examples": [
              "eq.33"
            ]
          },
          {
            "name": "stalking",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 28 to 256.",
            "examples": [
              "eq.256"
            ]
          },
          {
            "name": "life_endangering_acts",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 106 to 623."
          },
          {
            "name": "voluntary_assisted_dying",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0.",
            "examples": [
              "eq.0"
            ]
          },
          {
            "name": "other_miscellaneous",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2.",
            "examples": [
              "eq.2"
            ]
          },
          {
            "name": "offences_against_the_person",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2044 to 7956."
          },
          {
            "name": "unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1933 to 7085."
          },
          {
            "name": "unlawful_entry_with_intent_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1132 to 4396."
          },
          {
            "name": "unlawful_entry_without_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1080 to 4317."
          },
          {
            "name": "unlawful_entry_with_violence_dwelling",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 102.",
            "examples": [
              "eq.102"
            ]
          },
          {
            "name": "unlawful_entry_with_intent_shop",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 87 to 847."
          },
          {
            "name": "unlawful_entry_with_intent_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 714 to 2143."
          },
          {
            "name": "arson",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 67 to 189.",
            "examples": [
              "eq.189"
            ]
          },
          {
            "name": "other_property_damage",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2378 to 5686."
          },
          {
            "name": "unlawful_use_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 631 to 2091."
          },
          {
            "name": "other_theft_excl_unlawful_entry",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6128 to 13826."
          },
          {
            "name": "stealing_from_dwellings",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 441 to 1007."
          },
          {
            "name": "shop_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 764 to 4174."
          },
          {
            "name": "vehicles_steal_from_enter_with_intent",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1654 to 3762."
          },
          {
            "name": "other_stealing",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2727 to 6423."
          },
          {
            "name": "fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 681 to 4312."
          },
          {
            "name": "fraud_by_computer",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 1424.",
            "examples": [
              "eq.1424"
            ]
          },
          {
            "name": "fraud_by_cheque",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 618."
          },
          {
            "name": "fraud_by_credit_card",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 147 to 1767."
          },
          {
            "name": "identity_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 433.",
            "examples": [
              "eq.433"
            ]
          },
          {
            "name": "other_fraud",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 432 to 3407."
          },
          {
            "name": "handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 306 to 978."
          },
          {
            "name": "possess_property_suspected_stolen",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 37 to 368."
          },
          {
            "name": "receiving_stolen_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 8 to 332."
          },
          {
            "name": "possess_etc_tainted_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 132 to 705."
          },
          {
            "name": "other_handling_stolen_goods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17.",
            "examples": [
              "eq.17"
            ]
          },
          {
            "name": "offences_against_property",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 15458 to 27321."
          },
          {
            "name": "drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2371 to 10184."
          },
          {
            "name": "trafficking_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1 to 173.",
            "examples": [
              "eq.173"
            ]
          },
          {
            "name": "possess_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1107 to 4683."
          },
          {
            "name": "produce_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 32 to 1288.",
            "examples": [
              "eq.1288"
            ]
          },
          {
            "name": "sell_supply_drugs",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 64 to 2521."
          },
          {
            "name": "other_drug_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 938 to 4399."
          },
          {
            "name": "prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 179.",
            "examples": [
              "eq.179"
            ]
          },
          {
            "name": "found_in_places_used_for_purpose_of_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 15, 16, 17, 19, 23.",
            "examples": [
              "eq.23"
            ]
          },
          {
            "name": "have_interest_in_premises_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 8, 9, 13.",
            "examples": [
              "eq.13"
            ]
          },
          {
            "name": "knowingly_participate_in_provision_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 60.",
            "examples": [
              "eq.60"
            ]
          },
          {
            "name": "public_soliciting",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 168.",
            "examples": [
              "eq.168"
            ]
          },
          {
            "name": "procuring_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 15.",
            "examples": [
              "eq.15"
            ]
          },
          {
            "name": "permit_minor_to_be_at_a_place_used_for_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "advertising_prostitution",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 11.",
            "examples": [
              "eq.11"
            ]
          },
          {
            "name": "other_prostitution_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 36, 72.",
            "examples": [
              "eq.72"
            ]
          },
          {
            "name": "liquor_excl_drunkenness",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 73 to 1005."
          },
          {
            "name": "gaming_racing_betting_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 10, 15, 46, 70.",
            "examples": [
              "eq.70"
            ]
          },
          {
            "name": "breach_domestic_violence_protection_order",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 324 to 6696."
          },
          {
            "name": "trespassing_and_vagrancy",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 134 to 872."
          },
          {
            "name": "weapons_act_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 214 to 1095."
          },
          {
            "name": "unlawful_possess_concealable_firearm",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 2 to 88.",
            "examples": [
              "eq.88"
            ]
          },
          {
            "name": "unlawful_possess_firearm_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 20 to 161.",
            "examples": [
              "eq.161"
            ]
          },
          {
            "name": "bomb_possess_and_or_use_of",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 22.",
            "examples": [
              "eq.22"
            ]
          },
          {
            "name": "possess_and_or_use_other_weapons_restricted_items",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 27 to 595.",
            "examples": [
              "eq.595"
            ]
          },
          {
            "name": "weapons_act_offences_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 39 to 810."
          },
          {
            "name": "good_order_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1130 to 5729."
          },
          {
            "name": "disobey_move_on_direction",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 181.",
            "examples": [
              "eq.181"
            ]
          },
          {
            "name": "resist_incite_hinder_obstruct_police",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 402 to 2685."
          },
          {
            "name": "fare_evasion",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 22 to 598."
          },
          {
            "name": "public_nuisance",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 643 to 3140."
          },
          {
            "name": "stock_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 0 to 418.",
            "examples": [
              "eq.418"
            ]
          },
          {
            "name": "traffic_and_related_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1851 to 4569."
          },
          {
            "name": "dangerous_operation_of_a_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 69 to 340."
          },
          {
            "name": "drink_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 1478 to 3365."
          },
          {
            "name": "disqualified_driving",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 197 to 1433."
          },
          {
            "name": "interfere_with_mechanism_of_motor_vehicle",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20.",
            "examples": [
              "eq.20"
            ]
          },
          {
            "name": "e_mobility",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. Values: 0, 172, 264.",
            "examples": [
              "eq.264"
            ]
          },
          {
            "name": "miscellaneous_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 59 to 1052."
          },
          {
            "name": "other_offences",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "integer. From 6916 to 26369."
          },
          {
            "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-offences-monthly"
              ]
            },
            "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"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
