adobe / adobe/xdm

Field does not contain a type "xdm:condition" in discount schema

Open
#448 0 comments 0 reactions 0 assignees View on GitHub
bug
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
xdm/schemas/data/discount.schema.json

## What are examples of products that are impacted by the issue
none, not used currently.

Type attribute missing. It is not clear what it would be.
```
"xdm:condition": {
"title": "Condition",
"description":
"The minimum amount of items or price for the dicount to qualify"
}
```

Contributor guide

Open the contributing guide

Research direction

Start with xdm/schemas/data/discount.schema.json and inspect nearby schema fields and their type declarations to determine the convention for xdm:condition. Confirm the appropriate type for the condition field, then validate that the schema remains valid and that the field definition clearly describes its expected value.

Written by the indexing model from the issue text.

Assessment

Tech stack
json
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.