Coder Social home page Coder Social logo

redcrewos / open-qr-standard Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 3.0 476 KB

Repository containing the documentation for an Open QR standard designed for the Australian commercial environment. The Open QR standard defines a technical solution to allow QR codes presented in various contexts and for various purposes to be able to be scanned, their purpose discovered, and then utilised for an abstract set of use cases.

License: MIT License

open-qr-standard's People

Contributors

brett-allen avatar jackmoggach avatar jamesmbligh avatar kierans avatar

Watchers

 avatar  avatar  avatar

open-qr-standard's Issues

Align namespaces for profile schemas with standards version

In the profile documents (eg: Core, POS, etc), the version of JSON Schema referenced in the standard is draft-bhutton-json-schema-00 (known as draft-2020-12). However the value of $schema in the schema definitions are for a previous version ie: draft-07. This leads validation tools (eg: ajv) to use the draft-07 version of the JSON Schema standard which means if the profile schema definitions were ever to include a feature from the draft-2020-12 version, validators may not accept the schema/throw errors.

The solution is to namespace/align the schema documents to the version specified by the standard

$schema: "https://json-schema.org/draft/2020-12/schema"

Happy to do the PR if that would be helpful.

Key instruments for pos payment profile by URN

Currently for the Point-of-sale Payment Profile the instrument that is provided has a type that is then the URN of an applicable payment instrument, defined by a profile and supported by the Code Provider eg: urn:cds-au:qr:pos-instrument:eftpos:1

However it would better to have an instruments block where the keys are the URN and the values are the data that is required by that instrument type/URN's schema.

This would be consistent with how the profiles are defined in the Core Profile and would facilitate scenarios where multiple instruments could be provided (eg: gift cards and a credit card).

Schema for profiles discovery documents

Currently the standards have JSON schemas for other parts of the profile. It would be good to have the Discovery documents in JSON schames as well as the tables. This would facilitate validation of documents that are interchanged as part of the discovery process.

Defining what a session is may help new readers

Having read through the standard a couple of times, it's not clear what a "session" is. Specifically, what comprises a session, and what does it mean to claim a session. If I was implementing a Code Producer I'm not clear on what I would have to record in my system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.