Data Contract

drn:decathlon-com:member::consents:GenericConsent:sha256/19413428755148fa0621ae45c5ada1a1e878eff11c1e70184ed1c6c4484eb069 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.fact.generic-consent.raw.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.fact.generic-consent.raw.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.fact.generic-consent.raw.v1.avro
    Format
    avro

Entity Relationship Diagram

Visual representation of data model relationships

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


                  

Data Model

The logical data model

GenericConsent None
Private record representing the consent value to update for a specific purpose
topics: [{'name': 'europe.dkt-member.consents.private.fact.generic-consent.raw.v1.avro', 'compatibility': 'BACKWARD', 'retention': '7d'}]
channelId
string
The channel id to activate/deactivate for a member
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.
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)
enabled
boolean
Activation/Deactivation value of a purpose
memberId
string
The member UUID
purposeId
string
The purpose id to activate/deactivate for a member
Created at 21 Apr 2026 14:16:36 UTC with Data Contract CLI v0.10.35
dataContractSpecification: 1.1.0
id: drn:decathlon-com:member::consents:GenericConsent:sha256/19413428755148fa0621ae45c5ada1a1e878eff11c1e70184ed1c6c4484eb069
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.fact.generic-consent.raw.v1.avro
  load-europe:
    type: kafka
    environment: load
    format: avro
    host: ${member_streaming_platform_kafka_load_eu_url}
    topic: europe.dkt-member.consents.private.fact.generic-consent.raw.v1.avro
  production-europe:
    type: kafka
    environment: production
    format: avro
    host: ${member_streaming_platform_kafka_prod_europe_url}
    topic: europe.dkt-member.consents.private.fact.generic-consent.raw.v1.avro
models:
  GenericConsent:
    description: Private record representing the consent value to update for a specific
      purpose
    namespace: com.decathlon.member.consent.streaming.infrastructure
    fields:
      channelId:
        type: string
        required: false
        description: The channel id to activate/deactivate for a member
        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
      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
      enabled:
        type: boolean
        required: false
        description: Activation/Deactivation value of a purpose
        config:
          avroDefault: null
      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
    config:
      topics:
      - name: europe.dkt-member.consents.private.fact.generic-consent.raw.v1.avro
        compatibility: BACKWARD
        retention: 7d
    topics:
    - name: europe.dkt-member.consents.private.fact.generic-consent.raw.v1.avro
      compatibility: BACKWARD
      retention: 7d
links:
  repo: https://github.com/dktunited/consent-management-streaming-avro-schemas
tags:
- Decathlon