{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bond-home/json-schema/bond-home-post-api-v2-user-profiles-events-request-schema.json",
  "title": "PostApiV2UserProfilesEventsRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/bond-home-openapi-generated.yml#/components/schemas/PostApiV2UserProfilesEventsRequest",
  "type": "object",
  "properties": {
    "profile": {
      "type": "object",
      "description": "Profile that associates the person with a Zendesk user"
    },
    "profile.source": {
      "type": "string",
      "description": "Source of the profile (e.g., \"acme\")"
    },
    "profile.type": {
      "type": "string",
      "description": "Type of the profile (e.g., \"customer\")"
    },
    "profile.identifiers": {
      "type": "array",
      "description": "Array of identifier objects"
    },
    "profile.identifiers[].type": {
      "type": "string",
      "description": "Identifier type (e.g., \"email\")"
    },
    "profile.identifiers[].value": {
      "type": "string",
      "description": "Identifier value (e.g., an email address)"
    },
    "event": {
      "type": "object",
      "description": "Event data"
    },
    "event.source": {
      "type": "string",
      "description": "Source of the event (e.g., \"acme\")"
    },
    "event.type": {
      "type": "string",
      "description": "Event type (e.g., \"2fa_enabled\")"
    },
    "event.description": {
      "type": "string",
      "description": "Human‑readable description of the event"
    },
    "event.properties": {
      "type": "object",
      "description": "Custom properties for the event"
    },
    "event.properties.passcode_preference": {
      "type": "string",
      "description": "Example property from the page"
    }
  },
  "required": [
    "profile",
    "profile.source",
    "profile.type",
    "profile.identifiers",
    "profile.identifiers[].type",
    "profile.identifiers[].value",
    "event",
    "event.source",
    "event.type",
    "event.description"
  ]
}