Klaviyo · Schema

GeofenceResponseObjectResource

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
type object
id string Primary key that uniquely identifies this geofence. Generated by the system.
attributes object
links object
View JSON Schema on GitHub

JSON Schema

klaviyo-geofenceresponseobjectresource-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GeofenceResponseObjectResource",
  "title": "GeofenceResponseObjectResource",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/components/schemas/GeofenceEnum"
    },
    "id": {
      "description": "Primary key that uniquely identifies this geofence. Generated by the system.",
      "type": "string",
      "example": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
    },
    "attributes": {
      "type": "object",
      "properties": {
        "latitude": {
          "description": "Latitude coordinate of the geofence center point",
          "type": "number",
          "example": 40.7128
        },
        "longitude": {
          "description": "Longitude coordinate of the geofence center point",
          "type": "number",
          "example": -74.006
        },
        "radius": {
          "description": "Radius in meters from the center point",
          "type": "number",
          "example": 100
        }
      },
      "required": [
        "latitude",
        "longitude",
        "radius"
      ]
    },
    "links": {
      "$ref": "#/components/schemas/ObjectLinks"
    }
  },
  "required": [
    "type",
    "id",
    "attributes",
    "links"
  ]
}