How snapshot submission works
Snapshot submission is handled through the PRIXO web UI rather than a raw JSON endpoint, because it involves a multipart file upload and a multi-step Vision AI pipeline. The form lives at:/contribute/snapshot/[id] where you can review what was extracted.
Submission form fields
What the Vision AI extracts
PRIXO’s extraction pipeline reads the following fields from your screenshot:number
The per-unit price of the dish, in SAR. If you ordered three shawarmas at 10.5 SAR each, PRIXO records
10.5 — not the cart subtotal of 31.5. See the note below.number
The delivery fee charged by the platform for this order, in SAR.
number
Any additional service or platform fee shown on the checkout screen, in SAR.
0 if no service fee is displayed.number
The VAT amount applied to this order, in SAR.
boolean
true when VAT is already included in the item price rather than added as a separate line item.number
The grand total shown on the checkout screen, in SAR. Used to cross-check the extracted components.
number
The number of units of the dish shown in the order. Used together with the subtotal to calculate
itemPrice.string
The delivery platform that Vision AI identified from the screenshot’s visual design. Must match the
platform field you selected in the form — mismatches are rejected.number
A score between
0 and 1 representing how certain the Vision AI is about the extracted values. Submissions with a confidence below 0.4 are automatically rejected.itemPrice is always the per-unit price. If your order shows three shawarmas at a subtotal of 31.5 SAR, PRIXO records 10.5 SAR per unit. This ensures prices are comparable across all users regardless of order size, and prevents inflated totals from skewing the community average.Validation rules
PRIXO applies the following checks before accepting a snapshot. If any check fails, you are returned to the form with an error message.Successful submission
When all validation rules pass:- The price record is written to the PRIXO database and linked to the restaurant and dish.
- Your account is awarded +10 points.
- You are redirected to
/contribute/snapshot/[id], where you can see a summary of what was extracted and correct any fields if needed.
The PriceSnapshot data model
Each accepted snapshot produces aPriceSnapshot record with the following shape: