Issue: Incorrect Schema Validation – tags Field Minimum Count
Reported Errors:
"on_select": {
"schemaErr0": "/message/order/quote/breakup/1/item/tags must NOT have fewer than 2 items",
"schemaErr1": "/message/order/quote/breakup/2/item/tags must NOT have fewer than 2 items",
"schemaErr2": "/message/order/quote/breakup/3/item/tags must NOT have fewer than 2 items"
}
Clarification:
- The schema is enforcing a minimum of 2 items in the
/item/tags array.
- However, not all items require 2 tags. In some valid cases, only 1 tag is needed.
- The current schema validation is too strict and results in false errors for valid input data.
Request:
Please review the schema definition for /message/order/quote/breakup/item/tags and update the minimum item requirement to accommodate valid single-tag scenarios where applicable.
Submitted By: OXIUM TECH CONSULTANCY PRIVATE LIMITED
@sandeepshahi @Jagannath-Padhy