{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grovs-io/json-schema/grovs-io-post-sdk-generate-link-request-schema.json",
  "title": "PostSdkGenerateLinkRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/grovs-io-openapi-generated.yml#/components/schemas/PostSdkGenerateLinkRequest",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "description": "Title shown in the link preview."
    },
    "subtitle": {
      "type": "string",
      "description": "Subtitle shown in the link preview."
    },
    "data": {
      "type": "string",
      "description": "Stringified JSON object delivered to your app by the SDK when the link opens it."
    },
    "tags": {
      "type": "string",
      "description": "Stringified JSON array of tags."
    },
    "ios_custom_redirect": {
      "type": "object",
      "description": "iOS redirect with url and open_app_if_installed."
    },
    "android_custom_redirect": {
      "type": "object",
      "description": "Android redirect with url and open_app_if_installed."
    },
    "desktop_custom_redirect": {
      "type": "object",
      "description": "Desktop browser fallback with url."
    },
    "show_preview_ios": {
      "type": "boolean",
      "description": "Show the preview page on iOS."
    },
    "show_preview_android": {
      "type": "boolean",
      "description": "Show the preview page on Android."
    },
    "show_preview": {
      "type": "boolean",
      "description": "Shorthand for both platforms."
    },
    "copy_to_clipboard_ios": {
      "type": "boolean",
      "description": "Copy the link to the clipboard from the iOS preview page."
    },
    "copy_to_clipboard_android": {
      "type": "boolean",
      "description": "Copy the link to the clipboard from the Android preview page."
    },
    "tracking_campaign": {
      "type": "string",
      "description": "Campaign name."
    },
    "tracking_source": {
      "type": "string",
      "description": "Traffic source."
    },
    "tracking_medium": {
      "type": "string",
      "description": "Medium."
    }
  }
}