gs1 / EPCIS

Draft files being shared for EPCIS 2.0 development
Other
20 stars 7 forks source link

Various corrections to fix missing query parameters #435

Closed mgh128 closed 2 years ago

mgh128 commented 2 years ago

Some valid query parameters (e.g. EQ_disposition and several others) were missing or were not correctly expressed as pattern parameters and because "additionalProperties": false is asserted, the previous version would have thrown some spurious validation errors for valid EPCIS queries formulated in a JSON object - so this pull request attempts to correct those and avoid spurious errors for valid queries.

This is in no way a criticism of the great work by @domguinard in developing this validation artefact - and there were also some errors in the table in EPCIS section 8.2.7.1, some of which @domguinard appears to have noticed and taken care of in his previous draft, so we're making corrections in section 8.2.7.1 as well. It's only by doing this kind of very careful cross-checking that we can identify such gaps or inconsistencies.