Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the getVendorList to support new v2.2 vendor list fields #392

Open
HeinzBaumann opened this issue May 15, 2023 · 10 comments
Open

Update the getVendorList to support new v2.2 vendor list fields #392

HeinzBaumann opened this issue May 15, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@HeinzBaumann
Copy link
Collaborator

Version
2.2

Module (core, cmpapi, cli, stub, or testing)
command getVendorList

Describe with reproduction steps – What is the expected behavior?
We also need to extend the library with the new metadata GVL and Vendor

GVL Declarations
A list of Categories of data collected
Vendor Details
List of Categories of data collected across Purposes
Data retention duration for each purpose as applicable
GDPR/privacy policy page and Legitimate Interest claim URL

@HeinzBaumann HeinzBaumann added the bug Something isn't working label May 15, 2023
@sevriugin
Copy link
Collaborator

@HeinzBaumann Could we have a link here to the lates approved GVL format, thanks

@HeinzBaumann
Copy link
Collaborator Author

@sevriugin https://vendor-list.consensu.org/v3/vendor-list.json

@sevriugin
Copy link
Collaborator

sevriugin commented May 21, 2023

@HeinzBaumann Should we support the legacy version of the GVL in the library and make new fields optional?

export interface Declarations {
  purposes: IntMap<Purpose>;
  specialPurposes: IntMap<Purpose>;
  features: IntMap<Feature>;
  specialFeatures: IntMap<Feature>;
  stacks: IntMap<Stack>;
  dataCategories?: IntMap<DataCategory>;
}
export interface Vendor extends GVLMapItem {
  purposes: number[];
  legIntPurposes: number[];
  flexiblePurposes: number[];
  specialPurposes: number[];
  features: number[];
  specialFeatures: number[];
  policyUrl: string;
  usesCookies: boolean;
  cookieMaxAgeSeconds: number | null;
  cookieRefresh: boolean;
  usesNonCookieAccess: boolean;
  deviceStorageDisclosureUrl?: string;
  deletedDate?: Date | string;
  overflow?: {
    httpGetLimit: 32 | 128;
  };
  dataRetention?: DataRetention;
  urls?: VendorUrl[];
  dataDeclaration?: number[];
}
export interface DataCategory extends GVLMapItem {
  description: string;
}
export interface DataRetention {
    stdRetention?: number;
    purposes: IntMap<number>;
    specialPurposes: IntMap<number>;
}
export interface VendorUrl {
    langId: string;
    privacy: string;
    legIntClaim: string;
}

@HeinzBaumann
Copy link
Collaborator Author

This is a good suggestion. By end of June the old GVL format is no longer supported. So I think we don't need to do it that way but if we get someone to implement it sooner, we should do it as you suggest to stay compatible with both versions.

@uc-bsam
Copy link

uc-bsam commented May 26, 2023

@HeinzBaumann I think as the v3 GVL is planned to be "complete" by end of june (as thats the deadlinefor the vendors) I still expect that the lib may be used with a v2 gvl during the period until end of sep (deadline to consider policy v2 strings as invalid) - so i would alos vote for marking the new fields optional

@sevriugin
Copy link
Collaborator

Thanks for comments. I will try to create a PR making these fields optional for now and will add TODO comment to change them to mandatory when the transition period will be finished

@BenBornschein
Copy link

When will the new fields be available?

@TUNER88
Copy link

TUNER88 commented Sep 22, 2023

Any updates?
@marco-prontera @sevriugin @aitnitishshelage @kenario when can we expect a new package version to be released?

@jelenatomcic
Copy link

@TUNER88 as far as I can see, all the new vendor list fields are supported. Check this version https://www.npmjs.com/package/@iabtechlabtcf/core - the package name changed. I did not get any notification about that change, maybe you did not, too.

@neolsw
Copy link

neolsw commented Jun 21, 2024

I would love some clarification on whether or not @iabtechlabtcf is the main stable package now? I don't see this clearly communicated anywhere.

If that is the case, I assume that many others don't know about this either, since @iabtcf has nearly 4 times the weekly downloads?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants