A price list
A PDF, a spreadsheet, an ERP export: grids by width and height, options, surcharges, rules written in footnotes.
OQF · 0.1 working draft
OpenQuote Format (OQF) is an open JSON format for configurable products: sizes, options, rules, eco-contributions, translations. The test cases travel with the price list, so any program can prove it gets the price to the cent.
Everything shown on this page is an example: fictitious supplier, fictitious prices.
See it work
Suppliers ship PDFs and spreadsheets, and every software retypes them, so prices drift. OQF describes the price list once, as data, with the expected prices attached.
A PDF, a spreadsheet, an ERP export: grids by width and height, options, surcharges, rules written in footnotes.
my-price-list/ ├─ manifest.json ├─ tariff.json ├─ translations/ ├─ media/ └─ conformance/cases.json
Written by hand, by a tool, or converted by an AI. oqf checks the structure and replays the test cases: the verdict says if it is right.
Any program reads the package: options appear, rules apply, the price updates, a 3D preview follows. The same result everywhere.
Product gallery
The showcase price list covers windows to gates. Pick a product to configure it in the viewer.
Pictures are generated by the 3D preview engine from each product’s default configuration; drawings stand in where the engine does not cover a family yet.
Live demo
The real viewer, embedded: change a size or an option and watch the price lines, the rules and the 3D preview react.
These are examples with fictitious products and prices. Copy them, adapt them, build your own.
What’s new
Examples
Each one is complete, with its test cases. They are released under CC0: copy, change and republish them freely.
These are examples with fictitious products and prices. Copy them, adapt them, build your own.
What it demonstrates
Excerpt (simplified)
{
"oqf": "0.1",
"tariff": {
"id": "showcase", "version": "1", "currency": "EUR",
"defaultLanguage": "en", "languages": ["en", "fr", "fr-BE", "de"],
"markets": ["FR", "BE", "DE"], "defaultMarket": "FR",
"translations": { "de": "translations/de.json", "fr-BE": "translations/fr-BE.json" }
},
"products": {
"rs_comfort": {
"profile": "roller-shutter",
"rules": [
{ "id": "solar_foam", "effect": "forbid", "on": "operation",
"combination": { "of": ["operation", "slat"],
"forbidden": [["motor_solar", "alu_foam"]] },
"message": { "en": "The solar motor cannot lift insulated aluminium slats: choose a radio motor." } }
]
}
}
}What it demonstrates
Excerpt (simplified)
{
"id": "acoustic",
"label": "Acoustic double glazing",
"price": { "rate": "55.00", "quantity": "width * height / 1000000", "unit": "MTK" },
"markets": {
"only": ["FR"],
"mode": "warn",
"message": { "en": "Acoustic glazing is made in France: a longer lead time applies in Belgium." }
}
},
{
"id": "frosted",
"label": "Frosted (obscured)",
"price": { "rate": "28.00", "quantity": "width * height / 1000000", "unit": "MTK" },
"markets": { "except": ["BE"], "mode": "hide" }
}What it demonstrates
Excerpt (simplified)
{
"type": "door/entrance",
"width": "width",
"height": "height",
"hinge": "hinge",
"opening": "direction",
"panel": "match model { 'glazed_strip' => 'glazed-strip'; 'glazed_half' => 'glazed-half'; else => model }",
"exteriorColor": {
"ral": "match exterior { 'white' => '9016'; 'green' => '6009'; else => '7016' }",
"finish": "'satin'"
},
"glazing": { "gloss": "0.5", "frosted": "privacy == 'frosted'" }
}What it demonstrates
Excerpt (simplified)
"components": [
{ "id": "left_screen", "accepts": ["screen_zip"], "max": 1,
"bind": { "width": { "expr": "side_screen_width", "locked": true } } },
{ "id": "front_screen", "accepts": ["screen_zip"], "max": 1,
"when": "front_closure == 'screen'" }
],
"measures": [ { "id": "weight", "unit": "KGM", "value": "structure_kg" } ],
"lines": [
{ "id": "eco_pmcb", "kind": "eco", "scheme": "FR-REP-PMCB",
"price": { "rate": "0.018", "quantity": "structure_kg", "unit": "KGM" } }
]What it demonstrates
Excerpt (simplified)
"performances": {
"wind_class": {
"label": { "en": "Wind resistance class" },
"value": "if slat == 'pvc' then (if width <= 1800 then '3' else '2') else (if width <= 2500 then '4' else '3')",
"standard": "EN 13659"
},
"thermal_delta_r": {
"value": "match slat { 'pvc' => 0.15; 'alu' => 0.13; 'alu_foam' => 0.2 }",
"unitText": "m²·K/W", "standard": "EN 13125"
}
},
"certifications": [
{ "id": "ce", "scheme": "CE", "reference": "EN 13659" },
{ "id": "qualicoat", "scheme": "QUALICOAT",
"when": "slat != 'pvc' and colour != 'other'" }
]What it demonstrates
Excerpt (simplified)
{
"id": "no_studs_on_race",
"when": "parent.parent.usage == 'race' and model == 'studded'",
"effect": "forbid",
"on": "model",
"message": { "en": "Studded tyres are not fitted on the racing version." }
}Formats
A tariff describes what can be configured and priced. Evaluating it for a choice gives a configured item. An order carries items to the supplier.
A package folder
my-price-list/ ├─ manifest.json hashes ├─ tariff.json prices ├─ translations/ fr-BE, de… ├─ media/ pictures └─ conformance/ test cases
A single tariff.json also works on its own. The manifest lists every file with its SHA-256: a published version is never modified.
tariff.json (excerpt)
{
"oqf": "0.1",
"tariff": { "id": "demo_outdoor", "version": "2026.1", "currency": "EUR" },
"products": {
"bioclim_px": {
"profile": "pergola",
"properties": [
{ "id": "width", "type": "number", "unit": "MMT",
"min": 2000, "max": 7000, "default": 4000 },
{ "id": "lighting", "type": "choice", "default": "none",
"values": [ { "id": "none" }, { "id": "led", "price": "420.00" } ] }
],
"components": [
{ "id": "left_screen", "accepts": ["screen_zip"], "max": 1 }
],
"lines": [
{ "id": "base", "kind": "base",
"price": { "grid": "px_base", "at": ["projection", "width"] } },
{ "id": "eco_pmcb", "kind": "eco", "scheme": "FR-REP-PMCB",
"price": { "rate": "0.018", "quantity": "structure_kg", "unit": "KGM" } }
]
}
}
}Prices are strings, decimal and exact. Units are UN/CEFACT codes (MMT, KGM, MTK).
Result of evaluating a pergola with its defaults (excerpt)
{
"status": "ok",
"product": "bioclim_px",
"properties": [
{ "id": "width", "value": 4000, "origin": "default" },
{ "id": "lighting", "value": "none", "allowed": ["none", "led"] }
],
"lines": [
{ "id": "base", "kind": "base", "amount": "8310.00" },
{ "id": "eco_pmcb", "kind": "eco", "amount": "5.58",
"scheme": "FR-REP-PMCB" }
],
"unitTotal": "8310.00",
"eco": [ { "scheme": "FR-REP-PMCB", "unitAmount": "5.58" } ],
"measures": [ { "id": "weight", "unit": "KGM", "value": 310 } ],
"orderCode": "PX-4000x3500-ral7016",
"visual": {
"type": "pergola/bioclimatic",
"width": 4000, "depth": 3500, "height": 2500, "posts": 4,
"structureColor": { "ral": "7016" }, "bladeAngle": 0
}
}Lines, totals, the eco-contribution apart from the total, measures, and the visual object a 3D renderer draws.
order.json (excerpt)
{
"oqf": "0.1",
"order": { "id": "D-2026-00417", "date": "2026-11-12", "reference": "Smith site" },
"dealer": { "id": "GB-0042", "name": "Northern Shutters (fictitious)" },
"tariff": { "id": "demo_outdoor", "version": "2026.1", "sha256": "f600ed4c…b7134" },
"items": [
{
"line": 1,
"mark": "South terrace",
"input": {
"product": "bioclim_px", "stage": "order",
"values": { "width": 4500, "lighting": "led", "front_closure": "screen" },
"components": {
"left_screen": [ { "product": "screen_zip", "values": { "fabric": "s1_black" } } ]
}
},
"result": { "status": "ok", "unitTotal": "…", "lines": [ "…" ] }
}
]
}Each item keeps its input and the result computed for it, so the supplier can check the price.
Who it is for
Publish once
Describe your price list one time. Every software that reads OQF computes the same price, the same options and the same messages.
One reader
Read every supplier’s price list with the same code, and check your own reader against the conformance suite.
Convert and prove
The format is strict and small enough for a model to write correctly. The agent proposes; the validator and the cases decide.
What a package holds
Tags give the section of the specification: oqf-0.1.md.
Dimensions, per m², percentages, minimums, rounding, on request, net lines.
Incompatibilities, visibility, allowed values, messages that forbid, warn or inform.
A screen on the left of a pergola, with its own options and prices.
ISO tags such as fr-BE, one catalogue per language, plural-aware messages.
A choice, a product or an eco-contribution that applies to some countries only.
Uw, acoustic insulation, wind class, CE and other marks, some depending on the size.
Priced per kilogram or per piece, listed apart from the totals, passed on without discount.
Weight in KGM, areas and counts, added up over the components.
Typed members from product profiles, so a renderer can draw 2D and 3D previews.
Proof, not trust
The showcase package ships 93 cases, with the expected result to the cent. The reference reader passes them all.
Each case is an input and the expected result. A program is conformant when it passes them all. The specification ships a suite.
oqf validateChecks the structure, the references, the expressions and the manifest hashes.
oqf testReplays the cases and compares every amount.
oqf benchCompares the package with the printed prices, one row per price: a constant ratio flags a general price change instead of many mistakes.
oqf verdictOne answer for people and programs: VERDICT: SUCCESS or VERDICT: FAILED, with the reason.
terminal
$ oqf validate showcase/tariff.json
valid: yes; errors: 0; warnings: 0
$ oqf test showcase/tariff.json showcase/conformance/cases.json
PASS win_basic-defaults
PASS win_basic-rich
PASS win_basic-over-max
...
cases: 1 file(s), 93 passed, 0 failed
$ oqf verdict showcase/tariff.json showcase/conformance/cases.json
VERDICT: SUCCESS (valid, 93 case(s) pass, 0 warning(s))
Written in the specification: the same result everywhere, nothing chosen or corrected silently, and a missing price blocks instead of counting as zero.

The viewer replays the test cases in the browser (screenshot of the English interface).
Bring your existing price lists
Nobody retypes a price list by hand. Pick the path that matches the source you have.
Open AI conversion kit, free
An AI agent reads the PDF, writes the package, brings it together with the paper by the numbers and ends with a verdict. What it doubts becomes a question for a person.
Excel and CSV: conversion guide
A step-by-step guide to turn grids, option lists and surcharges into tables, properties and price lines, and to pin the prices with test cases.
Fast converters, commercial service
Compatible with the main quoting software on the market: fast converters for the price lists of the joinery and outdoor trades are available as a commercial service.
Use it in your product
The showcase, the viewer and the 3D preview are examples and reference tools. Manufacturers, software vendors and integrators are the ones who put them to work.
Copy one of the CC0 example packages and replace the products and prices with yours.
Browse the examplesRun oqf validate and oqf test, and write test cases that pin your prices.
Put the viewer in an iframe, or the React component in your app, next to your own screens.
Viewer and componentThe tools are AGPL-3.0. For closed-source products or services, ask for a commercial licence.
openquoteformat@gmail.comNode 22 or later, no dependency.
git clone https://github.com/openquoteformat/spec git clone https://github.com/openquoteformat/tools cd tools/reader node bin/oqf.js validate ../../spec/examples/pergola/tariff.json node bin/oqf.js test ../../spec/examples/pergola/tariff.json ../../spec/examples/pergola/cases.json
Host your tariff.json (or a package zip) on an https server that allows cross-origin reads, and give the viewer its address. Everything runs in the browser; nothing is uploaded.
https://openquoteformat.org/viewer/?url=https://example.com/tariff.json
Repositories
The specification, JSON Schemas, examples, product profiles, conformance suite and guides.
openquoteformat/specThe reference reader, the oqf command line, and the viewer: a single HTML page, a React component, a live-folder mode.
The kit that lets an AI agent convert a supplier’s price list to an OQF package and prove the result.
openquoteformat/agent-kitThe 3D preview engine: procedural models of joinery and outdoor products, drawn from the visual of a configured item. Being published.
Anyone may implement the specification (readers, writers, converters, validators; closed or open source) free of charge, and the maintainer will not assert any rights against conforming implementations. The name and the conformance label remain controlled: use them to say “reads OpenQuote Format 0.1”, not to imply endorsement. See PATENTS.md.
The specification is written in English, the only normative version. Read it here: oqf-0.1.md
The tools, the agent kit and the 3D engine are dual-licensed: AGPL-3.0-only, or a commercial licence for organisations that want to use the code in closed-source products or services. Personal use and small open-source projects stay free under the AGPL.
Questions, feedback, commercial licence: openquoteformat@gmail.com