papinet / papiNet-API

papiNet is a global paper, forest products and bioproducts industry e-Business initiative.
http://www.papinet.org/
Apache License 2.0
9 stars 3 forks source link

Propose a JSON schema to ensure the contraints that `sellerProduct.gradeCode` and `sellerProduct.partNumber`, and `customerArticleReference.gradeCode` and `customerArticleReference.partNumber`, cannot be respectively both populated #123

Open patricekrakow opened 5 months ago

larsolofsson commented 5 months ago

Just add:

not: required:

patricekrakow commented 5 months ago

OK, so it means that

required:
  - gradeCode
  - partNumber

as a whole is not: possible

not:
  required:
    - gradeCode
    - partNumber
patricekrakow commented 5 months ago

DECISION papiNet CWG 2024-01-31 meeting: Let's put that on hold.

patricekrakow commented 2 months ago

This issue is probably part of the discussion within the issue #141...