{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/consentlayer-com/json-schema/consentlayer-com-patch-sites-id-banner-request-schema.json",
  "title": "PatchSitesIdBannerRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/consentlayer-com-openapi-generated.yml#/components/schemas/PatchSitesIdBannerRequest",
  "type": "object",
  "properties": {
    "template": {
      "type": "string",
      "description": "Banner template: floating, wide_bar, or modal"
    },
    "position": {
      "type": "string",
      "description": "Position: bottom_left, bottom_right, top_left, top_right, bottom, top, center"
    },
    "colors": {
      "type": "object",
      "description": "Color overrides with keys: primary, background, text, acceptButton, rejectButton"
    },
    "textOverrides": {
      "type": "object",
      "description": "Text overrides with keys: headline, body, acceptLabel, rejectLabel, preferencesLabel"
    },
    "privacyPolicyUrl": {
      "type": "string",
      "description": "Link to your privacy policy page"
    },
    "defaultBehavior": {
      "type": "string",
      "description": "Consent behavior: opt_in (GDPR), opt_out (CCPA), or no_banner"
    },
    "closeButtonBehavior": {
      "type": "string",
      "description": "When user clicks X: accept_all, reject_all, or dismiss"
    },
    "cookieExpirationDays": {
      "type": "integer",
      "description": "Days until consent cookie expires"
    }
  }
}