Snowplow Schema Information

Schemas Used by the Snowplow Connector

This page provides the schemas referenced by the events sent by the Snowplow Connector.

🚧

We have not yet registered the schemas in the central Iglu repository. Please register the schemas in your Iglu during this Beta period. Please reach out to Conductrics if you need help.

Selection Event Schema

Please note that while not specified in this Selection Event schema formally, actual selection events sent to your Snowplow pipeline will also include additional context that conform to the Agent Entity, Variation Entity, and Selection Entity schemas described below.

Please see the Setting up a Snowplow Connector page for an example of what an actual event looks like.

{
  "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
  "$supersedes": ["1-0-0","1-0-1"],
  "description": "Conductrics Variation Selection Event Schema",
  "self": {
    "vendor": "com.conductrics",
    "name": "selection-event",
    "format": "jsonschema",
    "version": "1-0-2"
  },
  "type": "object",
  "properties": {
    "eventDateTime": {
      "type": "string",
      "format": "date-time"
    },
    "deployTargetCode": {
      "type": "string"
    }
  },
  "required": ["eventDateTime"],
  "additionalProperties": true
}

Agent Entity Schema

{
  "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
  "$supersedes": ["1-0-0","1-0-1"],
  "description": "Conductrics Agent Entity (included in selection-event payloads)",
  "self": {
    "vendor": "com.conductrics",
    "name": "agent-entity",
    "format": "jsonschema",
    "version": "1-0-2"
  },
  "type": "object",
  "properties": {
    "agentCode": {
      "type": "string"
    },
    "agentName": {
      "type": "string"
    }
  },
  "required": ["agentCode"],
  "additionalProperties": true
}

Variation Entity Schema

{
  "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
  "$supersedes": ["1-0-0","1-0-1"],
  "description": "Conductrics Variation Entity (included in selection-event payloads)",
  "self": {
    "vendor": "com.conductrics",
    "name": "variation-entity",
    "format": "jsonschema",
    "version": "1-0-2"
  },
  "type": "object",
  "properties": {
    "variationCode": {
      "type": "string"
    },
    "variationName": {
      "type": "string"
    },
    "metaData": {
      "type": ["object"],
      "description": "Name/value pairs for any associated meta-data (see the Conductrics documentation).",
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": ["variationCode"],
  "additionalProperties": true
}

Selection Entity Schema

{
  "$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
  "$supersedes": ["1-0-0","1-0-1"],
  "description": "Conductrics Selection Entity (included in selection-event payloads)",
  "self": {
    "vendor": "com.conductrics",
    "name": "selection-entity",
    "format": "jsonschema",
    "version": "1-0-2"
  },
  "type": "object",
  "properties": {
    "selectionDateTime": {
      "type": "string",
      "format": "date-time"
    },
    "selectionPolicy": {
      "type": "string"
    },
    "selectionTraits": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[^:]+:[^:]+$"
      }      
    },
    "reportingDataSet": {
      "type": "string"
    }
  },
  "required": ["selectionDateTime"],
  "additionalProperties": true
}