{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gajo-io/json-schema/gajo-io-update-url-request-schema.json",
  "title": "UpdateUrlRequest",
  "description": "Send only the fields to change.",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gajo-io-openapi.json#/components/schemas/UpdateUrlRequest",
  "type": "object",
  "properties": {
    "originalUrl": {
      "type": "string",
      "maxLength": 2048,
      "description": "New destination, validated like `POST /shorten`. App deep links (custom schemes) are allowed."
    },
    "interstitialEnabled": {
      "type": "boolean",
      "description": "Show your branded interstitial page before redirecting."
    }
  }
}