{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/consentlayer-com/json-schema/consentlayer-com-patch-api-v1-sites-e1-a2-b3-c4-d5-e67-f890-a1-b2-c3-d4-e5-f6789-banner-respons-schema.json",
  "title": "PatchApiV1SitesE1A2B3C4D5E67F890A1B2C3D4E5F6789BannerRespons",
  "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/PatchApiV1SitesE1A2B3C4D5E67F890A1B2C3D4E5F6789BannerRespons",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "siteId": {
      "type": "string"
    },
    "template": {
      "type": "string"
    },
    "position": {
      "type": "string"
    },
    "colors": {
      "type": "object",
      "properties": {
        "primary": {
          "type": "string"
        },
        "background": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "acceptButton": {
          "type": "string"
        },
        "rejectButton": {
          "type": "string"
        }
      }
    },
    "textOverrides": {
      "type": "object",
      "properties": {
        "headline": {
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "acceptLabel": {
          "type": "string"
        },
        "rejectLabel": {
          "type": "string"
        },
        "preferencesLabel": {
          "type": "string"
        }
      }
    },
    "logoUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "privacyPolicyUrl": {
      "type": "string"
    },
    "defaultBehavior": {
      "type": "string"
    },
    "closeButtonBehavior": {
      "type": "string"
    },
    "cookieExpirationDays": {
      "type": "integer"
    },
    "consentVersion": {
      "type": "integer"
    },
    "blockingRules": {
      "type": [
        "string",
        "null"
      ]
    },
    "gcmExcludeGoogle": {
      "type": "boolean"
    },
    "shopifyIntegration": {
      "type": "boolean"
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}