changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "checked_from": {
+ "description": "Start of the period checked for each trigger's last event, which runs to now.",
+ "format": "date-time",
+ "type": "string"
+ },
+ "timezone": {
+ "description": "IANA time zone used for times. UTC when none was passed.",
+ "type": "string"
+ },
+ "triggers": {
+ "description": "Every trigger on the site: saved triggers newest first, then system triggers.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "created_at": {
+ "description": "When the trigger was created. null on system triggers.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "data_extraction": {
+ "additionalProperties": true,
+ "description": "Where customer data, value, and product data are read on the page; the shape create_trigger takes.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "event": {
+ "description": "Event the trigger sends, such as Lead.",
+ "type": "string"
+ },
+ "last_event_at": {
+ "description": "Latest event from this trigger since checked_from. null when there was none.",
+ "format": "date-time",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "last_event_sent": {
+ "description": "Whether that latest event was sent to the ad platforms successfully. null when there was no event.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "selector": {
+ "description": "Element selector.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "text_match": {
+ "additionalProperties": true,
+ "description": "Text filter on the element.",
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "trigger_id": {
+ "description": "Id of the trigger. update_trigger and delete_trigger take it for url, click, and submit. update_integration and disconnect_integration take it as integration_id for an integration. A system trigger cannot be changed.",
+ "type": "integer"
+ },
+ "type": {
+ "description": "url: fires when a page loads. click: fires when an element is clicked. submit: fires when a form is submitted. system: built into the site platform. Otherwise an integration name, such as stripe or calendly.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Page address, query removed.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "value": {
+ "description": "Fixed value.",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "trigger_id",
+ "type",
+ "event",
+ "url",
+ "selector",
+ "text_match",
+ "value",
+ "data_extraction",
+ "created_at",
+ "last_event_at",
+ "last_event_sent"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "timezone",
+ "checked_from",
+ "triggers"
+ ],
+ "type": "object"
+}