Data Contract

drn:decathlon-com:member::consents:ConsentPendingPurpose:sha256/bb10b715624d84224842d698e6d12fd43ac98a39c90d7c0a6d7cec2afe267038 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-purpose-pending-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-purpose-pending-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-purpose-pending-preference.normalized.v1.avro
    Format
    avro

Entity Relationship Diagram

Visual representation of data model relationships

                    erDiagram
	"**PendingPurposeRecord**" {
	user_id string
	purpose_id string
	is_given boolean
	created_by string
	created_at string
	event_id string
	created_from string
}


                  

Data Model

The logical data model

PendingPurposeRecord None
Record representing the pending event of a purpose consent. This occurs when double opt-in is configured for a given country or purpose.
topics: [{'name': 'europe.dkt-member.consents.public.state.user-purpose-pending-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
purpose_id
string
The purpose id to activate/deactivate for a member
is_given
boolean
Activation/Deactivation value of purpose
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
Date of the pending purpose consent
event_id
string
the event 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:33 UTC with Data Contract CLI v0.10.35
dataContractSpecification: 1.1.0
id: drn:decathlon-com:member::consents:ConsentPendingPurpose:sha256/bb10b715624d84224842d698e6d12fd43ac98a39c90d7c0a6d7cec2afe267038
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-purpose-pending-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-purpose-pending-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-purpose-pending-preference.normalized.v1.avro

      '
models:
  PendingPurposeRecord:
    description: Record representing the pending event of a purpose consent. This
      occurs when double opt-in is configured for a given country or purpose.
    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
      purpose_id:
        type: string
        required: false
        description: The purpose id to activate/deactivate for a member
        config:
          avroDefault: null
      is_given:
        type: boolean
        required: false
        description: Activation/Deactivation value of purpose
        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: Date of the pending purpose consent
        config:
          avroDefault: null
      event_id:
        type: string
        required: false
        description: the event 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-purpose-pending-preference.normalized.v1.avro
        compatibility: BACKWARD
        retention: 30d
    topics:
    - name: europe.dkt-member.consents.public.state.user-purpose-pending-preference.normalized.v1.avro
      compatibility: BACKWARD
      retention: 30d
links:
  repo: https://github.com/dktunited/consent-management-streaming-avro-schemas
tags:
- Decathlon