gs1 / EPCIS

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

index of the examples #268

Closed VladimirAlexiev closed 3 years ago

VladimirAlexiev commented 3 years ago

Examples are great, examples in multiple formats even better. But if I'm a new developer, how will I know which example demonstrates what?

I think we need an index (README.md) listing all examples, and describing what's special about them.

@RalphTro or @CraigRe can you start this? Below are some rough notes when I first saw EPCIS 2.

Note: #231 and #233 and #236 and #237 ask for more examples


XML Examples

JSON Examples

RalphTro commented 3 years ago

@CraigRe : did the group already agreed on how we are going to provide all these non-normative examples after ratification? I remember that we discussed several options (e.g. separate file residing on gs1.org, EPCIS GitHub). If we decide to continue GS1's GitHub issue repo, then @VladimirAlexiev 's suggestion makes sense. For that purpose, we e.g. could set up folders that contain all these examples in both formats (.jsonld + .xml) to which we can link to through a README file. As it is not an urgent matter, we e.g. can start working on this after we motioned the two drafts to public community review. Your thoughts?

mgh128 commented 3 years ago

Agree that these should be linked from https://www.gs1.org/epcis after ratification, alongside the interface definitions and schema.

Useful to maintain a presence of EPCIS/CBV on GitHub even after ratification.
Need to synch the GitHub version with the official ratified artefacts at gs1.org/epcis but update the README file to point to the official artefacts at gs1.org/epcis

GitHub could serve as a place that additional work around examples and tools could continue while the officially approved content exists on the GS1 website. Could we display a warning when people post issues? "Any changes to the standard must go through the working group... etc..." GitHub also provides the option to disable the issue feature altogether What if people found issues in the examples or tools? To be discussed - many GitHub repos specify ‚HOW TO CONTRIBUTE‘

GitHub can be a channel for issues but then they need to be moderated and curated towards the appropriate recipient Also there can be issues with the artefacts, schemas, swagger, etc. and GitHub is very convenient to report them Possible monthly SMG review of any issues posted after ratification.

VladimirAlexiev commented 3 years ago

@CraigRe

can start working on this after we motioned the two drafts to public community review.

Of course! ("two drafts" means EPCIS and CBV, right?)

https://github.com/VladimirAlexiev/EPCIS/blob/issue-231/JSON/WithSensorData/README.md is an example of the level of detail I think is useful (a couple of lines per example).