{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linklyhq-com/json-schema/linklyhq-com-link-schema.json",
  "title": "Link",
  "description": "Response schema for a link",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linklyhq-com-openapi.json#/components/schemas/Link",
  "properties": {
    "fb_pixel_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "linkedin_partner_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "microsoft_uet_tag_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "reddit_pixel_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "tiktok_pixel_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "hide_referrer": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "expiry_datetime": {
      "type": [
        "string",
        "null"
      ]
    },
    "expiry_destination": {
      "format": "uri",
      "type": [
        "string",
        "null"
      ]
    },
    "rules": {
      "items": {
        "$ref": "#/$defs/Rule"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "twitter_pixel_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "cloaking": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "linkify_words": {
      "type": [
        "string",
        "null"
      ]
    },
    "full_url": {
      "format": "uri",
      "type": "string"
    },
    "og_description": {
      "type": [
        "string",
        "null"
      ]
    },
    "skip_social_crawler_tracking": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "body_tags": {
      "type": [
        "string",
        "null"
      ]
    },
    "og_title": {
      "type": [
        "string",
        "null"
      ]
    },
    "note": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "gtm_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "og_image": {
      "type": [
        "string",
        "null"
      ]
    },
    "block_bots": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "snapchat_pixel_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "utm_content": {
      "type": [
        "string",
        "null"
      ]
    },
    "enabled": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "url": {
      "format": "uri",
      "type": "string"
    },
    "replacements": {
      "type": [
        "string",
        "null"
      ]
    },
    "deleted": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "qr_styles": {
      "type": [
        "object",
        "null"
      ]
    },
    "webhooks": {
      "items": {
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "created_by_user_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "expiry_clicks": {
      "type": [
        "integer",
        "null"
      ]
    },
    "notify_slack": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "notify_user_ids": {
      "items": {
        "type": "integer"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "workspace_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "public_analytics": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "pinterest_tag_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "password": {
      "type": [
        "string",
        "null"
      ]
    },
    "utm_source": {
      "type": [
        "string",
        "null"
      ]
    },
    "slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "domain": {
      "type": [
        "string",
        "null"
      ]
    },
    "forward_params": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "utm_medium": {
      "type": [
        "string",
        "null"
      ]
    },
    "head_tags": {
      "type": [
        "string",
        "null"
      ]
    },
    "ga4_tag_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "utm_term": {
      "type": [
        "string",
        "null"
      ]
    },
    "utm_campaign": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "Rule": {
      "properties": {
        "matches": {
          "type": [
            "string",
            "null"
          ]
        },
        "percentage": {
          "type": [
            "integer",
            "null"
          ]
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "what": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "title": "Rule",
      "type": "object"
    }
  }
}