Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS1 Web URI support #83

Open
jodal opened this issue May 11, 2021 · 2 comments
Open

GS1 Web URI support #83

jodal opened this issue May 11, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@jodal
Copy link
Owner

jodal commented May 11, 2021

GS1 has developed a standard URI format for encoding GS1 Application Identifiers named "GS1 Web URI".

The standard can be found here: https://www.gs1.org/standards/Digital-Link/1-0

If support for this in Biip would be useful for you, please reach out to me.

@dizhu1991
Copy link

Absolutely. Also support for other GS1 AIs would be fantastic, such as GLN, GRAI etc.

@jodal jodal added the enhancement New feature or request label Sep 5, 2021
@jodal
Copy link
Owner Author

jodal commented Jul 29, 2024

Just for the record, as an answer to the above comment, but otherwise unrelated to Web URI support:

Biip already supports all GS1 AIs, with specific support for many of them, quoting from the feature list in the project's README:

  • Parse AI 00 as SSCC.
  • Parse AI 01 and 02 as GTIN.
  • Parse AI 410-417 as GLN.
  • Parse dates/times into datetime.date/datetime.datetime values.
    • Interpret the year to be within -49/+50 years from today.
    • Interpret dates with day "00" as the last day of the month.
  • Parse variable measurement fields into Decimal values.
  • Parse discount percentage into Decimal values.
  • Parse amounts into Decimal values.
    • Additionally, if py-moneyed is installed, parse amounts with currency into Money values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants