OptInOut Attribute Type Consistency
- Dominant language
- JavaScript
- Stars
- 266
- Forks
- 380
- Avg merge
- 5d 8h
- Merged PRs (30d)
- 9
Description
## What are the schemas that are affected by the issue
OptInOut
## What are examples of products that are impacted by the issue
Adobe Campaign
**Problem**
Currently in the existing schema all _channels.xxx use an enumeration type of string but the globalOptOut attribute is of type boolean. This is a bit confusing as one would expect opt in/out to be binary and therefore be the same on all attributes.
**Proposed change**
Update all _channels.xxx types to boolean values. This follows industry best practice with opt-in logic.
Contributor guide
Research direction
Locate the OptInOut schema definition and enumerate the _channels.xxx attributes, then compare their current types with globalOptOut. Confirm the change by checking that every affected channel attribute uses the requested boolean type and that the repository’s existing schema validation passes.
Written by the indexing model from the issue text.
Assessment
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100