{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-chrome/json-schema/google-chrome-query-request-schema.json",
  "title": "QueryRequest",
  "description": "Request payload sent by a physical web client. This request includes all necessary context to load a particular user experience record.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-chrome-chromeuxreport-records-api-openapi.yml#/components/schemas/QueryRequest",
  "properties": {
    "formFactor": {
      "type": "string",
      "enum": [
        "ALL_FORM_FACTORS",
        "PHONE",
        "DESKTOP",
        "TABLET"
      ],
      "description": "The form factor is a query dimension that specifies the device class that the record's data should belong to. Note: If no form factor is specified, then a special record with aggregated data over all form factors will be returned."
    },
    "origin": {
      "type": "string",
      "description": "The url pattern \"origin\" refers to a url pattern that is the origin of a website. Examples: \"https://example.com\", \"https://cloud.google.com\""
    },
    "url": {
      "type": "string",
      "description": "The url pattern \"url\" refers to a url pattern that is any arbitrary url. Examples: \"https://example.com/\", \"https://cloud.google.com/why-google-cloud/\""
    },
    "metrics": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The metrics that should be included in the response. If none are specified then any metrics found will be returned. Allowed values: [\"first_contentful_paint\", \"first_input_delay\", \"largest_contentful_paint\", \"cumulative_layout_shift\", \"experimental_time_to_first_byte\", \"experimental_interaction_to_next_paint\"]"
    },
    "effectiveConnectionType": {
      "description": "The effective connection type is a query dimension that specifies the effective network class that the record's data should belong to. This field uses the values [\"offline\", \"slow-2G\", \"2G\", \"3G\", \"4G\"] as specified in: https://wicg.github.io/netinfo/#effective-connection-types Note: If no effective connection type is specified, then a special record with aggregated data over all effective connection types will be returned.",
      "type": "string"
    }
  },
  "type": "object"
}