{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/slimlytics-com/json-schema/slimlytics-com-collect-input-schema.json",
  "title": "CollectInput",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/slimlytics-com-openapi.json#/components/schemas/CollectInput",
  "type": "object",
  "required": [
    "url"
  ],
  "properties": {
    "name": {
      "type": "string",
      "default": "pageview"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "referrer": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "title": {
      "type": [
        "string",
        "null"
      ]
    },
    "occurredAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "properties": {
      "type": "object",
      "additionalProperties": true
    },
    "screenWidth": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "privacyControl": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "gpc",
        null
      ]
    },
    "trackerVersion": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 32
    }
  }
}