{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/lightspeed/main/json-schema/lightspeed-quote-schema.json", "title": "Quote", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/lightspeed-quotes-api-openapi.yml#/components/schemas/Quote", "properties": { "created_at": { "type": "string" }, "customer_id": { "type": "string" }, "deleted_at": { "type": [ "string", "null" ] }, "expired_at": { "type": "string" }, "grand_total": { "type": "number" }, "id": { "type": "string" }, "loyalty": { "type": [ "number", "null" ] }, "note": { "type": [ "string", "null" ] }, "outlet_id": { "type": "string" }, "products": { "items": { "$ref": "#/$defs/QuoteProduct" }, "type": "array" }, "register_id": { "type": "string" }, "retailer_id": { "type": "string" }, "sales_ids": { "items": { "type": [ "string", "null" ] }, "type": [ "array", "null" ] }, "short_code": { "type": "string" }, "status": { "type": "string" }, "total_price": { "type": "number" }, "total_tax": { "type": "number" }, "updated_at": { "type": "string" }, "user_id": { "type": "string" } }, "type": "object", "$defs": { "QuoteProduct": { "properties": { "discount": { "type": "number" }, "id": { "type": "string" }, "note": { "type": "string" }, "price": { "type": "number" }, "product_id": { "type": "string" }, "product_tax_components": { "items": { "$ref": "#/$defs/QuotesProductsTaxComponents" }, "type": "array" }, "quantity": { "type": "integer" }, "quote_id": { "type": "string" }, "salesperson_id": { "type": "string" }, "sequence": { "type": "integer" }, "tax": { "type": "number" }, "tax_id": { "type": "string" } }, "type": "object" }, "QuotesProductsTaxComponents": { "properties": { "id": { "type": "string" }, "quote_product_id": { "type": "string" }, "rate_id": { "type": "string" }, "total_tax": { "type": "number" } }, "type": "object" } } }