{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/consentlayer-com/json-schema/consentlayer-com-get-sites-id-banner-response-schema.json",
  "title": "GetSitesIdBannerResponse",
  "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/GetSitesIdBannerResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Banner config ID"
    },
    "siteId": {
      "type": "string",
      "description": "Parent site ID"
    },
    "template": {
      "type": "string",
      "description": "Banner template: floating , wide_bar , or modal"
    },
    "position": {
      "type": "string",
      "description": "Position on screen (e.g. bottom_left , top , center )"
    },
    "colors": {
      "type": "object",
      "description": "Color overrides for primary , background , text , acceptButton , rejectButton"
    },
    "textOverrides": {
      "type": "object",
      "description": "Custom text for headline , body , acceptLabel , rejectLabel , preferencesLabel"
    },
    "logoUrl": {
      "type": "string",
      "description": "URL to a custom logo displayed in the banner"
    },
    "privacyPolicyUrl": {
      "type": "string",
      "description": "Link to your privacy policy"
    },
    "defaultBehavior": {
      "type": "string",
      "description": "opt_in (GDPR), opt_out (CCPA), or no_banner"
    },
    "closeButtonBehavior": {
      "type": "string",
      "description": "accept_all , reject_all , or dismiss"
    },
    "cookieExpirationDays": {
      "type": "integer",
      "description": "How long consent is remembered"
    },
    "consentVersion": {
      "type": "integer",
      "description": "Incremented to re‑prompt visitors after changes"
    },
    "gcmExcludeGoogle": {
      "type": "boolean",
      "description": "Exclude Google services from consent blocking"
    },
    "shopifyIntegration": {
      "type": "boolean",
      "description": "Enable Shopify‑specific features"
    }
  }
}