OpenQuote Format

OQF · 0.1 working draft

Publish the price list once. Every software computes the same price.

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.

oqf-viewer · showcase · pg_bioexample data
The OQF viewer showing a bioclimatic pergola: live price lines, eco-contribution, weight and a 3D preview.
Packageshowcase v1
FormatOQF 0.1
Total excl. tax6,069.00 EUR
Conformance cases93 of 93 pass

See it work

From a price list to a live configurator

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.

ABC1200312,00344,001500361,00398,00 PRICE LIST 2026Window, 2 sashes1200 x 1400328,001800 x 1400613,00Frosted glass+ 25,00Dealer coefficient× 1,08PDF

A price list

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
valid · 0 error(s)
93 passed, 0 failed
VERDICT: SUCCESS

An OQF package, validated and tested

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.

The viewer configuring a roller shutter, with the price lines and a 3D preview

A configurator with live price and 3D

Any program reads the package: options appear, rules apply, the price updates, a 3D preview follows. The same result everywhere.

Live demo

Configure a product right here

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.

Product Open full screen
Preview of the viewer, not yet loaded

What’s new

What the format and the tools do today

  • Translations and country codesISO language tags such as fr-BE, one catalogue per language
  • Markets: hide, block, warnA value or a product can depend on the country
  • Performances and certificationsWind class, Uw, CE and other marks as structured data
  • Eco-contribution per schemeListed apart, outside the totals
  • Prices always excl. taxTax is left to the host software
  • MeasuresWeight in KGM, areas, counts, added up over components
  • Description variantsSimple, detailed, factory and supplier wordings
  • 3D visual descriptor and live 3D previewA renderer draws the product as options change
  • Compiled fast readerOpen once, evaluate in milliseconds
  • Live-folder dev modeEdit files, the viewer re-reads and re-checks
  • Problems panelEvery error and warning, with where it is
  • Test-case runnerReplay the package’s cases in the browser
  • Embeddable React componentThe viewer as a component for your own app
  • Conformance suite93 showcase cases, to the cent
  • Orders checked against the tariffItems keep their input and the computed result
  • Versioned and hashed packagesSHA-256 of every file; a published version never changes

Examples

Seven example packages to start from

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.

The whole format on every product family

What it demonstrates

  • 24 products: a simple and a complete one for each of the eleven families
  • Ranges two levels deep, shared blocks, RAL and fabric tables, grids with text axes and empty cells
  • Every rule effect and combination, plural-aware messages, order stage, dealer and net lines
  • Components, measures, eco lines per scheme and market, performances, certifications, visuals
  • Three markets, texts inline in English and French (the viewer picks the language from the browser), catalogues for German and Belgian French
24products
175properties
93cases

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." } }
      ]
    }
  }
}

A window in three languages and two countries

What it demonstrates

  • One or two sashes sharing one block; a roller shutter as a component of the window
  • Markets FR and BE: a French eco-contribution only in France, a Belgian one in Belgium
  • A value hidden in Belgium, another sold there with a warning
  • Catalogues fr-BE and nl-BE (“châssis” where French says “fenêtre”), a message with a plural
  • A visual aligned with the window profile; weight with the shutter added up
3products
14properties
10cases

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" }
}

An entrance door with a drawing the renderer understands

What it demonstrates

  • A panel model (a style keyword read by renderers), hinge side and swing direction
  • Bi-colour finish; glazing shown only for glazed models
  • A motorised lock with its own eco scheme
  • A visual aligned with the entrance-door profile; CE marking with its standard
1products
9properties
4cases

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'" }
}

Products inside a product, then an order

What it demonstrates

  • Side screens placed by the user, a front screen brought by an option, size and colour passed down
  • The screen is also sold alone; a rule of the screen reads the pergola
  • Measures: the weight of the pergola and of the screens, added up
  • An eco-contribution per scheme, priced per kilogram, outside the totals
  • An order file (order.json) that keeps each item’s input and result
2products
13properties
9cases

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" } }
]

A made-to-measure shutter, with its performances

What it demonstrates

  • One block shared by two products; priced options and conditional defaults
  • A colour list driven by a table; a price per square metre and a percentage
  • Options that exclude each other; an option needed only at order stage; a dealer charge
  • Performances: a wind class that depends on the width, a thermal resistance
  • Certifications: CE, and a coating label that applies only to some colours
2products
8properties
10cases

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'" }
]

Another trade: no width, no height

What it demonstrates

  • Three levels: bike, then wheel, then tyre
  • Several panniers in one component
  • A rule that reads two levels up
  • A component hidden by an option
  • Shows that nothing in the format is specific to joinery
4products
12properties
4cases

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

Three documents, plain JSON

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

One format, three ways to use it

Manufacturers

Publish once

Describe your price list one time. Every software that reads OQF computes the same price, the same options and the same messages.

What a package holds

Everything a program needs to quote a configurable product

Tags give the section of the specification: oqf-0.1.md.

§7, §9

Price grids and formulas

Dimensions, per m², percentages, minimums, rounding, on request, net lines.

§5, §10

Options and rules

Incompatibilities, visibility, allowed values, messages that forbid, warn or inform.

§6

Products inside products

A screen on the left of a pergola, with its own options and prices.

§2.7, §3.1

Translations and country codes

ISO tags such as fr-BE, one catalogue per language, plural-aware messages.

§3.1

Markets: hide, block, warn

A choice, a product or an eco-contribution that applies to some countries only.

§4.5, §4.6

Performances and certifications

Uw, acoustic insulation, wind class, CE and other marks, some depending on the size.

§9.7

Eco-contribution per scheme

Priced per kilogram or per piece, listed apart from the totals, passed on without discount.

§4.4

Measures

Weight in KGM, areas and counts, added up over the components.

§12.1

3D visual descriptor

Typed members from product profiles, so a renderer can draw 2D and 3D previews.

Proof, not trust

A price list that carries its own tests

93 / 93Showcase cases pass

The showcase package ships 93 cases, with the expected result to the cent. The reference reader passes them all.

  • Conformance suite

    Each case is an input and the expected result. A program is conformant when it passes them all. The specification ships a suite.

  • oqf validate

    Checks the structure, the references, the expressions and the manifest hashes.

  • oqf test

    Replays the cases and compares every amount.

  • oqf bench

    Compares the package with the printed prices, one row per price: a constant ratio flags a general price change instead of many mistakes.

  • oqf verdict

    One 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’s test cases tab: 93 of 93 cases pass

The viewer replays the test cases in the browser (screenshot of the English interface).

Bring your existing price lists

Three ways into OQF

Nobody retypes a price list by hand. Pick the path that matches the source you have.

PDF price lists

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.

Spreadsheets

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.

Quoting software exports

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.

Commercial offer

  • Commercial licence of the toolsTo integrate the reader, the viewer or the 3D engine into closed-source products or services.
  • Conversion serviceWe convert your price lists to validated OQF packages, with their test cases.
  • “OQF compatible” labelFor software vendors whose reader passes the conformance suite, on request.

Contact us

Use it in your product

Everything here is yours to use

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.

Start from an example

Copy one of the CC0 example packages and replace the products and prices with yours.

Browse the examples

Validate with oqf

Run oqf validate and oqf test, and write test cases that pin your prices.

The reference reader

Embed the viewer

Put the viewer in an iframe, or the React component in your app, next to your own screens.

Viewer and component

Licence for the tools

The tools are AGPL-3.0. For closed-source products or services, ask for a commercial licence.

openquoteformat@gmail.com

Validate a price list from the command line

Node 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

Share a link to a price list

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

Four repositories, one format

spec

The specification, JSON Schemas, examples, product profiles, conformance suite and guides.

openquoteformat/spec
Text CC BY 4.0 · schemas, examples, tests CC0

tools

The reference reader, the oqf command line, and the viewer: a single HTML page, a React component, a live-folder mode.

openquoteformat/tools
AGPL-3.0 or commercial licence

agent-kit

The kit that lets an AI agent convert a supplier’s price list to an OQF package and prove the result.

openquoteformat/agent-kit
AGPL-3.0 or commercial licence

render-3d

The 3D preview engine: procedural models of joinery and outdoor products, drawn from the visual of a configured item. Being published.

openquoteformat/render-3d
AGPL-3.0 or commercial licence

Implementation promise

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

Licences for the code

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