Designed for Study
The libraries are provided in source form which is clearly structured and descriptively commented enabling developers to research precisely what is required to create an implementation of the specification with whatever development platform they are using. Furthermore, the libraries each include comprehensive unit tests that can be re-purposed and applied to a specialised implementation to ensure results that are consistent with a correct implementation of the standard.
Designed for Integration
In addition to source form, the libraries are provided in standard packaged formats, e.g. JAR and NuGet. Either the source can be vendored in to your application code or the packages can be imported into your development environment and shipped with your software application, according to preference. Standard API documentation in HTML format is provided for the public methods provided by each library.
Batteries Included
Each library is provided with example source code for an interactive console application that demonstrates how to correctly call the library functions. The demonstration applications will also accept command line arguments in which case the behave as a utility that is appropriate for use by sysadmins with only basic scripting experience. The examples demonstrate how to create and validate the check character pair for a GMN (Basic UDI-DI) whether data is statically coded, supplied interactively or processed by consuming each line of a file.
Available Libraries
The helper libraries are provided in these directories:
Directory |
Purpose |
---|---|
java/ |
Java helper library |
cs/ |
C# helper library |
js/ |
JavaScript helper library |
Licence
Copyright 2019 GS1 AISBL
Licensed under the Apache Licence, Version 2.0 (the "Licence");
you may not use this file except in compliance with the Licence.
You may obtain a copy of the Licence at https://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software
distributed under the Licence is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the Licence for the specific language governing permissions and
limitations under the Licence.
Pedigree
The initial libraries and tests were written (under the commission of GS1 AISBL) by one of the experts in the technical group that selected the algorithm based on its performance during the analysis of several alternative schemes under consideration.