SAP Commerce Cloud · Schema

ConsentTemplate

B2BB2CCommerceCustomer ExperienceEcommerceOmnichannelRetail

Properties

Name Type Description
id string Consent template identifier
name string Template name
description string Template description
version integer Template version
currentConsent object
View JSON Schema on GitHub

JSON Schema

sap-commerce-cloud-consenttemplate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ConsentTemplate",
  "title": "ConsentTemplate",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Consent template identifier"
    },
    "name": {
      "type": "string",
      "description": "Template name"
    },
    "description": {
      "type": "string",
      "description": "Template description"
    },
    "version": {
      "type": "integer",
      "description": "Template version"
    },
    "currentConsent": {
      "type": "object",
      "properties": {
        "consentGivenDate": {
          "type": "string",
          "format": "date-time"
        },
        "consentWithdrawnDate": {
          "type": "string",
          "format": "date-time"
        }
      }
    }
  }
}