{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ripples-sh/json-schema/ripples-sh-post-v1-ingest-batch-request-schema.json",
  "title": "PostV1IngestBatchRequest",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/ripples-sh-openapi-generated.yml#/components/schemas/PostV1IngestBatchRequest",
  "type": "object",
  "properties": {
    "events": {
      "type": "array",
      "description": "Array of event objects."
    },
    "$type": {
      "type": "string",
      "description": "System field, value \"milestone\"."
    },
    "$name": {
      "type": "string",
      "description": "Name of the milestone."
    },
    "$user_id": {
      "type": "string",
      "description": "User identifier."
    },
    "$visitor_id": {
      "type": "string",
      "description": "Visitor identifier."
    },
    "$email": {
      "type": "string",
      "description": "Email of the person."
    },
    "$sent_at": {
      "type": "string",
      "description": "Timestamp when the event is sent."
    },
    "$event_id": {
      "type": "string",
      "description": "Unique identifier for the event."
    },
    "$properties": {
      "type": "object",
      "description": "Custom properties for the milestone."
    },
    "seller": {
      "type": "string",
      "description": "Example of a custom property."
    }
  },
  "required": [
    "events",
    "$type",
    "$name"
  ]
}