{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/optimizely/main/json-schema/optimizely-rest-tracking-link-schema.json", "title": "RestTrackingLink", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/optimizely-smart-campaigns-api-openapi.yml#/components/schemas/RestTrackingLink", "type": "object", "properties": { "id": { "type": "integer", "description": "Tracking link ID", "format": "int64" }, "url": { "type": "string", "description": "Tracking link URL" }, "htmlTracking": { "type": "string", "description": "Tracking state of a link in the HTML version", "enum": [ "DEFAULT", "ENABLED", "DISABLED" ] }, "textTracking": { "type": "string", "description": "Tracking state of a link in the text version", "enum": [ "DEFAULT", "ENABLED", "DISABLED" ] }, "description": { "type": "string", "description": "Tracking link description" }, "htmlOccurrences": { "type": "integer", "description": "Link occurrences in the HTML version", "format": "int32" }, "textOccurrences": { "type": "integer", "description": "Link occurrences in the text version", "format": "int32" }, "clickProfileIds": { "type": "array", "description": "Click profile IDs", "items": { "type": "integer", "description": "Click profile IDs", "format": "int64" } }, "links": { "type": "array", "description": "Restful links", "items": { "type": "object", "properties": { "uriBuilder": { "type": "object" }, "rels": { "type": "array", "items": { "type": "string" } }, "rel": { "type": "string" }, "type": { "type": "string" }, "params": { "type": "object", "additionalProperties": { "type": "string" } }, "title": { "type": "string" }, "uri": { "type": "string", "format": "uri" } }, "description": "Restful links" } } } }