Data Contract

drn:decathlon-com:member::consents:PreferenceChannel:sha256/77b9548215046431c7b59a301d7531c0114894931453fd12099e52eb9167fa21 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.public.state.user-channel-preference.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.public.state.user-channel-preference.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.public.state.user-channel-preference.normalized.v1.avro
    Format
    avro

Entity Relationship Diagram

Visual representation of data model relationships

                    erDiagram
	"**ChannelRecord**" {
	user_id string
	channel_id string
	is_activated boolean
	created_by string
	created_at string
	event_id string
	didomi_user_id string
	created_from string
}


                  

Data Model

The logical data model

ChannelRecord None
Record representing a user channel preference activation or deactivation. This can take place during its creation or update.
topics: [{'name': 'europe.dkt-member.consents.public.state.user-channel-preference.normalized.v1.avro', 'compatibility': 'BACKWARD', 'retention': '30d'}]
user_id
string
The user ID is a unique identifier attached to a member or a lead
format:uuid
channel_id
string
The channel id to activate/deactivate for a member
is_activated
boolean
Activation/Deactivation value of channel
created_by
string
the Origin of event creation, It's filled with the member ID for the external plan or the FED ID for the internal plan
created_at
string
the creation date of event
event_id
string
the event id
didomi_user_id
string
Didomi User Id
created_from
string
The client's identifier present in the authentication mechanism used to perform the event creation, it's filled with the client_id claim from the jwt used as bearer token
Created at 21 Apr 2026 14:16:40 UTC with Data Contract CLI v0.10.35
dataContractSpecification: 1.1.0
id: drn:decathlon-com:member::consents:PreferenceChannel:sha256/77b9548215046431c7b59a301d7531c0114894931453fd12099e52eb9167fa21
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.public.state.user-channel-preference.normalized.v1.avro

      '
  load-europe:
    type: kafka
    environment: load
    format: avro
    host: ${member_streaming_platform_kafka_load_eu_url}
    topic: 'europe.dkt-member.consents.public.state.user-channel-preference.normalized.v1.avro

      '
  production-europe:
    type: kafka
    environment: production
    format: avro
    host: ${member_streaming_platform_kafka_prod_europe_url}
    topic: 'europe.dkt-member.consents.public.state.user-channel-preference.normalized.v1.avro

      '
models:
  ChannelRecord:
    description: Record representing a user channel preference activation or deactivation.
      This can take place during its creation or update.
    namespace: com.decathlon.member.consent.streaming.infrastructure
    fields:
      user_id:
        type: string
        format: uuid
        required: false
        description: The user ID is a unique identifier attached to a member or a
          lead
        config:
          avroType: string
          avroLogicalType: uuid
          avroDefault: null
      channel_id:
        type: string
        required: false
        description: The channel id to activate/deactivate for a member
        config:
          avroDefault: null
      is_activated:
        type: boolean
        required: false
        description: Activation/Deactivation value of channel
        config:
          avroDefault: null
      created_by:
        type: string
        required: false
        description: the Origin of event creation, It's filled with the member ID
          for the external plan or the FED ID for the internal plan
        config:
          avroDefault: null
      created_at:
        type: string
        required: false
        description: the creation date of event
        config:
          avroDefault: null
      event_id:
        type: string
        required: false
        description: the event id
        config:
          avroDefault: null
      didomi_user_id:
        type: string
        required: false
        description: Didomi User Id
        config:
          avroDefault: null
      created_from:
        type: string
        required: false
        description: The client's identifier present in the authentication mechanism
          used to perform the event creation, it's filled with the client_id claim
          from the jwt used as bearer token
        config:
          avroDefault: null
    config:
      topics:
      - name: europe.dkt-member.consents.public.state.user-channel-preference.normalized.v1.avro
        compatibility: BACKWARD
        retention: 30d
    topics:
    - name: europe.dkt-member.consents.public.state.user-channel-preference.normalized.v1.avro
      compatibility: BACKWARD
      retention: 30d
links:
  repo: https://github.com/dktunited/consent-management-streaming-avro-schemas
tags:
- Decathlon