{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phpray-dev/json-schema/phpray-dev-post-v1-aggregates-request-schema.json",
  "title": "PostV1AggregatesRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/phpray-dev-openapi-generated.yml#/components/schemas/PostV1AggregatesRequest",
  "type": "object",
  "properties": {
    "batch_id": {
      "type": "string"
    },
    "sent_at": {
      "type": "string"
    },
    "agent": {
      "type": "string"
    },
    "server": {
      "type": "object",
      "description": "contains hostname_hash, php_versions, os"
    },
    "minutes": {
      "type": "array",
      "description": "array of per‑minute aggregates"
    }
  },
  "required": [
    "batch_id",
    "sent_at",
    "agent",
    "server",
    "minutes"
  ]
}