Français · POS integrations · Project roadmap · Contributing · Apache 2.0
Open, vendor-neutral retail data models and an extensible foundation for point-of-sale integrations.
OpenRetailSchema aims to make it easier for applications to work with different POS systems without implementing a separate data model for every vendor. The project defines canonical contracts, preserves source provenance, and provides room for independent, capability-based connectors.
Status: early development. The initial schemas are a starting contract, not a claim of production readiness. An authorized Loyverse personal-token catalog integration has been tested in a separate F-Buisson product, but no live OpenRetailSchema POS connector is certified yet. See the exact evidence and integration registry.
- Canonical data contracts: common representations of stores, products, sales, line items, monetary amounts, and transaction provenance. Further domains will be added incrementally.
- Validation and test fixtures: vendor-independent examples, locally executable tests, and explicit schema versions.
- Connector contracts: a POS advertises exactly which reads, events, or writes it supports; missing fields are never silently invented.
- Normalization: source-specific mapping with preserved identifiers, timestamps, precision, and raw-data references.
OpenRetailSchema is an independent open-source project, designed to support any application—not exclusively F-Buisson products. Potential downstream uses include checkout workforce planning, price auditing, and order preparation.
- Source integrity: record the provider and source identifier for each normalized record; never invent absent quantities or prices.
- Money and time: decimal money as strings with ISO currency codes; timestamps use ISO 8601 offsets or UTC, with an explicit store timezone where applicable.
- Read-only first: begin with imports; POS writes require separate capability declarations, safeguards, and tests.
- Loss is explicit: preserve unrecognized vendor attributes separately, and distinguish unavailable, null, and zero when the data model requires it.
- Versioned contracts: maintain machine-readable schema versions and document incompatible changes before releasing them.
- Privacy by default: use synthetic fixtures. Never commit customer data, tokens, credentials, or private vendor payloads.
| Stage | Focus | Status |
|---|---|---|
| Foundation | Public specification, schemas, fixtures, local validation | v0.1.0 published — experimental |
| Generic import | Local product CSV adapter with explicit mapping, canonical validation, atomic output and synthetic tests | Experimental; products only |
| Loyverse | Experimental Python read-only client and synthetic tests; independently validate against an authorized live account and assess OAuth | Experimental |
| StoreLine | Adapter only for an interface whose availability and authorization have been verified | Research |
| Ecosystem | SDKs, optional service API, community connectors | Future |
See the roadmap for acceptance criteria. A POS is only listed as supported after real integration tests; naming a vendor above does not imply compatibility today.
From a fresh checkout with Python 3.10+:
python -m pip install -r requirements-dev.txt
python scripts/validate.py examples/valid_product.json examples/valid_sale.json examples/valid_activity_metric.json
python -m unittest discover -s tests -vFor the generic product CSV example, create a local ignored output directory and run:
mkdir local-data
python scripts/import_csv.py --input examples/csv/products.csv --mapping examples/csv/products_mapping.json --output local-data/imported-products.jsonlThe CSV example is synthetic. The Loyverse connector remains experimental until an authorized live OpenRetailSchema run is recorded.
- French overview / Présentation en français
- POS integration registry, tested evidence and contribution requests
- Experimental Loyverse token transport
- Local product CSV importer with reproducible example
- Guide CSV en français
- French POS contribution overview / Intégrations POS en français
- Architecture and source-data principles
- Compatibility policy
- Versioning and migration guarantees
- Roadmap
- Contributing
Help us support other POS systems: propose an integration and share public API documentation, verified capabilities and fabricated sample responses. Square, Shopify, Lightspeed, StoreLine export formats and other vendors are all welcome; see the evidence registry. Do not send credentials or real store exports.
Issues and pull requests are welcome, particularly schema design reviews and reproducible synthetic vendor samples. See CONTRIBUTING.md before proposing a connector. Do not post access tokens or real customer transaction data in issues.
Local validation remains fully supported. The public Tests workflow also runs on pull requests and main to repeat the unit suite; CI success does not certify live vendor access.
Maintained by F-Buisson. Licensed under Apache License 2.0. The project is independent of any POS vendor.