Field does not contain a type "xdm:condition" in discount schema
- 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
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