{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hamla-io/json-schema/hamla-io-post-api-sdk-track-request-schema.json",
  "title": "PostApiSdkTrackRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/hamla-io-openapi-generated.yml#/components/schemas/PostApiSdkTrackRequest",
  "type": "object",
  "properties": {
    "event": {
      "type": "string"
    },
    "identity": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "platformCustomerId": {
          "type": "string"
        }
      }
    },
    "properties": {
      "type": "object",
      "properties": {
        "plan": {
          "type": "string"
        },
        "seats": {
          "type": "integer"
        }
      }
    },
    "value": {
      "type": "integer"
    },
    "currency": {
      "type": "string"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "idempotencyKey": {
      "type": "string"
    },
    "traits": {
      "type": "object",
      "properties": {
        "plan": {
          "type": "string"
        },
        "subscription_status": {
          "type": "string"
        }
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}