OpenPX Schema Registry

OpenPX Schema Registry

The canonical, versioned JSON Schema for Open Product Exchange — the open, verifiable standard for exchanging product information across manufacturers, distributors, retailers, and marketplaces. Every OpenPX document's $id resolves here.

Current version
v0.6.3
Canonical schema

Reference it

{
  "$schema": "https://schema.openpx.org/v0.6.3/openpx-schema.json",
  "openpx": "0.6.3",
  "product": { "...": "..." }
}

Validate it

# Python
pip install jsonschema
python - <<'PY'
import json, urllib.request, jsonschema
schema = json.load(urllib.request.urlopen("https://schema.openpx.org/v0.6.3/openpx-schema.json"))
doc = json.load(open("my-product.json"))
jsonschema.Draft7Validator(schema).validate(doc)
print("valid")
PY
# JavaScript (ajv, draft-07)
npx ajv-cli validate -s <(curl -s https://schema.openpx.org/v0.6.3/openpx-schema.json) -d my-product.json

Resources