Data Contract

drn:decathlon-com:member::consents:NormalizedConsent:sha256/1721da1a65626bb15640f5e3927a92eec4582ad0e173efb73774af446307f1d9 Data Contract Specification v1.1.0
Decathlon

Info

Information about the data contract

Title
com.decathlon.member.consent.streaming:consent-public-avro-schema
Version
1.28.0-SNAPSHOT
Status
active
Owner
Decathlon | Consent Team
groupId
com.decathlon.member.consent.streaming
artifactId
consent-public-avro-schema

Servers

Servers of the data contract

  • Server
    preproduction-europe
    Environment
    preproduction
    Type
    kafka
    Host
    ${member_streaming_platform_kafka_preprod_europe_url}
    Topic
    europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
    Format
    avro
  • Server
    load-europe
    Environment
    load
    Type
    kafka
    Host
    ${member_streaming_platform_kafka_load_eu_url}
    Topic
    europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
    Format
    avro
  • Server
    production-europe
    Environment
    production
    Type
    kafka
    Host
    ${member_streaming_platform_kafka_prod_europe_url}
    Topic
    europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
    Format
    avro

Entity Relationship Diagram

Visual representation of data model relationships

                    erDiagram
	"**NormalizedConsent**" {
	memberId string
	purposeId string
	channelId string
	enabled boolean
	createdAt string
	createdBy string
	createdFrom string
	countryCode string
}


                  

Data Model

The logical data model

NormalizedConsent None
Record representing the consent value to update for a purpose or a channel
topics: [{'name': 'europe.dkt-member.consents.private.stream.consent.normalized.v1.avro', 'compatibility': 'BACKWARD', 'retention': '7d'}]
memberId
string
The member UUID
purposeId
string
The purpose id to activate/deactivate for a member
channelId
string
The channel id to activate/deactivate for a member
enabled
boolean
Activation/Deactivation value of a purpose/channel
createdAt
string
The action date of the event creation in ISO 8601 format. Example: 2025-04-30T15:28:07.523Z
createdBy
string
The identifier of who is performing the event creation (it can be a user or a machine)
createdFrom
string
The client's identifier used to perform the event creation
countryCode
string
The country of the user account, The value must be a two-letter country code in accordance with the ISO 3166-1 Alpha-2 standard.
Created at 21 Apr 2026 14:16:38 UTC with Data Contract CLI v0.10.35
dataContractSpecification: 1.1.0
id: drn:decathlon-com:member::consents:NormalizedConsent:sha256/1721da1a65626bb15640f5e3927a92eec4582ad0e173efb73774af446307f1d9
info:
  title: com.decathlon.member.consent.streaming:consent-public-avro-schema
  version: 1.28.0-SNAPSHOT
  status: active
  owner: Decathlon | Consent Team
  contact:
    name: CE-MEMBER-CONSENTS
    url: https://decathlondigital.slack.com/archives/C043NC82JCR
    email: [email protected]
  groupId: com.decathlon.member.consent.streaming
  artifactId: consent-public-avro-schema
servers:
  preproduction-europe:
    type: kafka
    environment: preproduction
    format: avro
    host: ${member_streaming_platform_kafka_preprod_europe_url}
    topic: europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
  load-europe:
    type: kafka
    environment: load
    format: avro
    host: ${member_streaming_platform_kafka_load_eu_url}
    topic: europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
  production-europe:
    type: kafka
    environment: production
    format: avro
    host: ${member_streaming_platform_kafka_prod_europe_url}
    topic: europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
models:
  NormalizedConsent:
    description: Record representing the consent value to update for a purpose or
      a channel
    namespace: com.decathlon.member.consent.streaming.domain
    fields:
      memberId:
        type: string
        required: false
        description: The member UUID
        config:
          avroDefault: null
      purposeId:
        type: string
        required: false
        description: The purpose id to activate/deactivate for a member
        config:
          avroDefault: null
      channelId:
        type: string
        required: false
        description: The channel id to activate/deactivate for a member
        config:
          avroDefault: null
      enabled:
        type: boolean
        required: false
        description: Activation/Deactivation value of a purpose/channel
        config:
          avroDefault: null
      createdAt:
        type: string
        required: false
        description: 'The action date of the event creation in ISO 8601 format. Example:
          2025-04-30T15:28:07.523Z'
        config:
          avroDefault: null
      createdBy:
        type: string
        required: false
        description: The identifier of who is performing the event creation (it can
          be a user or a machine)
        config:
          avroDefault: null
      createdFrom:
        type: string
        required: false
        description: The client's identifier used to perform the event creation
        config:
          avroDefault: null
      countryCode:
        type: string
        required: false
        description: The country of the user account, The value must be a two-letter
          country code in accordance with the ISO 3166-1 Alpha-2 standard.
        config:
          avroDefault: null
    config:
      topics:
      - name: europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
        compatibility: BACKWARD
        retention: 7d
    topics:
    - name: europe.dkt-member.consents.private.stream.consent.normalized.v1.avro
      compatibility: BACKWARD
      retention: 7d
links:
  repo: https://github.com/dktunited/consent-management-streaming-avro-schemas
tags:
- Decathlon