{
  "openapi": "3.1.0",
  "info": {
    "title": "Contracts register, ACT Government, to 2017 query API",
    "version": "2017-07-25",
    "summary": "Filter, page and aggregate Contracts register, ACT Government, to 2017 from Procurement ACT, Chief Minister, Treasury and Economic Development Directorate.",
    "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. Procurement ACT, Chief Minister, Treasury and Economic Development Directorate 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/act-contracts-register-2016-2017/#query"
  },
  "tags": [
    {
      "name": "query"
    }
  ],
  "paths": {
    "/api/v1/datasets/act-contracts-register-2016-2017/rows": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Query Contracts register, ACT Government, to 2017",
        "operationId": "queryRows_act_contracts_register_2016_2017",
        "description": "Rows of Contracts register, ACT Government, to 2017 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": "contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_title",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "brief_description_of_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: contract, panel, panel_contract.",
            "examples": [
              "eq.panel_contract"
            ]
          },
          {
            "name": "panel_contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.P27617"
            ]
          },
          {
            "name": "anticipated_panel_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1000000000.0.",
            "examples": [
              "eq.1000000000.0"
            ]
          },
          {
            "name": "panel_total_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 346152780.17.",
            "examples": [
              "eq.346152780.17"
            ]
          },
          {
            "name": "rfx_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "procurement_methodology",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: public, quotation, select, single select.",
            "examples": [
              "eq.single select"
            ]
          },
          {
            "name": "social_procurement",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "procurement_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: community-based services, consultancy, goods, services (non-consultancy), works.",
            "examples": [
              "eq.works"
            ]
          },
          {
            "name": "contractor_name",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "abn",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. As the publisher gives it, without spaces."
          },
          {
            "name": "original_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "contract_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "gst",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Exclusive, Inclusive.",
            "examples": [
              "eq.Inclusive"
            ]
          },
          {
            "name": "execution_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2003-10-01 to 2017-10-30."
          },
          {
            "name": "expiry_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2012-05-31 to 2038-08-31."
          },
          {
            "name": "confidential_text",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "confidential_text_brief",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: methodology, methodology,other, other, personnel, personnel,methodology, price, price,methodology, price,methodology,other, price,other, price,personnel, price,personnel,methodology, price,personnel,other.",
            "examples": [
              "eq.price,personnel,other"
            ]
          },
          {
            "name": "confidential_text_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Amended terms between the Territory and a vendor, Conditions of Contract, Details of pricing and Indemnity, Details of the Deed are available upon request, Insurance, Insurance and indemnity and service level credits, Proposal, Protected Information within Schedule 1 - Services, Protected information within Schedule 1 - Services, Rates, Refer to clause 14, Storage Facility Address, Tender Submission, Visa Merchant coverage, Internal material.",
            "examples": [
              "eq.Visa Merchant coverage, Internal material"
            ]
          },
          {
            "name": "unspsc_classification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Water meters(UNSPSC:41112504)"
            ]
          },
          {
            "name": "unspsc_classification_2",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Transportation and Storage and Mail Services(UNSPSC:78000000)"
            ]
          },
          {
            "name": "unspsc_classification_3",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Building and Construction Machinery and Accessories(UNSPSC:22000000), Building and Construction and Maintenance Services(UNSPSC:72000000), Commercial and Military and Private Vehicles and their Accessories and Components(UNSPSC:25000000), Defense and Law Enforcement and Security and Safety Equipment and Supplies(UNSPSC:46000000), Electrical Systems and Lighting and Components and Accessories and Supplies(UNSPSC:39000000), Engineering and Research and Technology Based Services(UNSPSC:81000000), Industrial Production and Manufacturing Services(UNSPSC:73000000), Information Technology Broadcasting and Telecommunications(UNSPSC:43000000), Management and Business Professionals and Administrative Services(UNSPSC:80000000), Service Industry Machinery and Equipment and Supplies(UNSPSC:48000000), Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000).",
            "examples": [
              "eq.Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000)"
            ]
          },
          {
            "name": "directorate",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: ACT Audit Office, ACT Electoral Commission, ACT Government, ACT Legislative Assembly, Canberra Institiute of Technology, Capital Metro Agency, Chief Minister, Treasury and Economic Development Directorate, Community Services Directorate, Contracts Register, Cultural Facilities Corporation, Education Directorate, Environment, Planning and Sustainable Development Directorate, Health Directorate, Independent Competition And Regulatory Commission, Justice and Community Safety Directorate, Land Development Agency, Territory and Municipal Services Directorate, Transport Canberra and City Services.",
            "examples": [
              "eq.Transport Canberra and City Services"
            ]
          },
          {
            "name": "prequalification_requested",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "prequalification_code",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.n/a"
            ]
          },
          {
            "name": "infrastructure_or_goods_services",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Goods & Services, Infrastructure.",
            "examples": [
              "eq.Infrastructure"
            ]
          },
          {
            "name": "small_to_medium_enterprise",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "whole_of_government_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "exemption_from_quotation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "active_certification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "ire_obligations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Industrial relations and employment obligations, as the publisher flags them. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "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/act-contracts-register-2016-2017/versions/{version}/rows": {
      "get": {
        "tags": [
          "query"
        ],
        "summary": "Query Contracts register, ACT Government, to 2017",
        "operationId": "queryRows_act_contracts_register_2016_2017_version",
        "description": "Rows of Contracts register, ACT Government, to 2017 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": "contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_title",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "brief_description_of_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: contract, panel, panel_contract.",
            "examples": [
              "eq.panel_contract"
            ]
          },
          {
            "name": "panel_contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.P27617"
            ]
          },
          {
            "name": "anticipated_panel_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1000000000.0.",
            "examples": [
              "eq.1000000000.0"
            ]
          },
          {
            "name": "panel_total_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 346152780.17.",
            "examples": [
              "eq.346152780.17"
            ]
          },
          {
            "name": "rfx_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "procurement_methodology",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: public, quotation, select, single select.",
            "examples": [
              "eq.single select"
            ]
          },
          {
            "name": "social_procurement",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "procurement_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: community-based services, consultancy, goods, services (non-consultancy), works.",
            "examples": [
              "eq.works"
            ]
          },
          {
            "name": "contractor_name",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "abn",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. As the publisher gives it, without spaces."
          },
          {
            "name": "original_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "contract_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "gst",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Exclusive, Inclusive.",
            "examples": [
              "eq.Inclusive"
            ]
          },
          {
            "name": "execution_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2003-10-01 to 2017-10-30."
          },
          {
            "name": "expiry_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2012-05-31 to 2038-08-31."
          },
          {
            "name": "confidential_text",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "confidential_text_brief",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: methodology, methodology,other, other, personnel, personnel,methodology, price, price,methodology, price,methodology,other, price,other, price,personnel, price,personnel,methodology, price,personnel,other.",
            "examples": [
              "eq.price,personnel,other"
            ]
          },
          {
            "name": "confidential_text_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Amended terms between the Territory and a vendor, Conditions of Contract, Details of pricing and Indemnity, Details of the Deed are available upon request, Insurance, Insurance and indemnity and service level credits, Proposal, Protected Information within Schedule 1 - Services, Protected information within Schedule 1 - Services, Rates, Refer to clause 14, Storage Facility Address, Tender Submission, Visa Merchant coverage, Internal material.",
            "examples": [
              "eq.Visa Merchant coverage, Internal material"
            ]
          },
          {
            "name": "unspsc_classification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Water meters(UNSPSC:41112504)"
            ]
          },
          {
            "name": "unspsc_classification_2",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Transportation and Storage and Mail Services(UNSPSC:78000000)"
            ]
          },
          {
            "name": "unspsc_classification_3",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Building and Construction Machinery and Accessories(UNSPSC:22000000), Building and Construction and Maintenance Services(UNSPSC:72000000), Commercial and Military and Private Vehicles and their Accessories and Components(UNSPSC:25000000), Defense and Law Enforcement and Security and Safety Equipment and Supplies(UNSPSC:46000000), Electrical Systems and Lighting and Components and Accessories and Supplies(UNSPSC:39000000), Engineering and Research and Technology Based Services(UNSPSC:81000000), Industrial Production and Manufacturing Services(UNSPSC:73000000), Information Technology Broadcasting and Telecommunications(UNSPSC:43000000), Management and Business Professionals and Administrative Services(UNSPSC:80000000), Service Industry Machinery and Equipment and Supplies(UNSPSC:48000000), Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000).",
            "examples": [
              "eq.Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000)"
            ]
          },
          {
            "name": "directorate",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: ACT Audit Office, ACT Electoral Commission, ACT Government, ACT Legislative Assembly, Canberra Institiute of Technology, Capital Metro Agency, Chief Minister, Treasury and Economic Development Directorate, Community Services Directorate, Contracts Register, Cultural Facilities Corporation, Education Directorate, Environment, Planning and Sustainable Development Directorate, Health Directorate, Independent Competition And Regulatory Commission, Justice and Community Safety Directorate, Land Development Agency, Territory and Municipal Services Directorate, Transport Canberra and City Services.",
            "examples": [
              "eq.Transport Canberra and City Services"
            ]
          },
          {
            "name": "prequalification_requested",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "prequalification_code",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.n/a"
            ]
          },
          {
            "name": "infrastructure_or_goods_services",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Goods & Services, Infrastructure.",
            "examples": [
              "eq.Infrastructure"
            ]
          },
          {
            "name": "small_to_medium_enterprise",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "whole_of_government_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "exemption_from_quotation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "active_certification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "ire_obligations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Industrial relations and employment obligations, as the publisher flags them. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "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": [
                "act-contracts-register-2016-2017"
              ]
            },
            "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": "contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_title",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "brief_description_of_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: contract, panel, panel_contract.",
            "examples": [
              "eq.panel_contract"
            ]
          },
          {
            "name": "panel_contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.P27617"
            ]
          },
          {
            "name": "anticipated_panel_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1000000000.0.",
            "examples": [
              "eq.1000000000.0"
            ]
          },
          {
            "name": "panel_total_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 346152780.17.",
            "examples": [
              "eq.346152780.17"
            ]
          },
          {
            "name": "rfx_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "procurement_methodology",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: public, quotation, select, single select.",
            "examples": [
              "eq.single select"
            ]
          },
          {
            "name": "social_procurement",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "procurement_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: community-based services, consultancy, goods, services (non-consultancy), works.",
            "examples": [
              "eq.works"
            ]
          },
          {
            "name": "contractor_name",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "abn",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. As the publisher gives it, without spaces."
          },
          {
            "name": "original_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "contract_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "gst",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Exclusive, Inclusive.",
            "examples": [
              "eq.Inclusive"
            ]
          },
          {
            "name": "execution_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2003-10-01 to 2017-10-30."
          },
          {
            "name": "expiry_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2012-05-31 to 2038-08-31."
          },
          {
            "name": "confidential_text",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "confidential_text_brief",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: methodology, methodology,other, other, personnel, personnel,methodology, price, price,methodology, price,methodology,other, price,other, price,personnel, price,personnel,methodology, price,personnel,other.",
            "examples": [
              "eq.price,personnel,other"
            ]
          },
          {
            "name": "confidential_text_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Amended terms between the Territory and a vendor, Conditions of Contract, Details of pricing and Indemnity, Details of the Deed are available upon request, Insurance, Insurance and indemnity and service level credits, Proposal, Protected Information within Schedule 1 - Services, Protected information within Schedule 1 - Services, Rates, Refer to clause 14, Storage Facility Address, Tender Submission, Visa Merchant coverage, Internal material.",
            "examples": [
              "eq.Visa Merchant coverage, Internal material"
            ]
          },
          {
            "name": "unspsc_classification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Water meters(UNSPSC:41112504)"
            ]
          },
          {
            "name": "unspsc_classification_2",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Transportation and Storage and Mail Services(UNSPSC:78000000)"
            ]
          },
          {
            "name": "unspsc_classification_3",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Building and Construction Machinery and Accessories(UNSPSC:22000000), Building and Construction and Maintenance Services(UNSPSC:72000000), Commercial and Military and Private Vehicles and their Accessories and Components(UNSPSC:25000000), Defense and Law Enforcement and Security and Safety Equipment and Supplies(UNSPSC:46000000), Electrical Systems and Lighting and Components and Accessories and Supplies(UNSPSC:39000000), Engineering and Research and Technology Based Services(UNSPSC:81000000), Industrial Production and Manufacturing Services(UNSPSC:73000000), Information Technology Broadcasting and Telecommunications(UNSPSC:43000000), Management and Business Professionals and Administrative Services(UNSPSC:80000000), Service Industry Machinery and Equipment and Supplies(UNSPSC:48000000), Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000).",
            "examples": [
              "eq.Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000)"
            ]
          },
          {
            "name": "directorate",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: ACT Audit Office, ACT Electoral Commission, ACT Government, ACT Legislative Assembly, Canberra Institiute of Technology, Capital Metro Agency, Chief Minister, Treasury and Economic Development Directorate, Community Services Directorate, Contracts Register, Cultural Facilities Corporation, Education Directorate, Environment, Planning and Sustainable Development Directorate, Health Directorate, Independent Competition And Regulatory Commission, Justice and Community Safety Directorate, Land Development Agency, Territory and Municipal Services Directorate, Transport Canberra and City Services.",
            "examples": [
              "eq.Transport Canberra and City Services"
            ]
          },
          {
            "name": "prequalification_requested",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "prequalification_code",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.n/a"
            ]
          },
          {
            "name": "infrastructure_or_goods_services",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Goods & Services, Infrastructure.",
            "examples": [
              "eq.Infrastructure"
            ]
          },
          {
            "name": "small_to_medium_enterprise",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "whole_of_government_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "exemption_from_quotation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "active_certification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "ire_obligations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Industrial relations and employment obligations, as the publisher flags them. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "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": [
                "act-contracts-register-2016-2017"
              ]
            },
            "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": "contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_title",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "brief_description_of_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "contract_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: contract, panel, panel_contract.",
            "examples": [
              "eq.panel_contract"
            ]
          },
          {
            "name": "panel_contract_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.P27617"
            ]
          },
          {
            "name": "anticipated_panel_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 1000000000.0.",
            "examples": [
              "eq.1000000000.0"
            ]
          },
          {
            "name": "panel_total_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 346152780.17.",
            "examples": [
              "eq.346152780.17"
            ]
          },
          {
            "name": "rfx_number",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "procurement_methodology",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: public, quotation, select, single select.",
            "examples": [
              "eq.single select"
            ]
          },
          {
            "name": "social_procurement",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "procurement_type",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: community-based services, consultancy, goods, services (non-consultancy), works.",
            "examples": [
              "eq.works"
            ]
          },
          {
            "name": "contractor_name",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string."
          },
          {
            "name": "abn",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. As the publisher gives it, without spaces."
          },
          {
            "name": "original_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "contract_amount",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "number. From 0.0 to 939000000.0."
          },
          {
            "name": "gst",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Exclusive, Inclusive.",
            "examples": [
              "eq.Inclusive"
            ]
          },
          {
            "name": "execution_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2003-10-01 to 2017-10-30."
          },
          {
            "name": "expiry_date",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "date. From 2012-05-31 to 2038-08-31."
          },
          {
            "name": "confidential_text",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "confidential_text_brief",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: methodology, methodology,other, other, personnel, personnel,methodology, price, price,methodology, price,methodology,other, price,other, price,personnel, price,personnel,methodology, price,personnel,other.",
            "examples": [
              "eq.price,personnel,other"
            ]
          },
          {
            "name": "confidential_text_other",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Amended terms between the Territory and a vendor, Conditions of Contract, Details of pricing and Indemnity, Details of the Deed are available upon request, Insurance, Insurance and indemnity and service level credits, Proposal, Protected Information within Schedule 1 - Services, Protected information within Schedule 1 - Services, Rates, Refer to clause 14, Storage Facility Address, Tender Submission, Visa Merchant coverage, Internal material.",
            "examples": [
              "eq.Visa Merchant coverage, Internal material"
            ]
          },
          {
            "name": "unspsc_classification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Water meters(UNSPSC:41112504)"
            ]
          },
          {
            "name": "unspsc_classification_2",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.Transportation and Storage and Mail Services(UNSPSC:78000000)"
            ]
          },
          {
            "name": "unspsc_classification_3",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Building and Construction Machinery and Accessories(UNSPSC:22000000), Building and Construction and Maintenance Services(UNSPSC:72000000), Commercial and Military and Private Vehicles and their Accessories and Components(UNSPSC:25000000), Defense and Law Enforcement and Security and Safety Equipment and Supplies(UNSPSC:46000000), Electrical Systems and Lighting and Components and Accessories and Supplies(UNSPSC:39000000), Engineering and Research and Technology Based Services(UNSPSC:81000000), Industrial Production and Manufacturing Services(UNSPSC:73000000), Information Technology Broadcasting and Telecommunications(UNSPSC:43000000), Management and Business Professionals and Administrative Services(UNSPSC:80000000), Service Industry Machinery and Equipment and Supplies(UNSPSC:48000000), Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000).",
            "examples": [
              "eq.Sports and Recreational Equipment and Supplies and Accessories(UNSPSC:49000000)"
            ]
          },
          {
            "name": "directorate",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: ACT Audit Office, ACT Electoral Commission, ACT Government, ACT Legislative Assembly, Canberra Institiute of Technology, Capital Metro Agency, Chief Minister, Treasury and Economic Development Directorate, Community Services Directorate, Contracts Register, Cultural Facilities Corporation, Education Directorate, Environment, Planning and Sustainable Development Directorate, Health Directorate, Independent Competition And Regulatory Commission, Justice and Community Safety Directorate, Land Development Agency, Territory and Municipal Services Directorate, Transport Canberra and City Services.",
            "examples": [
              "eq.Transport Canberra and City Services"
            ]
          },
          {
            "name": "prequalification_requested",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "prequalification_code",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string.",
            "examples": [
              "eq.n/a"
            ]
          },
          {
            "name": "infrastructure_or_goods_services",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: Goods & Services, Infrastructure.",
            "examples": [
              "eq.Infrastructure"
            ]
          },
          {
            "name": "small_to_medium_enterprise",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "whole_of_government_contract",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "exemption_from_quotation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "active_certification",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "name": "ire_obligations",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "string. Industrial relations and employment obligations, as the publisher flags them. Values: No, Yes.",
            "examples": [
              "eq.Yes"
            ]
          },
          {
            "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": [
                "act-contracts-register-2016-2017"
              ]
            },
            "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"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
