Skip to content

on_select log_validation Error (Incorrect Schema Validation – tags Field Minimum Count) #165

@Sudhi-S-2003

Description

@Sudhi-S-2003

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions